Ticket #115 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

create a macro for parallel make

Reported by: stick Assigned to: RpmTickets
Priority: minor Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:

Description

Distributions uses these macros for parallel make: - Fedora make %{?_smp_mflags} - openSUSE: make %{?jobs:-j%jobs}

We could unify notation (%{?_smp_mflags} works on openSUSE too) and add a definition to RPM upstream (maybe %make for parallel make and %make_single for single?)

Change History

12/04/09 17:54:31 changed by stick

  • priority changed from major to minor.

12/22/09 00:18:33 changed by jengelh

We should be using at least %_smp_mflags; the hardcoded use of %{?jobs:-j%jobs} in specfiles "forces" the use of -jXX, which is in conflict when one wants to use -lXX instead, for example.

(“Parallel building, preferably, but I get to choose how things are scheduled.”)

%make and %make_single seems ok.