mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 22:58:22 +00:00
[Ubuntu] update zstd version (#6681)
This commit is contained in:
@@ -22,23 +22,6 @@ setEtcEnvironmentVariable HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS 3650
|
||||
echo "Validate the installation reloading /etc/environment"
|
||||
reloadEtcEnvironment
|
||||
|
||||
# Install additional brew packages
|
||||
|
||||
# brew GCC installation needed because the default Ubuntu components
|
||||
# are too old for current brew software
|
||||
# See:
|
||||
# https://github.com/Homebrew/homebrew-core/issues/110877
|
||||
|
||||
brew_packages=$(get_toolset_value .brew[].name)
|
||||
for package in $brew_packages; do
|
||||
echo "Install $package"
|
||||
brew install $package
|
||||
# create symlinks for zstd in /usr/local/bin
|
||||
if [[ $package == "zstd" ]]; then
|
||||
find $(brew --prefix)/bin -name *zstd* -exec sudo sh -c 'ln -s {} /usr/local/bin/$(basename {})' ';'
|
||||
fi
|
||||
done
|
||||
|
||||
gfortran=$(brew --prefix)/bin/gfortran
|
||||
# Remove gfortran symlink, not to conflict with system gfortran
|
||||
if [[ -e $gfortran ]]; then
|
||||
|
||||
Reference in New Issue
Block a user