jgrulich / rpms / firefox

Forked from rpms/firefox 4 years ago
Clone

7e1b07c Use constrain_build macro to simplify parallel make handling

Authored and Committed by kalev 2 years ago
1 file changed. 7 lines added. 21 lines removed.
    Use constrain_build macro to simplify parallel make handling
    
    With constrain_build it is possible to just say how much RAM per process
    / CPU core we need to build and it automatically calculates out the
    right -jXX number to use.
    
    I've used 2 GB per CPU as the initial setting, but if we run into issues
    with gcc running out of memory on e.g. s390x, the number can be easily
    increased (which then reduces parallelism on low memory builders).
    
        
file modified
+7 -21