From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: G. B. Newsgroups: comp.lang.ada Subject: Re: gprbuild -j8 on Windows 8.1? Date: Fri, 21 Jun 2019 18:36:07 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <6f1fcde3-fcf3-4a20-a1ee-b9c434de346a@googlegroups.com> <1cdbc5f8-e58c-45c8-a30e-781c2c18244c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 21 Jun 2019 18:36:07 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="d7027268f859c1c84d942fee1d6bc165"; logging-data="16173"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ff1+eW3lmN3An8ODBv9RrlrZEgCcqfto=" User-Agent: NewsTap/5.3.4 (iPhone/iPod Touch) Cancel-Lock: sha1:2wnghVyv7eYs2DfCj0Iwz1m3UhI= sha1:XfBipepNYv5lOEa1mb8biUKqN1o= Xref: reader01.eternal-september.org comp.lang.ada:56703 Date: 2019-06-21T18:36:07+00:00 List-Id: Stephen Leake wrote: > On Sunday, June 16, 2019 at 10:54:16 PM UTC-7, Fraser Wilson wrote: >> >> >> Is it just the main program? -j builds separate sources in parallel, >> but won't help with individual files. > > yes, that's it. The main program does lots of generic instantiation, so it's slow. Do the instances depend on runtime values for instantiation? If actuals are static, factoring instantiations out to library units might make them candidates for -j. But, of course, you know this.