Skip to content

Commit 2722abf

Browse files
committed
install packages from intel channel for build using pip
1 parent 3ad947e commit 2722abf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_pip.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242

4343
- name: Install Compiler and MKL
4444
run: |
45-
conda install mkl-devel tbb-devel dpcpp_linux-64
45+
CHANNELS="-c https://software.repos.intel.com/python/conda -c conda-forge --override-channels"
46+
conda install $CHANNELS mkl-devel tbb-devel dpcpp_linux-64
4647
python -c "import sys; print(sys.executable)"
4748
which python
4849
@@ -52,7 +53,7 @@ jobs:
5253
pip install --no-cache-dir numpy ${{ matrix.use_pre }}
5354
echo "CONDA_PREFFIX is '${CONDA_PREFIX}'"
5455
export MKLROOT=${CONDA_PREFIX}
55-
pip install . --no-build-isolation --no-deps --verbose
56+
CC=icx pip install . --no-build-isolation --no-deps --verbose
5657
pip install --no-cache-dir pytest
5758
pip list
5859
# mkl_umath cannot be installed in editable mode, we need

0 commit comments

Comments
 (0)