[llvm-branch-commits] [clang] 7b591d7 - workflows/release-binaries: Use static ZSTD on macOS

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 10 23:00:14 PDT 2024


Author: Keith Smiley
Date: 2024-10-11T07:59:58+02:00
New Revision: 7b591d7fce6d9958fec08b01f348b73a307b29f1

URL: https://github.com/llvm/llvm-project/commit/7b591d7fce6d9958fec08b01f348b73a307b29f1
DIFF: https://github.com/llvm/llvm-project/commit/7b591d7fce6d9958fec08b01f348b73a307b29f1.diff

LOG: 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 748f5404ccdf28d4beef37efdaeba7a1701ab425)

Added: 
    

Modified: 
    clang/cmake/caches/Release.cmake

Removed: 
    


################################################################################
diff  --git a/clang/cmake/caches/Release.cmake b/clang/cmake/caches/Release.cmake
index 6d5f75ca0074ee..c4947bf453872b 100644
--- a/clang/cmake/caches/Release.cmake
+++ b/clang/cmake/caches/Release.cmake
@@ -101,3 +101,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()


        


More information about the llvm-branch-commits mailing list