From 60f497ffeac6c305f24a5964000707bda4e1ed1c Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 13 May 2022 23:13:04 +1000 Subject: [PATCH 1/2] brew remove lcms2 xmlto --- .github/workflows/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index 79815def3..64fdc3d97 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -3,7 +3,9 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then # webp, zstd, xz, libtiff, libxcb cause a conflict with building webp, libtiff, libxcb # curl from brew requires zstd, use system curl # if php is installed, brew tries to reinstall these after installing openblas - brew remove --ignore-dependencies webp zstd xz libtiff libxcb curl php + # remove lcms2 to fix building openjpeg on arm64 + # remove xmlto to skip building giflib docs + brew remove --ignore-dependencies webp zstd xz libtiff libxcb curl php lcms2 xmlto if [[ "$PLAT" == "arm64" ]]; then export MACOSX_DEPLOYMENT_TARGET="11.0" From 3468a424c7f1add0a79533d6ebbbb9c35518db71 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 13 May 2022 23:47:44 +1000 Subject: [PATCH 2/2] brew remove ghostscript --- .github/workflows/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index 64fdc3d97..585e37d85 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -5,7 +5,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then # if php is installed, brew tries to reinstall these after installing openblas # remove lcms2 to fix building openjpeg on arm64 # remove xmlto to skip building giflib docs - brew remove --ignore-dependencies webp zstd xz libtiff libxcb curl php lcms2 xmlto + brew remove --ignore-dependencies webp zstd xz libtiff libxcb curl php lcms2 xmlto ghostscript if [[ "$PLAT" == "arm64" ]]; then export MACOSX_DEPLOYMENT_TARGET="11.0"