Files
sunnypilot/tools/mac_setup.sh
Adeeb Shihadeh 355e4a40a6 Build openpilot on mac in CI (#1792)
* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
old-commit-hash: c450110f96
2020-08-10 00:44:24 -07:00

27 lines
531 B
Bash
Executable File

#!/bin/bash -e
# install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install capnp \
czmq \
coreutils \
eigen \
ffmpeg \
glfw \
libarchive \
libtool \
llvm \
pyenv \
zeromq
# install python
pyenv install -s 3.8.2
pyenv global 3.8.2
pyenv rehash
eval "$(pyenv init -)"
pip install pipenv==2018.11.26
pipenv install --system --deploy