Detect musl in cmake and link with libunwind#4645
Detect musl in cmake and link with libunwind#4645JohanEngelen merged 5 commits intoldc-developers:masterfrom
Conversation
|
@kinke Is it worthwhile letting the CI for cross-compiling druntime/phobos (and ldc-build-runtime probably too?) know about LDC's folder with cmake modules..... Or should I just move the |
|
Sigh, if the If the compiler implicitly added Wrt. detecting musl, another option might be to check the LLVM host triple ( Wrt. integrating that in runtime/CMakeLists.txt, a potential option might be to (ab)use our |
LDC already does this, but indeed the problem is C/C++ linking. Lines 684 to 686 in 40ad5f7
I also want the autodetection to work for non-cross compile builds, just for building runtime with user-specified options (e.g. ASan stuff); then I cannot use |
No description provided.