Skip to content

Commit 106f2d7

Browse files
committed
fix: debug py3.13 GHA build-with-clang segfault
1 parent c36aae0 commit 106f2d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,17 @@ jobs:
7070
export CFLAGS="${CFLAGS} -fno-fast-math -O2"
7171
pip install . --no-build-isolation --no-deps --verbose
7272
73+
- name: Smoke import
74+
run: |
75+
source ${{ env.ONEAPI_ROOT }}/setvars.sh
76+
python -X faulthandler -c "import numpy, mkl_umath; print('import OK')"
77+
7378
- name: Run mkl_umath tests
7479
run: |
7580
source ${{ env.ONEAPI_ROOT }}/setvars.sh
7681
pip install pytest
7782
# mkl_umath cannot be installed in editable mode, we need
7883
# to change directory before importing it and running tests
7984
cd ..
85+
export MKL_DISABLE_FAST_MM=1
8086
python -m pytest -sv --pyargs mkl_umath/mkl_umath/tests

0 commit comments

Comments
 (0)