diff options
author | t-nojiri <68096132+t-nojiri@users.noreply.github.com> | 2020-09-09 16:01:51 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 09:01:51 +0200 |
commit | d11705f9d08c06781bf5d93ba4d8d22581c9e0d8 (patch) | |
tree | 6846141d73ea7cd2909d844484d9d331de9b11c6 | |
parent | e3cd3fb9eb5ad0b76c8e0a9cb8460e8400645599 (diff) | |
download | spack-d11705f9d08c06781bf5d93ba4d8d22581c9e0d8.tar.gz spack-d11705f9d08c06781bf5d93ba4d8d22581c9e0d8.tar.bz2 spack-d11705f9d08c06781bf5d93ba4d8d22581c9e0d8.tar.xz spack-d11705f9d08c06781bf5d93ba4d8d22581c9e0d8.zip |
r-ff: support for aarch64 (#18585)
-rw-r--r-- | var/spack/repos/builtin/packages/r-ff/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/r-ff/utk_platform_macros.hpp.patch | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-ff/package.py b/var/spack/repos/builtin/packages/r-ff/package.py index 7ff486acaf..72eb021612 100644 --- a/var/spack/repos/builtin/packages/r-ff/package.py +++ b/var/spack/repos/builtin/packages/r-ff/package.py @@ -19,3 +19,5 @@ class RFf(RPackage): depends_on('r@2.10.1:', type=('build', 'run')) depends_on('r-bit@1.1-13:', type=('build', 'run')) + + patch('utk_platform_macros.hpp.patch', when='target=aarch64:') diff --git a/var/spack/repos/builtin/packages/r-ff/utk_platform_macros.hpp.patch b/var/spack/repos/builtin/packages/r-ff/utk_platform_macros.hpp.patch new file mode 100644 index 0000000000..0bd4592839 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-ff/utk_platform_macros.hpp.patch @@ -0,0 +1,11 @@ +--- spack-src/src/utk_platform_macros.hpp.bak 2017-04-09 00:25:51.000000000 +0900 ++++ spack-src/src/utk_platform_macros.hpp 2020-08-26 09:43:04.464838833 +0900 +@@ -136,6 +136,8 @@ + #define UTK__Arch_ARM_THUMB + #elif defined(__sh__) + #define UTK__Arch_SuperH ++ #elif defined(__aarch64__) ++ #define UTK__Arch_ARM64 + #else + #error Architecture not supported. + #endif |