We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bacb140 + f529376 commit 3de16c2Copy full SHA for 3de16c2
conda-recipe/bld.bat
@@ -5,7 +5,13 @@ set "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%"
5
6
"%PYTHON%" setup.py clean --all
7
set "SKBUILD_ARGS=-G Ninja -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icx"
8
-set "SYCL_INCLUDE_DIR_HINT=%BUILD_PREFIX%\Library\lib\clang\14.0.0"
+
9
+FOR %%V IN (14.0.0 15.0.0 16.0.0) DO @(
10
+ REM set DIR_HINT if directory exists
11
+ IF EXIST "%BUILD_PREFIX%\Library\lib\clang\%%V\" (
12
+ SET "SYCL_INCLUDE_DIR_HINT=%BUILD_PREFIX%\Library\lib\clang\%%V"
13
+ )
14
+)
15
16
set "PLATFORM_DIR=%PREFIX%\Library\share\cmake-3.22\Modules\Platform"
17
set "FN=Windows-IntelLLVM.cmake"
0 commit comments