Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

cmake: use nproc if _num_cores is zero #259

Merged

Commits on Nov 24, 2023

  1. cmake: use nproc if _num_cores is zero

    The previous workaround set _num_cores to 1 if cmake thought
    NUMBER_OF_LOGICAL_CORES was zero.  That worked fine, but it'd
    be much better to take advantage of all possible cores.  This
    version runs `nproc` which seems to work just fine under
    qemu-aarch64 and gives us the actual number of CPUs.
    
    Fixes: b666926
    Signed-off-by: Tim Serong <[email protected]>
    tserong committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    d20b0f7 View commit details
    Browse the repository at this point in the history