diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/package.py | 3 | ||||
-rw-r--r-- | lib/spack/spack/packages/libelf.py | 16 |
2 files changed, 9 insertions, 10 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index db1ff92a5b..8675435492 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -691,8 +691,7 @@ class Package(object): def install(self, spec, prefix): """Package implementations override this with their own build configuration.""" - configure() - #tty.die("Packages must provide an install method!") + tty.die("Packages must provide an install method!") def do_uninstall(self): diff --git a/lib/spack/spack/packages/libelf.py b/lib/spack/spack/packages/libelf.py index abfbd0bde7..f663ba750d 100644 --- a/lib/spack/spack/packages/libelf.py +++ b/lib/spack/spack/packages/libelf.py @@ -36,12 +36,12 @@ class Libelf(Package): versions = { '0.8.13' : '4136d7b4c04df68b686570afa26988ac', '0.8.12' : 'e21f8273d9f5f6d43a59878dc274fec7', } - # def install(self, spec, prefix): - # configure("--prefix=" + prefix, - # "--enable-shared", - # "--disable-dependency-tracking", - # "--disable-debug") - # make() + def install(self, spec, prefix): + configure("--prefix=" + prefix, + "--enable-shared", + "--disable-dependency-tracking", + "--disable-debug") + make() - # # The mkdir commands in libelf's install can fail in parallel - # make("install", parallel=False) + # The mkdir commands in libelf's install can fail in parallel + make("install", parallel=False) |