-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[openssl] Update to 1.1.1i #15298
[openssl] Update to 1.1.1i #15298
Conversation
lebdron
commented
Dec 25, 2020
- Update openssl to 1.1.1i.
- Add support for arm64-osx triplet.
eb37d86
to
0488772
Compare
ports/openssl/unix/CMakeLists.txt
Outdated
@@ -25,7 +25,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "iOS") | |||
# disable that makes linkage error (e.g. require stderr usage) | |||
list(APPEND DISABLES no-stdio no-ui no-asm) | |||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") | |||
set(PLATFORM darwin64-x86_64-cc) | |||
set(PLATFORM darwin64-${CMAKE_OSX_ARCHITECTURES}-cc) |
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.
@Neumann-A Could you please help review?
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.
https://cmake.org/cmake/help/v3.19/variable/CMAKE_OSX_ARCHITECTURES.html
seems ok from the description but I am not an osx guy so I don't know which values CMAKE_OSX_ARCHITECTURES actually has
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.
Thanks for your help @Neumann-A.
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.
If I recall correctly CMAKE_OSX_ARCHITECTURES
can contain multiple values, e.g: x86_64;arm64
when building universal (a.k.a. fat) binaries. But to be fair, we don't handle those properly in vcpkg (see lines 166-196 in our toolchain).
I'd prefer if we used old-and-trusty if-else
instead of trying to do something clever.
Hi @lebdron Thanks for this PR. Could you please look into the failures?
|
Hello @NancyLi1013 Could you rerun the pipelines please? Those issues do not really look related to OpenSSL. Thanks! |
0488772
to
46f8ab6
Compare
I noticed you have submit a new commit to retrigger CI. Since Let's see the latest build results. |
The CI failures seem to be related to the wrong Python executable being used - I've submitted a fix in #15404. |
46f8ab6
to
705ee5c
Compare
Requires #15473 now. With poppler, the problem appears when |
@Neumann-A could you check the change mentioned please? and also poppler build fails because of this policy issue https://github.com/microsoft/vcpkg/pull/10715/files#r404183663 . Could you tell what is the suggested fix? |
Could you please merge master to this branch to retrigger CI? Since some problems caused by python3 has been solved now. |
@NancyLi1013 Done! CI passed 😌 |
ports/openssl/unix/CMakeLists.txt
Outdated
@@ -25,7 +25,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "iOS") | |||
# disable that makes linkage error (e.g. require stderr usage) | |||
list(APPEND DISABLES no-stdio no-ui no-asm) | |||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") | |||
set(PLATFORM darwin64-x86_64-cc) | |||
set(PLATFORM darwin64-${CMAKE_OSX_ARCHITECTURES}-cc) |
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.
If I recall correctly CMAKE_OSX_ARCHITECTURES can contain multiple values, e.g: x86_64;arm64 when building universal (a.k.a. fat) binaries. But to be fair, we don't handle those properly in vcpkg (see lines 166-196 in our toolchain).
I'd prefer if we used old-and-trusty if-else instead of trying to do something clever.
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
9e0c2ad
to
ff4561f
Compare
Thanks for the PR! |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks for the PR! |