[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #38827] Make tool does not work for pre-build steps with parallel b
From: |
Paul D. Smith |
Subject: |
[bug #38827] Make tool does not work for pre-build steps with parallel build option |
Date: |
Sat, 27 Apr 2013 16:39:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31 |
Update of bug #38827 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
This is not a bug. By declaring dummyfolder to be a prerequisite of
my-main-rule, make must either build it or it must already exist. It doesn't
exist, and there's no rule to build it (make has no way to know that the
pre-build rule will create the dummyfolder target).
Further, although my-main-rule will not start until after pre-build and
dummyfolder are both built, there is nothing at all here that says that
dummyfolder can't start as soon as possible, before pre-build is complete. So
make tries to build dummyfolder and fails.
In general it's best if you never try to have rules do tricky things like
build targets which are not specifically declared in makefiles. However, the
bug tracker is not the best place for these kinds of discussions. Please
request assistance on the address@hidden mailing list.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38827>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/