Skip to content

Commit ca64c89

Browse files
authored
Try using Homebrews llvm 20 for MacOS 26 jobs
1 parent 08f3326 commit ca64c89

File tree

1 file changed

+4
-3
lines changed
  • .github/actions/Miscellaneous/Setup_Compiler

1 file changed

+4
-3
lines changed

.github/actions/Miscellaneous/Setup_Compiler/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ runs:
1515
echo "CC=gcc-${vers}" >> $GITHUB_ENV
1616
echo "CXX=g++-${vers}" >> $GITHUB_ENV
1717
else
18-
brew install llvm@15
1918
if [[ "$(uname -m)" == "x86_64" ]]; then
19+
brew install llvm@15
2020
echo "CC=/usr/local/opt/llvm@15/bin/clang" >> $GITHUB_ENV
2121
echo "CXX=/usr/local/opt/llvm@15/bin/clang++" >> $GITHUB_ENV
2222
else
23-
echo "CC=/opt/homebrew/opt/llvm@15/bin/clang" >> $GITHUB_ENV
24-
echo "CXX=/opt/homebrew/opt/llvm@15/bin/clang++" >> $GITHUB_ENV
23+
echo "CC=/opt/homebrew/opt/llvm@20/bin/clang" >> $GITHUB_ENV
24+
echo "CXX=/opt/homebrew/opt/llvm@20/bin/clang++" >> $GITHUB_ENV
2525
fi
2626
fi
2727
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
@@ -75,3 +75,4 @@ runs:
7575
{
7676
echo "Unsupported compiler - fix YAML file"
7777
}
78+

0 commit comments

Comments
 (0)