diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2013-04-04 09:52:15 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2013-04-04 10:22:49 -0700 |
commit | 422d291b111464599618a538ee1ca3334c698ab8 (patch) | |
tree | 87ca426db9296f94db0a7331ee197966e1d52ac1 /.gitignore | |
parent | e1551de976355bdd7836c6e38a045df9ec91f0d0 (diff) | |
download | spack-422d291b111464599618a538ee1ca3334c698ab8.tar.gz spack-422d291b111464599618a538ee1ca3334c698ab8.tar.bz2 spack-422d291b111464599618a538ee1ca3334c698ab8.tar.xz spack-422d291b111464599618a538ee1ca3334c698ab8.zip |
This adds support for multi-platform methods.
You can now do this:
class MyPackage(Package):
def install(self):
...default install...
@platform('bgqos_0')
def install(self):
...specialized install for bgq...
This works on functions other than install, as well (as long as they're in a Package)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions