@@ -82,24 +82,32 @@ jobs:
82
82
steps :
83
83
- uses : actions/checkout@v4
84
84
85
+ # Remove homebrew LLVM compiler, and use most recent Xcode development
86
+ # tools
85
87
- name : Set environment
86
88
run : |
87
- if [ "${{ matrix.version }}" -lt "15" ]; then
88
- echo "CXX=g++ -Wl,-ld_classic -Wl,-commons,use_dylibs -Wno-unused-command-line-argument" >> $GITHUB_ENV
89
- echo "LLVM_VERSION=15" >> $GITHUB_ENV
90
- elif [ "${{ matrix.version }}" -eq "15" ]; then
89
+ if [ "${{ matrix.version }}" -eq "15" ]; then
91
90
echo "LLVM_VERSION=18" >> $GITHUB_ENV
91
+ sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
92
+ elif [ "${{ matrix.version }}" -eq "14" ]; then
93
+ echo "LLVM_VERSION=15" >> $GITHUB_ENV
94
+ sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
95
+ elif [ "${{ matrix.version }}" -eq "13" ]; then
96
+ echo "LLVM_VERSION=15" >> $GITHUB_ENV
97
+ sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
98
+ echo "CXX=g++ -Wl,-ld_classic -Wl,-commons,use_dylibs -Wno-unused-command-line-argument" >> $GITHUB_ENV
92
99
fi
93
100
101
+ # Check https://github.com/actions/runner-images/tree/main/images/macos
102
+ # to see what is already installed in images.
94
103
- name : Install
95
104
run : |
96
- brew install gcc m4 git bison hdf5 cmake wget autoconf automake
105
+ brew install m4 git bison hdf5 wget autoconf automake
97
106
brew remove llvm@$LLVM_VERSION
98
107
99
108
- name : Symlink GCC & Fortran
100
109
run : ./etc/actions/macos/link_fortran.sh "$(uname -p)"
101
110
102
-
103
111
- name : Configure
104
112
run : |
105
113
autoreconf -i
0 commit comments