Nicolai Hähnle via llvm-dev
2016-Jan-07 20:53 UTC
[llvm-dev] llvm-config with shared libraries in cmake builds broken (since r257003?)
Hi Andrew, since today, I get: $ llvm-config --link-shared --libs engine llvm-config: error: libLLVM-3.8svn.so is missing Looking at the log, this is most likely caused by your recent change. cmake shared library builds generate separate .so files analogous to the static library builds, e.g. libLLVMCodeGen.so (no version suffix, curiously enough). It would be nice if that wasn't broken :) Cheers, Nicolai
Nicolai Hähnle via llvm-dev
2016-Jan-07 21:37 UTC
[llvm-dev] llvm-config with shared libraries in cmake builds broken (since r257003?)
On 07.01.2016 15:53, Nicolai Hähnle wrote:> since today, I get: > > $ llvm-config --link-shared --libs engine > llvm-config: error: libLLVM-3.8svn.so is missing > > Looking at the log, this is most likely caused by your recent change. > cmake shared library builds generate separate .so files analogous to the > static library builds, e.g. libLLVMCodeGen.so (no version suffix, > curiously enough). It would be nice if that wasn't broken :)After more investigation and help from Tom Stellard, it turns out that setting BUILD_SHARED_LIBS=on is what isn't supported with that change to llvm-config.> Cheers, > Nicolai
Andrew Wilkins via llvm-dev
2016-Jan-07 22:25 UTC
[llvm-dev] llvm-config with shared libraries in cmake builds broken (since r257003?)
On Fri, 8 Jan 2016 at 05:37 Nicolai Hähnle <nhaehnle at gmail.com> wrote:> On 07.01.2016 15:53, Nicolai Hähnle wrote: > > since today, I get: > > > > $ llvm-config --link-shared --libs engine > > llvm-config: error: libLLVM-3.8svn.so is missing > > > > Looking at the log, this is most likely caused by your recent change. > > cmake shared library builds generate separate .so files analogous to the > > static library builds, e.g. libLLVMCodeGen.so (no version suffix, > > curiously enough). It would be nice if that wasn't broken :) > > After more investigation and help from Tom Stellard, it turns out that > setting BUILD_SHARED_LIBS=on is what isn't supported with that change to > llvm-config. >Nicolai, Sorry, I monitored the buildbots but clearly they don't test that configuration. I'll get onto it right away. Cheers, Andrew> > Cheers, > > Nicolai >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160107/06547efb/attachment.html>