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 5
5
# activation scripts.
6
6
export LDFLAGS=" $LDFLAGS -Wl,-rpath,$PREFIX /lib"
7
7
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
+
8
13
if [ -e " _skbuild" ]; then
9
14
${PYTHON} setup.py clean --all
10
15
fi
11
16
export CMAKE_GENERATOR=" Ninja"
12
17
SKBUILD_ARGS=" -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx"
13
18
echo " ${PYTHON} setup.py install ${SKBUILD_ARGS} "
14
19
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
-
20
20
if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
21
21
# Install packages and assemble wheel package from built bits
22
22
if [ " $CONDA_PY " == " 36" ]; then
Original file line number Diff line number Diff line change 12
12
13
13
requirements :
14
14
build :
15
+ - {{ compiler('c') }}
15
16
- {{ compiler('cxx') }}
16
17
- {{ compiler('dpcpp') }} >=2022.1 # [not osx]
17
18
host :
You can’t perform that action at this time.
0 commit comments