Skip to content

Commit

Permalink
Update _index.md (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuseZ4 authored Aug 28, 2023
1 parent a43e8ce commit 99eb644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/Installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ cd Enzyme

Enzyme is a plugin for LLVM and consequently needs an existing build of LLVM to function.

Enzyme is designed to work with a wide range of LLVM versions and is currently tested against LLVM 7, 8, 9, 10, 11, 12, and mainline. LLVM's plugin infrastructure can sometimes be flakey or not built by default. If loading Enzyme into an existing LLVM installation results in segfaults, we recommend building LLVM from source.
Enzyme is designed to work with a wide range of LLVM versions and is currently tested against LLVM 11-16 and mainline. LLVM's plugin infrastructure can sometimes be flakey or not built by default. If loading Enzyme into an existing LLVM installation results in segfaults, we recommend building LLVM from source.

Details on building LLVM can be found in for building LLVM can be found in the [LLVM Getting Started](https://llvm.org/docs/GettingStarted.html). A simple build command using Ninja is shown below:

```sh
cd /path/to/llvm/source/
mkdir build && cd build
cmake -G Ninja ../llvm -DLLVM_TARGETS_TO_BUILD="host" -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_PLUGINS=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON
cmake -G Ninja ../llvm -DLLVM_TARGETS_TO_BUILD="host" -DLLVM_ENABLE_PROJECTS="clang;lld" -DLLVM_ENABLE_PLUGINS=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON
ninja
```

Expand Down

0 comments on commit 99eb644

Please sign in to comment.