summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2017-03-11 21:59:06 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2017-03-11 20:59:06 -0600
commit02db630985aed5609f36686b349c76fc7fd9b346 (patch)
tree5fcc4ec8bfead0a85da1e530c5bbfae5e6d2b98b /var
parent41a395754027d394b8b75b0b02f52d6aeb8f88fa (diff)
downloadspack-02db630985aed5609f36686b349c76fc7fd9b346.tar.gz
spack-02db630985aed5609f36686b349c76fc7fd9b346.tar.bz2
spack-02db630985aed5609f36686b349c76fc7fd9b346.tar.xz
spack-02db630985aed5609f36686b349c76fc7fd9b346.zip
hwloc: Disable OpenCL (#2854)
* hwloc: Disable OpenCL * hwloc: Convert `install` to `configure_args`
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hwloc/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py
index 68c92b3aff..b5f6bf9951 100644
--- a/var/spack/repos/builtin/packages/hwloc/package.py
+++ b/var/spack/repos/builtin/packages/hwloc/package.py
@@ -53,3 +53,9 @@ class Hwloc(AutotoolsPackage):
def url_for_version(self, version):
return "http://www.open-mpi.org/software/hwloc/v%s/downloads/hwloc-%s.tar.gz" % (version.up_to(2), version)
+
+ def configure_args(self):
+ # Disable OpenCL, since hwloc might pick up an OpenCL library
+ # at build time that is then not found at run time
+ # (Alternatively, we could require OpenCL as dependency.)
+ return ["--disable-opencl"]