From a5d67ad992823ee0323efef07e97ad11814f2eec Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:10:18 -0700 Subject: Disable the building of slang-llvm when targeting wasm platform (#5196) Co-authored-by: Yong He --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') 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" ] -- cgit v1.2.3