diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78a5cdd..2cc076f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,8 +11,8 @@ env: CIBW_ENVIRONMENT_LINUX: ' USEOPENMP=0 CFLAGS="-std=c99" - PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/project/cfitsio-3.49/lib/pkgconfig - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/project/cfitsio-3.49/lib' + PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/project/cfitsio-4.3.0/lib/pkgconfig + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/project/cfitsio-4.3.0/lib' CIBW_ENVIRONMENT_MACOS: 'CFLAGS="-std=c99"' CIBW_TEST_REQUIRES: 'pytest numpy==1.19.5' CIBW_TEST_COMMAND: 'pytest $(dirname $(python -c "import mpdaf; print(mpdaf.__file__)"))' diff --git a/build-deps.sh b/build-deps.sh index 79c28ec..6a65a34 100644 --- a/build-deps.sh +++ b/build-deps.sh @@ -6,8 +6,8 @@ set -e # pip install -U Cython echo "# Downloading cfitsio" -curl https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz | tar xz +curl https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-4.3.0.tar.gz | tar xz echo "# Installing cfitsio" -cd cfitsio-3.49 +cd cfitsio-4.3.0 ./configure && make clean shared install cd ..