Spack based projects
- Elizabeth Fisher icebin spack setup
- Spack testing project, spack install examples
- Wirecell spck build
Some examples of Spack customization:
To initialize the spack copy
#go into top spack folder (inside deploy)
#cd deploy/spack_test
source share/spack/setup-env.sh
spack config --site get bad_section_name
#add system compiler
spack compiler find --scope site
#print what has been found
spack config --site get compilers
#add our our package repo folder
spack repo add ../../repo --scope site
#print what has been added
spack config --site get repos
#list all available packages
spack list
#hints from https://github.com/LLNL/spack/issues/2583#issuecomment-271857954
#fetch all the dependencies
spack mirror create -d ~/production/spack-mirror -D emacs