r-ff: support for aarch64 (#18585)

This commit is contained in:
t-nojiri 2020-09-09 16:01:51 +09:00 committed by GitHub
parent e3cd3fb9eb
commit d11705f9d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -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:')

View File

@ -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