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  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
<== Date ==> <== Thread ==>

Subject: Re: Installing RULES_* files
From: "Johnson, Andrew N." <anj@anl.gov>
To: Ralph Lange <ralph.lange@gmx.de>
Cc: "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
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 <ralph.lange@gmx.de> wrote:

Hi Andrew,

On Tue, 9 Oct 2018 at 20:40, Andrew Johnson <anj@aps.anl.gov> 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 
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 
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 ·