From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 5 04:36:27 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 822D6106566C for ; Fri, 5 Feb 2010 04:36:27 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id 472678FC14 for ; Fri, 5 Feb 2010 04:36:27 +0000 (UTC) Received: by pxi13 with SMTP id 13so632873pxi.3 for ; Thu, 04 Feb 2010 20:36:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Y96FKBvefmiia90rqGi9NZaH1u1GSa3AgwMSx74i9po=; b=dpIU4XVzWLK0PYupMA/F8PYkZ8le3Tf/cQMR1oPvxKo7/dhNT1TUZQmQDCXSaMAr5D OJz547BDMqvHz/4Id6c2/HIwMK4LcyHpbc7Hpo0hNj/TkqZ5ka87pcH85gY4zeX8YOql OCharpa32CnAOmGu88V1hKASyLOienHgvtF2Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=B48keY/rRCS3kDzc/iclfTJmYBNsskRHfozxfRbDC4YW1PFTUtj0eiJmQwvvrnbyim 3OpVGq3q/CwrKee+xGRpJtkpnuoAxVqV3u1K8CHCRakJ9Z6rBAiMcal+aZxm305i4sE3 K5WyByZI4qopfiPEwT5SLLnTamT4zB6tvnz8c= MIME-Version: 1.0 Received: by 10.142.151.35 with SMTP id y35mr1335237wfd.310.1265344586725; Thu, 04 Feb 2010 20:36:26 -0800 (PST) Date: Thu, 4 Feb 2010 20:36:26 -0800 Message-ID: <7d6fde3d1002042036g66fedfcbsd56c712eadb39178@mail.gmail.com> From: Garrett Cooper To: FreeBSD-Hackers Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: pmake .ORDER bug with -j 1 or misuse? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 04:36:27 -0000 Hi hackers, I'm getting used to pmake after using GNU make for the past couple years, and I'm used to `in-order prerequisites', where if I specified a list of targets a specific way, then it would execute the targets serially in-order. I tried to do the following with .ORDER, but it doesn't appear to be working as I expect it to: [gcooper@optimus /scratch]$ make do something [gcooper@optimus /scratch]$ cat BSDmakefile .ORDER: something do all: do something do something: @echo ${.TARGET} [gcooper@optimus /scratch]$ make -j 2 something do It does function as I expect it to via -j 2 (executes the `something', then `do' goals), but not with -j 1 -- could someone help me understand what behavior is correct so I can adjust my behavior and/or get a fix started? Thanks! -Garrett