initial agnos-builder release

This commit is contained in:
Adeeb Shihadeh
2021-09-20 14:04:35 -07:00
commit 4e38c8f181
189 changed files with 23317 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash -e
echo "Installing python for openpilot"
# Install pyenv
export PYENV_ROOT="/usr/local/pyenv"
curl https://pyenv.run | bash
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
if [ "$(uname -p)" == "aarch64" ]; then
pyenv install --verbose 3.8.5
else
MAKEFLAGS="-j1" MAKE_OPTS="-j1" taskset --cpu-list 0 pyenv install --verbose 3.8.5
fi
echo "Setting global python version"
pyenv global 3.8.5