adding clang compiler checks which behaves exactly like aocc (#43976)
Co-authored-by: domke <673751-domke@users.noreply.gitlab.com>
This commit is contained in:
parent
2a967c7df4
commit
bd1918cd71
1 changed files with 6 additions and 0 deletions
|
@ -48,6 +48,11 @@ class Hpcg(AutotoolsPackage):
|
||||||
sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
|
sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
|
||||||
when="%intel",
|
when="%intel",
|
||||||
)
|
)
|
||||||
|
patch(
|
||||||
|
"https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch?full_index=1",
|
||||||
|
sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
|
||||||
|
when="%clang",
|
||||||
|
)
|
||||||
|
|
||||||
depends_on("mpi@1.1:")
|
depends_on("mpi@1.1:")
|
||||||
|
|
||||||
|
@ -62,6 +67,7 @@ def configure(self, spec, prefix):
|
||||||
and not spec.satisfies("%arm")
|
and not spec.satisfies("%arm")
|
||||||
and not spec.satisfies("%intel")
|
and not spec.satisfies("%intel")
|
||||||
and not spec.satisfies("%oneapi")
|
and not spec.satisfies("%oneapi")
|
||||||
|
and not spec.satisfies("%clang")
|
||||||
):
|
):
|
||||||
CXXFLAGS += " -ftree-vectorizer-verbose=0 "
|
CXXFLAGS += " -ftree-vectorizer-verbose=0 "
|
||||||
if spec.satisfies("%cce"):
|
if spec.satisfies("%cce"):
|
||||||
|
|
Loading…
Reference in a new issue