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

[CMake] Pass doc-related LLVM variables to external projects #65531

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hawkinsw
Copy link
Contributor

@hawkinsw hawkinsw commented Sep 6, 2023

When generating the configuration arguments for external projects, some of the external-project-specific CMake variables only work in combination with CMake variables from LLVM itself. In particular, the some of the doc-related CMake variables in libcxx depend on LLVM_ENABLE_SPHINX. Pass

LLVM_ENABLE_SPHINX
LLVM_BUILD_DOCS

to external projects.

Differential Revision: https://reviews.llvm.org/D158483

When generating the configuration arguments for external projects,
some of the external-project-specific CMake variables only work
in combination with CMake variables from LLVM itself. In particular,
the some of the doc-related CMake variables in libcxx depend on
LLVM_ENABLE_SPHINX. Pass

LLVM_ENABLE_SPHINX
LLVM_BUILD_DOCS

to external projects.

Differential Revision: https://reviews.llvm.org/D158483
@hawkinsw
Copy link
Contributor Author

hawkinsw commented Sep 6, 2023

Migrated here from Phabricator. I hope that this was the right thing to do! Thanks @llvm-beanz and @petrhosek !

@llvm-beanz
Copy link
Collaborator

I feel like this isn't something we should do for all external project invocations, just the runtime ones that depend on it.

@hawkinsw
Copy link
Contributor Author

hawkinsw commented Sep 7, 2023

Okay! I will modify the PR and resubmit!

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.

None yet

2 participants