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

stop building s2n via aws_prebuild_dependency() #677

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

graebm
Copy link
Contributor

@graebm graebm commented Nov 6, 2024

Issue:
aws-sdk-cpp could no longer cross-compile for Android, after we switched to building S2N via aws_prebuild_dependency() in this PR: #665

Description of changes:
Go back to building s2n via CMake's add_subdirectory(). This does a better job picking up misc CMake settings (like toolchains for cross-compilation) than aws_prebuild_dependency()

We'll continue building AWS-LC via aws_prebuild_dependency() for now, since we still need libcrypto fully built before S2N's configure stage. But that won't be a problem for aws-sdk-cpp which always passes -DUSE_OPENSSL=ON to skip building AWS-LC and use the system's pre-existing libcrypto instead.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@graebm graebm marked this pull request as ready for review November 6, 2024 19:28
@sbera87 sbera87 mentioned this pull request Nov 7, 2024
@graebm graebm merged commit 28db85e into main Nov 7, 2024
60 checks passed
@graebm graebm deleted the stop-prebuilding-s2n branch November 7, 2024 17:21
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.

3 participants