Skip to content

Commit

Permalink
Note how to build with Clang. (gcc gave lots of warnings on
Browse files Browse the repository at this point in the history
my Linux machine.)
  • Loading branch information
FlashSheridan committed Oct 10, 2023
1 parent cf9e400 commit 346b174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Building and Running Translation Validation

Alive2's `opt` and `clang` translation validation requires a build of LLVM with
RTTI and exceptions turned on.
LLVM can be built targeting X86 in the following way:
LLVM can be built targeting X86 in the following way. (You may prefer to add `-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++` to the CMake step if your default compiler is `gcc`.)
```
cd $LLVM2_HOME
mkdir build
Expand Down

0 comments on commit 346b174

Please sign in to comment.