TOP Env Var in envPaths doesn't match INSTALL_LOCATION
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Medium
|
Andrew Johnson |
Bug Description
I'm working with epics 3.14.12.3 and have a comment about the TOP environment variable in the generated envPaths file under iocBoot/<ioc>.
When changing INSTALL_LOCATION in the ioc app's CONFIG_SITE to something other than TOP, I also (and always) have to change IOCS_APPL_TOP to be the same as INSTALL_LOCATION. (BTW, IOCS_APPL_TOP is not documented in the app dev guide but there are comments for it in the app's CONFIG_SITE though the link with INSTALL_LOCATION is not mentioned).
I have to do this since the ioc startup uses TOP from envPaths to position to the top of the installation (NOT the top of the place where the build was done).
Instead of changing both env vars in CONFIG_SITE, please change epics/base/
ifeq ($(IOCS_APPL_TOP),)
$(PERL) $(TOOLS)
else
$(PERL) $(TOOLS)
endif
(Add the "-t $(INSTALL_
Related branches
Changed in epics-base: | |
status: | In Progress → Fix Committed |
Changed in epics-base: | |
status: | Fix Committed → Fix Released |
Hi Stephanie,
Thanks for the bug report. I am inclined to just initialize IOCS_APPL_TOP to $(INSTALL_LOCATION) by default, and remove the conditional completely, always using the 'else' half.
Please try the attached patch, which should fix this problem.
Thanks,
- Andrew