* Bob Friesenhahn wrote on Wed, Jun 08, 2005 at 05:23:58PM CEST:
> On Wed, 8 Jun 2005, Ralf Wildenhues wrote:
> >
> >ECANNOTREPRODUCE. Which GNU make version?
> >Over here GNU make-3.80 does _not_ parallelize across SUBDIRs.
>
> I am using GNU make 3.80 on Solaris and FreeBSD, but the version
> delivered with Darwin is 3.79.
What does this print? What is different in the packages you tested so
that they do SUBDIRs in parallel?
Regards,
Ralf
mkdir sub1 sub2
cat >configure.ac <<EOF
AC_INIT([t-parallel], 1, [devnull])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_FILES([Makefile sub1/Makefile sub2/Makefile])
AC_OUTPUT
EOF
echo 'SUBDIRS = sub1 sub2' >Makefile.am
cat >sub1/Makefile.am <<EOF
all:
sleep 3
echo sub1 done
EOF
cat >sub2/Makefile.am <<EOF
all:
sleep 1
echo sub2 done
EOF
aclocal; automake --add; autoconf
./configure
make -j