[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash parallel build: make[1]: warning: -j16 forced in submake: reset
From: |
Cedric Blancher |
Subject: |
Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode. |
Date: |
Fri, 26 Apr 2024 09:18:00 +0200 |
On Fri, 26 Apr 2024 at 03:57, Dan Shelton <dan.f.shelton@gmail.com> wrote:
>
> On Mon, 22 Apr 2024 at 22:54, Chet Ramey <chet.ramey@case.edu> wrote:
> >
> > On 4/22/24 11:58 AM, Chet Ramey wrote:
> > > On 4/20/24 2:02 AM, Cedric Blancher wrote:
> > >
> > >>> You can check what env the submake in question has and which recipe
> > >>> runs it and see where this setting comes from.
> > >>
> > >> We were only using
> > >> make -j16 all
> > >> at the bash base dir. That should NOT trigger this warning.
> > >
> > > Bash passes ${MFLAGS} to makes in subdirectories; that variable gets
> > > whatever make puts in it, which includes the -jN option. It's that
> > > submake that decides to print that warning. Bash could mark some
> > > subdirectory targets as not parallel, but why would we do that?
> >
> > Everyone seems to support MAKEFLAGS by now, and it's part of POSIX, so
> > maybe we delete $(MFLAGS) and rely on make to pass MAKEFLAGS to submakes
> > in the environment.
>
> Could you do this for the next alpha release, please?
>
+1
I like the proposal
Ced
--
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., (continued)
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Dmitry Goncharov, 2024/04/13
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Cedric Blancher, 2024/04/20
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Chet Ramey, 2024/04/22
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Chet Ramey, 2024/04/22
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Dan Shelton, 2024/04/25
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode.,
Cedric Blancher <=
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Oğuz, 2024/04/26
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Chet Ramey, 2024/04/26