Make mrnet depend on boost.

This commit is contained in:
Todd Gamblin 2014-05-01 23:27:09 -07:00
parent 39d5a337ad
commit 703e611043

View file

@ -8,6 +8,8 @@ class Mrnet(Package):
versions = { '4.0.0' : 'd00301c078cba57ef68613be32ceea2f', } versions = { '4.0.0' : 'd00301c078cba57ef68613be32ceea2f', }
parallel = False parallel = False
depends_on("boost")
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" %prefix, "--enable-shared") configure("--prefix=%s" %prefix, "--enable-shared")
@ -17,5 +19,7 @@ def install(self, spec, prefix):
# TODO: copy configuration header files to include directory # TODO: copy configuration header files to include directory
# this can be removed once we have STAT-2.1.0 # this can be removed once we have STAT-2.1.0
import shutil import shutil
shutil.copy2('%s/lib/mrnet-%s/include/mrnet_config.h' % (prefix, self.version), '%s/include/mrnet_config.h' % prefix) shutil.copy2('%s/lib/mrnet-%s/include/mrnet_config.h' % (prefix, self.version),
shutil.copy2('%s/lib/xplat-%s/include/xplat_config.h' % (prefix, self.version), '%s/include/xplat_config.h' % prefix) '%s/include/mrnet_config.h' % prefix)
shutil.copy2('%s/lib/xplat-%s/include/xplat_config.h' % (prefix, self.version),
'%s/include/xplat_config.h' % prefix)