summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/coevp/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/coevp/package.py b/var/spack/repos/builtin/packages/coevp/package.py
index 2438da1d69..9224cba92c 100644
--- a/var/spack/repos/builtin/packages/coevp/package.py
+++ b/var/spack/repos/builtin/packages/coevp/package.py
@@ -61,6 +61,13 @@ class Coevp(MakefilePackage):
return targets
+ def edit(self, spec, prefix):
+ # libquadmath is only available x86_64 and powerle
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440
+ if self.spec.target.family not in ['x86_64', 'ppc64le']:
+ comps = join_path('LULESH', 'Makefile')
+ filter_file('-lquadmath', '', comps)
+
def install(self, spec, prefix):
mkdir(prefix.bin)
mkdir(prefix.doc)