r-rhdf5filters: Fix for aarch64 (#22074)

This commit is contained in:
Tomoyasu Nojiri 2021-03-12 02:56:55 +09:00 committed by GitHub
parent ab9580c168
commit 952f76bda3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,3 +18,10 @@ class RRhdf5filters(RPackage):
depends_on('r-rhdf5lib', type=('build', 'run'))
depends_on('gmake', type='build')
def configure_args(self):
args = []
if self.spec.target.family == 'aarch64':
args.append("ax_cv_gcc_check_x86_cpu_init=yes")
args.append("ax_cv_gcc_x86_cpu_supports_sse2=no")
return args