Skip to content

Avoid installing to '/sdf/sw/epics/base/7.0.3.1-1.0' in non-release builds of base#1

Open
JJL772 wants to merge 1 commit intoR7.1.1-1.branchfrom
pr-fix-install-to-epics-base
Open

Avoid installing to '/sdf/sw/epics/base/7.0.3.1-1.0' in non-release builds of base#1
JJL772 wants to merge 1 commit intoR7.1.1-1.branchfrom
pr-fix-install-to-epics-base

Conversation

@JJL772
Copy link
Copy Markdown
Member

@JJL772 JJL772 commented Mar 26, 2026

This fixes a HUGE landmine where clones of SLAC's EPICS base would install pvAccess to the release location (under ${EPICS_SITE_TOP}/base/${BASE_MODULE_VERSION})

In epics-base itself, modules/CONFIG_SITE.local defines INSTALL_LOCATION to be $(EPICS_BASE) as a way to bundle the modules together, while allowing them to be installed separately from EPICS base (if the user so chooses to clone+build them separately).

This works fine because $(EPICS_BASE) is set to $(TOP) at some point before descending into the modules.
However, if we set our own $(EPICS_BASE), then we override the EPICS_BASE=$(TOP) and accidentally install to the release location of base. Oops!

…uilds of base

In epics-base itself, modules/CONFIG_SITE.local defines INSTALL_LOCATION
to be $(EPICS_BASE) as a way to bundle the modules together, while
allowing them to be installed separately from EPICS base (if the user so
chooses to clone+build them separately).

This works fine because $(EPICS_BASE) is set to $(TOP) at some point
before descending into the modules.
However, if we set our own $(EPICS_BASE), then we override the
EPICS_BASE=$(TOP) and accidentally install to the release location of
base. Oops!
@JJL772 JJL772 requested review from ernestow and marciodo March 26, 2026 00:45
@bhill-slac
Copy link
Copy Markdown
Member

Best I can recall the RELEASE.local file was added to support building pvAccessCPP and the other PVA related modules as standalone EPICS modules. This was needed prior to EPICS 7, but now they are built in place as submodules in EPICS base. I don't think we even need this RELEASE.local if you're building pvAccessCPP in place under EPICS base.

@JJL772
Copy link
Copy Markdown
Member Author

JJL772 commented Mar 26, 2026

I figured it would be worthwhile to keep in case it needs to be built separately for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants