Skip to content

Commit cd4c3fb

Browse files
committed
[CMake][Release] Statically link ZSTD on all OSes
This will make the binaries more portable.
1 parent 4ac43b5 commit cd4c3fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/cmake/caches/Release.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,4 @@ set_final_stage_var(LLVM_ENABLE_PROJECTS "${LLVM_RELEASE_ENABLE_PROJECTS}" STRIN
128128
set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
129129
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
130130

131-
if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin")
132-
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
133-
endif()
131+
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)

0 commit comments

Comments
 (0)