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

sgx-ra: disable the building of samples #2507

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

JamesMenetrey
Copy link
Contributor

@JamesMenetrey JamesMenetrey commented Aug 25, 2023

Dear developers,

This PR is a follow-up to my upgrade for the remote attestation with Ubuntu 20.04 and librats (#2441).

When integrating librats as a dependency using add_subdirectory(), the BUILD_SAMPLES option from the librats's CMakeLists isn't correctly overridden from the parent CMakeLists on the first run of cmake. It requires two runs of the command to reflect the changes. The root cause is the way regular and cache variables are handled in CMake.

I propose to set BUILD_SAMPLES as a cache variable in the parent CMakeLists before invoking add_subdirectory(). This ensures that the setting is applied on the first run.

Cheers!

@wenyongh wenyongh merged commit ff151fb into bytecodealliance:main Aug 28, 2023
368 checks passed
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
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.

2 participants