|
|
Experimental Physics and
| ||||||||||||||
|
|
Some of our IOC projects would like to use macro substitutions at their dbLoadRecords invocations in st.cmd:
dbLoadRecords("${EPICS_IOCTOPS}/${IOCDIR}/db/MyRecords.db”, “P=XYZ”)
This means that the *.db files created by the build will have incompletely substituted record names after the build completes.
We have tooling that scrapes record names from the build-product *.db files, but the above would cause it to not see the final record names.
I would like to have the build create a manifest file that contains the fully substituted record names, basically by using grep, awk, etc. to parse the source db filename/path and the substitution tokens, and then call the perl script that does the substitutions,
producing some file that is just a list of the fully substituted record names.
However, I don’t know how to make an EPICS Makefile do such an arbitrary thing.
May I please get some guidance as to a smart way to do this?
Dave Bracey
Fermi National Accelerator Laboratory
| ||||||||||||||
| ANJ, 25 Jul 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
· Distributions · Download · Documents · Links · Licensing · |