From 79751729c9537f7f5ff4f583d3294e2359b7fb7b Mon Sep 17 00:00:00 2001 From: Paschalis Korosoglou Date: Mon, 4 Dec 2017 01:19:32 +0200 Subject: [PATCH] Rename variant static to shared (#6543) --- var/spack/repos/builtin/packages/hwloc/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py index e8d78a223e..a29f927ba1 100644 --- a/var/spack/repos/builtin/packages/hwloc/package.py +++ b/var/spack/repos/builtin/packages/hwloc/package.py @@ -58,7 +58,7 @@ class Hwloc(AutotoolsPackage): variant('libxml2', default=True, description="Build with libxml2") variant('pci', default=(sys.platform != 'darwin'), description="Support analyzing devices on PCI bus") - variant('static', default=False, description="Build static libraries") + variant('shared', default=True, description="Build shared libraries") depends_on('cuda', when='+cuda') depends_on('libpciaccess', when='+pci') @@ -74,7 +74,7 @@ def configure_args(self): "--enable-cuda" if '+cuda' in spec else "--disable-cuda", "--enable-libxml2" if '+libxml2' in spec else "--disable-libxml2", "--enable-pci" if '+pci' in spec else "--disable-pci", - "--enable-static" if '+static' in spec else "--disable-static", + "--enable-shared" if '+shared' in spec else "--disable-shared", # 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.)