lbann: make catch2 a "build" and "test" dependency (#20666)

This commit is contained in:
Brian Van Essen 2021-01-06 00:53:30 -08:00 committed by GitHub
parent 812a3fb0ae
commit 385c503d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ class Lbann(CMakePackage, CudaPackage):
depends_on('py-m2r', type='build', when='+docs')
depends_on('cereal')
depends_on('catch2', type='test')
depends_on('catch2', type=('build', 'test'))
depends_on('clara')
depends_on('llvm-openmp', when='%apple-clang')