Simpler prefix args.
This commit is contained in:
parent
5f2feac92c
commit
93e288859a
@ -8,6 +8,6 @@ class Callpath(Package):
|
|||||||
depends_on("mpi")
|
depends_on("mpi")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=" + prefix)
|
||||||
make()
|
make()
|
||||||
make("install")
|
make("install")
|
||||||
|
@ -6,7 +6,7 @@ class Cmake(Package):
|
|||||||
versions = { '2.8.10.2' : '097278785da7182ec0aea8769d06860c' }
|
versions = { '2.8.10.2' : '097278785da7182ec0aea8769d06860c' }
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure('--prefix=%s' % prefix,
|
configure('--prefix=' + prefix,
|
||||||
'--parallel=%s' % make_jobs)
|
'--parallel=' + make_jobs)
|
||||||
make()
|
make()
|
||||||
make('install')
|
make('install')
|
||||||
|
@ -12,6 +12,6 @@ class Dyninst(Package):
|
|||||||
depends_on("libdwarf")
|
depends_on("libdwarf")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=" + prefix)
|
||||||
make()
|
make()
|
||||||
make("install")
|
make("install")
|
||||||
|
@ -31,7 +31,7 @@ def install(self, spec, prefix):
|
|||||||
mkdirp(prefix.bin, prefix.include, prefix.lib, prefix.man1)
|
mkdirp(prefix.bin, prefix.include, prefix.lib, prefix.man1)
|
||||||
|
|
||||||
with working_dir('libdwarf'):
|
with working_dir('libdwarf'):
|
||||||
configure("--prefix=%s" % prefix, '--enable-shared')
|
configure("--prefix=" + prefix, "--enable-shared")
|
||||||
make()
|
make()
|
||||||
|
|
||||||
install('libdwarf.a', prefix.lib)
|
install('libdwarf.a', prefix.lib)
|
||||||
@ -40,7 +40,7 @@ def install(self, spec, prefix):
|
|||||||
install('dwarf.h', prefix.include)
|
install('dwarf.h', prefix.include)
|
||||||
|
|
||||||
with working_dir('dwarfdump2'):
|
with working_dir('dwarfdump2'):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=" + prefix)
|
||||||
|
|
||||||
# This makefile has strings of copy commands that
|
# This makefile has strings of copy commands that
|
||||||
# cause a race in parallel
|
# cause a race in parallel
|
||||||
|
@ -13,7 +13,7 @@ class Libelf(Package):
|
|||||||
'0.8.12' : 'e21f8273d9f5f6d43a59878dc274fec7', }
|
'0.8.12' : 'e21f8273d9f5f6d43a59878dc274fec7', }
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix,
|
configure("--prefix=" + prefix,
|
||||||
"--enable-shared",
|
"--enable-shared",
|
||||||
"--disable-dependency-tracking",
|
"--disable-dependency-tracking",
|
||||||
"--disable-debug")
|
"--disable-debug")
|
||||||
|
@ -7,6 +7,6 @@ class Libunwind(Package):
|
|||||||
versions = { '1.1' : 'fb4ea2f6fbbe45bf032cd36e586883ce' }
|
versions = { '1.1' : 'fb4ea2f6fbbe45bf032cd36e586883ce' }
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=" + prefix)
|
||||||
make()
|
make()
|
||||||
make("install")
|
make("install")
|
||||||
|
@ -14,6 +14,6 @@ class Mpich(Package):
|
|||||||
provides('mpi@:1', when='@1:')
|
provides('mpi@:1', when='@1:')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=" + prefix)
|
||||||
make()
|
make()
|
||||||
make("install")
|
make("install")
|
||||||
|
@ -8,6 +8,6 @@ class Mpileaks(Package):
|
|||||||
depends_on("callpath")
|
depends_on("callpath")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=" + prefix)
|
||||||
make()
|
make()
|
||||||
make("install")
|
make("install")
|
||||||
|
Loading…
Reference in New Issue
Block a user