Re: Multi-threaded compile of 4gl

Mike Aubury <[email protected]> Thu, 7 Sep 2023 06:49:37 +0100
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WGqr3Mz428ePq2E30eUjxPYJ+=oWy9KjKeKHNikEvuhSg@mail.gmail.com>
--===============3692758592043379209==
Content-Type: multipart/alternative; boundary="0000000000008ab3f10604be6d9f"

--0000000000008ab3f10604be6d9f
Content-Type: text/plain; charset="UTF-8"

I don't think 4glpc will do this, but you should be able to compile in
parallel using makefiles.

The only issue with be globals files, you might potentially get two 4gls
trying to compute the same global file at the same time and end up with a
confused .glb file.
If you separate the compilation of those out, and compile those first, I
think you should be OK.

How are you compiling at the minute? A4gl ide? Makefiles? 4glpc?

On Thu, 7 Sept 2023, 04:43 Michael Pope, <[email protected]> wrote:

> I'm compiling some of my large library files (13,000 lines) which I know
> need refactoring and they are taking 10seconds to compile is it possible to
> compile using multiple threads?
>
>
> --
> Regards,
>
> *Michael Pope*
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>

--0000000000008ab3f10604be6d9f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">I don&#39;t think 4glpc will do this, but you should be a=
ble to compile in parallel using makefiles.<div dir=3D"auto"><br><div dir=
=3D"auto">The only issue with be globals files, you might potentially get t=
wo 4gls trying to compute the same global file at the same time and end up =
with a confused .glb file.=C2=A0</div><div dir=3D"auto">If you separate the=
 compilation of those out, and compile those first, I think you should be O=
K.</div><div dir=3D"auto"><br></div><div dir=3D"auto">How are you compiling=
 at the minute? A4gl ide? Makefiles? 4glpc?</div></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, 7 Sept 2023,=
 04:43 Michael Pope, &lt;<a href=3D"mailto:[email protected]">michael@d=
tcorp.com.au</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20

   =20
 =20
  <div>
    <p>I&#39;m compiling some of my large library files (13,000 lines) whic=
h
      I know need refactoring and they are taking 10seconds to compile
      is it possible to compile using multiple threads?<br>
    </p>
    <p><br>
    </p>
    <div>-- <br>
      <div dir=3D"ltr">
        <div>Regards,</div>
        <div><br>
        </div>
        <b>Michael Pope</b><br>
      </div>
    </div>
  </div>

_______________________________________________<br>
Aubit4gl-discuss mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank"=
 rel=3D"noreferrer">[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss" r=
el=3D"noreferrer noreferrer" target=3D"_blank">https://lists.sourceforge.ne=
t/lists/listinfo/aubit4gl-discuss</a><br>
</blockquote></div>

--0000000000008ab3f10604be6d9f--


--===============3692758592043379209==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3692758592043379209==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss

--===============3692758592043379209==--