CI: Disable numpy avx512 instructions by greglucas · Pull Request #22099 · matplotlib/matplotlib · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ stages:
displayName: 'print env'

- bash: |
export NPY_DISABLE_CPU_FEATURES="AVX512F,AVX512CD,AVX512VL,AVX512BW,AVX512DQ,AVX512_SKX"
PYTHONFAULTHANDLER=1 python -m pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
[[ "$PYTHON_VERSION" = 'Pre' ]]
displayName: 'pytest'
Expand Down
3 changes: 2 additions & 1 deletion lib/matplotlib/tests/test_backend_tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def test_func():
try:
proc = subprocess.run(
[sys.executable, "-c", f"{source}\n{func.__name__}()"],
env={**os.environ, "MPLBACKEND": "TkAgg"},
env={**os.environ, "MPLBACKEND": "TkAgg",
"NPY_DISABLE_CPU_FEATURES": ""},
timeout=_test_timeout,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
Expand Down
6 changes: 4 additions & 2 deletions lib/matplotlib/tests/test_sphinxext.py