hpcg: apply patch with openmp pragma changes for intel and oneapi compilers (#37856)
Signed-off-by: Andrey Parfenov <andrey.parfenov@intel.com>
This commit is contained in:
parent
91a54029f9
commit
93a34a9635
1 changed files with 12 additions and 0 deletions
|
@ -38,6 +38,16 @@ class Hpcg(AutotoolsPackage):
|
|||
sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
|
||||
when="%arm",
|
||||
)
|
||||
patch(
|
||||
"https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch?full_index=1",
|
||||
sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
|
||||
when="%oneapi",
|
||||
)
|
||||
patch(
|
||||
"https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch?full_index=1",
|
||||
sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
|
||||
when="%intel",
|
||||
)
|
||||
|
||||
depends_on("mpi@1.1:")
|
||||
|
||||
|
@ -50,6 +60,8 @@ def configure(self, spec, prefix):
|
|||
not spec.satisfies("%aocc")
|
||||
and not spec.satisfies("%cce")
|
||||
and not spec.satisfies("%arm")
|
||||
and not spec.satisfies("%intel")
|
||||
and not spec.satisfies("%oneapi")
|
||||
):
|
||||
CXXFLAGS += " -ftree-vectorizer-verbose=0 "
|
||||
if spec.satisfies("%cce"):
|
||||
|
|
Loading…
Reference in a new issue