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

Build PyQt5 wheel in parallel #302

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

robin-reckmann
Copy link
Contributor

@robin-reckmann robin-reckmann commented Aug 10, 2024

Build PyQt5 wheel in parallel to other compilation steps and install from wheel later.
This reduces the overall Docker build time and makes better use of the Docker build cache.

Tests: Builds and runs on C3. Openpilot compiles, GUI works. (Not tested on-road)

@robin-reckmann robin-reckmann marked this pull request as ready for review August 10, 2024 08:26
Dockerfile.agnos Outdated
@@ -29,6 +29,12 @@ COPY ./userspace/openpilot_dependencies.sh /tmp/agnos/
RUN /tmp/agnos/openpilot_dependencies.sh

# Individual compiling images
FROM agnos-compiler AS agnos-compiler-pyqt5
COPY ./userspace/openpilot_python_dependencies.sh /tmp/agnos/
RUN /tmp/agnos/openpilot_python_dependencies.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this done twice?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we copy the rest of the dependencies out of here too?

@robin-reckmann robin-reckmann marked this pull request as draft August 12, 2024 11:27
@adeebshihadeh
Copy link
Contributor

@robin-reckmann want to finish this one up? Looks ready to go aside from the double python deps.

@robin-reckmann robin-reckmann marked this pull request as ready for review August 14, 2024 06:40
@adeebshihadeh adeebshihadeh merged commit 388c799 into commaai:master Aug 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants