make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for port of jobserver to Windows


From: Greg Chicares
Subject: Re: Patch for port of jobserver to Windows
Date: Thu, 07 Oct 2010 21:33:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]