From f6ff3a0756abc08cd22742c0c0e70a28282fa1e6 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Wed, 17 Aug 2022 22:29:23 +0200 Subject: [PATCH] Update with LLVM 16 compatibility. --- .github/workflows/main.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94d7d73ab..231e1c7eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -143,7 +143,7 @@ jobs: fail-fast: false matrix: build_type: [Release, Debug] - llvm_version: [12, 13, 14, 15] + llvm_version: [12, 13, 14, 15, 16] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 87a430059..31cbb2133 100644 --- a/README.md +++ b/README.md @@ -259,7 +259,7 @@ You can try it out by running some sample code: `c3c.exe compile ../resources/ex 1. Make sure you have a C compiler that handles C11 and a C++ compiler, such as GCC or Clang. Git also needs to be installed. 2. Install CMake: `sudo apt install cmake` -3. Install LLVM 12 (or greater: C3C supports LLVM 12-15): `sudo apt-get install clang-12 zlib1g zlib1g-dev libllvm12 llvm-12 llvm-12-dev llvm-12-runtime liblld-12-dev liblld-12` +3. Install LLVM 12 (or greater: C3C supports LLVM 12-16): `sudo apt-get install clang-12 zlib1g zlib1g-dev libllvm12 llvm-12 llvm-12-dev llvm-12-runtime liblld-12-dev liblld-12` 4. Clone the C3C github repository: `git clone https://github.com/c3lang/c3c.git` 5. Enter the C3C directory `cd c3c`. 6. Create a build directory `mkdir build`