On 2010-10-07 20:43Z, Troy Runkel wrote:
> I've ported the GNU make jobserver to the Windows platform.
Didn't the jobserver work on ms windows already? It seems to, for
an old binary that, IIRC, I built from unmodified 3.81 sources:
F:>make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-mingw32
# 'ping -n X+1' works like 'sleep X'
F:>type j.make
.PHONY: all
all: a b
.PHONY: a
a:
ping -n 2 127.0.0.1 >NUL
echo "a"
.PHONY: b
b:
ping -n 2 127.0.0.1 >NUL
echo "b"
# This test takes two seconds:
F:>make -f j.make
ping -n 2 127.0.0.1 >NUL
echo "a"
a
ping -n 2 127.0.0.1 >NUL
echo "b"
b
# This test takes one second on an eight-core system:
F:>make -j2 -f j.make
ping -n 2 127.0.0.1 >NUL
ping -n 2 127.0.0.1 >NUL
echo "a"
echo "b"
a
b
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32