Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[no merge] System build time improvements #2 #296

Closed

Conversation

robin-reckmann
Copy link
Contributor

Continuation of #278

andiradulescu and others added 30 commits April 30, 2024 10:26
* separate out qtwayland5 compilation

* ubuntu 22.04

* temp build system image

* remove bionic deps

* temp packages update

* update armhf packages

* back to libstdc++6

* replaced remove dqt5-default meta package with actual depss

* fix for build libqmi crashing with /usr/bin/env: 'python': No such file or directory

* mapbox-gl-native gcc11 fix

* openpilot_dependencies.sh change

* ubuntu-base 24.04 daily current

* apt install meson because PEP 668

* temp g++-11 for mapbox-gl-native

* bump capnproto to 1.0.2

* temp build only agnos-compiler-mapbox-gl-native

* Fixes for compiling mapbox-gl-native

* Fixes for compiling ffmpeg

* Build main system image again

* pyopencl from git since no 2023.1.5 release since inducer/pyopencl#705

* Try to fix checkinstall - no success

* apt capnproto & ffmpeg since can't figure out issue with checkinstall

* Commented removed services disable

* Ubuntu 24.04 currently has arm-none-eabi/12.2.1 but just use wildcard to go to first folder

* pyclean is missing ?!

* ubuntu-latest in tests workflow

* Updated README

* Reverted internal/package_ota.py changes

* rebuilt kernel

* poetry.lock update

* Simplified build_system pipeline

* headers for capnproto

* Fix typo

* Fix for checkinstall

* Reverted apt capnproto & ffmpeg

* Some cleaning in Dockerfile

* 24.04 libwayland-client

* libffi6:armhf deb file

* Updated qtwayland

* Revert "libffi6:armhf deb file"

This reverts commit bb9cb5d.

* libffi.so.6.0.4

* qt5-qmake qtbase5-dev qtbase5-dev-tools already in qt5-default

* Removed qtwayland old files

* checkinstall temp fix

* QStandardPaths: wrong permissions on runtime directory /var/tmp/weston, 0770 instead of 0700

* temp permissions fix makes loading build spinner show

* temp build optimization

* 24.04 new libs

* build kernel don't use tools on aarch64/arm64

* updated boot image and ko files

* cleaning

* switch to release 24.04

* wip - downgrade qt and libwayland

* polkitd-pkla package to support polkit *.pkla

* fixed issue with old qt needing libssl 1.1.1f

* remove /.dockerenv file

* more cleaning

---------

Co-authored-by: Justin Newberry <[email protected]>
Co-authored-by: Adeeb Shihadeh <[email protected]>
* bump version

* /lib64 is now UsrMerged

* latest pip poetry; poetry.lock update

---------

Co-authored-by: Adeeb Shihadeh <[email protected]>
@robin-reckmann
Copy link
Contributor Author

robin-reckmann commented Aug 9, 2024

  • Use apt-fast: 28m32s

@robin-reckmann
Copy link
Contributor Author

  • Use apt-fast: 28m32s
  • System python and uv venv: 26m54s

@robin-reckmann
Copy link
Contributor Author

  • Use apt-fast: 28m32s
  • System python and uv venv: 26m54s
  • Use only one apt update: 25m36s

@robin-reckmann
Copy link
Contributor Author

robin-reckmann commented Aug 10, 2024

  • Use apt-fast: 28m32s
  • System python and uv venv: 26m54s ( -1m38s)
  • Use only one apt update: 25m36s ( -1m18s)
  • Install uv python 3.12: 27m26s ( +1m50s)

@andiradulescu
Copy link
Collaborator

is this just for testing (in CI)? or you plan to merge it in the end?

@robin-reckmann
Copy link
Contributor Author

It's just for testing the build runtimes in the CI. Any larger improvements are probably best to merge in via their own PR. So I will close this one at some point.

@andiradulescu andiradulescu added the testing don't merge, just testing label Aug 13, 2024
@andiradulescu
Copy link
Collaborator

Cool, asked just for triage/setting labels.

@robin-reckmann
Copy link
Contributor Author

  • Use apt-fast: 28m32s
  • System python and uv venv: 26m54s ( -1m38s)
  • Use only one apt update: 25m36s ( -1m18s)
  • Install uv python 3.12: 27m26s ( +1m50s)
  • Build and install PyQt5 wheel: 24m14s ( -1m12s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing don't merge, just testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants