Skip to content

Commit e7b262e

Browse files
committed
[fix used make on macos-14]
1 parent 9658da2 commit e7b262e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/cirrusci.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ if [ "$OS_NAME" == "linux" ]; then
3030
elif [ "$OS_NAME" == "osx" ]; then
3131
# upgrade GNU make
3232
brew install make
33-
sudo ln -s /usr/local/opt/make/libexec/gnubin/make /usr/local/bin/make
33+
for candidateDir in /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/make/libexec/gnubin; do
34+
if [[ -f $candidateDir/make ]]; then
35+
sudo ln -s $candidateDir/make /usr/local/bin/make
36+
break
37+
fi
38+
done
3439
elif [ "$OS_NAME" == "freebsd" ]; then
3540
packages="git gmake devel/llvm12"
3641
if [ "$HOST_DMD" == "dmd-2.079.0" ] ; then

0 commit comments

Comments
 (0)