From 306f158c733801cda6eacf74e3349b510cf90867 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 5 May 2017 18:24:04 +0200 Subject: 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`. --- lib/spack/spack/file_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3-70-g09d2