Skip to content

Commit

Permalink
Use clang 18 on linux CI, sme_deps_common -> 2024.03.28
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Mar 28, 2024
1 parent 493840c commit 1c2d964
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Builds
on: push

env:
SME_DEPS_COMMON_VERSION: "2024.01.23"
SME_DEPS_COMMON_VERSION: "2024.03.28"
DUNE_COPASI_VERSION: "master"

jobs:
Expand All @@ -20,18 +20,18 @@ jobs:
run:
shell: bash
steps:
- name: Add llvm repo for clang 17 & install
- name: Add llvm repo for clang 18 & install
run: |
sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-17 main"
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-18 main"
sudo apt update -yy
sudo apt install -yy clang-17
sudo apt install -yy clang-18
- name: Set clang version
run: |
sudo update-alternatives --remove-all clang || echo "nothing to remove"
sudo update-alternatives --remove-all clang++ || echo "nothing to remove"
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 100
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100
- name: Disable system blas/lapack
run: |
sudo rm /usr/lib/x86_64-linux-gnu/libblas*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This contains all of the libraries from [sme_deps_common](https://github.com/spa

Get the latest versions here:

- linux (clang 17 / Ubuntu 20.04): [sme_deps_linux.tgz](https://github.com/spatial-model-editor/sme_deps/releases/latest/download/sme_deps_linux.tgz)
- linux (clang 18 / Ubuntu 20.04): [sme_deps_linux.tgz](https://github.com/spatial-model-editor/sme_deps/releases/latest/download/sme_deps_linux.tgz)
- osx (Xcode 14.3 / macOS 13): [sme_deps_osx.tgz](https://github.com/spatial-model-editor/sme_deps/releases/latest/download/sme_deps_osx.tgz)
- win64-mingw (mingw-w64-x86_64-gcc 13): [sme_deps_win64-mingw.tgz](https://github.com/spatial-model-editor/sme_deps/releases/latest/download/sme_deps_win64-mingw.tgz)

Expand Down

0 comments on commit 1c2d964

Please sign in to comment.