diff --git a/deployment/macos_wheels/install_gsl.sh b/deployment/macos_wheels/install_gsl.sh new file mode 100755 index 000000000..a09e24a94 --- /dev/null +++ b/deployment/macos_wheels/install_gsl.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +curl https://ftp.gnu.org/gnu/gsl/gsl-2.7.tar.gz -o gsl-2.7.tar.gz +tar xzf gsl-2.7.tar.gz +cd gsl-2.7 +./configure +make -j 6 +make install diff --git a/pyproject.toml b/pyproject.toml index 150537962..ad1dd3cec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,7 @@ build-frontend = "build" [tool.cibuildwheel.macos] build = "cp3{11,12}-*" +before-all = "./deployment/macos_wheels/install_gsl.sh" [tool.cibuildwheel.linux] build = "cp*manylinux*"