Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
285500d6
Unverified
Commit
285500d6
authored
May 24, 2023
by
Philip Meier
Committed by
GitHub
May 24, 2023
Browse files
fix system image library uninstallation on macos x86 (#7622)
parent
15b4562d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
.github/scripts/setup-env.sh
.github/scripts/setup-env.sh
+2
-3
No files found.
.github/scripts/setup-env.sh
View file @
285500d6
...
...
@@ -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
# 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"
)
echo
"
${
IMAGE_LIBS
}
"
for
lib
in
"
${
IMAGE_LIBS
}
"
;
do
brew uninstall
--ignore-dependencies
--force
"
${
lib
}
"
||
true
for
lib
in
$IMAGE_LIBS
;
do
brew uninstall
--ignore-dependencies
--force
"
${
lib
}
"
done
echo
'::endgroup::'
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment