Skip to content

Commit 930ecdc

Browse files
committed
Update README.md to account the fix of the support for LLVM versions > 13
1 parent 817d3b0 commit 930ecdc

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,12 @@ An alternative to the installation of the pre-built executable is to build it fr
4040
#### Dependencies:
4141

4242
* Software to be present on the system before running `cmake`:
43-
* libclang release 13¹: packages `clang-13` and `libclang-13-dev` on Debian.
44-
* libclang relase 13¹: packages `llvm13`, `llvm13-devel`, `clang13`, `clang13-devel` on Alma/Rocky/RHEL
45-
* _If release 13 is not available for the linux distribution version of yoursystem, you can use the option `-DLLVM_BUILD` to build LLVM and Clang from the source code, that will be automatically downloaded from the LLVM project github repository._
43+
* libclang (recommanded release: 19): packages `clang-19` and `libclang-19-dev` on Debian.
44+
* libclang (recommanded release: 19): packages `llvm19`, `llvm19-devel`, `clang19`, `clang19-devel` on Alma/Rocky/RHEL
45+
* On MacOS, you can install `llvm/clang` with brew running the command `brew install llvm` from a terminal
4646
* Software will be downloaded by the `cmake` command:
4747
* [tomlplusplus](https://github.com/marzer/tomlplusplus.git)
48-
* [llvm/clang](https://github.com/llvm/llvm-project/releases/) if the option `-DBUILD_LLVM=ON` is used.
49-
50-
¹ WrapIt is not guaranteed to generate correct code with higher versions of clang. Version 16 is known to give issues. The symptom is function wrappers declared with some argument or the return type as `int` while it if of another type.
48+
* [llvm/clang](https://github.com/llvm/llvm-project/releases/) if the experimental option `-DBUILD_LLVM=ON` is used.
5149

5250
#### Build
5351

@@ -59,7 +57,7 @@ cmake -S .. -B . -DCMAKE_INSTALL_PREFIX=/opt
5957
cmake --build .
6058
```
6159

62-
On OS X it is necessary to add the prefix of the clang/llvm installation, `-DCMAKE_PREFIX_PATH=<path>` or use the `-DBUILD_LLVM=ON` to download and build LLVM and clang. Dep
60+
On OS X it is necessary to add the prefix of the clang/llvm installation, `-DCMAKE_PREFIX_PATH=/opt/homebrew/Cellar/llvm/LLVM_VERSION`
6361

6462
The build process will produce the `wrapit` executable. Install it with `cmake --install .`.
6563

@@ -139,5 +137,3 @@ The code uses [Clang](https://clang.llvm.org/) from the [LLVM](https://llvm.org/
139137
## Contributing to the project
140138

141139
Enthousiastic developers will find in the [src/TODO.md](src/TODO.md) file a list of identified tasks for improving WrapIt!. If you are interested in working on a task, contact us in the Discussion section.
142-
143-
A [Google Summer of Code](https://buildyourfuture.withgoogle.com/programs/summer-of-code) project within the [CERN-HSF organization](https://summerofcode.withgoogle.com/programs/2024/organizations/cern-hsf) on WrapIt! and its application is proposed this year 2024 to students. Desciption of the project: [GSoC Julia-C++ project](https://hepsoftwarefoundation.org/gsoc/2024/proposal_Julia-HEP-Cpp.html).

0 commit comments

Comments
 (0)