Simpler prefix args.

This commit is contained in:
Todd Gamblin 2014-01-06 14:14:57 +01:00
parent 5f2feac92c
commit 93e288859a
8 changed files with 10 additions and 10 deletions

View file

@ -8,6 +8,6 @@ class Callpath(Package):
depends_on("mpi")
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
configure("--prefix=" + prefix)
make()
make("install")

View file

@ -6,7 +6,7 @@ class Cmake(Package):
versions = { '2.8.10.2' : '097278785da7182ec0aea8769d06860c' }
def install(self, spec, prefix):
configure('--prefix=%s' % prefix,
'--parallel=%s' % make_jobs)
configure('--prefix=' + prefix,
'--parallel=' + make_jobs)
make()
make('install')

View file

@ -12,6 +12,6 @@ class Dyninst(Package):
depends_on("libdwarf")
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
configure("--prefix=" + prefix)
make()
make("install")

View file

@ -31,7 +31,7 @@ def install(self, spec, prefix):
mkdirp(prefix.bin, prefix.include, prefix.lib, prefix.man1)
with working_dir('libdwarf'):
configure("--prefix=%s" % prefix, '--enable-shared')
configure("--prefix=" + prefix, "--enable-shared")
make()
install('libdwarf.a', prefix.lib)
@ -40,7 +40,7 @@ def install(self, spec, prefix):
install('dwarf.h', prefix.include)
with working_dir('dwarfdump2'):
configure("--prefix=%s" % prefix)
configure("--prefix=" + prefix)
# This makefile has strings of copy commands that
# cause a race in parallel

View file

@ -13,7 +13,7 @@ class Libelf(Package):
'0.8.12' : 'e21f8273d9f5f6d43a59878dc274fec7', }
def install(self, spec, prefix):
configure("--prefix=%s" % prefix,
configure("--prefix=" + prefix,
"--enable-shared",
"--disable-dependency-tracking",
"--disable-debug")

View file

@ -7,6 +7,6 @@ class Libunwind(Package):
versions = { '1.1' : 'fb4ea2f6fbbe45bf032cd36e586883ce' }
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
configure("--prefix=" + prefix)
make()
make("install")

View file

@ -14,6 +14,6 @@ class Mpich(Package):
provides('mpi@:1', when='@1:')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
configure("--prefix=" + prefix)
make()
make("install")

View file

@ -8,6 +8,6 @@ class Mpileaks(Package):
depends_on("callpath")
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
configure("--prefix=" + prefix)
make()
make("install")