[libc-commits] [libc] [libc] Fix passing the full runtime target for multilibs (PR #136208)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Apr 18 05:41:58 PDT 2025


jhuber6 wrote:

> > Summary: The multilib builds pass `+name` to the runtime target.
> 
> This shouldn't happen, what's your build configuration?

```
    -DRUNTIMES_x86_64-unknown-linux-gnu_LLVM_ENABLE_RUNTIMES=${RUNTIMES}                           \
    -DRUNTIMES_x86_64-unknown-linux-gnu+debug_LLVM_ENABLE_RUNTIMES=${RUNTIMES}                           \
    -DLLVM_RUNTIME_MULTILIBS=debug                                                                 \
    -DLLVM_RUNTIME_MULTILIB_debug_TARGETS=x86_64-unknown-linux-gnu                                 \
```
Something like this, I couldn't figure out how it expected it to work. If I just tried doing it any other way it would complain that the target didn't exist.

https://github.com/llvm/llvm-project/pull/136208


More information about the libc-commits mailing list