mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-29 21:07:59 +08:00
[macOS] do not install intel related symlinks on arm64 openssl (#8328)
This commit is contained in:
@@ -4,10 +4,13 @@ source ~/utils/utils.sh
|
||||
echo "Install openssl@1.1"
|
||||
brew_smart_install "openssl@1.1"
|
||||
|
||||
# Symlink brew openssl@1.1 to `/usr/local/bin` as Homebrew refuses
|
||||
ln -sf $(brew --prefix openssl@1.1)/bin/openssl /usr/local/bin/openssl
|
||||
# Intel-related symlinks, not needed on arm64 for now
|
||||
if ! is_VenturaArm64; then
|
||||
# Symlink brew openssl@1.1 to `/usr/local/bin` as Homebrew refuses
|
||||
ln -sf $(brew --prefix openssl@1.1)/bin/openssl /usr/local/bin/openssl
|
||||
|
||||
# Most of buildsystems and scripts look up ssl here
|
||||
ln -sf $(brew --cellar openssl@1.1)/1.1* /usr/local/opt/openssl
|
||||
# Most of buildsystems and scripts look up ssl here
|
||||
ln -sf $(brew --cellar openssl@1.1)/1.1* /usr/local/opt/openssl
|
||||
fi
|
||||
|
||||
invoke_tests "OpenSSL"
|
||||
|
||||
Reference in New Issue
Block a user