Skip to content

Commit

Permalink
invert wrong logic, skip cfitsio on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Jan 27, 2020
1 parent de94da5 commit e1d3a27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -432,10 +432,10 @@ function install_pypy {
"ppc64le") suffix="ppc64le";;
"s30x") suffix="s390x";;
"aarch64") suffix="aarch64";;
*) if [ -z "$IS_OSX" ]; then
*) if [ -n "$IS_OSX" ]; then
suffix = "osx64";
else
echo unknown platform $PLAT; exit 1
echo unknown platform "$PLAT"; exit 1
fi;;
esac

Expand Down
5 changes: 4 additions & 1 deletion tests/test_library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ if [ -z "$IS_OSX" ]; then
suppress build_lzo
fi
suppress build_ragel
suppress build_cfitsio
if [ -z "$IS_OSX" ]; then
# already installed in the macOS image, so `brew install cfitsio` fails
suppress build_cfitsio
fi
suppress build_new_zlib
suppress build_hdf5

Expand Down

0 comments on commit e1d3a27

Please sign in to comment.