diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-05-05 18:24:04 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2017-05-09 18:46:42 +0200 |
commit | 306f158c733801cda6eacf74e3349b510cf90867 (patch) | |
tree | f83a8e047b9ba12a4977687a2b027dde28c08033 /lib | |
parent | 4b866c6395a84eb60fa17029f0e6d0c549b6780a (diff) | |
download | spack-306f158c733801cda6eacf74e3349b510cf90867.tar.gz spack-306f158c733801cda6eacf74e3349b510cf90867.tar.bz2 spack-306f158c733801cda6eacf74e3349b510cf90867.tar.xz spack-306f158c733801cda6eacf74e3349b510cf90867.zip |
cp2k: fixed compilation issues for intel stack
Added DFLAGS to the `make.inc` file being written.
These macros are also added to the language specific variables
like CFLAGS, CXXFLAGS and FCFLAGS. Changed `spec.satisfies('foo')`
with `'foo' in spec` in `intel-mkl`, see #4135. Added a basic
build interface to `intel-mpi`.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/file_cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/file_cache.py b/lib/spack/spack/file_cache.py index e37f77d68d..95a8bc7ce6 100644 --- a/lib/spack/spack/file_cache.py +++ b/lib/spack/spack/file_cache.py @@ -149,7 +149,7 @@ class FileCache(object): if value: # remove tmp on exception & raise it shutil.rmtree(cm.tmp_filename, True) - raise value + else: os.rename(cm.tmp_filename, cm.orig_filename) |