stacks: update view management for multiple/combinatorial views

This adds notion of a default view, other views in environments
This commit is contained in:
Gregory Becker
2019-04-15 19:07:45 -07:00
committed by Todd Gamblin
parent d0bfe0d6a8
commit cebf1fd668
9 changed files with 406 additions and 83 deletions

View File

@@ -28,4 +28,4 @@ class Mpich(Package):
provides('mpi@:1', when='@:1')
def install(self, spec, prefix):
pass
touch(prefix.mpich)

View File

@@ -27,7 +27,7 @@ class Mpileaks(Package):
libs = None
def install(self, spec, prefix):
pass
touch(prefix.mpileaks)
def setup_environment(self, senv, renv):
renv.set('FOOBAR', self.name)