-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect musl in cmake and link with libunwind #4645
Detect musl in cmake and link with libunwind #4645
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.