lbann: add support for building just the LBANN core library (#21235)
lbann: add support for building just the LBANN core library (#21235)

Variants to disable vision libraries and NumPy support.
LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack