From e58d07a819f7411296ff74a057013693cc1e0fad Mon Sep 17 00:00:00 2001 From: lukebroskop Date: Mon, 10 May 2021 16:02:30 -0500 Subject: CrayPE fix for unifyfs (#23498) When building with CCE, do not use the -Werror flag --- var/spack/repos/builtin/packages/unifyfs/package.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'var') 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') -- cgit v1.2.3-70-g09d2