go cleanup, adding hub

This commit is contained in:
Tom Scogland
2016-05-15 10:23:33 -07:00
parent 2bfa4d7e4f
commit 71d9911539
3 changed files with 24 additions and 0 deletions

View File

@@ -65,4 +65,6 @@ def setup_dependent_environment(self, spack_env, run_env, ext_spec):
shutil.copytree('bin', os.path.join(prefix, '/bin'))
"""
if os.environ.get('GOROOT', False):
tty.warn('GOROOT is set, this is not recommended')
spack_env.set('GOPATH', ext_spec.package.stage.source_path)