diff options
author | Andrew Gaspar <andrew.gaspar@outlook.com> | 2019-03-26 13:31:48 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-03-26 14:31:48 -0500 |
commit | 1e6da47b4ed5108936e1a20624b296e34b4a94af (patch) | |
tree | b3597fd4b062f840421f91c401a3ce868ea8fa5b | |
parent | 844ca3189489bd45f3c7aa003165be058899d60f (diff) | |
download | spack-1e6da47b4ed5108936e1a20624b296e34b4a94af.tar.gz spack-1e6da47b4ed5108936e1a20624b296e34b4a94af.tar.bz2 spack-1e6da47b4ed5108936e1a20624b296e34b4a94af.tar.xz spack-1e6da47b4ed5108936e1a20624b296e34b4a94af.zip |
Kokkos package: pthreads feature and new kokkos versions (#10943)
-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: |