coevp: use libquadmath only x86_64 and ppcle. (#18130)

This commit is contained in:
t-nojiri 2020-10-19 11:07:04 +09:00 committed by GitHub
parent 567caafc58
commit 18391eef58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,13 @@ def build_targets(self):
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)