Skip to content

Commit 6e8881e

Browse files
authored
[Build] disable shared libs (#146)
1 parent 5b682e6 commit 6e8881e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

build_tools/cmake/llvm_cache.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ if (WIN32)
2222
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreaded CACHE STRING "")
2323
list(APPEND CMAKE_C_FLAGS "/MT")
2424
list(APPEND CMAKE_CXX_FLAGS "/MT")
25-
else()
26-
# All the tools will use libllvm shared library
27-
# (but doesn't work on windows)
28-
set(LLVM_LINK_LLVM_DYLIB ON CACHE BOOL "")
29-
set(MLIR_LINK_MLIR_DYLIB ON CACHE BOOL "")
3025
endif()
3126

3227
# useful things

0 commit comments

Comments
 (0)