<div dir="ltr"><div dir="ltr">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?</div><div dir="ltr"><br></div><div dir="ltr">We are using -j when compiling Erlang in the RabbitMQ Docker image: <a href="https://github.com/docker-library/rabbitmq/blob/8a623bb9420b8bfb1cbad2467abb48db26e7ddbc/3.7/ubuntu/Dockerfile#L138">https://github.com/docker-library/rabbitmq/blob/8a623bb9420b8bfb1cbad2467abb48db26e7ddbc/3.7/ubuntu/Dockerfile#L138</a></div><div dir="ltr"><br></div><div>As for checks, we verify that Erlang/OTP crypto & ssl were compiled against OpenSSL correctly: <a href="https://github.com/docker-library/rabbitmq/blob/8a623bb9420b8bfb1cbad2467abb48db26e7ddbc/3.7/ubuntu/Dockerfile#L159">https://github.com/docker-library/rabbitmq/blob/8a623bb9420b8bfb1cbad2467abb48db26e7ddbc/3.7/ubuntu/Dockerfile#L159</a></div><div><br></div><div>The same -j flag is used in the Erlang Docker image: <a href="https://github.com/erlang/docker-erlang-otp/blob/a35e84764af1391f174905c7d18db3c1b7c629e6/21/Dockerfile#L29">https://github.com/erlang/docker-erlang-otp/blob/a35e84764af1391f174905c7d18db3c1b7c629e6/21/Dockerfile#L29</a></div><div><br></div><div>Hope this helps, Gerhard.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 30, 2019 at 11:19 AM Roger Lipscombe <<a href="mailto:roger@differentpla.net">roger@differentpla.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm building Erlang/OTP (using kerl, but I don't think that's<br>
relevant) and it's taking forever. Can I use MAKEFLAGS=-j8 to make it<br>
quicker? Is this supported?<br>
<br>
I mean, sure, it *appears* to be working (though something's using<br>
more than 8 cores, somehow, and my music playback's getting choppy).<br>
But is it *guaranteed* to work?<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>