Skip to content

[CMake] Omit the generic runtimes targets for subbuilds #76097

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

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

Conversation

petrhosek
Copy link
Member

We currently create a generic runtime target for all subbuilds. For example if we're building libcxx for aarch64-linux-gnu and x86_64-linux-gnu, we would create the cxx target that would depend on cxx-aarch64-linux-gnu and cxx-x86_64-linux-gnu. The current implementation is subtly broken in the case where different subbuilds enable different runtimes. Rather than addressing the issue which would introduce more complexity, we omit these targets altogether to simplify the build. If needed, they can be reintroduced later.

We currently create a generic runtime target for all subbuilds. For
example if we're building libcxx for aarch64-linux-gnu and
x86_64-linux-gnu, we would create the cxx target that would depend on
cxx-aarch64-linux-gnu and cxx-x86_64-linux-gnu. The current
implementation is subtly broken in the case where different subbuilds
enable different runtimes. Rather than addressing the issue which would
introduce more complexity, we omit these targets altogether to simplify
the build. If needed, they can be reintroduced later.
@TiborGY
Copy link
Contributor

TiborGY commented Feb 27, 2025

@petrhosek Do you still intend to get this PR merged?

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