-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix zlib compilation on conan and AppleClang 12.0 #2403
Conversation
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
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.
Hi @yamadapc ! Thanks for your contribution, please, take a look on my review
c676b2f
to
674d02e
Compare
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
674d02e
to
3602ea3
Compare
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
'/* may be set to #if 1 by ./configure */', | ||
'#if defined(HAVE_STDARG_H) && (1-HAVE_STDARG_H-1 != 0)') | ||
|
||
is_apple_clang12 = self.settings.compiler == "apple-clang" and tools.Version(self.settings.compiler.version) >= "12.0" |
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.
It should now run the replaces unless on AppleClang >= "12.0"
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.
Waiting for @yamadapc to be added to the EAP (just a little bit of patience).
Thanks for your contribution.
I'm not sure what these replaces were doing. Disabled them if on AppleClang 12.0 or higher. Related to: - boostorg/build#638 - madler/zlib#509
3602ea3
to
56ddf38
Compare
Forced push to re-trigger the build. Please have another look. Thanks |
All green in build 4 (
|
I'm not sure what these replaces were doing.
Happy to create a new recipe if that is a safer change, since I just don't know what the replaces were doing, this just fixed it on my computer™️.
c.c. @lasote who wrote the recipe.
Related to:
Introduced in #1
Specify library name and version: zlib/1.2.11
conan-center hook activated.