File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,24 @@ jobs:
1515 TARGET_TRIPLE : " x86_64-unknown-linux-gnu"
1616 PYTHON_EXE : " /usr/bin/python3"
1717 OS : " linux"
18+ CC : " clang"
19+ CXX : " clang++"
1820 defaults :
1921 run :
2022 shell : bash
2123 steps :
22- - name : Set gcc version
24+ - name : Add llvm repo for clang 13 & install
2325 run : |
24- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100
25- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 100
26+ sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
27+ sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-13 main"
28+ sudo apt update -yy
29+ sudo apt install -yy clang-13
30+ - name : Set clang version
31+ run : |
32+ sudo update-alternatives --remove-all clang || echo "nothing to remove"
33+ sudo update-alternatives --remove-all clang++ || echo "nothing to remove"
34+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-13 100
35+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-13 100
2636 - uses : actions/checkout@v2
2737 - name : Build script
2838 run : ./build.sh
Original file line number Diff line number Diff line change 44
55Get the latest versions here:
66
7- - linux (gcc 9 / Ubuntu 18.04): [ sme_deps_llvm_linux.tgz] ( https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_linux.tgz )
7+ - linux (clang 13 / Ubuntu 18.04): [ sme_deps_llvm_linux.tgz] ( https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_linux.tgz )
88- osx (Apple clang 12 / macOS 10.15): [ sme_deps_llvm_osx.tgz] ( https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_osx.tgz )
99- win32-mingw (mingw-w64-i686-gcc 10): [ sme_deps_llvm_win32-mingw.tgz] ( https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_win32-mingw.tgz )
1010- win64-mingw (mingw-w64-x86_64-gcc 10): [ sme_deps_llvm_win64-mingw.tgz] ( https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_win64-mingw.tgz )
You can’t perform that action at this time.
0 commit comments