diff options
-rw-r--r-- | var/spack/repos/builtin/packages/kokkos/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py index 0494ab938c..5512b84f4a 100644 --- a/var/spack/repos/builtin/packages/kokkos/package.py +++ b/var/spack/repos/builtin/packages/kokkos/package.py @@ -37,7 +37,8 @@ class Kokkos(Package): variant('qthreads', default=False, description="enable Qthreads backend") variant('cuda', default=False, description="enable Cuda backend") - depends_on('hwloc') + # Specify that v1.x is required as v2.x has API changes + depends_on('hwloc@:1') depends_on('qthreads', when='+qthreads') depends_on('cuda', when='+cuda') |