Skip to content

Conversation

@voltur01
Copy link
Contributor

Make use of RUNTIMES_USE_LIBC CMake option to indicate which C library is used to build libcxx.

This option was enabled in llvm/llvm-project#147956 instead of hardcoded check for corresponding C library header files.

Make use of RUNTIMES_USE_LIBC CMake option to indicate which C library is used to build libcxx.

This option was enabled in llvm/llvm-project#147956 instead of hardcoded check for corresponding C library header files.
@voltur01 voltur01 requested a review from a team as a code owner November 25, 2025 17:17
@simpal01 simpal01 self-requested a review November 28, 2025 10:41
Copy link
Contributor

@simpal01 simpal01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@voltur01 voltur01 merged commit 2d67c4d into arm:arm-software Dec 2, 2025
1 of 3 checks passed
voltur01 added a commit to voltur01/arm-toolchain that referenced this pull request Dec 3, 2025
Fix up for arm#623: RUNTIMES_USE_LIBC=llvm-libc has special handling in https://github.com/llvm/llvm-project/blob/8feb6762ba9fb83f8e13ef9486c3b743e1b5cfa7/runtimes/cmake/Modules/HandleLibC.cmake#L26 that breaks ATfE build by adding -nostdlibc option.

Keep using the default system option for now, llvm-libc handling needs further investigation.
voltur01 added a commit that referenced this pull request Dec 3, 2025
Fix up for #623:
RUNTIMES_USE_LIBC=llvm-libc has special handling in
https://github.com/llvm/llvm-project/blob/8feb6762ba9fb83f8e13ef9486c3b743e1b5cfa7/runtimes/cmake/Modules/HandleLibC.cmake#L26
that breaks ATfE build by adding -nostdlibc option.

Keep using the default system option for now, llvm-libc handling needs
further investigation.
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