Author: Keith Smiley
Date: 2024-10-01T10:02:20-07:00
New Revision: 748f5404ccdf28d4beef37efdaeba7a1701ab425

URL: 
https://github.com/llvm/llvm-project/commit/748f5404ccdf28d4beef37efdaeba7a1701ab425
DIFF: 
https://github.com/llvm/llvm-project/commit/748f5404ccdf28d4beef37efdaeba7a1701ab425.diff

LOG: 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.

Added: 
    

Modified: 
    clang/cmake/caches/Release.cmake

Removed: 
    


################################################################################
diff  --git a/clang/cmake/caches/Release.cmake 
b/clang/cmake/caches/Release.cmake
index c93ff40ff3ee48..23e99493087ff0 100644
--- a/clang/cmake/caches/Release.cmake
+++ b/clang/cmake/caches/Release.cmake
@@ -109,3 +109,6 @@ set_final_stage_var(LLVM_ENABLE_PROJECTS 
"${LLVM_RELEASE_ENABLE_PROJECTS}" STRIN
 set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
 set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
 
+if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin")
+  set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
+endif()


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to