Closed vgene closed 4 years ago
Use CMake method to compile CPF
Reasons:
727b55c
Use cmake for analysis, seems to be working
Workflow:
# Under ./liberty
mkdir build
cmake ..
make -j32
36bb38b60
Done with all subdirectories under ./lib
and ./support/{FullLoopProf, specpriv-profile}
Tested with 2mm, went through all profilings, something wrong with heap classification during pipeline generation.
Problems noticed:
-m32
. Not sure what the intention was. Could not compile with it (include files issue). Removed for now under cmake../support/smtx
is still built with its Makefile (using gcc for speed(does this still holds?))-debug-only=...
is not available when llvm is compiled with -DLLVM_ENABLE_ASSERTIONS=OFF
, should consider replacing all useful outputs currently wrapped inside LLVM_DEBUG
@sapostolakis 045d34bfaf2b48a09
Compile from scratch - LLVM, NOELLE, and CPF, generating both versions Allow skip recompiling LLVM and CPF Just need to verify the correctness and automatically generate two environment profiles for debug and release
Note: NOELLE ./src/scripts/run_me/sh
will fail if cmake3 is not detected due to run_me.sh
running with bash -e
. We made a local copy of cmake3 on red, but should fix in NOELLE.
Note: NOELLE
./src/scripts/run_me/sh
will fail if cmake3 is not detected due torun_me.sh
running withbash -e
. We made a local copy of cmake3 on red, but should fix in NOELLE.
Fixed in NOELLE
A set of scripts to download, setup, and compile LLVM/NOELLE/CPF with both release and debug profile.