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  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  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
<== Date ==> <== Thread ==>

Subject: Re: difference between DB and DB_INSTALLS
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Ralph Lange <ralph.lange at gmx.de>, EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 13 May 2024 16:37:50 +0000

IIRC the original build rules for DB_INSTALLS allow the source path to point into a support module or other external directory, whereas the DB rules were designed for generating and copying files from the local application only. Thus you can use DB_INSTALLS += $(ASYN)/db/asynRecord.db to copy that file from your Asyn module into the IOC's $(TOP)/db directory.

 

The DB rules might have changed more recently, but there are other variables like BIN_INSTALLS and LIB_INSTALLS which still follow the original design, for example I use BIN_INSTALLS to copy the binary for the CA Gateway into an application that runs on a host which can't see our support module directories.

 

- Andrew

 

 

On 5/13/24, 10:24 AM, "Tech-talk" <tech-talk-bounces at aps.anl.gov> wrote:

 

On Mon, 13 May 2024 at 15:59, William Kirstaedter via Tech-talk <tech-talk at aps.anl.gov> wrote:

short question regarding EPICS' build system ...:
whats the difference between DB += myfile.db and DB_INSTALLS += myfile.db ?

 

Generally:

    generate *.db using a large and complex set of rules

vs.

    just install a file

 

DB_INSTALLS is typically used to install Stream protocol files or Access configuration files or ...

anything where applying the *.db generation rules would create havoc.

 

 

Cheers,
~Ralph


Replies:
Re: difference between DB and DB_INSTALLS Michael Davidsaver via Tech-talk
References:
difference between DB and DB_INSTALLS William Kirstaedter via Tech-talk
Re: difference between DB and DB_INSTALLS Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: 4 instances vs 1 instance of Tomcat for ArchiverAppliance Shankar, Murali via Tech-talk
Next: Re: MVME6100 vxworks and maxv timeout Kevin Peterson 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  2019  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: Re: difference between DB and DB_INSTALLS Ralph Lange via Tech-talk
Next: Re: difference between DB and DB_INSTALLS Michael Davidsaver 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  2019  2020  2021  2022  2023  <2024
ANJ, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·