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`.
This commit is contained in:
Massimiliano Culpo
2017-05-05 18:24:04 +02:00
committed by alalazo
parent 4b866c6395
commit 306f158c73
4 changed files with 82 additions and 25 deletions

View File

@@ -149,7 +149,7 @@ def __exit__(cm, type, value, traceback):
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)