Hi, Zhu Zihao <all_but_l...@163.com> writes:
> # Background > > Now in Guix. LLVM is built with configure flag > "-DBUILD_SHARED_LIBS:BOOL=TRUE". According to > https://llvm.org/docs/CMake.html. Build LLVM with `BUILD_SHARED_LIBS` is > not recommended for non LLVM developing usage. LLVM says that packager > should use `LLVM_BUILD_LLVM_DYLIB` instead. [...] > # Solution > > I suggest to replace `-DBUILD_SHARED_LIBS:BOOL=TRUE` with > `-DLLVM_BUILD_LLVM_DYLIB:BOOL=TRUE`. That's something I had been meaning to do for some time, but it fell into the cracks. I'd welcome this change; you may want to look at 'llvm-cling', which already builds using such flag. Thanks, Maxim