diff options
author | lukebroskop <luke.roskop@hpe.com> | 2021-05-10 14:16:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 13:16:25 -0600 |
commit | 57ccb6ea1302c43815b40a2458672a531e8140d3 (patch) | |
tree | ee89202d4beb8ce68daefd4253a09abcf65763c1 | |
parent | a5422f8015b5065be21ec3f1f624dcbe66a04bcb (diff) | |
download | spack-57ccb6ea1302c43815b40a2458672a531e8140d3.tar.gz spack-57ccb6ea1302c43815b40a2458672a531e8140d3.tar.bz2 spack-57ccb6ea1302c43815b40a2458672a531e8140d3.tar.xz spack-57ccb6ea1302c43815b40a2458672a531e8140d3.zip |
CrayPE fix for json-c (#23515)
remove -Werror flag when compiling with cce
-rw-r--r-- | var/spack/repos/builtin/packages/json-c/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/json-c/package.py b/var/spack/repos/builtin/packages/json-c/package.py index 0c44e01c17..1f5c6706a9 100644 --- a/var/spack/repos/builtin/packages/json-c/package.py +++ b/var/spack/repos/builtin/packages/json-c/package.py @@ -41,3 +41,9 @@ class JsonC(CMakePackage): @when('@:0.13.1') def install(self, spec, prefix): make('install') + + @when('%cce@11.0.3:') + def patch(self): + filter_file('-Werror', + '', + 'CMakeLists.txt') |