Skip to content

Commit 0b677ec

Browse files
authored
Merge pull request #80 from hjmjohnson/remove-compression-lib-dependance
ENH: Disable unnecessary compression support in LLVM build configuration
2 parents ee6eb2b + 0917d93 commit 0b677ec

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ set(CMAKE_CXX_STANDARD "17")
1616

1717

1818
if(APPLE)
19+
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11 CACHE STRING "Set the minimum supported OSX target")
1920
set(osx_args
20-
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.11
21+
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${CMAKE_OSX_DEPLOYMENT_TARGET}
2122
)
2223
endif()
2324

@@ -94,6 +95,10 @@ else()
9495
-DLLVM_INCLUDE_DOCS:BOOL=OFF
9596
-DLLVM_ENABLE_OCAMLDOC:BOOL=OFF
9697
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN:BOOL=ON
98+
# Disable unneeded compression support in llvm
99+
-DLLVM_USE_STATIC_ZSTD:BOOL=OFF
100+
-DLLVM_ENABLE_ZLIB:BOOL=OFF
101+
-DLLVM_ENABLE_ZSTD:BOOL=OFF
97102
${osx_args}
98103
${verbose_command}
99104
${download_extract_timestamp_flag}

0 commit comments

Comments
 (0)