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

Use qmake-provided _DATE_ #146

Merged
merged 1 commit into from Nov 29, 2023
Merged

Use qmake-provided _DATE_ #146

merged 1 commit into from Nov 29, 2023

Conversation

bmwiedemann
Copy link
Contributor

Use qmake-provided _DATE_

This allows for reproducible builds with
https://codereview.qt-project.org/c/qt/qtbase/+/494174

Note that this changes the date format, so does not work if some
automated parsers rely on ISO8601 format.

Alternatives are:

  • drop BUILD_TIMESTAMP
  • use date -r $somepath/CHANGELOG.md
  • use SOURCE_DATE_EPOCH to allow overriding date

This PR was done while working on reproducible builds for openSUSE.

This allows for reproducible builds with
https://codereview.qt-project.org/c/qt/qtbase/+/494174

Note that this changes the date format, so does not work if some
automated parsers rely on ISO8601 format.

This patch was done while working on reproducible builds for openSUSE.
@keshavbhatt keshavbhatt merged commit fec5644 into keshavbhatt:main Nov 29, 2023
1 check passed
@bmwiedemann bmwiedemann deleted the date branch April 16, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants