Skip to content

Commit badbd89

Browse files
committed
github: Disable zstd in the macos github actions build
Zstd is available and gets autodetected, but it's only available in native form, not in arm64 form. Also, for the existing workaround, instead of entirely disabling lldb, one could pass -DLLDB_ENABLE_PYTHON=OFF instead.
1 parent bc16912 commit badbd89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ jobs:
9494
# Building with MACOS_REDIST=1 (building universal binaries) without
9595
# --disable-lldb fails in Github Actions, because python is available
9696
# (and gets picked up), but only exists in native form.
97-
MACOS_REDIST=1 ./build-all.sh $(pwd)/install/llvm-mingw --disable-clang-tools-extra --disable-lldb
97+
# Disable use of zstd too - it's also available, but only in native
98+
# form.
99+
MACOS_REDIST=1 LLVM_CMAKEFLAGS="-DLLVM_ENABLE_ZSTD=OFF" ./build-all.sh $(pwd)/install/llvm-mingw --disable-clang-tools-extra --disable-lldb
98100
cd install
99101
tar -Jcf ../llvm-mingw-macos.tar.xz llvm-mingw
100102
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)