Skip to content

Commit 303522f

Browse files
committed
workflows/release-binaries: Use static ZSTD on macOS
On macOS the shared zstd library points to a homebrew install that isn't very stable for users. (cherry picked from commit 748f540)
1 parent d5498c3 commit 303522f

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
@@ -101,3 +101,6 @@ set_final_stage_var(LLVM_ENABLE_PROJECTS "${LLVM_RELEASE_ENABLE_PROJECTS}" STRIN
101101
set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
102102
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
103103

104+
if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin")
105+
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
106+
endif()

0 commit comments

Comments
 (0)