Skip to content

Commit 3f289a2

Browse files
committed
don't build llvm on aarch64.
1 parent 94877fb commit 3f289a2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ jobs:
140140
"-DSLANG_SLANG_LLVM_BINARY_URL=$(pwd)/build/dist-release/slang-llvm.zip" \
141141
"-DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}}"
142142
cmake --workflow --preset "${{matrix.config}}"
143+
elif [[ "${{ matrix.platform }}" = "aarch64" && "${{ matrix.os }}" = "linux" ]]; then
144+
# linux aarch64 cannot build llvm.
145+
cmake --preset default --fresh \
146+
-DSLANG_SLANG_LLVM_FLAVOR=DISABLE \
147+
-DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}}
148+
cmake --workflow --preset "${{matrix.config}}"
143149
else
144150
# Otherwise, use the "system" llvm we have just build or got from the
145151
# cache in the setup phase
@@ -150,7 +156,7 @@ jobs:
150156
fi
151157
fi
152158
- name: Test Slang
153-
if: steps.filter.outputs.should-run == 'true' && matrix.platform != 'wasm'
159+
if: steps.filter.outputs.should-run == 'true' && matrix.platform != 'wasm' && matrix.platform != 'aarch64'
154160
run: |
155161
export SLANG_RUN_SPIRV_VALIDATION=1
156162
export SLANG_USE_SPV_SOURCE_LANGUAGE_UNKNOWN=1

external/slang-rhi

Submodule slang-rhi updated 273 files

0 commit comments

Comments
 (0)