mstorsjo wrote:

> > It’s possible that a change like this would help here:
> 
> Unfortunately not?
> 
> ```
> ninja: error: build.ninja:907: multiple rules generate 
> /Users/artagnon/src/llvm/build/lib/riscv64-unknown-unknown-elf/libc++abi.a
> ```

Ah, right. That suggested change just makes libcxxabi and libunwind consistent 
with that libcxx already does - and that's required for fixing the same issue 
if one would try to build libcxxabi or libunwind in MSVC mode.

But the issue at hand here also happens with libcxx, so that's a different 
situation.

Is it possible to set e.g. `CMAKE_SHARED_LIBRARY_SUFFIX=.so` or something like 
that, when building in your platform configuration, so that it would generate 
unique names for those libraries, even if they never actually are built?

https://github.com/llvm/llvm-project/pull/176346
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to