Skip to content

Commit cfba29a

Browse files
timhoffmImgBotApp
authored andcommitted
Backport PR matplotlib#22099: CI: Disable numpy avx512 instructions
1 parent 3876a89 commit cfba29a

4 files changed

Lines changed: 2 additions & 451 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626

2727
env:
2828
NO_AT_BRIDGE: 1 # Necessary for GTK3 interactive test.
29+
NPY_DISABLE_CPU_FEATURES: "AVX512F,AVX512CD,AVX512VL,AVX512BW,AVX512DQ,AVX512_SKX"
2930
OPENBLAS_NUM_THREADS: 1
3031
PYTHONFAULTHANDLER: 1
3132

‎azure-pipelines.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ stages:
146146
displayName: 'print pip'
147147

148148
- bash: |
149+
export NPY_DISABLE_CPU_FEATURES="AVX512F,AVX512CD,AVX512VL,AVX512BW,AVX512DQ,AVX512_SKX"
149150
PYTHONFAULTHANDLER=1 python -m pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
150151
[[ "$PYTHON_VERSION" = 'Pre' ]]
151152
displayName: 'pytest'

‎lib/matplotlib/tests/test_backend_tk.py‎

Lines changed: 0 additions & 267 deletions
This file was deleted.

0 commit comments

Comments
 (0)