add clpeak to profiling tools

pull/19749/head^2
Adeeb Shihadeh 4 years ago
parent 300602d6ba
commit a9c71a76f5
  1. 1
      selfdrive/debug/profiling/clpeak/.gitignore
  2. 19
      selfdrive/debug/profiling/clpeak/build.sh

@ -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 .
Loading…
Cancel
Save