Skip to content

Add USE_BUNDLE option#167

Draft
FreddieAkeroyd wants to merge 1 commit intoepics-base:masterfrom
FreddieAkeroyd:bundle_build
Draft

Add USE_BUNDLE option#167
FreddieAkeroyd wants to merge 1 commit intoepics-base:masterfrom
FreddieAkeroyd:bundle_build

Conversation

@FreddieAkeroyd
Copy link
Copy Markdown

@FreddieAkeroyd FreddieAkeroyd commented Apr 15, 2026

If BUNDLE_BUILD is set to YES via e.g. CONFIG_SITE.local then a make at top level will build libevent from bundle directory without it needing to be built separately first; bundle is also added to the clean target and DLLs are installed to pvxs bin directory so the libevent bin area does not need to be separately added to windows PATH

Copy link
Copy Markdown
Member

@mdavidsaver mdavidsaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok in principle.

Comment thread src/Makefile
Comment on lines +114 to +116
ifeq ($(USE_BUNDLE),YES)
BIN_INSTALLS_WIN32 += $(wildcard $(LIBEVENT_PREFIX)/lib/*.dll)
endif
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I understand the motivation of avoiding %PATH% manipulation, I don't like mixing together libevent and PVXS binaries.

@mdavidsaver
Copy link
Copy Markdown
Member

Taking a step back, how is %PATH% constructed for DLL builds in the ISIS environment(s)?

@FreddieAkeroyd
Copy link
Copy Markdown
Author

FreddieAkeroyd commented Apr 16, 2026

this is done by usual EPICS dllPath.bat which searches all bin directories specified via modules specified in the RELEASE files. I could add the LIBEVENT directory to RELEASE, but i copied the DLLs so it only needed to have PVXS specified. Should it find LIBEVENT via one of the cfg when generating dllPath.bat ?

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