Skip to content

Commit 877260f

Browse files
authored
Workaround for PyTorch compilation issue on Windows (#3523)
Workaround for #3522.
1 parent 6523d2f commit 877260f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-test-windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
run: |
6767
.venv\Scripts\activate.ps1
6868
Invoke-BatchFile "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
69+
# FIXME: https://github.com/intel/intel-xpu-backend-for-triton/issues/3522
70+
$env:INCLUDE += ";C:\Program Files (x86)\Intel\oneAPI\dnnl\latest\include\oneapi\dnnl"
6971
# Required to build on Windows
7072
$env:CMAKE_SHARED_LINKER_FLAGS = "/FORCE:MULTIPLE"
7173
$env:CMAKE_MODULE_LINKER_FLAGS = "/FORCE:MULTIPLE"

0 commit comments

Comments
 (0)