Current versions of kokkos conflict with hwloc 2.x (#7654)

* Current versions of kokkos conflict with hwloc 2.x

Current versions of kokkos cannot build with hwloc v2.x due to changes
in the associated structs. Requiring v1.11.9 for the time being
until it becomes clear what the kokkos model will be

* Explicitly commenting fix for posterity

Explicitly commented version number of hwloc dependency for kokkos for
posterity purposes and to pass code coverage for speedy merging

* Generalized Kokkos's Hwloc Dependency

Generalized dependency to v1.x of hwloc

* Fixed Flake8 issue

Fixed comment to conform to flake8

* Fixed ordering for Version Requirements

Fixed ordering to indicate <= 1.11.9, not >1

* Generalized kokkos dependency
This commit is contained in:
Robert Pavel 2018-04-02 18:22:46 -06:00 committed by Adam J. Stewart
parent d9e057842a
commit a759fcf33e

View file

@ -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')