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  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Inter-module dependency between stream and calc
From: Ralph Lange via Tech-talk <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Tue, 19 Mar 2019 15:20:41 +0100
On Tue, 19 Mar 2019 at 14:41, Konrad, Martin via Tech-talk <[email protected]> wrote:
I see. The issue with this change is that IOC engineers need to modify
their Makefile on all their IOCs using StreamDevice when they upgrade
from 2.7 to 2.8. I was trying to avoid that. But it seems like there is
no clean way I can fix that in my package. Unfortunately IOC engineers
will need to modify their Makefiles.

What we do in CODAC Core System to minimize the needed changes in Makefiles:
Every support module installs a Makefile snippet in a central "system" location:
E.g. /opt/codac/epics/mk/stream.mk defines
CODAC_DBD += stream.dbd
CODAC_LIBS += stream

In an application that wants to use stream, the Makefile just includes the stream.mk snippet and eventually sets
myIoc_DBD += $(CODAC_DBD)
myIoc_LIBS += $(CODAC_LIBS)

That way, the actual dbd files and libraries are under system control and can be changed as part of an upgrade without having to change all applications' Makefiles. (I.e., easy and safe migration.)

Cheers,
~Ralph


References:
Inter-module dependency between stream and calc Konrad, Martin via Tech-talk
Re: Inter-module dependency between stream and calc Konrad, Martin via Tech-talk

Navigate by Date:
Prev: Re: Inter-module dependency between stream and calc Konrad, Martin via Tech-talk
Next: Re: Inter-module dependency between stream and calc Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Inter-module dependency between stream and calc Konrad, Martin via Tech-talk
Next: asyn R4-35 available Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 19 Mar 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·