[erlang-questions] Can I build Erlang with make -j?

Dmytro Lytovchenko dmytro.lytovchenko@REDACTED
Wed Jan 30 13:37:35 CET 2019

Binary compare of all artifacts, without those parts where timestamp or
temporary pathname is embedded into the output.

On Wed, 30 Jan 2019 at 13:35, Gerhard Lazu <gerhard@REDACTED> wrote:

> Yes, the -j flag is guaranteed to work as expected when building Erlang
> from source. If still in doubt, can you think of a series of checks that
> you could run post-build to ensure that the resulting artefact behaves
> correctly?
> We are using -j when compiling Erlang in the RabbitMQ Docker image:
> https://github.com/docker-library/rabbitmq/blob/8a623bb9420b8bfb1cbad2467abb48db26e7ddbc/3.7/ubuntu/Dockerfile#L138
> As for checks, we verify that Erlang/OTP crypto & ssl were compiled
> against OpenSSL correctly:
> https://github.com/docker-library/rabbitmq/blob/8a623bb9420b8bfb1cbad2467abb48db26e7ddbc/3.7/ubuntu/Dockerfile#L159
> The same -j flag is used in the Erlang Docker image:
> https://github.com/erlang/docker-erlang-otp/blob/a35e84764af1391f174905c7d18db3c1b7c629e6/21/Dockerfile#L29
> Hope this helps, Gerhard.
> On Wed, Jan 30, 2019 at 11:19 AM Roger Lipscombe <roger@REDACTED>
> wrote:
>> I'm building Erlang/OTP (using kerl, but I don't think that's
>> relevant) and it's taking forever. Can I use MAKEFLAGS=-j8 to make it
>> quicker? Is this supported?
>> I mean, sure, it *appears* to be working (though something's using
>> more than 8 cores, somehow, and my music playback's getting choppy).
>> But is it *guaranteed* to work?
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190130/8b71bdee/attachment.htm>

More information about the erlang-questions mailing list