* rework mac_setup.sh
* ignore casadi and onnx runtime in pipfile for Darwin
* remove rust stuff
* build and install casadi
* add wget
* explicit python3. dont do onnx just yet
* resource compiler
* replace acados Darwin lib w universal2 libs
* relock Pipfile using linux machine
* Update update_requirements.sh
brackets
* Update update_requirements.sh
oops
* ci: re-enable mac build
* attempt to fix ci build:
* pip stuff?
* move rcc bin path to env script
* oops
* only mac
* k im lazy. does ci like this??
* huh??
* * use curl
* avoid casadi rebuilds
* add comment to remove protobuf
* host detect typo
* python version
* how did the builds not use swig?
* better reinstall check
* sometimes mac clang complain abt error limit
* ci: build OP in venv
* ci: bump to Big Sur
* retry? idk why it failed @ acados link
* * use macos-latest
* move rcc path to scons
* add extra paths for odd homebrew installs
* acados source change
* update macOS README
* uh, maybe?
* k nvm
* ci: ok this is strange. might be scons bug?
* fix conflicts: bump
* just add cppcheck for pre-commit stuff
* agane
* cleanup
* try that
* fix path
* no pyenv update on mac
* source
* fix rpath prefix?
* no examples
* fix exit
* let's get this cached
* add virtualenvs to cache
* why did we cache that
* let's see what's big
* more
* always ruyn
* cache scons cache
* better cache key
* fix for partial hit
* why so long
Co-authored-by: Andrew Tec <andrest@trabus.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Bruce Wayne <batman@openpilot-mac-mini.local>
old-commit-hash: 6664421710
* CI: use ubuntu_setup.sh
* works?
* need to fix paths
* set paths
* no batman for now
* pyenv version
* rehash after install packages
* unify python install
* revert that
* fix pyenv path
* no pipenv
* flip that
* fix rehash
* skip that
* revert panda
old-commit-hash: 066e3e3626
* dynamic PYTHONPATH setting based on actual openpilot location
* right above
* fix path
* absolute path all the time
* Revert "absolute path all the time"
This reverts commit c0bc2e08e7.
* Update tools/openpilot_env.sh
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: fed7cfeef0
* fix: fix pathing issues in ubuntu_setup.sh and openpilot_env.sh
Fixes:
- enter git tree before trying git operations in ubuntu_setup.sh
- extend PYTHONPATH instead of overwriting it in openpilot_env.sh
- fix pyenv pathing with workaround in openpilot_env.sh
This also adds a newline before .bashrc extensions to visually separate
the additions from existing content.
* Update tools/ubuntu_setup.sh
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6d3c587564
* Setup script improvements to MacOS / Ubuntu
scons isn't actually required from brew install
pyenv init on all envs
added installation to .zshrc on macos with better dir logic
Using git to detect project root for ubuntu bashrc install
Check shell and determine correct RC file
Update tools/mac_setup.sh
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Sourcing RC file only if it's found
Removed unnecessary source of rc file
Submodules should never have been bumped...
Output the $RC_FILE when successfully installed
pyenv init every time, and skip RC install on CI
Confused bash conditionals, opposite of what I meant
* Was missing libusb on a fresh MacOS 10.15.6 install
Co-authored-by: Michael Honan <michaelhonan@Michaels-MacBook-Pro.local>
old-commit-hash: 4a9228fcc7