Skip to content

Commit

Permalink
fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau committed Nov 7, 2023
1 parent 3731f7a commit 05dc96b
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/halide-prebuilt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ jobs:
echo "LLVM_X86_64_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_X86_64_DIR=$CLANG_DIR" >> $Env:GITHUB_ENV
echo "LLVM_HOST_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_HOST_DIR=$CLANG_DIR" >> $Env:GITHUB_ENV
if ('${{matrix.arch}}' -eq 'x86_64') {
echo "LLVM_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_DIR=$CLANG_DIR" >> $Env:GITHUB_ENV
echo "LLVM_TARGET_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_TARGET_DIR=$CLANG_DIR" >> $Env:GITHUB_ENV
}
echo "PATH=$LLVM_BIN_PATH$([IO.Path]::PathSeparator)$Env:PATH" >> $Env:GITHUB_ENV
Expand Down Expand Up @@ -135,8 +138,8 @@ jobs:
echo "LLVM_AARCH64_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_AARCH64_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "LLVM_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_DIR=$CLANG_DIR" >> $Env:GITHUB_ENV
echo "LLVM_TARGET_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_TARGET_DIR=$CLANG_DIR" >> $Env:GITHUB_ENV
- name: Clone project
uses: actions/checkout@v3
Expand Down Expand Up @@ -174,7 +177,8 @@ jobs:
cmake -G Ninja -S halide -B halide-host `
-DCMAKE_BUILD_TYPE=Release `
-DLLVM_DIR="$Env:LLVM_DIR" `
-DLLVM_DIR="$Env:LLVM_HOST_DIR" `
-DClang_DIR="$Env:CLANG_HOST_DIR" `
-DWITH_TESTS=OFF -DWITH_UTILS=OFF `
-DWITH_PYTHON_BINDINGS=OFF `
-Wno-dev
Expand Down Expand Up @@ -216,8 +220,8 @@ jobs:
}
cmake -G Ninja -S halide -B halide-build $CMakeArgs `
-DLLVM_DIR="$Env:LLVM_DIR" `
-DClang_DIR="$Env:CLANG_DIR" `
-DLLVM_DIR="$Env:LLVM_TARGET_DIR" `
-DClang_DIR="$Env:CLANG_TARGET_DIR" `
-DHALIDE_HOST_TOOLS_DIR="$Env:HALIDE_HOST_TOOLS_DIR" `
-DCMAKE_INSTALL_PREFIX="halide-install" `
-DCMAKE_TOOLCHAIN_FILE="$CMakeToolchainFile"
Expand Down

0 comments on commit 05dc96b

Please sign in to comment.