Re: Is there a way to isolate building a specific file

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CEPbynG+o2rzuUiuxWNn6skodaF4ZdWT9pynMgE+6m69g@mail.gmail.com>
Erik,

So you'd like a way to mark one (or several) c++ files to be compiled with
no parallel jobs?

-Bill

On Fri, Jun 26, 2020 at 5:44 AM Mats Wichmann <[email protected]> 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 ?
>
> https://scons.org/doc/production/HTML/scons-man.html#f-SideEffect
>
> The manpage isn't terribly verbose on this, there's also a wiki page but
> all it really adds is examples:
>
> https://github.com/SCons/scons/wiki/SideEffect
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.