summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-11-15 21:38:30 +0100
committerGreg Becker <becker33@llnl.gov>2019-11-15 12:38:30 -0800
commit46bfcbbd3d0a3bec635d7bf80b6b3e9d0e4fae59 (patch)
treed6d2af07cace394fe567556061defecc5e222326 /var
parent74e04b7e2003cf6bce5471fe5f3e9663c008a97b (diff)
downloadspack-46bfcbbd3d0a3bec635d7bf80b6b3e9d0e4fae59.tar.gz
spack-46bfcbbd3d0a3bec635d7bf80b6b3e9d0e4fae59.tar.bz2
spack-46bfcbbd3d0a3bec635d7bf80b6b3e9d0e4fae59.tar.xz
spack-46bfcbbd3d0a3bec635d7bf80b6b3e9d0e4fae59.zip
hwloc: added 'master' version pointing at the HEAD of the master branch (#13734)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hwloc/package.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py
index 05e5d006cb..79132f9807 100644
--- a/var/spack/repos/builtin/packages/hwloc/package.py
+++ b/var/spack/repos/builtin/packages/hwloc/package.py
@@ -2,9 +2,6 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-
-from spack import *
import sys
@@ -28,7 +25,9 @@ class Hwloc(AutotoolsPackage):
url = "https://download.open-mpi.org/release/hwloc/v2.0/hwloc-2.0.2.tar.gz"
list_url = "http://www.open-mpi.org/software/hwloc/"
list_depth = 2
+ git = 'https://github.com/open-mpi/hwloc.git'
+ version('master', branch='master')
version('2.0.2', sha256='27dcfe42e3fb3422b72ce48b48bf601c0a3e46e850ee72d9bdd17b5863b6e42c')
version('2.0.1', sha256='f1156df22fc2365a31a3dc5f752c53aad49e34a5e22d75ed231cd97eaa437f9d')
version('2.0.0', sha256='a0d425a0fc7c7e3f2c92a272ffaffbd913005556b4443e1887d2e1718d902887')
@@ -59,7 +58,10 @@ class Hwloc(AutotoolsPackage):
)
depends_on('pkgconfig', type='build')
-
+ depends_on('m4', type='build', when='@master')
+ depends_on('autoconf', type='build', when='@master')
+ depends_on('automake', type='build', when='@master')
+ depends_on('libtool', type='build', when='@master')
depends_on('cuda', when='+nvml')
depends_on('cuda', when='+cuda')
depends_on('gl', when='+gl')