File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,12 @@ elif [ "$VERSION" -lt "22" ]; then
3838elif [ " $VERSION " -lt " 24" ]; then
3939 export CC=" clang-12"
4040 export CXX=" clang++-12"
41- else
41+ elif [ " $VERSION " -lt " 26 " ] ; then
4242 export CC=" clang-16"
4343 export CXX=" clang++-16"
44+ else
45+ export CC=" clang-12"
46+ export CXX=" clang++-12"
4447fi
4548
4649# install EIGEN library
Original file line number Diff line number Diff line change @@ -32,8 +32,13 @@ elif [ "$VERSION" -lt "22" ]; then
3232 sudo apt-get install -y clang-8 libc++-8-dev libc++abi-8-dev
3333elif [ " $VERSION " -lt " 24" ]; then
3434 sudo apt-get install -y clang-12 clang++-12 libc++-12-dev libc++abi-12-dev
35- else
35+ elif [ " $VERSION " -lt " 26 " ] ; then
3636 sudo apt-get install -y clang-16 clang++-16 libc++-16-dev libc++abi-16-dev
37+ else
38+ # Installing clang 12 for now in all other cases
39+ wget https://apt.llvm.org/llvm.sh
40+ chmod +x llvm.sh
41+ sudo ./llvm.sh 12
3742fi
3843
3944# install additional tools
You can’t perform that action at this time.
0 commit comments