[erlang-questions] enforcing concurrent make in otp_build

Kenji Rikitake kenji@REDACTED
Thu Dec 12 14:16:07 CET 2013


Using MAKEFLAGS is indeed appropriate. Many thanks.
Kenji Rikitake

++> Lukas Larsson <garazdawi@REDACTED> [2013-12-12 13:30:04 +0100]:
> Date: Thu, 12 Dec 2013 13:30:04 +0100
> From: Lukas Larsson <garazdawi@REDACTED>
> To: Kenji Rikitake <kenji@REDACTED>
> Cc: Erlang Questions <erlang-questions@REDACTED>
> Subject: Re: [erlang-questions] enforcing concurrent make in otp_build
> 
> I normally use "export MAKEFLAGS=-j10 && ./otp_build" on Linux, maybe that
> works for you as well on bsd?
> 
> Lukas
> 
> 
> On Thu, Dec 12, 2013 at 1:13 PM, Kenji Rikitake <kenji@REDACTED> wrote:
> 
> > I am trying to find out how to enforce concurrent execution of `make`
> > in the otp_build shell script.  I want to do the same thing as `make -j8`.
> > So far I have discovered that setting the environment variable MAKE will
> > do,
> > such as `env MAKE="make -j8" otp_build build`.  Am I in the right path?
> > (Note that on FreeBSD it's `gmake`)
> >
> > I want to make the build process of the kerl script faster, such as in
> >
> >     env MAKE="make -j10" kerl build R16B03 r16b03-test # `gmake` on FreeBSD
> >
> > I`d be glad if I could hear more efficient ways to do this.
> >
> > Regards,
> > Kenji Rikitake



More information about the erlang-questions mailing list