"git@developer.sourcefind.cn:OpenDAS/pytorch3d.git" did not exist on "2d39723610357e653c0e0427fb7877dc3e274661"
Unverified Commit 285500d6 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

fix system image library uninstallation on macos x86 (#7622)

parent 15b4562d
...@@ -27,9 +27,8 @@ if [[ "${OS_TYPE}" == "macos" && $(uname -m) == x86_64 ]]; then ...@@ -27,9 +27,8 @@ if [[ "${OS_TYPE}" == "macos" && $(uname -m) == x86_64 ]]; then
# The x86 macOS runners, e.g. the GitHub Actions native "macos-12" runner, has some JPEG and PNG libraries # The x86 macOS runners, e.g. the GitHub Actions native "macos-12" runner, has some JPEG and PNG libraries
# installed by default that interfere with our build. We uninstall them here and use the one from conda below. # installed by default that interfere with our build. We uninstall them here and use the one from conda below.
IMAGE_LIBS=$(brew list | grep -E "jpeg|png") IMAGE_LIBS=$(brew list | grep -E "jpeg|png")
echo "${IMAGE_LIBS}" for lib in $IMAGE_LIBS; do
for lib in "${IMAGE_LIBS}"; do brew uninstall --ignore-dependencies --force "${lib}"
brew uninstall --ignore-dependencies --force "${lib}" || true
done done
echo '::endgroup::' echo '::endgroup::'
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment