d: Increase max parallelism of the D testsuite
It was noticed that when running the testsuite for gdc and libphobos in parallel, this was capped at 10 simultaneous jobs each. Increase this limit to 128, which enables running for example `make check-d -j48` to complete in half the time. gcc/d/ChangeLog: * Make-lang.in (check_gdc_parallelize): Increase to 128. libphobos/ChangeLog: * testsuite/Makefile.am (check_p_subno): Remove variable. (check_p_subdirs): Increase default parallel slots to 128. * testsuite/Makefile.in: Regenerate.
This commit is contained in:
parent
af73228fdb
commit
2d812eecc3
3 changed files with 3 additions and 5 deletions
|
@ -308,7 +308,7 @@ d.srcman: doc/gdc.1
|
|||
check-d: check-gdc
|
||||
lang_checks += check-gdc
|
||||
lang_checks_parallelized += check-gdc
|
||||
check_gdc_parallelize = 10
|
||||
check_gdc_parallelize = 128
|
||||
|
||||
# No D-specific selftests.
|
||||
selftest-d:
|
||||
|
|
|
@ -29,7 +29,6 @@ RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
|
|||
|
||||
PWD_COMMAND = $${PWDCMD-pwd}
|
||||
|
||||
check_p_subno=$(word 2,$(subst _, ,$*))
|
||||
check_p_numbers0:=1 2 3 4 5 6 7 8 9
|
||||
check_p_numbers1:=0 $(check_p_numbers0)
|
||||
check_p_numbers2:=$(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers1)))
|
||||
|
@ -38,7 +37,7 @@ check_p_numbers4:=$(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_num
|
|||
check_p_numbers5:=$(addprefix 0,$(check_p_numbers3)) $(check_p_numbers4)
|
||||
check_p_numbers6:=$(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers5)))
|
||||
check_p_numbers:=$(check_p_numbers0) $(check_p_numbers2) $(check_p_numbers4) $(check_p_numbers6)
|
||||
check_p_subdirs=$(wordlist 1,$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),10),$(check_p_numbers))
|
||||
check_p_subdirs=$(wordlist 1,$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),128),$(check_p_numbers))
|
||||
check_DEJAGNU_libphobos_targets = $(addprefix check-DEJAGNUlibphobos,$(check_p_subdirs))
|
||||
$(check_DEJAGNU_libphobos_targets): check-DEJAGNUlibphobos%: libphobos%/site.exp
|
||||
|
||||
|
|
|
@ -301,7 +301,6 @@ _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \
|
|||
|
||||
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
|
||||
PWD_COMMAND = $${PWDCMD-pwd}
|
||||
check_p_subno = $(word 2,$(subst _, ,$*))
|
||||
check_p_numbers0 := 1 2 3 4 5 6 7 8 9
|
||||
check_p_numbers1 := 0 $(check_p_numbers0)
|
||||
check_p_numbers2 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers1)))
|
||||
|
@ -310,7 +309,7 @@ check_p_numbers4 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_n
|
|||
check_p_numbers5 := $(addprefix 0,$(check_p_numbers3)) $(check_p_numbers4)
|
||||
check_p_numbers6 := $(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers5)))
|
||||
check_p_numbers := $(check_p_numbers0) $(check_p_numbers2) $(check_p_numbers4) $(check_p_numbers6)
|
||||
check_p_subdirs = $(wordlist 1,$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),10),$(check_p_numbers))
|
||||
check_p_subdirs = $(wordlist 1,$(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),128),$(check_p_numbers))
|
||||
check_DEJAGNU_libphobos_targets = $(addprefix check-DEJAGNUlibphobos,$(check_p_subdirs))
|
||||
AM_MAKEFLAGS = "EXEEXT=$(EXEEXT)"
|
||||
CLEANFILES = *.exe *.log *.o *.sum site.exp
|
||||
|
|
Loading…
Add table
Reference in a new issue