https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155
--- Comment #6 from Marc Glisse ---
(In reply to Andrew Pinski from comment #5)
> Hmm, Did something change in make?
It looks like make now splits -j from other flags in MFLAGS, -wkj becomes -kw
-j, so the old filters probably work now...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155
--- Comment #5 from Andrew Pinski ---
Hmm:
apinski@xeond:~/src/upstream-gcc/t$ make -j
make plouf
make[1]: Entering directory '/bajas/pinskia/src/upstream-gcc/t'
echo -w -j "-j"
-w -j -j
make[1]: Leaving directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155
Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed:
What|Removed |Added
Status|UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Summary|Not parallel: test for -j |Not parallel:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155
--- Comment #2 from Marc Glisse marc.glisse at normalesup dot org 2012-04-28
21:49:43 UTC ---
laptop-mg /tmp/m $ cat Makefile
all:
$(MAKE) plouf
plouf:
echo $(MFLAGS) $(filter -j, $(MFLAGS))
laptop-mg /tmp/m $ make -j
make plouf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155
--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2012-04-28
21:53:21 UTC ---
-j by itself fails but -j with a number passes. This is what I use which is
why it works.