diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/kokkos/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py index d73d0ae74a..fb2ca3f23c 100644 --- a/var/spack/repos/builtin/packages/kokkos/package.py +++ b/var/spack/repos/builtin/packages/kokkos/package.py @@ -15,6 +15,8 @@ class Kokkos(Package): git = "https://github.com/kokkos/kokkos.git" version('develop', branch='develop') + version('2.8.00', sha256='1c72661f2d770517bff98837001b42b9c677d1df29f7493a1d7c008549aff630') + version('2.7.24', sha256='a308a80ea1488f4c18884b828ce7ae9f5210b9a6b2f61b208d875084d8da8cb0') version('2.7.00', 'b357f9374c1008754babb4495f95e392') version('2.5.00', '2db83c56587cb83b772d0c81a3228a21') version('2.04.11', 'd4849cee6eb9001d61c30f1d9fe74336') @@ -27,6 +29,7 @@ class Kokkos(Package): version('2.02.07', 'd5baeea70109249f7dca763074ffb202') variant('serial', default=True, description="enable Serial backend (default)") + variant('pthreads', default=False, description="enable Pthreads backend") variant('qthreads', default=False, description="enable Qthreads backend") variant('cuda', default=False, description="enable Cuda backend") variant('openmp', default=False, description="enable OpenMP backend") @@ -151,6 +154,8 @@ class Kokkos(Package): g_args.append('--with-serial') if '+openmp' in spec: g_args.append('--with-openmp') + if '+pthreads' in spec: + g_args.append('--with-pthread') if '+qthreads' in spec: g_args.append('--with-qthreads=%s' % spec['qthreads'].prefix) if '+cuda' in spec: |