diff options
author | Thomas J. Fan <thomasjpfan@gmail.com> | 2021-10-11 23:15:15 -0400 |
---|---|---|
committer | Thomas J. Fan <thomasjpfan@gmail.com> | 2021-10-11 23:15:15 -0400 |
commit | c9abce565da5ca560607a2ca9a752b51fa068013 (patch) | |
tree | 18707fcdf779469271d2c47faffd629638a90a8e | |
parent | 9b45d83b43dbe118404c5650dd2c1aed0f63012e (diff) | |
download | numpy-c9abce565da5ca560607a2ca9a752b51fa068013.tar.gz |
Revert "REV Revert libffi flag [cd build]"
This reverts commit 9b45d83b43dbe118404c5650dd2c1aed0f63012e.
-rw-r--r-- | .github/workflows/wheels.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index aa056df5e..a2ef27f53 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -52,6 +52,7 @@ jobs: - os: ubuntu-latest python: "310" platform: manylinux_x86_64 + install_libffi_devel: "1" # macos builds - os: macos-latest @@ -89,7 +90,7 @@ jobs: CIBW_BEFORE_TEST: pip install -r {project}/test_requirements.txt # Installs libffi so that cffi can be built from source when needed CIBW_BEFORE_TEST_LINUX: > - yum install -y libffi-devel && + [[ "${{ matrix.install_libffi_devel }}" == "1" ]] && yum install -y libffi-devel; pip install -r {project}/test_requirements.txt CIBW_TEST_COMMAND: bash {project}/tools/wheels/cibw_test_command.sh {project} |