Skip to content

Commit

Permalink
JCF: Issue #129: more refining of the list of installed packages, inc…
Browse files Browse the repository at this point in the history
…luding reinstatement of ninja (needed for spack load, it appears) and removal of a couple more packages
  • Loading branch information
jcfreeman2 committed Sep 25, 2023
1 parent 93c88f2 commit ac3fe99
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions scripts/uninstall_buildenv_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@
. /cvmfs/dunedaq.opensciencegrid.org/spack/externals/ext-v1.1/spack-0.20.0-gcc-12.1.0/spack-installation/share/spack/setup-env.sh

# cetmodules a build-only dependency
# cli11 is header-only
# cmake, ninja, gdb not needed for a run time environment
externals_to_remove="cetmodules cli11 cmake ninja gdb"
# cli11 and cppzmq are header-only
# cmake and gdb not needed for a run time environment
# ninja appears to be needed by "spack load". Therefore not in this list...
externals_to_remove="cetmodules cli11 cmake gdb cppzmq"

# Other packages which are removed here are at least one of the following
# (1) build-only dependencies
# (2) clearly used for development purposes only
# (3) header-only (e.g. czmq)
# (1) build-only dependencies (e.g. czmq)
# (2) clearly used for development purposes only (e.g., autoconf)
# (3) header-only (e.g. cppzmq)

for package in ca-certificates-mozilla texinfo meson autoconf-archive autoconf \
automake libtool czmq docbook-xsl docbook-xml cppzmq yaml-cpp gawk \
automake gmake libtool docbook-xml docbook-xsl czmq yaml-cpp gawk \
bison diffutils re2c \
bdftopcf mkfontdir gperf which flex findutils nasm xkbcomp \
py-pip py-wheel py-hatch-fancy-pypi-readme py-flit-core py-hatch-vcs py-calver py-cython \
bdftopcf mkfontdir gperf which flex findutils nasm xkbcomp \ # dbe build-only dependencies on this line
py-pip py-wheel py-hatch-fancy-pypi-readme py-flit-core py-hatch-vcs py-calver py-cython \ # Python packages on this line
$externals_to_remove ; do
spack uninstall -y --all $package
done
Expand Down

0 comments on commit ac3fe99

Please sign in to comment.