Skip to content

Update LLVM to version 6.0.0 and enable shared library.

Valentin David requested to merge valentindavid/llvm6 into master

LLVM is built as one big libLLVM.so shared library (LLVM_BUILD_LLVM_DYLIB). Versioning of symbols is enabled to avoid problems with multiple LLVM runtimes loaded in the same time (LLVM_DYLIB_SYMBOL_VERSIONING). LLVM_LINK_LLVM_DYLIB enables linking of LLVM tools to the shared library and also make llvm-config use it so that Mesa will link to libLLVM.so.

BUILD_SHARED_LIBS should be OFF since separate libraries should still be static as they cannot have versionning.

Merge request reports