add clpeak to profiling tools

This commit is contained in:
Adeeb Shihadeh
2021-01-13 19:41:56 -08:00
parent 300602d6ba
commit a9c71a76f5
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 .