Skip to content
Snippets Groups Projects
Unverified Commit d14baf45 authored by Toyohisa Kameyama's avatar Toyohisa Kameyama Committed by GitHub
Browse files

use libquadmath only x86_4 and ppcle. (#17728)

parent badd11e7
Branches
Tags
No related merge requests found
...@@ -73,6 +73,17 @@ class Amrvis(MakefilePackage): ...@@ -73,6 +73,17 @@ class Amrvis(MakefilePackage):
placement='amrex') placement='amrex')
def edit(self, spec, prefix): 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('amrex', 'Tools', 'GNUMake', 'comps')
maks = [
join_path(comps, 'gnu.mak'),
join_path(comps, 'llvm.mak'),
]
for mak in maks:
filter_file('-lquadmath', '', mak)
# Set all available makefile options to values we want # Set all available makefile options to values we want
makefile = FileFilter('GNUmakefile') makefile = FileFilter('GNUmakefile')
makefile.filter( makefile.filter(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment