Skip to content

Commit 338527b

Browse files
committed
Move to release.cmake
1 parent 4676d02 commit 338527b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
# add extra CMake args to disable them.
127127
# See https://github.com/llvm/llvm-project/issues/99767
128128
if [ "${{ runner.os }}" = "macOS" ]; then
129-
target_cmake_flags="$target_cmake_flags -DBOOTSTRAP_COMPILER_RT_ENABLE_IOS=OFF -DLLVM_USE_STATIC_ZSTD=ON"
129+
target_cmake_flags="$target_cmake_flags -DBOOTSTRAP_COMPILER_RT_ENABLE_IOS=OFF"
130130
if [ "${{ runner.arch }}" = "ARM64" ]; then
131131
arches=arm64
132132
else

clang/cmake/caches/Release.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,6 @@ set_final_stage_var(LLVM_ENABLE_PROJECTS "${LLVM_RELEASE_ENABLE_PROJECTS}" STRIN
109109
set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
110110
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
111111

112+
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
113+
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
114+
endif()

0 commit comments

Comments
 (0)