mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 16:32:06 +08:00
dd778596b7
date: 2025-03-15T21:10:51 master commit: fb7b9c0f9420d228f03362970ebcfb7237095cf3
23 lines
461 B
Bash
Executable File
23 lines
461 B
Bash
Executable File
#!/usr/bin/env 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
|
|
|
|
cd clpeak
|
|
git fetch
|
|
git checkout ec2d3e70e1abc7738b81f9277c7af79d89b2133b
|
|
git reset --hard origin/master
|
|
git submodule update --init --recursive --remote
|
|
|
|
git apply ../run_continuously.patch
|
|
fi
|
|
|
|
cd clpeak
|
|
mkdir build || true
|
|
cd build
|
|
cmake ..
|
|
cmake --build .
|