Alternatives to -j parallel

Richard Beare <[email protected]> Tue, 6 Sep 2016 12:11:59 +1000
Newsgroups gmane.comp.compilers.distcc
Message-ID <CA+V7QS8aAS4Y1p7cm9dYwUpeo5_yoWodc3ptW5qoJHA1L9_N7g@mail.gmail.com>
--===============4902762543293355596==
Content-Type: multipart/alternative; boundary=001a11c024a8587b6b053bcd52b9

--001a11c024a8587b6b053bcd52b9
Content-Type: text/plain; charset=UTF-8

Hi,
I'm having a few problems using distcc for a large project on the circleCI
infrastructure, which has 4GB limits for the compilation hosts.

Occasionally I see this limit being exceeded when 2 link jobs run on the
main server at the same time. This happens despite the --localslots=1 and
localhost/1 settings in the distcc hosts file.

I suspect the problem is that the large and complex cmake project that is
being built has its own link mechanism. So my question is whether there is
an alternative way to pass the parallel option to distcc besides make -jN?
This would allow the other compile steps that might not be under distcc
control to run serially on the local host.

Thanks

--001a11c024a8587b6b053bcd52b9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div>I&#39;m having a few problems using distcc for a l=
arge project on the circleCI infrastructure, which has 4GB limits for the c=
ompilation hosts.</div><div><br></div><div>Occasionally I see this limit be=
ing exceeded when 2 link jobs run on the main server at the same time. This=
 happens despite the --localslots=3D1 and localhost/1 settings in the distc=
c hosts file.</div><div><br></div><div>I suspect the problem is that the la=
rge and complex cmake project that is being built has its own link mechanis=
m. So my question is whether there is an alternative way to pass the parall=
el option to distcc besides make -jN? This would allow the other compile st=
eps that might not be under distcc control to run serially on the local hos=
t.</div><div><br></div><div>Thanks</div></div>

--001a11c024a8587b6b053bcd52b9--


--===============4902762543293355596==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc
--===============4902762543293355596==--