Skip to content

Commit

Permalink
ci: update llvm to version 17
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Aug 21, 2023
1 parent 24a89ae commit d458fa9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/toolchain/llvm/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions meta/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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`.

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

Expand Down
2 changes: 1 addition & 1 deletion sources/build/scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d458fa9

Please sign in to comment.