Issue 49 in fabricate: Shared build steps will get executed many times if executing in parallel.

10 views
Skip to first unread message

fabr...@googlecode.com

unread,
Jul 11, 2013, 8:44:46 AM7/11/13
to fabrica...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 49 by nuutti.k...@gmail.com: Shared build steps will get executed
many times if executing in parallel.
http://code.google.com/p/fabricate/issues/detail?id=49

If a common build step is required by many targets, normally this build
step gets run only once as fabricate notices that the sources and targets
have not changed.

However, when running the same script with parallel execution enabled, the
same build step gets run many times, in parallel, with potentially nasty
results.


Attachments:
build.py 379 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Lex Trotman

unread,
Jul 11, 2013, 9:00:35 AM7/11/13
to fabrica...@googlegroups.com
On 11 July 2013 22:44, <fabr...@googlecode.com> wrote:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 49 by nuutti.k...@gmail.com: Shared build steps will get executed many times if executing in parallel.
http://code.google.com/p/fabricate/issues/detail?id=49

If a common build step is required by many targets, normally this build step gets run only once as fabricate notices that the sources and targets have not changed.

However, when running the same script with parallel execution enabled, the same build step gets run many times, in parallel, with potentially nasty results.

This is a case where you need to actively manage the order of operations during parallel builds using the grouping and after facilities.  

In line with its general philosophy, fabricate parallel builds do as they are told and don't try to decide ordering.  This is also because it can't decide ordering until after the commands are run to find what the dependencies are, but can't decide the order to run the commands to find the dependencies until it has the dependencies.

 


Attachments:
        build.py  379 bytes


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "fabricate users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabricate-users+unsubscribe@googlegroups.com.
To post to this group, send email to fabricate-users@googlegroups.com.
Visit this group at http://groups.google.com/group/fabricate-users.
For more options, visit https://groups.google.com/groups/opt_out.



fabr...@googlecode.com

unread,
Jul 24, 2013, 9:39:52 AM7/24/13
to fabrica...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 49 by simon.al...@gmail.com: Shared build steps will
get executed many times if executing in parallel.
http://code.google.com/p/fabricate/issues/detail?id=49

This is a usage issue. Not a bug. So it is being closed.
Reply all
Reply to author
Forward
0 new messages