add clpeak to profiling tools

old-commit-hash: a9c71a76f5bc64d130a20045404d9edd8468fb2f
This commit is contained in:
Adeeb Shihadeh
2021-01-13 19:41:56 -08:00
parent 4de365d706
commit dfd24560b4
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1 @@
clpeak/
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
if [ ! -d "$DIR/clpeak" ]; then
git clone https://github.com/krrishnarraj/clpeak.git
fi
cd clpeak
git fetch
git checkout master
git reset --hard origin/master
git submodule update --init --recursive --remote
mkdir build
cd build
cmake ..
cmake --build .