Skip to content

Commit 0aec6d0

Browse files
Set TBB_DIR to build onemkl_gemv example
1 parent 1983a2b commit 0aec6d0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -443,14 +443,11 @@ jobs:
443443
pushd $d
444444
export MKLROOT=${CONDA_PREFIX}
445445
export TBBROOT=${CONDA_PREFIX}
446+
export TBB_DIR=${TBBROOT}
446447
conda activate --stack build_env
447448
if [ -e CMakeLists.txt ]
448449
then
449-
CC=icx CXX=icpx python setup.py build_ext --inplace -G Ninja -- \
450-
-DTBB_LIBRARY_DIR=${TBBROOT}/lib \
451-
-DMKL_LIBRARY_DIR=${MKLROOT}/lib \
452-
-DMKL_INCLUDE_DIR=${MKLROOT}/include \
453-
-DTBB_INCLUDE_DIR=${TBBROOT}/include || exit 1
450+
CC=icx CXX=icpx python setup.py build_ext --inplace -G Ninja || exit 1
454451
else
455452
CC=dpcpp CXX=dpcpp LDSHARED="dpcpp -shared" \
456453
python setup.py build_ext --inplace || exit 1

0 commit comments

Comments
 (0)