Rename some environment methods to be less repetitive, add set_path.

This commit is contained in:
Todd Gamblin
2016-03-21 02:21:31 -07:00
parent 439d47b4e4
commit b1516f64eb
8 changed files with 73 additions and 47 deletions

View File

@@ -43,10 +43,10 @@ def url_for_version(self, version):
def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
spack_env.set_env('OMPI_CC', spack_cc)
spack_env.set_env('OMPI_CXX', spack_cxx)
spack_env.set_env('OMPI_FC', spack_fc)
spack_env.set_env('OMPI_F77', spack_f77)
spack_env.set('OMPI_CC', spack_cc)
spack_env.set('OMPI_CXX', spack_cxx)
spack_env.set('OMPI_FC', spack_fc)
spack_env.set('OMPI_F77', spack_f77)
def install(self, spec, prefix):