Skip to content

Commit 6fce291

Browse files
This adds augmenting INCLUDE as a work around
The current package of the updated compiler misplaces sycl/ext headers, and the compiler needs to be told to look there.
1 parent 6cfdc4c commit 6fce291

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conda-recipe/bld.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
REM A workaround for activate-dpcpp.bat issue to be addressed in 2021.4
3-
set "LIB=%CONDA_PREFIX%\Library\lib;%CONDA_PREFIX%\compiler\lib;%LIB%"
3+
set "LIB=%BUILD_PREFIX%\Library\lib;%BUILD_PREFIX%\compiler\lib;%LIB%"
4+
set "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%"
45

56
"%PYTHON%" setup.py clean --all
67
"%PYTHON%" setup.py install --sycl-compiler-prefix=%BUILD_PREFIX%\Library

0 commit comments

Comments
 (0)