From de3d201a39ba51caaa524d3505a2ef00702d6677 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 4 Apr 2025 15:03:56 -0700 Subject: [PATCH 1/2] Update SYCL_INCLUDE_DIR_HINT for newer clang versions --- conda-recipe/bld.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-recipe/bld.bat b/conda-recipe/bld.bat index e27318d..3eb0512 100644 --- a/conda-recipe/bld.bat +++ b/conda-recipe/bld.bat @@ -5,7 +5,7 @@ set "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%" "%PYTHON%" setup.py clean --all set "SKBUILD_ARGS=-G Ninja -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON" -FOR %%V IN (14.0.0 14 15.0.0 15 16.0.0 16 17.0.0 17) DO @( +FOR %%V IN (17.0.0 17 18.0.0 18 19.0.0 19 20.0.0 20) DO @( REM set DIR_HINT if directory exists IF EXIST "%BUILD_PREFIX%\Library\lib\clang\%%V\" ( SET "SYCL_INCLUDE_DIR_HINT=%BUILD_PREFIX%\Library\lib\clang\%%V" From 40ae65a66ecd370a97efd5c80f68e9b88134f826 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 4 Apr 2025 15:58:42 -0700 Subject: [PATCH 2/2] Set LIBRARY_PATH instead of LD_LIBRARY_PATH in build.sh --- conda-recipe-cf/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-recipe-cf/build.sh b/conda-recipe-cf/build.sh index d83d1a7..7646d8b 100644 --- a/conda-recipe-cf/build.sh +++ b/conda-recipe-cf/build.sh @@ -1,5 +1,5 @@ # This is necessary to help DPC++ find Intel libraries such as SVML, IRNG, etc in build prefix -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${BUILD_PREFIX}/lib" +export LIBRARY_PATH="$LIBRARY_PATH:${BUILD_PREFIX}/lib" # Intel LLVM must cooperate with compiler and sysroot from conda echo "--gcc-toolchain=${BUILD_PREFIX} --sysroot=${BUILD_PREFIX}/${HOST}/sysroot -target ${HOST}" > icx_for_conda.cfg