24 lines
698 B
Plaintext
24 lines
698 B
Plaintext
OS:
|
|
CentOS 7.4
|
|
|
|
Prequest dependency environment:
|
|
1. python >= 3.6.8
|
|
2. cmake >= 3.19.0
|
|
3. boost == 1.67.0
|
|
4. clang == 6.0.0
|
|
5. gcc == 4.9.4
|
|
6. llvm == 6.0.0
|
|
|
|
|
|
How to build:
|
|
1. In merlin_setting.sh, change MERLIN_COMPILER_HOME to your absolute path
|
|
2. Download gcc4.9.4 to $gcc_path specified in merlin_settings.sh and compile, add built library path to LD_LIBRARY_PATH in merlin_setting.sh
|
|
3. Download llvm6.0.0, clang 6.0.0, boost1.67.0 to the path specified in merlin_settings.sh, and compile all the packages with gcc4.9.4 built in step 2
|
|
4. source merlin_setting.sh
|
|
5. cd trunk/build;
|
|
6. cmake3 -DCMAKE_BUILD_TYPE=Release ..;
|
|
7. make -j;
|
|
|
|
How to run:
|
|
run "merlincc -h", follow the help message
|