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

Restore multicore build support with kernel-bootstrap #388

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

Googulator
Copy link
Collaborator

This was removed as part of the simplify refactor, severely slowing down qemu and bare-metal builds. Restoring it brings us back to the same build times that we saw before the refactor.

@Googulator Googulator force-pushed the kernel-bootstrap-jobs branch from 8d994c2 to 42e71bf Compare January 1, 2024 23:13
Copy link
Collaborator

@stikonas stikonas left a comment

Choose a reason for hiding this comment

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

update_jobs sounds a bit misleading. Maybe we can name it update_build_job_count or is that too long?

Copy link
Owner

@fosslinux fosslinux left a comment

Choose a reason for hiding this comment

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

This is OK given the limitations of script-generator. Agree with stikonas that update_jobs is a bit misleading. Perhaps use_final_jobs would be better?

@Googulator Googulator force-pushed the kernel-bootstrap-jobs branch from 42e71bf to 7101b3b Compare January 2, 2024 03:36
@Googulator
Copy link
Collaborator Author

I settled for finalize_job_count in the end.

@fosslinux
Copy link
Owner

ergh, conflicts...

Perform variable substitution at runtime, rather than at generation
time. This way, if bootstrap.cfg changes after update_env, the new
values there take effect immediately.
This was removed as part of the simplify refactor, severely slowing
down qemu and bare-metal builds. Restoring it brings us back to the
same build times that we saw before the refactor.
@Googulator Googulator force-pushed the kernel-bootstrap-jobs branch from 7101b3b to 50d1d68 Compare January 8, 2024 11:56
@Googulator
Copy link
Collaborator Author

Fixed.

@fosslinux fosslinux merged commit 01a4f90 into fosslinux:master Jan 10, 2024
6 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.

3 participants