Skip to content

Commit 748f540

Browse files
authored
workflows/release-binaries: Use static ZSTD on macOS (#109909)
On macOS the shared zstd library points to a homebrew install that isn't very stable for users.
1 parent 5366bf5 commit 748f540

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/cmake/caches/Release.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,6 @@ set_final_stage_var(LLVM_ENABLE_PROJECTS "${LLVM_RELEASE_ENABLE_PROJECTS}" STRIN
109109
set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
110110
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
111111

112+
if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin")
113+
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
114+
endif()

0 commit comments

Comments
 (0)