Skip to content

Commit

Permalink
Merge pull request #21438 from charris/fix-failing-32-bit-windows-test
Browse files Browse the repository at this point in the history
MAINT: Fix failing Python 3.8 32-bit Windows test.
  • Loading branch information
charris committed May 4, 2022
2 parents 894efb1 + 03c44c1 commit 65bbf0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_test.yml
Expand Up @@ -232,7 +232,8 @@ jobs:

armv7_simd_test:
needs: [smoke_test]
runs-on: ubuntu-latest
# make sure this (20.04) matches the base docker image (focal) below
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -246,10 +247,10 @@ jobs:
# use x86_64 cross-compiler to speed up the build
sudo apt update
sudo apt install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
docker run --name the_container --interactive -v /:/host arm32v7/ubuntu:latest /bin/bash -c "
docker run --name the_container --interactive -v /:/host arm32v7/ubuntu:focal /bin/bash -c "
apt update &&
apt install -y git python3 python3-dev python3-pip &&
pip3 install cython==0.29.24 setuptools\<49.2.0 hypothesis==6.23.3 pytest==6.2.5 &&
pip3 install cython==0.29.28 setuptools\<49.2.0 hypothesis==6.23.3 pytest==6.2.5 &&
ln -s /host/lib64 /lib64 &&
ln -s /host/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu &&
ln -s /host/usr/arm-linux-gnueabihf /usr/arm-linux-gnueabihf &&
Expand Down
6 changes: 4 additions & 2 deletions azure-pipelines.yml
Expand Up @@ -80,8 +80,10 @@ stages:
- script: |
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 "cd numpy && \
/opt/python/cp38-cp38/bin/python -mvenv venv &&\
/bin/bash -xc " \
git config --global --add safe.directory /numpy && \
cd /numpy && \
/opt/python/cp38-cp38/bin/python -mvenv venv && \
source venv/bin/activate && \
target=\$(python3 tools/openblas_support.py) && \
cp -r \$target/lib/* /usr/lib && \
Expand Down

0 comments on commit 65bbf0c

Please sign in to comment.