[Scons-users] Is there a way to isolate building a specific file
Andrew C. Morrow
andrew.c.morrow at gmail.com
Sun Jun 28 14:35:11 EDT 2020
Hi Erik -
You may be able to formulate something analogous to the MongoDB --jlink
It uses SideEffect to constrain the concurrency of link tasks to a user
Longer term, I think having SCons implement support for job pools would be
a good idea.
On Fri, Jun 26, 2020 at 1:00 PM Bill Deegan <bill at baddogconsulting.com>
> So you'd like a way to mark one (or several) c++ files to be compiled with
> no parallel jobs?
> On Fri, Jun 26, 2020 at 5:44 AM Mats Wichmann <mats at wichmann.us> wrote:
>> On 6/26/20 6:12 AM, Erik Kazandjian wrote:
>> > Hi,
>> > I have the following issue. In my current project there is some template
>> > stuff going on which makes g++ going ballistic. If I run scons -j 6 my
>> > machine hangs if it happens to be compiling these 6 expensive files in
>> > parallel because the system runs out of memory. Is there a way to tell
>> > scons not to build any of these files in parallel ?
>> The manpage isn't terribly verbose on this, there's also a wiki page but
>> all it really adds is examples:
>> Scons-users mailing list
>> Scons-users at scons.org
> Scons-users mailing list
> Scons-users at scons.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users