parent
c3aaf005e2
commit
bfc72c04fb
@ -26,16 +26,14 @@ def install(self, spec, prefix):
|
|||||||
if '+mpi' in spec:
|
if '+mpi' in spec:
|
||||||
extra_args.extend([
|
extra_args.extend([
|
||||||
"--enable-parallel",
|
"--enable-parallel",
|
||||||
"CC=%s" % spec['mpich'].prefix.bin + "/mpicc",
|
"CC=%s" % spec['mpi'].prefix.bin + "/mpicc",
|
||||||
"CXX=%s" % spec['mpich'].prefix.bin + "/mpic++",
|
"CXX=%s" % spec['mpi'].prefix.bin + "/mpic++",
|
||||||
])
|
])
|
||||||
|
|
||||||
configure(
|
configure(
|
||||||
"--prefix=%s" % prefix,
|
"--prefix=%s" % prefix,
|
||||||
"--with-zlib=%s" % spec['zlib'].prefix,
|
"--with-zlib=%s" % spec['zlib'].prefix,
|
||||||
"--enable-shared",
|
"--enable-shared",
|
||||||
"CC=%s" % spec['mpi'].prefix.bin + "/mpicc",
|
|
||||||
"CXX=%s" % spec['mpi'].prefix.bin + "/mpic++",
|
|
||||||
*extra_args)
|
*extra_args)
|
||||||
|
|
||||||
make()
|
make()
|
||||||
|
Loading…
Reference in New Issue
Block a user