Skip to content

Commit

Permalink
Add compile_commands flag to README (openxla#2240)
Browse files Browse the repository at this point in the history
We don't provide documentation on how to generate compile_commands.json
and this could be a useful start. I left this flag out of CI since the
CI doesn't need to generate this.
  • Loading branch information
ghpvnist authored Apr 19, 2024
1 parent 7127fd3 commit f394f9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Here's how to build the StableHLO repo on Linux or macOS:
-DSTABLEHLO_ENABLE_SPLIT_DWARF=ON \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DSTABLEHLO_ENABLE_SANITIZER=address \
-DMLIR_DIR=${PWD}/../llvm-build/lib/cmake/mlir

Expand Down

0 comments on commit f394f9b

Please sign in to comment.