coevp: use libquadmath only x86_64 and ppcle. (#18130)
This commit is contained in:
parent
567caafc58
commit
18391eef58
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue