[llvm-branch-commits] [clang] workflows/release-binaries: Use static ZSTD on macOS (PR #110701)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Oct 1 10:08:02 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Keith Smiley (keith)

<details>
<summary>Changes</summary>

On macOS the shared zstd library points to a homebrew install that isn't
very stable for users.

(cherry picked from commit 748f5404ccdf28d4beef37efdaeba7a1701ab425)


---
Full diff: https://github.com/llvm/llvm-project/pull/110701.diff


1 Files Affected:

- (modified) clang/cmake/caches/Release.cmake (+3) 


``````````diff
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()

``````````

</details>


https://github.com/llvm/llvm-project/pull/110701


More information about the llvm-branch-commits mailing list