source: trunk/lib_ir/README.md @ 3925

Last change on this file since 3925 was 3925, checked in by linmengl, 5 years ago

document a little bit, seperate xmlwf and xmlwf_perf, since they use different compiler flags

File size: 682 bytes
RevLine 
[3925]1Compile
2===================
3Compile with the following command (may need to change your path to clang)
4
5"""
6cd build
7
8cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ -DCMAKE_C_COMPILER=/usr/local/bin/clang ..
9
10make
11"""
12
13Check
14===================
15Run `make check` to execute self-check process.
16
17Perf xmlwf
18===================
19Run `make perf_xmlwf` to get the perf results of xmlwf.
20
21LLVM Config
22===================
23This program requires LLVM tools `llc` and `opt`. Check `CMakeLists.txt` for
24variables `LLVM_OPT` and `LLVM_LLC`.
25
26MISC
27===================
28+ Have a look at `compile_commands.json` for compiling detail.
Note: See TracBrowser for help on using the repository browser.