Skip to content

Commit

Permalink
Update Faq.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Dec 17, 2023
1 parent 8a2c86d commit 8d1070e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/getting_started/Faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ you can specify that opt useees the old pass manager by adding the `--enable-new
for opt:

```sh
opt input.ll -load=/path/to/LLVMEnzyme-VERSION.so -passes=enzyme -o output.ll -S
opt input.ll -load-pass-plugin=/path/to/LLVMEnzyme-VERSION.so -passes=enzyme -o output.ll -S
```

If you are using CMake, Enzyme exports a special `ClangEnzymeFlags` target which will automatically add the correct flags. See [here](https://github.com/EnzymeAD/Enzyme/blob/main/enzyme/test/test_find_package/CMakeLists.txt#L14) for an example.
Expand Down

0 comments on commit 8d1070e

Please sign in to comment.