diff options
author | Toyohisa Kameyama <kameyama@riken.jp> | 2020-05-18 10:00:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-17 20:00:23 -0500 |
commit | ffdd94dd9fbffc66f37265a60ed2f438f613373f (patch) | |
tree | af76e3b4e9ff06ff9cb0b4a4b49e71f8b4e1291a /var | |
parent | a4d64402ae2fb3e39c7aae3ba324d75a06fabfdb (diff) | |
download | spack-ffdd94dd9fbffc66f37265a60ed2f438f613373f.tar.gz spack-ffdd94dd9fbffc66f37265a60ed2f438f613373f.tar.bz2 spack-ffdd94dd9fbffc66f37265a60ed2f438f613373f.tar.xz spack-ffdd94dd9fbffc66f37265a60ed2f438f613373f.zip |
hwloc: Add libudev variant. (#16615)
* hwloc: Add libudev variant.
* typo fix.
* Wrong version for libudev variant is fixed.
* Add maintainers.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hwloc/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py index cb1a23c33e..4edabfbf4a 100644 --- a/var/spack/repos/builtin/packages/hwloc/package.py +++ b/var/spack/repos/builtin/packages/hwloc/package.py @@ -27,6 +27,8 @@ class Hwloc(AutotoolsPackage): list_depth = 2 git = 'https://github.com/open-mpi/hwloc.git' + maintainers = ['bgoglin'] + version('master', branch='master') version('2.2.0', sha256='2defba03ddd91761b858cbbdc2e3a6e27b44e94696dbfa21380191328485a433') version('2.1.0', sha256='1fb8cc1438de548e16ec3bb9e4b2abb9f7ce5656f71c0906583819fcfa8c2031') @@ -50,6 +52,7 @@ class Hwloc(AutotoolsPackage): variant('gl', default=False, description="Support GL device discovery") variant('cuda', default=False, description="Support CUDA devices") variant('libxml2', default=True, description="Build with libxml2") + variant('libudev', default=False, description="Build with libudev") variant('pci', default=(sys.platform != 'darwin'), description="Support analyzing devices on PCI bus") variant('shared', default=True, description="Build shared libraries") @@ -67,6 +70,9 @@ class Hwloc(AutotoolsPackage): # netloc isn't available until version 2.0.0 conflicts('+netloc', when="@:1.99.99") + # libudev isn't available until version 1.11.0 + conflicts('+libudev', when="@:1.10") + depends_on('pkgconfig', type='build') depends_on('m4', type='build', when='@master') depends_on('autoconf', type='build', when='@master') @@ -102,6 +108,7 @@ class Hwloc(AutotoolsPackage): args.extend(self.enable_or_disable('gl')) args.extend(self.enable_or_disable('cuda')) args.extend(self.enable_or_disable('libxml2')) + args.extend(self.enable_or_disable('libudev')) args.extend(self.enable_or_disable('pci')) args.extend(self.enable_or_disable('shared')) |