hwloc: Disable OpenCL (#2854)
* hwloc: Disable OpenCL * hwloc: Convert `install` to `configure_args`
This commit is contained in:
parent
41a3957540
commit
02db630985
1 changed files with 6 additions and 0 deletions
|
@ -53,3 +53,9 @@ class Hwloc(AutotoolsPackage):
|
||||||
|
|
||||||
def url_for_version(self, version):
|
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)
|
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"]
|
||||||
|
|
Loading…
Reference in a new issue