[quantum-espresso] Parallel make fails for 6.{6,7} (#34238)

* [quantum-espresso] Parallel make fails for 6.{6,7}
  I run into a race condition in `make` with Intel compiler on icelake when building QE 6.6 and 6.7.
* Fix comment

Co-authored-by: Stephen Sachs <stesachs@amazon.com>
This commit is contained in:
Stephen Sachs 2022-12-07 13:52:12 -06:00 committed by GitHub
parent 381f8161b1
commit 8806e74419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -581,8 +581,8 @@ def install(self, pkg, spec, prefix):
zlib_libs = spec["zlib"].prefix.lib + " -lz"
filter_file(zlib_libs, format(spec["zlib"].libs.ld_flags), make_inc)
# QE 6.6 and later has parallel builds fixed
if spec.satisfies("@:6.5"):
# QE 6.8 and later has parallel builds fixed
if spec.satisfies("@:6.7"):
parallel_build_on = False
else:
parallel_build_on = True