summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2021-03-12 02:56:55 +0900
committerGitHub <noreply@github.com>2021-03-11 17:56:55 +0000
commit952f76bda3e33922bf0f6b73453feeb281d8f6b3 (patch)
treeaac6079e6dfe45032c0fd483c474adfa3607dda6
parentab9580c1680d8e44df277bbc1ab0597f594e6b1f (diff)
downloadspack-952f76bda3e33922bf0f6b73453feeb281d8f6b3.tar.gz
spack-952f76bda3e33922bf0f6b73453feeb281d8f6b3.tar.bz2
spack-952f76bda3e33922bf0f6b73453feeb281d8f6b3.tar.xz
spack-952f76bda3e33922bf0f6b73453feeb281d8f6b3.zip
r-rhdf5filters: Fix for aarch64 (#22074)
-rw-r--r--var/spack/repos/builtin/packages/r-rhdf5filters/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rhdf5filters/package.py b/var/spack/repos/builtin/packages/r-rhdf5filters/package.py
index b6f8037f04..64d155d46c 100644
--- a/var/spack/repos/builtin/packages/r-rhdf5filters/package.py
+++ b/var/spack/repos/builtin/packages/r-rhdf5filters/package.py
@@ -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