Skip to content

[TEST QLI STAGING AUTOPKGTEST] d/camx-dkms.dkms, d/dkms-build: obey dkms parallel_jobs - #43

Draft
Christopher Obbard (obbardc) wants to merge 1 commit into
qli-staging/debian/latestfrom
wip/obbardc/dkms-obey-parallel-jobs-staging
Draft

[TEST QLI STAGING AUTOPKGTEST] d/camx-dkms.dkms, d/dkms-build: obey dkms parallel_jobs#43
Christopher Obbard (obbardc) wants to merge 1 commit into
qli-staging/debian/latestfrom
wip/obbardc/dkms-obey-parallel-jobs-staging

Conversation

@obbardc

Copy link
Copy Markdown

This is a test for QLI staging repo.

dkms-build hardcodes make -j$(nproc) so the dkms parallel_jobs setting has no effect and builds always used every CPU.

Pass parallel_jobs to dkms-build and use it for the -j argument instead of nproc. If parallel_jobs is unset, use nproc for the value for parallel_jobs to retain the existing behaviour.

dkms-build hardcodes `make -j$(nproc)` so the dkms `parallel_jobs`
setting has no effect and builds always used every CPU.

Pass `parallel_jobs` to dkms-build and use it for the `-j` argument
instead of `nproc`. If `parallel_jobs` is unset, use `nproc` for
the value for `parallel_jobs` to retain the existing behaviour.

Signed-off-by: Christopher Obbard <chris.obbard@oss.qualcomm.com>
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.

1 participant