Fixed the range on Catch2 to avoid v3.x (#31242)

This commit is contained in:
Brian Van Essen 2022-06-23 16:10:27 -07:00 committed by GitHub
parent 158f6ddb14
commit d8a5638d9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,7 +223,7 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
# using cereal@1.3.1 and above requires changing the
# find_package call to lowercase, so stick with :1.3.0
depends_on('cereal@:1.3.0')
depends_on('catch2', type=('build', 'test'))
depends_on('catch2@2.9.0:2.99.999', type=('build', 'test'))
depends_on('clara')
depends_on('llvm-openmp', when='%apple-clang')