commit external/capnp and don't build it

old-commit-hash: e10f3302906c9bf1bfc378eb087d4204edaa9708
This commit is contained in:
George Hotz
2020-02-29 14:36:16 -08:00
parent 12f79f439a
commit 50096ddbc8
93 changed files with 282 additions and 12 deletions
+9 -10
View File
@@ -11,6 +11,7 @@ sudo apt-get update && sudo apt-get install -y \
curl \
ffmpeg \
git \
libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev \
libarchive-dev \
libbz2-dev \
libcurl4-openssl-dev \
@@ -76,26 +77,24 @@ pip install pipenv==2018.11.26
# pipenv setup (in openpilot dir)
pipenv install --system --deploy
# install capnp
cd external/capnp
if [ ! -d lib ]; then
# TODO: commit the lib instead
./build.sh
git checkout bin/* # don't update these
fi
cd ../../
# install capnp (not needed anymore)
#cd external/capnp
#if [ ! -d lib ]; then
# ./build.sh
# git checkout bin/* # don't update these
#fi
#cd ../../
# at this point, manager runs
# to make tools work
sudo apt install -y ffmpeg libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev
pip install -r tools/requirements.txt
# to make modeld work on PC with nvidia GPU
pip install tensorflow-gpu==2.0
# for loggerd to work on ubuntu
# TODO: PC should log somewhere else
#sudo mkdir -p /data/media/0/realdata
#sudo chown $USER /data/media/0/realdata