[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: |
Dan Shelton |
Subject: |
Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode. |
Date: |
Fri, 26 Apr 2024 03:56:01 +0200 |
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?
Dan
--
Dan Shelton - Cluster Specialist Win/Lin/Bsd
- bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Cedric Blancher, 2024/04/13
- 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 <=
- Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode., Cedric Blancher, 2024/04/26
- 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