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

Tom Stellard via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 13:57:37 PDT 2024


================
@@ -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()
----------------
tstellar wrote:

If this doesn't work, I think it would be OK to set this unconditionally too.

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


More information about the cfe-commits mailing list