Skip to content

Commit

Permalink
base: don't prune pyDevSup custom python libraries.
Browse files Browse the repository at this point in the history
Some of the dynamic libraries built by pyDevSup are not directly linked
into the IOC binary, but rather dlopen(3)'ed by Python interpreter when
a "import" statement is reached. To avoid having all users of pyDevSup
manually specify which ones to keep, define everything inside
python3.<minor-version>/linux-<architecture> to be kept by
lnls-prune-artifacts.

We use globs here (whose expansion is deferred) to avoid changing the
minor version every distro upgrade.
  • Loading branch information
henriquesimoes committed Dec 13, 2024
1 parent aa63d0a commit 02b6c49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/install_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ echo PYTHON=python3 >> pyDevSup/configure/CONFIG_SITE
install_module pyDevSup PYDEVSUP "
EPICS_BASE
"
echo 'python3*/linux*/' > pyDevSup/.lnls-keep-paths

mkdir snmp
cd snmp
Expand Down

0 comments on commit 02b6c49

Please sign in to comment.