Commit Graph

23 Commits (master)

Author SHA1 Message Date
Adeeb Shihadeh a958213ec7 fix pre-commit install when subdirectories don't have a config 2022-03-13 20:00:23 -07:00
Adeeb Shihadeh d6f6e024b3 no git in CI 2022-03-13 16:37:53 -07:00
Adeeb Shihadeh 8252134e62 install pre-commit hooks for all submodules 2022-03-13 16:18:01 -07:00
Andrew 6664421710
mac: fix setup and re-enable CI (#23365)
* 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>
2022-01-07 15:15:18 -08:00
Greg Hogan bafdb20eb1
setup: remove duplicate pipenv install (#23406) 2022-01-05 13:25:41 +01:00
Greg Hogan 23346ae63c
setup: update pyenv before installing python (#23405) 2022-01-05 00:25:34 -08:00
Greg Hogan 3e5a273022
tools: configure PYTHONPATH in pipenv (#23361)
* automatically set PYTHONPATH in pipenv

* remove other place this was set
2022-01-03 20:15:10 -08:00
Adeeb Shihadeh 066e3e3626
CI: use ubuntu_setup.sh (#23349)
* 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
2022-01-02 14:47:16 -08:00
Greg Hogan 148c739ec7 Revert "update_requirements.sh: install both Pipfiles"
This reverts commit dec2cb6a65.
2021-11-19 11:48:34 -08:00
Willem Melching dec2cb6a65 update_requirements.sh: install both Pipfiles 2021-11-04 16:31:49 +01:00
lipniak 1d55f2f23e
tools/setup: do not change global state (#22735)
* tools/setup: do not change global state

1. download packages in the venv
2. never change global python version

* update_requirements.sh: install to system if used by comma employees

* bump pip & pipenv versions

* no --upgrade

* run pre-commmit install in venv

* for consistency

Co-authored-by: predicate@bonzo <noreply@example.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-31 16:37:07 +01:00
HaraldSchafer 06944165d0
notebook precommit install (#22382)
* notebook precommit install

* Update update_requirements.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-29 19:05:11 -07:00
ZwX1616 c01e622e82 install hook for xx 2021-09-21 21:16:05 -07:00
Greg Hogan 2fe5eff88c better way to set pipfile 2021-03-09 17:56:23 -08:00
Greg Hogan 81433f1e54 use xx pipfile when available 2021-03-09 17:46:45 -08:00
Adeeb Shihadeh c8bbb8ea87 update_requirements: install pipenv 2021-03-09 13:41:19 -08:00
Greg Hogan 92bc71c2e7 upgrade pip 2020-11-18 16:25:38 -08:00
Greg Hogan c0715b57e2 update update_requirements.sh 2020-10-23 16:09:34 -07:00
Greg Hogan 0aaeaef79d make scons work immediately after install 2020-10-21 11:44:26 -07:00
Greg Hogan 7114cc29ab improve update_requirements.sh 2020-10-21 11:36:18 -07:00
Greg Hogan cad76bf28b update pipenv install 2020-09-15 18:04:53 -07:00
Willem Melching b16e90c781 Update pip to 20.1.1 so python-opencv installation succeeds 2020-07-24 12:13:00 +02:00
George Hotz 012535a84e root directory non hidden files 2020-01-17 10:22:00 -08:00