Skip to content

Commit b73a1e3

Browse files
committed
fix(build): add call to setvars.bat for Intel oneAPI in windows-gpu build
1 parent 0faae7f commit b73a1e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ jobs:
396396
if: matrix.name == 'windows-gpu' && steps.cache-llama.outputs.cache-hit != 'true'
397397
shell: cmd
398398
run: |
399+
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 --force
399400
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
400401
make build/llama.cpp.stamp ${{ matrix.make }} LLAMA_ARGS="--target common"
401402
make build/llama.cpp.stamp ${{ matrix.make }} LLAMA_ARGS="--target llama"

0 commit comments

Comments
 (0)