Skip to content

Commit 2ca8056

Browse files
tstellarllvmbot
authored andcommitted
[CMake][Release] Statically link ZSTD on all OSes (#128554)
This will make the binaries more portable. (cherry picked from commit 0983277)
1 parent 5d3b9e2 commit 2ca8056

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)