diff options
author | t-nojiri <68096132+t-nojiri@users.noreply.github.com> | 2020-09-05 02:52:10 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 19:52:10 +0200 |
commit | f3c4747318252295f7bbe2a2f037b15012c4f2f0 (patch) | |
tree | 23541f5cfb252d078bcceffba9dcea6d5ee23444 /var | |
parent | 597b43e30a1b225e2c019f475cb43dbe9db483fc (diff) | |
download | spack-f3c4747318252295f7bbe2a2f037b15012c4f2f0.tar.gz spack-f3c4747318252295f7bbe2a2f037b15012c4f2f0.tar.bz2 spack-f3c4747318252295f7bbe2a2f037b15012c4f2f0.tar.xz spack-f3c4747318252295f7bbe2a2f037b15012c4f2f0.zip |
fermikit: added support for aarch64 (#18480)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch | 44 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/fermikit/package.py | 3 |
2 files changed, 47 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch b/var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch new file mode 100644 index 0000000000..5c835bf3df --- /dev/null +++ b/var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch @@ -0,0 +1,44 @@ +--- spack-src/bwa/ksw.c.bak 2020-01-06 19:27:05.000000000 +0900 ++++ spack-src/bwa/ksw.c 2020-09-02 16:33:44.405293034 +0900 +@@ -26,7 +26,7 @@ + #include <stdlib.h> + #include <stdint.h> + #include <assert.h> +-#include <emmintrin.h> ++#include <SSE2NEON.h> + #include "ksw.h" + + #ifdef USE_MALLOC_WRAPPERS +--- spack-src/fermi2/ksw.c.bak 2020-01-06 19:27:08.000000000 +0900 ++++ spack-src/fermi2/ksw.c 2020-09-02 16:25:28.865284742 +0900 +@@ -25,7 +25,7 @@ + + #include <stdlib.h> + #include <stdint.h> +-#include <emmintrin.h> ++#include <SSE2NEON.h> + #include "ksw.h" + + #ifdef __GNUC__ +--- spack-src/seqtk/ksw.c.bak 2020-01-06 19:27:18.000000000 +0900 ++++ spack-src/seqtk/ksw.c 2020-09-02 16:44:31.825298048 +0900 +@@ -25,7 +25,7 @@ + + #include <stdlib.h> + #include <stdint.h> +-#include <emmintrin.h> ++#include <SSE2NEON.h> + #include "ksw.h" + + #ifdef __GNUC__ +--- spack-src/trimadap/ksw.c.bak 2020-01-06 19:27:20.000000000 +0900 ++++ spack-src/trimadap/ksw.c 2020-09-02 16:45:07.375298449 +0900 +@@ -26,7 +26,7 @@ + #include <stdlib.h> + #include <stdint.h> + #include <string.h> +-#include <emmintrin.h> ++#include <SSE2NEON.h> + #include "ksw.h" + + #ifdef __GNUC__ diff --git a/var/spack/repos/builtin/packages/fermikit/package.py b/var/spack/repos/builtin/packages/fermikit/package.py index 6775c1c0e5..c76cb0d6a8 100644 --- a/var/spack/repos/builtin/packages/fermikit/package.py +++ b/var/spack/repos/builtin/packages/fermikit/package.py @@ -17,6 +17,9 @@ class Fermikit(MakefilePackage): submodules=True) depends_on('zlib') + depends_on('sse2neon', when='target=aarch64:') + + patch('ksw_for_aarch64.patch', when='target=aarch64:') def install(self, spec, prefix): install_tree('fermi.kit', prefix.bin) |