8000 TST: Use ``meson`` for testing ``f2py`` by charris · Pull Request #25427 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

TST: Use meson for testing f2py #25427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
MAINT: Update azure 32 bit linux testing from main.
  • Loading branch information
charris committed Dec 24, 2023
commit ff9006633cd1cc504b78d4e88a5f182a2eb86a46
15 changes: 1 addition & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,7 @@ stages:
# yum does not have a ninja package, so use the PyPI one
docker run -v $(pwd):/numpy -e CFLAGS="-msse2 -std=c99 -UNDEBUG" \
-e F77=gfortran-5 -e F90=gfortran-5 quay.io/pypa/manylinux2014_i686 \
/bin/bash -xc " \
git config --global --add safe.directory /numpy && \
cd /numpy && \
/opt/python/cp39-cp39/bin/python -mvenv venv && \
source venv/bin/activate && \
target=\$(python3 tools/openblas_support.py) && \
cp -r \$target/lib/* /usr/lib && \
cp \$target/include/* /usr/include && \
python3 -m pip install ninja && \
python3 -m pip install -r test_requirements.txt && \
echo CFLAGS \$CFLAGS && \
python3 -m pip install -v . && \
cd tools && \
python3 -m pytest --pyargs numpy"
/bin/bash -xc "source /numpy/tools/ci/run_32_bit_linux_docker.sh"
displayName: 'Run 32-bit manylinux2014 Docker Build / Tests'

- job: Windows
Expand Down
14 changes: 14 additions & 0 deletions tools/ci/run_32_bit_linux_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set -xe

git config --global --add safe.directory /numpy
cd /numpy
/opt/python/cp39-cp39/bin/python -mvenv venv
source venv/bin/activate
python3 -m pip install ninja scipy-openblas32 spin
python3 -m pip install -r test_requirements.txt
echo CFLAGS \$CFLAGS
spin config-openblas --with-scipy-openblas=32
export PKG_CONFIG_PATH=/numpy/.openblas
python3 -m pip install .
cd tools
python3 -m pytest --pyargs numpy
0