Skip to content

Commit 322b64d

Browse files
Fixed python setup.py invocation to pass generator to scikit-build rather than cmake directly
1 parent 3dbe477 commit 322b64d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,7 @@ jobs:
398398
conda activate --stack build_env
399399
if [ -e CMakeLists.txt ]
400400
then
401-
python setup.py build_ext --inplace -- -G Ninja \
402-
-DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx \
401+
CC=icx CXX=icpx python setup.py build_ext --inplace -G Ninja -- \
403402
-DTBB_LIBRARY_DIR=${TBBROOT}/lib \
404403
-DMKL_LIBRARY_DIR=${MKLROOT}/lib \
405404
-DMKL_INCLUDE_DIR=${MKLROOT}/include \

0 commit comments

Comments
 (0)