EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Installing RULES_* files
From: "Johnson, Andrew N." <[email protected]>
To: Ralph Lange <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 10 Oct 2018 18:10:45 +0000
Hi Ralph,

Had to revert your commit; somehow it was causing the configure/RULES file to be overwritten by the contents of the src/libCom/as/RULES file. Hopefully this undoes all the failures that happened earlier…

- Andrew

On Oct 10, 2018, at 10:34 AM, Ralph Lange <[email protected]> wrote:

Hi Andrew,

On Tue, 9 Oct 2018 at 20:40, Andrew Johnson <[email protected]> wrote:
If you need that to work I guess it probably can be fixed. Try adding a
vpath pattern for RULES_% and CONFIG_% to configure/RULES_FILE_TYPE,
like this:

vpath CONFIG_% $(USR_VPATH) $(SRC_DIRS)
vpath RULES_% $(USR_VPATH) $(SRC_DIRS)

You could add COMMON_DIR there to allow someone to create a RULES_* file
locally, but it isn't really necessary (neither is USR_VPATH but
everything else uses it so...).

Guess what: that's exactly what I ended up doing.

This is actually pretty cool: In the support module, I am basically taking some of the volatile CONFIG_SITE.local configuration to create a TOP/cfg/CONFIG_mymodule.
This makes sure that all users of mymodule are using the exact same configuration that was used when the support was compiled, without hardcoding, without cloning CONFIG_SITE.local files etc.

Thanks for that hint!!
~Ralph



Navigate by Date:
Prev: Build failed in Jenkins: EPICS-3.15 #125 Jenkins Epics PSI
Next: Jenkins build is back to normal : epics-base-3.15 #389 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Build failed in Jenkins: EPICS-3.15 #125 Jenkins Epics PSI
Next: devLib2 Heinz Junkes
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 11 Oct 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·