summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorlukebroskop <luke.roskop@hpe.com>2021-05-10 16:02:30 -0500
committerGitHub <noreply@github.com>2021-05-10 14:02:30 -0700
commite58d07a819f7411296ff74a057013693cc1e0fad (patch)
treedf12b532fcc3e9a9cfa6e81846f12b8cb98fb49c /var
parent50eec402324f1188df2a3b2502779d4ee976039c (diff)
downloadspack-e58d07a819f7411296ff74a057013693cc1e0fad.tar.gz
spack-e58d07a819f7411296ff74a057013693cc1e0fad.tar.bz2
spack-e58d07a819f7411296ff74a057013693cc1e0fad.tar.xz
spack-e58d07a819f7411296ff74a057013693cc1e0fad.zip
CrayPE fix for unifyfs (#23498)
When building with CCE, do not use the -Werror flag
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/unifyfs/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/unifyfs/package.py b/var/spack/repos/builtin/packages/unifyfs/package.py
index fa2824b7a5..efbe4ee682 100644
--- a/var/spack/repos/builtin/packages/unifyfs/package.py
+++ b/var/spack/repos/builtin/packages/unifyfs/package.py
@@ -110,3 +110,8 @@ class Unifyfs(AutotoolsPackage):
def autoreconf(self, spec, prefix):
bash = which('bash')
bash('./autogen.sh')
+
+ @when('%cce@11.0.3:')
+ def patch(self):
+ filter_file('-Werror', '', 'client/src/Makefile.in')
+ filter_file('-Werror', '', 'client/src/Makefile.am')