Skip to content

Commit

Permalink
try ugly hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau committed Nov 7, 2023
1 parent b89fa6d commit 80453b9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/halide-prebuilt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ jobs:
echo "LLVM_TARGET_DIR=$LLVM_DIR" >> $Env:GITHUB_ENV
echo "CLANG_TARGET_DIR=$CLANG_DIR" >> $Env:GITHUB_ENV
$LLVM_HOST_BIN_DIR=$Env:LLVM_HOST_BIN_DIR
$LLVM_TARGET_BIN_DIR=$LLVM_BIN_PATH
if ($IsWindows) {
@('llvm-as.exe', 'clang.exe', 'clang-format.exe') | ForEach-Object {
Copy-Item -Path "${LLVM_HOST_BIN_DIR}\$_" -Destination "${LLVM_TARGET_BIN_DIR}\$_" -Force
}
} else {
@('llvm-as', 'clang', 'clang-format') | ForEach-Object {
Copy-Item -Path "${LLVM_HOST_BIN_DIR}/$_" -Destination "${LLVM_TARGET_BIN_DIR}/$_" -Force
}
}
- name: Clone project
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 80453b9

Please sign in to comment.