Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable storing build date and time when SOURCE_DATE_EPOCH is defined (beneficial for reproducible builds) #5551

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

ChrisJefferson
Copy link
Contributor

Alternative to #5550 . While this doesn't do what we are 'supposed' to do (use SOURCE_DATE_EPOCH as the source of the date), it has the advantage it (should) work on mac os x and BSD. Rather than print a false build time, just don't store, or print, the build time when SOURCE_DATE_EPOCH is defined

@fingolfin
Copy link
Member

See also issue #5204.

Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not how I would like to fix this long-term, but it definitely improves the current state, so we should merge it. Thanks

@fingolfin fingolfin merged commit 5bfcc2c into gap-system:master Jan 3, 2024
22 checks passed
@fingolfin fingolfin added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: build system labels Jan 22, 2024
@fingolfin fingolfin changed the title Disable storing build date and time when SOURCE_DATE_EPOCH is defined Disable storing build date and time when SOURCE_DATE_EPOCH is defined (beneficial for reproducible builds) Jan 22, 2024
@fingolfin fingolfin added the release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants