public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/53155] New: Not parallel: test for -j fails
@ 2012-04-28 21:36 marc.glisse at normalesup dot org
  2012-04-28 21:39 ` [Bug testsuite/53155] Not parallel: test for -j fails with new make pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marc.glisse at normalesup dot org @ 2012-04-28 21:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155

             Bug #: 53155
           Summary: Not parallel: test for -j fails
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@normalesup.org


Hello,

in order to decide whether they should run the testsuite in parallel, the
makefiles in gcc/ and libstdc++-v3/testsuite/ use the following test:

[ "$(filter -j, $(MFLAGS))" = "-j" ]

However, at least with the gnu make 3.81 shipped by debian, MFLAGS merges all
options, so it would normally be something like -wkj, which doesn't match the
filter.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug testsuite/53155] Not parallel: test for -j fails with new make
  2012-04-28 21:36 [Bug testsuite/53155] New: Not parallel: test for -j fails marc.glisse at normalesup dot org
@ 2012-04-28 21:39 ` pinskia at gcc dot gnu.org
  2012-04-28 21:50 ` marc.glisse at normalesup dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-28 21:39 UTC (permalink / raw)
  To: gcc-bugs

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: test for -j
                   |fails                       |fails with new make

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-28 21:39:07 UTC ---
It works for me with the 3.8.1 from debian.
apinski@apinskidesktop:~$ cat /etc/debian_version 
6.0.3
apinski@apinskidesktop:~$ apt-cache  showpkg make
Package: make
Versions: 
3.81-8


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug testsuite/53155] Not parallel: test for -j fails with new make
  2012-04-28 21:36 [Bug testsuite/53155] New: Not parallel: test for -j fails marc.glisse at normalesup dot org
  2012-04-28 21:39 ` [Bug testsuite/53155] Not parallel: test for -j fails with new make pinskia at gcc dot gnu.org
@ 2012-04-28 21:50 ` marc.glisse at normalesup dot org
  2012-04-28 21:53 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marc.glisse at normalesup dot org @ 2012-04-28 21:50 UTC (permalink / raw)
  To: gcc-bugs

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
make[1]: Entering directory `/tmp/m'
echo -wj ""
-wj 
make[1]: Leaving directory `/tmp/m'

version 3.81-8.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug testsuite/53155] Not parallel: test for -j fails with new make
  2012-04-28 21:36 [Bug testsuite/53155] New: Not parallel: test for -j fails marc.glisse at normalesup dot org
  2012-04-28 21:39 ` [Bug testsuite/53155] Not parallel: test for -j fails with new make pinskia at gcc dot gnu.org
  2012-04-28 21:50 ` marc.glisse at normalesup dot org
@ 2012-04-28 21:53 ` pinskia at gcc dot gnu.org
  2014-09-03  9:30 ` Joost.VandeVondele at mat dot ethz.ch
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-28 21:53 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug testsuite/53155] Not parallel: test for -j fails with new make
  2012-04-28 21:36 [Bug testsuite/53155] New: Not parallel: test for -j fails marc.glisse at normalesup dot org
                   ` (2 preceding siblings ...)
  2012-04-28 21:53 ` pinskia at gcc dot gnu.org
@ 2014-09-03  9:30 ` Joost.VandeVondele at mat dot ethz.ch
  2021-09-12 21:57 ` pinskia at gcc dot gnu.org
  2021-09-13  6:58 ` glisse at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-09-03  9:30 UTC (permalink / raw)
  To: gcc-bugs

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                 |NEW
   Last reconfirmed|                            |2014-09-03
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch
     Ever confirmed|0                           |1

--- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
still fails. Honestly, this made contributing my first patches much slower, as
testing took ages to complete.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug testsuite/53155] Not parallel: test for -j fails with new make
  2012-04-28 21:36 [Bug testsuite/53155] New: Not parallel: test for -j fails marc.glisse at normalesup dot org
                   ` (3 preceding siblings ...)
  2014-09-03  9:30 ` Joost.VandeVondele at mat dot ethz.ch
@ 2021-09-12 21:57 ` pinskia at gcc dot gnu.org
  2021-09-13  6:58 ` glisse at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-12 21:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm:
apinski@xeond:~/src/upstream-gcc/ttttt$ make -j
make plouf
make[1]: Entering directory '/bajas/pinskia/src/upstream-gcc/ttttt'
echo -w -j "-j"
-w -j -j
make[1]: Leaving directory '/bajas/pinskia/src/upstream-gcc/ttttt'
apinski@xeond:~/src/upstream-gcc/ttttt$ make --version
GNU Make 4.1


Hmm, Did something change in make?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug testsuite/53155] Not parallel: test for -j fails with new make
  2012-04-28 21:36 [Bug testsuite/53155] New: Not parallel: test for -j fails marc.glisse at normalesup dot org
                   ` (4 preceding siblings ...)
  2021-09-12 21:57 ` pinskia at gcc dot gnu.org
@ 2021-09-13  6:58 ` glisse at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: glisse at gcc dot gnu.org @ 2021-09-13  6:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53155

--- Comment #6 from Marc Glisse <glisse at gcc dot gnu.org> ---
(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...

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-13  6:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-28 21:36 [Bug testsuite/53155] New: Not parallel: test for -j fails marc.glisse at normalesup dot org
2012-04-28 21:39 ` [Bug testsuite/53155] Not parallel: test for -j fails with new make pinskia at gcc dot gnu.org
2012-04-28 21:50 ` marc.glisse at normalesup dot org
2012-04-28 21:53 ` pinskia at gcc dot gnu.org
2014-09-03  9:30 ` Joost.VandeVondele at mat dot ethz.ch
2021-09-12 21:57 ` pinskia at gcc dot gnu.org
2021-09-13  6:58 ` glisse at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).