diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-07-13 22:51:12 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-07-13 22:51:12 +0200 |
commit | 9d66b8549295919cf1dba0958f54e35ada4d22c5 (patch) | |
tree | 395669e9242cf5650e486a73deb736ca8ba5b35e | |
parent | 90b131260bc04b0cdd2caf3959c970bb9fbc69fb (diff) | |
download | spack-9d66b8549295919cf1dba0958f54e35ada4d22c5.tar.gz spack-9d66b8549295919cf1dba0958f54e35ada4d22c5.tar.bz2 spack-9d66b8549295919cf1dba0958f54e35ada4d22c5.tar.xz spack-9d66b8549295919cf1dba0958f54e35ada4d22c5.zip |
log : changed semantic for start / join (now it's explicit)
-rw-r--r-- | lib/spack/spack/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index 525ff91e87..e7df3430fe 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -1140,10 +1140,12 @@ class PackageBase(object): self.env_path = env_path dump_environment(env_path) log_redirection = log_output(log_path, verbose, sys.stdout.isatty(), True) + log_redirection.acquire() for phase_name, phase in zip(self.phases, self._InstallPhase_phases): tty.msg('Executing phase : \'{0}\''.format(phase_name)) with log_redirection: getattr(self, phase)(self.spec, self.prefix) + log_redirection.release() self.log() # Run post install hooks before build stage is removed. spack.hooks.post_install(self) |