This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Parallel testing of multilibs



My Irix6.5 box using GNU Make version 3.74 chokes on the Makefile line
created from gcc/Makefile.in:

    # The idea is to parallelize testing of multilibs, for example:
    #   make -j3 check/gcc/sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu}
    # will run 3 concurrent sessions of check-gcc, eventually testing
    # all 10 combinations.  GNU make is required, as is a shell that expands
    # alternations within braces.
>>  $(PAR_CHECK_TARGETS:=/%): site.exp
	    target=`echo "$@" | sed 's,/,-,;s,/.*,,'`; \
	    variant=`echo "$@" | sed 's,/,-,;s,^[^/]*/,,'`; \
	    vardots=`echo "$$variant" | sed 's,/,.,g'`; \
	    $(MAKE) TESTSUITEDIR="testsuite.$$vardots" \
	      RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \
	      "$$target"

What does ":=/%" mean?

Thanks,
Jeffrey D. Oldham
joldham@acl.lanl.gov

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]