Conversation
…+ CMAKE_PREFIX_PATH) With build-deps disabled, the SDK links the standalone CRT packages and its CMake find_package()s the whole CRT chain (aws-crt-cpp + aws-c-* + aws-checksums + s2n), not just aws-c-iot. The recipe only DEPENDS aws-c-iot in that mode and sets no CMAKE_PREFIX_PATH, so config-mode find_package() cannot locate the CRT *Config.cmake files in the recipe sysroot and do_configure fails. Add the full standalone CRT DEPENDS and set CMAKE_PREFIX_PATH to the recipe sysroot, both guarded to the build-deps-off case (no-op when build-deps is ON). Fixes aws4embeddedlinux#17160
Contributor
Author
|
I think the build failures are not a defect in this PR. The default build-deps=ON build fails on master-next's OpenSSL 4.x because the bundled s2n uses removed OpenSSL APIs; it's the repo-wide s2n→AWS-LC blocker. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Issue #, if available:
#17160
Description of changes:
aws-iot-device-sdk-cpp-v2: BUILD_DEPS=OFF path fails to configure (missing CRT DEPENDS + CMAKE_PREFIX_PATH)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.