Quick start for STAR users:
$ source /cvmfs/star.sdcc.bnl.gov/star-spack/setup.sh
$ spack env list
==> 4 environments
star-x86 star-x86-root616 star-x86_64 star-x86_64-root616
$ spack find
==> 318 installed packages
-- linux-rhel7-x86 / [email protected] ----------------------------------
[email protected] [email protected] [email protected] ...
...
-- linux-rhel7-x86_64 / [email protected] -------------------------------
[email protected] [email protected] [email protected] ...
...
$ spack load star-env-root6 target=x86_64
Quick start for maintainers:
# A one-time setup
$ git clone --recurse-submodules https://github.com/star-bnl/star-spack.git
$ source star-spack/setup.sh
$ spack env create star-x86_64 star-spack/environments/star-x86_64.yaml
$ spack env create star-x86 star-spack/environments/star-x86.yaml
# Install packages in 64-bit environment
$ spack env activate star-x86_64
$ spack install
$ despacktivate
# Build 32-bit version
$ spack env activate star-x86
$ spack install
$ despacktivate