summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVAN BOSSUYT Nicolas <nicolas.van.bossuyt@gmail.com>2023-08-21 22:38:37 +0200
committerVAN BOSSUYT Nicolas <nicolas.van.bossuyt@gmail.com>2023-08-21 22:38:37 +0200
commitd458fa9ca9d7b88dd62dbbc715bf02feaca21d99 (patch)
tree8f5e539d7a5423aae3b5536797731a2ce15e0e22
parent24a89aeddb815fe5a9a5bbb18c54f7b4c31f81a6 (diff)
ci: update llvm to version 17HEADmain
-rw-r--r--build/toolchain/llvm/build.mk2
-rw-r--r--meta/building.md4
-rwxr-xr-xsources/build/scripts/setup-ubuntu.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/build/toolchain/llvm/build.mk b/build/toolchain/llvm/build.mk
index 760b742d..35d14b57 100644
--- a/build/toolchain/llvm/build.mk
+++ b/build/toolchain/llvm/build.mk
@@ -5,7 +5,7 @@ BASE_CFLAGS += \
# --- Host compiler ---------------------------------------------------------- #
-LLVM_VERSION ?=-13
+LLVM_VERSION ?=-17
HOST_CC=clang$(LLVM_VERSION)
ifeq (, $(shell which $(HOST_CC) 2> /dev/null))
diff --git a/meta/building.md b/meta/building.md
index 70fc949f..0d8734a1 100644
--- a/meta/building.md
+++ b/meta/building.md
@@ -10,7 +10,7 @@ On Arch Linux this can be done by doing `pacman -S make nasm`
## With LLVM
-Before trying to build BRUTAL with LLVM you need to install `lld` and `clang-13`.
+Before trying to build BRUTAL with LLVM you need to install `lld` and `clang`.
On Arch Linux this can be done by doing `pacman -S lld clang`.
@@ -18,7 +18,7 @@ Build BRUTAL via the LLVM toolchain:
`make all`
-> On some distros you might want to change the llvm version using `LLVM_VERSION=-13` or any other version.
+> On some distros you might want to change the llvm version using `LLVM_VERSION=-17` or any other version.
## With GNU
diff --git a/sources/build/scripts/setup-ubuntu.sh b/sources/build/scripts/setup-ubuntu.sh
index 20688277..970f52db 100755
--- a/sources/build/scripts/setup-ubuntu.sh
+++ b/sources/build/scripts/setup-ubuntu.sh
@@ -7,7 +7,7 @@ sudo apt update
# LLVM/CLANG
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
-sudo ./llvm.sh 13 all
+sudo ./llvm.sh 17 all
# GCC/binutils
sudo add-apt-repository ppa:ubuntu-toolchain-r/test