public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized
@ 2011-01-26 17:50 hjl.tools at gmail dot com
  2011-01-26 17:56 ` [Bug testsuite/47479] " jakub at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-26 17:50 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'"
                    isn't parallelized
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: jakub@redhat.com


On Linux/x86-64 with 12 cores,

make -j 12 check RUNTESTFLAGS="--target_board 'unix{-m32,}'"

takes 1 hour and 44 minutes while

make -j 12 check

only takes 20 minutes. I got

[hjl@gnu-34 bld]$ ls gcc/testsuite
g++  gcc  gfortran  objc
[hjl@gnu-34 bld]$ 

vs

[hjl@gnu-34 bld]$ ls gcc/testsuite
g++   g++2  gcc1  gcc3  gcc5  gfortran   gfortran2  objc
g++1  gcc   gcc2  gcc4  gcc6  gfortran1  gfortran3  objc1
[hjl@gnu-34 bld]$


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

* [Bug testsuite/47479] make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized
  2011-01-26 17:50 [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized hjl.tools at gmail dot com
@ 2011-01-26 17:56 ` jakub at gcc dot gnu.org
  2011-01-26 18:13 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-26 17:56 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-26 17:38:48 UTC ---
Just use RUNTESTFLAGS='--target_board=unix\{-m32,\}'
which is parallelized.


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

* [Bug testsuite/47479] make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized
  2011-01-26 17:50 [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized hjl.tools at gmail dot com
  2011-01-26 17:56 ` [Bug testsuite/47479] " jakub at gcc dot gnu.org
@ 2011-01-26 18:13 ` hjl.tools at gmail dot com
  2011-01-26 20:07 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-26 18:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-26 17:51:36 UTC ---
(In reply to comment #1)
> Just use RUNTESTFLAGS='--target_board=unix\{-m32,\}'
> which is parallelized.

Is there a way to paralelize --target_board 'unix{-m32,}'?


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

* [Bug testsuite/47479] make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized
  2011-01-26 17:50 [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized hjl.tools at gmail dot com
  2011-01-26 17:56 ` [Bug testsuite/47479] " jakub at gcc dot gnu.org
  2011-01-26 18:13 ` hjl.tools at gmail dot com
@ 2011-01-26 20:07 ` hjl.tools at gmail dot com
  2011-01-26 22:02 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-26 20:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-26 19:11:31 UTC ---
I tried RUNTESTFLAGS="--target_board 'unix\{-m32,\}'". It doesn't
look like parallelized:

[hjl@gnu-32 gcc]$ ls build-x86_64-linux/gcc/testsuite
g++  gcc  gfortran  objc
[hjl@gnu-32 gcc]$


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

* [Bug testsuite/47479] make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized
  2011-01-26 17:50 [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-01-26 20:07 ` hjl.tools at gmail dot com
@ 2011-01-26 22:02 ` hjl.tools at gmail dot com
  2011-01-26 22:04 ` hjl.tools at gmail dot com
  2011-01-27  5:13 ` hjl.tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-26 22:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-26 21:37:19 UTC ---
There are

$(lang_checks_parallelized): check-% : site.exp
        @if [ -z "$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
            && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \

If there is a --target_board=, we don't parallelize.


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

* [Bug testsuite/47479] make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized
  2011-01-26 17:50 [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-01-26 22:02 ` hjl.tools at gmail dot com
@ 2011-01-26 22:04 ` hjl.tools at gmail dot com
  2011-01-27  5:13 ` hjl.tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-26 22:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-26 21:48:10 UTC ---
I have to use exactly:

RUNTESTFLAGS=--target_board='unix{-m32,}'


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

* [Bug testsuite/47479] make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized
  2011-01-26 17:50 [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2011-01-26 22:04 ` hjl.tools at gmail dot com
@ 2011-01-27  5:13 ` hjl.tools at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-27  5:13 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-27 03:39:30 UTC ---
I changed to

make -j 12 RUNTESTFLAGS=--target_board='unix{-m32,}'

and it finished in 34 minutes.


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

end of thread, other threads:[~2011-01-27  3:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 17:50 [Bug testsuite/47479] New: make -j 12 RUNTESTFLAGS="--target_board 'unix{-m32,}'" isn't parallelized hjl.tools at gmail dot com
2011-01-26 17:56 ` [Bug testsuite/47479] " jakub at gcc dot gnu.org
2011-01-26 18:13 ` hjl.tools at gmail dot com
2011-01-26 20:07 ` hjl.tools at gmail dot com
2011-01-26 22:02 ` hjl.tools at gmail dot com
2011-01-26 22:04 ` hjl.tools at gmail dot com
2011-01-27  5:13 ` hjl.tools at gmail dot com

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).