--- a/src/mdl/jit/llvm/CMakeLists.txt +++ b/src/mdl/jit/llvm/CMakeLists.txt @@ -152,6 +152,7 @@ set(LLVM_CMAKE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dist CACHE PATH "LLVM source root.") set(LLVM_NATIVE_BUILD ${CMAKE_CURRENT_BINARY_DIR}/dist/NATIVE CACHE PATH "Binary root dir for LLVM tablegen.") +set(BUILD_SHARED_LIBS OFF) # speed up build is not working properly on all platforms and configurations if(WINDOWS)