File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 55# activation scripts.
66export LDFLAGS=" $LDFLAGS -Wl,-rpath,$PREFIX /lib"
77
8+ # Intel LLVM must cooperate with compiler and sysroot from conda
9+ echo " --gcc-toolchain=${BUILD_PREFIX} --sysroot=${BUILD_PREFIX} /${HOST} /sysroot -target ${HOST} " > icpx_for_conda.cfg
10+ export ICPXCFG=" $( pwd) /icpx_for_conda.cfg"
11+ export ICXCFG=" $( pwd) /icpx_for_conda.cfg"
12+
813if [ -e " _skbuild" ]; then
914 ${PYTHON} setup.py clean --all
1015fi
1116export CMAKE_GENERATOR=" Ninja"
1217SKBUILD_ARGS=" -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx"
1318echo " ${PYTHON} setup.py install ${SKBUILD_ARGS} "
1419
15- # Workaround for:
16- # DPC++ launched by cmake does not see components of `dpcpp_cpp_rt`,
17- # because conda build isolates LD_LIBRARY_PATH to only $PREFIX subfolders.
18- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH} :$BUILD_PREFIX /lib
19-
2020if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
2121 # Install packages and assemble wheel package from built bits
2222 if [ " $CONDA_PY " == " 36" ]; then
Original file line number Diff line number Diff line change 1212
1313requirements :
1414 build :
15+ - {{ compiler('c') }}
1516 - {{ compiler('cxx') }}
1617 - {{ compiler('dpcpp') }} >=2022.1 # [not osx]
1718 host :
You can’t perform that action at this time.
0 commit comments