mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update with LLVM 16 compatibility.
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -143,7 +143,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
build_type: [Release, Debug]
|
build_type: [Release, Debug]
|
||||||
llvm_version: [12, 13, 14, 15]
|
llvm_version: [12, 13, 14, 15, 16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
@@ -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.
|
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`
|
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`
|
4. Clone the C3C github repository: `git clone https://github.com/c3lang/c3c.git`
|
||||||
5. Enter the C3C directory `cd c3c`.
|
5. Enter the C3C directory `cd c3c`.
|
||||||
6. Create a build directory `mkdir build`
|
6. Create a build directory `mkdir build`
|
||||||
|
|||||||
Reference in New Issue
Block a user