Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 14:34:18 -0500
From:      William Bulley <web@umich.edu>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   using make(1) with "-j" option
Message-ID:  <20131125193418.GS15424@itcom245.staff.itd.umich.edu>

Next in thread | Raw E-Mail | Index | Archive | Help
In the modern era with multiple CPUs the norm, I was interested in
finding a way to speed up compiles from source (of the kernel and
the various ports I use).

According to the man page "make(1)" the "-j max_jobs" option:

   Specify the maximum number of jobs that make may have running at
   any one time.  Turns compatibility mode off, unless the -B flag
   is also specified.

While building the kernel today, I was successful using "make -j 4"
on a four CPU system.  Later on, on the same system, I was unable
to build any ports from source using either "# make -j 4 install"
or "# make -j 2 install" commands.  What am I missing here?

Regards,

web...

-- 
William Bulley                     Email: web@umich.edu

72 characters width template ----------------------------------------->|



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20131125193418.GS15424>