Skip to content

Commit 6eb9cc0

Browse files
committed
address comments
1 parent 56cb01a commit 6eb9cc0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build-with-clang.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ jobs:
1515
matrix:
1616
python: ["3.9", "3.10", "3.11", "3.12"]
1717
numpy_version: ["numpy'<2'", "numpy'>=2'"]
18+
1819
env:
1920
ONEAPI_ROOT: /opt/intel/oneapi
2021

22+
defaults:
23+
run:
24+
shell: bash -el {0}
25+
2126
steps:
2227
- name: Cancel Previous Runs
2328
uses: styfle/[email protected]
@@ -50,28 +55,23 @@ jobs:
5055
fetch-depth: 0
5156

5257
- name: Install mkl_fft dependencies
53-
shell: bash -l {0}
5458
run: |
5559
pip install cython setuptools">=77"
5660
pip install ${{ matrix.numpy_version }}
5761
5862
- name: List oneAPI folder content
59-
shell: bash -l {0}
60-
run: ls /opt/intel/oneapi/compiler
63+
run: ls ${{ env.ONEAPI_ROOT }}/compiler
6164

6265
- name: Build mkl_fft
63-
shell: bash -l {0}
6466
run: |
65-
source /opt/intel/oneapi/setvars.sh
67+
source ${{ env.ONEAPI_ROOT }}/setvars.sh
6668
echo $CMPLR_ROOT
6769
export CC=$CMPLR_ROOT/bin/icx
68-
export CXX=$CMPLR_ROOT/bin/icpx
6970
export CFLAGS="${CFLAGS} -fno-fast-math -O2"
7071
pip install -e . --no-build-isolation --no-deps --verbose
7172
7273
- name: Run mkl_fft tests
73-
shell: bash -l {0}
7474
run: |
75-
source /opt/intel/oneapi/setvars.sh
76-
pip install pytest scipy mkl-service
75+
source ${{ env.ONEAPI_ROOT }}/setvars.sh
76+
pip install scipy mkl-service pytest
7777
pytest -s -v --pyargs mkl_fft

0 commit comments

Comments
 (0)