From 5d9854ebe5d860f975341d05dd5e4e129829fbec Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Mon, 1 Jul 2024 10:38:14 -0700 Subject: [PATCH] install GSL from source on macos --- deployment/macos_wheels/install_gsl.sh | 6 ++++++ pyproject.toml | 1 + 2 files changed, 7 insertions(+) create mode 100644 deployment/macos_wheels/install_gsl.sh diff --git a/deployment/macos_wheels/install_gsl.sh b/deployment/macos_wheels/install_gsl.sh new file mode 100644 index 000000000..024a0de15 --- /dev/null +++ b/deployment/macos_wheels/install_gsl.sh @@ -0,0 +1,6 @@ +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*"