Skip to content

Commit

Permalink
Change directory for llvm15 to check if fail caused by outdated llvm1…
Browse files Browse the repository at this point in the history
…5 binary.
  • Loading branch information
python3kgae committed Sep 23, 2022
1 parent e0ed09a commit 5e68207
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scripts/win_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ if ($llvmVer -eq "10") {
$env:TAICHI_CMAKE_ARGS += " -DCLANG_EXECUTABLE=$($libsDir -replace "\\", "\\")\\taichi_clang\\bin\\clang++.exe"
$env:TAICHI_CMAKE_ARGS += " -DLLVM_AS_EXECUTABLE=$($libsDir -replace "\\", "\\")\\taichi_llvm\\bin\\llvm-as.exe"
} elseif ($llvmVer -eq "15") {
DownloadDep LLVM-15 llvm-15.zip taichi_llvm_15 `
DownloadDep LLVM-15 llvm-15.zip taichi_llvm_15_test `
https://github.com/python3kgae/taichi_assets/releases/download/llvm15_vs2019_clang/taichi-llvm-15.0.0-msvc2019.zip
DownloadDep Clang-15 clang-15.zip taichi_clang_15 `
https://github.com/python3kgae/taichi_assets/releases/download/llvm15_vs2022_clang/clang-15.0.0-win.zip
$env:LLVM_DIR = "$libsDir\taichi_llvm_15"
$env:LLVM_DIR = "$libsDir\taichi_llvm_15_test"
$env:TAICHI_CMAKE_ARGS += " -DCLANG_EXECUTABLE=$($libsDir -replace "\\", "\\")\\taichi_clang_15\\bin\\clang++.exe"
$env:TAICHI_CMAKE_ARGS += " -DLLVM_AS_EXECUTABLE=$($libsDir -replace "\\", "\\")\\taichi_llvm_15\\bin\\llvm-as.exe"
$env:TAICHI_CMAKE_ARGS += " -DLLVM_AS_EXECUTABLE=$($libsDir -replace "\\", "\\")\\taichi_llvm_15_test\\bin\\llvm-as.exe"
$env:TAICHI_CMAKE_ARGS += " -DTI_LLVM_15:BOOL=ON"
$env:TAICHI_CMAKE_ARGS += " -DTI_WITH_DX12:BOOL=ON"
} else {
Expand Down

0 comments on commit 5e68207

Please sign in to comment.