EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: What I learned today...
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Fri, 1 Mar 2013 19:33:18 +0100
Am Freitag, 1. März 2013, 17:50:41 schrieben Sie:
> On 2013-03-01 Benjamin Franksen wrote:
> > On Thursday, February 28, 2013 11:22:06 Andrew Johnson wrote:
> > > We get around that in Base now by always generating files into the
> > > O.<arch> directory and moving them into O.Common afterwards.  A move is
> > > an atomic operation in the file-system, so it doesn't matter if there
> > > is a race because the generated files *should* be identical.
> >
> > But won't this mean that architecture independent targets (db files,dbd
> > files,operator panels, etc.) will all be built several times (once for
> > each target architecture)?
>
> In general no, although there can be times when they get built more than
> once (hence the protection we had to add, see previous email).  The main
> reason is that we have a dependency in place so that no cross-builds can
> start until after the host build has completed.  Those files will usually
> be built and installed as part of the host build, so make will see them as
> already up to date when it later checks them for each of the cross-build
> targets.

Thanks, I was not aware of this. Since when is this the case (i.e. only in
3.15 or is it in 3.14.12, too)?

And: will this same dependency (CROSS builds depend on HOST build to be
complete) not also ensure that all architecture independent targets are
already up-to-date when the CROSS build starts, so generating them directly
inside $(COMMON_DIR) is not done multiple times in parallel? (Assuming, of
course, that the rules are written to avoid accidental parallelism due to
multiple targets in a non-pattern rule, as I explained in a previous message).

Cheers
--
Ben Franksen
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


Replies:
Re: What I learned today... Andrew Johnson
References:
What I learned today... Benjamin Franksen
Re: What I learned today... Benjamin Franksen
Re: What I learned today... Andrew Johnson

Navigate by Date:
Prev: Re: What I learned today... Andrew Johnson
Next: Re: What I learned today... Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: What I learned today... Andrew Johnson
Next: Re: What I learned today... Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·