From f3c4747318252295f7bbe2a2f037b15012c4f2f0 Mon Sep 17 00:00:00 2001 From: t-nojiri <68096132+t-nojiri@users.noreply.github.com> Date: Sat, 5 Sep 2020 02:52:10 +0900 Subject: fermikit: added support for aarch64 (#18480) --- .../packages/fermikit/ksw_for_aarch64.patch | 44 ++++++++++++++++++++++ .../repos/builtin/packages/fermikit/package.py | 3 ++ 2 files changed, 47 insertions(+) create mode 100644 var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch (limited to 'var') 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 + #include + #include +-#include ++#include + #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 + #include +-#include ++#include + #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 + #include +-#include ++#include + #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 + #include + #include +-#include ++#include + #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) -- cgit v1.2.3-70-g09d2