Skip to content

libc++: prevent the creation of libc++ targets#12613

Open
compnerd wants to merge 1 commit intoswiftlang:stable/21.xfrom
compnerd:targets
Open

libc++: prevent the creation of libc++ targets#12613
compnerd wants to merge 1 commit intoswiftlang:stable/21.xfrom
compnerd:targets

Conversation

@compnerd
Copy link
Copy Markdown
Member

When the shared library is disabled, simply avoid creating the target. This is required for environments which CMake does not natively understand and will fallback to a static library for the shared target resulting in multiple generation rules for the same target. Apply the same logic to the static library to maintain similar behaviour.

When the shared library is disabled, simply avoid creating the target.
This is required for environments which CMake does not natively
understand and will fallback to a static library for the shared target
resulting in multiple generation rules for the same target. Apply the
same logic to the static library to maintain similar behaviour.
@compnerd compnerd requested a review from a team as a code owner March 17, 2026 20:29
@compnerd compnerd requested a review from ldionne March 17, 2026 20:29
@compnerd
Copy link
Copy Markdown
Member Author

@swift-ci please test LLVM

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.

1 participant