From 30d24db116456a9fd041b644a8d5a2a31d9bd8dc Mon Sep 17 00:00:00 2001 From: Chris White Date: Tue, 22 Sep 2020 06:40:16 -0700 Subject: [PATCH] Added RAJA v0.12.1`and Umpire v4.0.1 (#18756) Also renamed 'master' to 'main' --- var/spack/repos/builtin/packages/raja/package.py | 4 +++- var/spack/repos/builtin/packages/umpire/package.py | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/raja/package.py b/var/spack/repos/builtin/packages/raja/package.py index 0f0df14282..6f2eb9624f 100644 --- a/var/spack/repos/builtin/packages/raja/package.py +++ b/var/spack/repos/builtin/packages/raja/package.py @@ -13,7 +13,9 @@ class Raja(CMakePackage, CudaPackage): git = "https://github.com/LLNL/RAJA.git" version('develop', branch='develop', submodules='True') - version('master', branch='main', submodules='True') + version('main', branch='main', submodules='True') + version('0.12.1', tag='v0.12.1', submodules="True") + version('0.12.0', tag='v0.12.0', submodules="True") version('0.11.0', tag='v0.11.0', submodules="True") version('0.10.1', tag='v0.10.1', submodules="True") version('0.10.0', tag='v0.10.0', submodules="True") diff --git a/var/spack/repos/builtin/packages/umpire/package.py b/var/spack/repos/builtin/packages/umpire/package.py index a1e954f290..afb3d28d4b 100644 --- a/var/spack/repos/builtin/packages/umpire/package.py +++ b/var/spack/repos/builtin/packages/umpire/package.py @@ -15,7 +15,9 @@ class Umpire(CMakePackage, CudaPackage): git = 'https://github.com/LLNL/Umpire.git' version('develop', branch='develop', submodules='True') - version('master', branch='main', submodules='True') + version('main', branch='main', submodules='True') + version('4.0.1', tag='v4.0.1', submodules='True') + version('4.0.0', tag='v4.0.0', submodules='True') version('3.0.0', tag='v3.0.0', submodules='True') version('2.1.0', tag='v2.1.0', submodules='True') version('2.0.0', tag='v2.0.0', submodules='True') @@ -45,6 +47,7 @@ class Umpire(CMakePackage, CudaPackage): variant('openmp', default=False, description='Build with OpenMP support') variant('deviceconst', default=False, description='Enables support for constant device memory') + variant('examples', default=True, description='Build Umpire Examples') variant('tests', default='none', values=('none', 'basic', 'benchmarks'), multi=False, description='Tests to run') @@ -93,6 +96,9 @@ def cmake_args(self): options.append('-DENABLE_BENCHMARKS={0}'.format( 'On' if 'tests=benchmarks' in spec else 'Off')) + options.append('-DENABLE_EXAMPLES={0}'.format( + 'On' if '+examples' in spec else 'Off')) + options.append('-DENABLE_TESTS={0}'.format( 'Off' if 'tests=none' in spec else 'On'))