summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorjdomke <28772296+jdomke@users.noreply.github.com>2024-05-04 08:01:14 +0900
committerGitHub <noreply@github.com>2024-05-03 16:01:14 -0700
commitbd1918cd71cee41108c1bf949bdbc421899105bd (patch)
treebd322dc1fc2ebb510e5800c689774c687931402b /var
parent2a967c7df449e15a7d50948cccf39b0777e3d7b7 (diff)
downloadspack-bd1918cd71cee41108c1bf949bdbc421899105bd.tar.gz
spack-bd1918cd71cee41108c1bf949bdbc421899105bd.tar.bz2
spack-bd1918cd71cee41108c1bf949bdbc421899105bd.tar.xz
spack-bd1918cd71cee41108c1bf949bdbc421899105bd.zip
adding clang compiler checks which behaves exactly like aocc (#43976)
Co-authored-by: domke <673751-domke@users.noreply.gitlab.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hpcg/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hpcg/package.py b/var/spack/repos/builtin/packages/hpcg/package.py
index 2f261b5836..17e45f5cf2 100644
--- a/var/spack/repos/builtin/packages/hpcg/package.py
+++ b/var/spack/repos/builtin/packages/hpcg/package.py
@@ -48,6 +48,11 @@ class Hpcg(AutotoolsPackage):
sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
when="%intel",
)
+ patch(
+ "https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch?full_index=1",
+ sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9",
+ when="%clang",
+ )
depends_on("mpi@1.1:")
@@ -62,6 +67,7 @@ class Hpcg(AutotoolsPackage):
and not spec.satisfies("%arm")
and not spec.satisfies("%intel")
and not spec.satisfies("%oneapi")
+ and not spec.satisfies("%clang")
):
CXXFLAGS += " -ftree-vectorizer-verbose=0 "
if spec.satisfies("%cce"):