Commit Graph

20 Commits

Author SHA1 Message Date
Andrew 192978753d 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>
old-commit-hash: 66644217100f17e0a0c4f95f86aed2fd8c09c28c
2022-01-07 15:15:18 -08:00
Greg Hogan f19c9f2e72 setup: remove duplicate pipenv install (#23406)
old-commit-hash: bafdb20eb1288cc6ca94a109301701e997989b4c
2022-01-05 13:25:41 +01:00
Greg Hogan bd622f8583 setup: update pyenv before installing python (#23405)
old-commit-hash: 23346ae63c38073b87e1ea0ddb3cd19771e45262
2022-01-05 00:25:34 -08:00
Greg Hogan f6a9445de8 tools: configure PYTHONPATH in pipenv (#23361)
* automatically set PYTHONPATH in pipenv

* remove other place this was set
old-commit-hash: 3e5a2730227603e06e2b0df657dd7a3e874a6bd1
2022-01-03 20:15:10 -08:00
Adeeb Shihadeh 02f1866b61 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
old-commit-hash: 066e3e3626f56d8f86c120defe4181eaed0182f4
2022-01-02 14:47:16 -08:00
Greg Hogan 0ff7695dcb Revert "update_requirements.sh: install both Pipfiles"
This reverts commit 97ea2c37e0e831216969b8c04e9053022e39ca10.

old-commit-hash: 148c739ec754c981889c714faa265a7fa0010676
2021-11-19 11:48:34 -08:00
Willem Melching 541d2c2848 update_requirements.sh: install both Pipfiles
old-commit-hash: dec2cb6a654df298964d2d04d43d42bf3f554d65
2021-11-04 16:31:49 +01:00
lipniak 9fcb713e9c 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>
old-commit-hash: 1d55f2f23e31dd64568d729ef33325cf229fdf51
2021-10-31 16:37:07 +01:00
HaraldSchafer b8ba7a0d5d notebook precommit install (#22382)
* notebook precommit install

* Update update_requirements.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 06944165d03ba7081f857338395337c544954cca
2021-09-29 19:05:11 -07:00
ZwX1616 0cc1f42e44 install hook for xx
old-commit-hash: c01e622e828c1c2e41ac9708a74e4209811ad07b
2021-09-21 21:16:05 -07:00
Greg Hogan 7670528be8 better way to set pipfile
old-commit-hash: 2fe5eff88c66caa22f615fff2919356b3178a30e
2021-03-09 17:56:23 -08:00
Greg Hogan 57292073e1 use xx pipfile when available
old-commit-hash: 81433f1e543daef98887f229f743fc9cc673976c
2021-03-09 17:46:45 -08:00
Adeeb Shihadeh ebf758d174 update_requirements: install pipenv
old-commit-hash: c8bbb8ea87dcd52e0b4beb35a3c270dc115433a9
2021-03-09 13:41:19 -08:00
Greg Hogan f9db1e3728 upgrade pip
old-commit-hash: 92bc71c2e727e8f14fbe694ec4ca09e99759314e
2020-11-18 16:25:38 -08:00
Greg Hogan f98a0da179 update update_requirements.sh
old-commit-hash: c0715b57e2d80cd59560bb2525446fefe99ea843
2020-10-23 16:09:34 -07:00
Greg Hogan 71e76fc791 make scons work immediately after install
old-commit-hash: 0aaeaef79d9d528a4f51e5f0f2f7eb7733612b0b
2020-10-21 11:44:26 -07:00
Greg Hogan eba45b31ef improve update_requirements.sh
old-commit-hash: 7114cc29ab734dd8a0578eadb51bf3f6cf2220b2
2020-10-21 11:36:18 -07:00
Greg Hogan 95516d3ea4 update pipenv install
old-commit-hash: cad76bf28b2d1c0f92f3b0b728db56fd9984e601
2020-09-15 18:04:53 -07:00
Willem Melching ea052d61b3 Update pip to 20.1.1 so python-opencv installation succeeds
old-commit-hash: b16e90c78172674fbb0f5206c75275a13b9f6926
2020-07-24 12:13:00 +02:00
George Hotz 06c6ee312b root directory non hidden files
old-commit-hash: 012535a84e
2020-01-17 10:22:00 -08:00