-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Include patch for SOURCE_DATE_EPOCH
#69
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe:
|
recipe/meta.yaml
Outdated
# latest commit from branch {{ cctools_version }}-ld64-{{ ld64_version }} | ||
- url: https://github.com/tpoechtrager/cctools-port/archive/437ced391dbf14dce86f977ca050a750d5682f39.tar.gz | ||
sha256: cf4020ddb92467de020c322eb13f0cac9ed992daa862a09bc2607e42467b3042 | ||
- url: https://github.com/tpoechtrager/cctools-port/archive/2a3e1c2a6ff54a30f898b70cfb9ba1692a55fad7.tar.gz | ||
sha256: b1c1b148e14c3dacf99018a519506a26424c635d24ab6820c20b21e5ca22b8a3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the commit from https://github.com/tpoechtrager/cctools-port/tree/1009.2-ld64-907 and update the version. If you need a specific later commit, add it to the patches below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we good to update the version? Happy to do that - but don't know if there is a migration involved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it turned out to be quite some more work to update to the latest version, I've added the patch and bumped the build number. Do you want to merge your stdlib fixes into this PR?
* things for exact binary equality. | ||
*/ | ||
- if (getenv("ZERO_AR_DATE") == NULL) | ||
+ if (getenv("ZERO_AR_DATE") != NULL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't ZERO_AR_DATE
the way to go about this? The xcode linker also supports this option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SOURCE_DATE_EPOCH
is a standard and much nicer (proper, but deterministic timestamps vs. everything zero).
https://reproducible-builds.org/docs/source-date-epoch/
This is also already merged upstream as mentioned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are indeed a few additional places that should be adjusted though. We'll send another patch to the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened an issue here: tpoechtrager/cctools-port#150
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
That patch now is included through #70. I think we can close this PR? |
This adds a fix for
SOURCE_DATE_EPOCH
in static libraries on macOS. The fix was merged upstream: tpoechtrager/cctools-port#140