diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-09-30 15:10:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-30 15:10:18 -0700 |
| commit | a5d67ad992823ee0323efef07e97ad11814f2eec (patch) | |
| tree | 5d5759fd546d2d2d25eacb1b99513d448b31aa08 | |
| parent | 15d1c6c51c5f24663d2567d7e56da62a2bca1c22 (diff) | |
Disable the building of slang-llvm when targeting wasm platform (#5196)
Co-authored-by: Yong He <yonghe@outlook.com>
| -rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 162998102..3c32db8c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: compiler: ${{matrix.compiler}} platform: ${{matrix.platform}} config: ${{matrix.config}} - build-llvm: true + build-llvm: ${{ matrix.platform != 'wasm' }} - name: Build Slang run: | if [[ "${{ matrix.platform }}" = "wasm" ]]; then @@ -109,7 +109,7 @@ jobs: cmake --workflow --preset generators --fresh mkdir generators cmake --install build --prefix generators --component generators - emcmake cmake -DSLANG_GENERATORS_PATH=generators/bin --preset emscripten -G "Ninja" + emcmake cmake -DSLANG_GENERATORS_PATH=generators/bin --preset emscripten -G "Ninja" -DSLANG_SLANG_LLVM_FLAVOR=DISABLE cmake --build --preset emscripten --target slang [ -f "build.em/Release/lib/libslang.a" ] [ -f "build.em/Release/lib/libcompiler-core.a" ] |
