-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[openssl,vcpkg-cmake-get-vars] Fix android and emscripten, add feature tools
#29966
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
02ef3cf
[vcpkg-cmake-get-vars] Call 'project' early
dg0yt 9986572
Get Android variables
dg0yt 6c949b3
[openssl] Ensure that compiler is reached via 'PATH'
dg0yt c122427
Fix Android configuration
dg0yt db4628d
Add 'tools' feature
dg0yt ce61c5e
Update versions
dg0yt db099dd
[openssl] Initialize android with vcpkg settings
dg0yt 504bbb4
[openssl] Really don't build apps
dg0yt fc9f70c
[vcpkg-cmake-get-vars] Update android vars
dg0yt 3c17992
[libpq] Pass openssl version from pkgconfig
dg0yt 7bc1244
[vcpkg-cmake-get-vars] Update android vars
dg0yt e4336bf
[vcpkg-cmake-get-vars] Report generator
dg0yt 0f2a38e
[vcpkg-cmake-get-vars] Escape all output
dg0yt 4cf7caa
Transfer cmake-get-vars fixes
dg0yt d9ed610
Transfer cmake-get-vars extra flags
dg0yt fb1d3cf
no-asm for android-arm w/o neon
dg0yt 879c9e4
[vcpkg_configure_make] Unquote as needed
dg0yt 93b4083
Re-add lost 'project', amends 4cf7caaa
dg0yt c36815b
[openssl] Fix emscripten
dg0yt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm | ||
| index 72c5b98..0d153c0 100644 | ||
| --- a/src/tools/msvc/Solution.pm | ||
| +++ b/src/tools/msvc/Solution.pm | ||
| @@ -128,6 +128,9 @@ sub copyFile | ||
| sub GetOpenSSLVersion | ||
| { | ||
| my $self = shift; | ||
| + if (($ENV{'VCPKG_OPENSSL_VERSION'} // '') =~ /(\d+)\.(\d+)\.(\d+)/m) { | ||
| + return ($1, $2, $3); | ||
| + } | ||
|
|
||
| # Attempt to get OpenSSL version and location. This assumes that | ||
| # openssl.exe is in the specified directory. |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| diff --git a/Configure b/Configure | ||
| index 5ac4b52..ad638e8 100755 | ||
| --- a/Configure | ||
| +++ b/Configure | ||
| @@ -401,6 +401,7 @@ my @dtls = qw(dtls1 dtls1_2); | ||
| my @disablables = ( | ||
| "acvp-tests", | ||
| "afalgeng", | ||
| + "apps", | ||
| "aria", | ||
| "asan", | ||
| "asm", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| build_sw: | ||
| $(EMSDK)/upstream/emscripten/emmake $(MAKE) -f Makefile build_sw ${VCPKG_JOBS} $(MAKEFLAGS) | ||
| install: | ||
| $(EMSDK)/upstream/emscripten/emmake $(MAKE) -f Makefile install ${VCPKG_JOBS} $(MAKEFLAGS) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| diff --git a/Configurations/15-android.conf b/Configurations/15-android.conf | ||
| index 41ad922..d15e34c 100644 | ||
| --- a/Configurations/15-android.conf | ||
| +++ b/Configurations/15-android.conf | ||
| @@ -102,6 +102,7 @@ | ||
| my $cflags; | ||
| my $cppflags; | ||
|
|
||
| +if (0) { | ||
| # see if there is NDK clang on $PATH, "universal" or "standalone" | ||
| if (which("clang") =~ m|^$ndk/.*/prebuilt/([^/]+)/|) { | ||
| my $host=$1; | ||
| @@ -158,6 +159,7 @@ | ||
| $sysroot =~ s|^$ndk/||; | ||
| $sysroot = " --sysroot=\$($ndk_var)/$sysroot"; | ||
| } | ||
| +} | ||
| $android_ndk = { | ||
| cflags => $cflags . $sysroot, | ||
| cppflags => $cppflags, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
For Android, the port now uses vcpkg settings, including absolute paths for CC.
We may eventually patch it for other triplets, too - but in another PR.