Page MenuHomeFreeBSD

nanobsd: Fix parallel make
ClosedPublic

Authored by jlduran on Nov 7 2024, 6:04 PM.
Tags
None
Referenced Files
F131564701: D47476.id146143.diff
Thu, Oct 9, 7:43 AM
F131564302: D47476.id146577.diff
Thu, Oct 9, 7:36 AM
F131555501: D47476.diff
Thu, Oct 9, 5:39 AM
Unknown Object (File)
Sun, Sep 28, 2:03 PM
Unknown Object (File)
Thu, Sep 25, 2:39 AM
Unknown Object (File)
Fri, Sep 19, 5:18 AM
Unknown Object (File)
Thu, Sep 18, 9:23 PM
Unknown Object (File)
Thu, Sep 18, 7:34 PM
Subscribers
None

Details

Summary

The NANO_NCPU (number of CPUs) value gets ignored by the build script
when setting the NANO_PMAKE (parallel make) value.

Fix it by setting the NANO_PMAKE later in the process.

PR: 277269
MFC after: 1 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60437
Build 57321: arc lint + arc unit

Event Timeline

jlduran created this revision.

I'd be tempted to remove NANO_PMAKE from embedded/common, rescue/common, and dhcpd/common.

This revision is now accepted and ready to land.Nov 7 2024, 6:39 PM
  • Move the check for -DNO_CLEAN (-n), so this value is reflected when exporting the variable
This revision now requires review to proceed.Nov 8 2024, 4:05 PM
This revision is now accepted and ready to land.Nov 8 2024, 5:45 PM
This revision was automatically updated to reflect the committed changes.