!11 Add riscv64 support
From: @misaka00251 Reviewed-by: @reganhe_xx Signed-off-by: @reganhe_xx
This commit is contained in:
commit
188eb9fd6c
19
add-riscv-support.patch
Normal file
19
add-riscv-support.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Author: misaka00251 <liuxin@iscas.ac.cn>
|
||||||
|
Date: Wed Sep 21 11:15:51 2022 +0800
|
||||||
|
|
||||||
|
Fix support for RISC-V.
|
||||||
|
|
||||||
|
diff --git a/c++/src/build-system/config.guess b/c++/src/build-system/config.guess
|
||||||
|
index f475ceb..57481db 100755
|
||||||
|
--- a/c++/src/build-system/config.guess
|
||||||
|
+++ b/c++/src/build-system/config.guess
|
||||||
|
@@ -979,6 +979,9 @@ EOF
|
||||||
|
ppc:Linux:*:*)
|
||||||
|
echo powerpc-unknown-linux-gnu
|
||||||
|
exit ;;
|
||||||
|
+ riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
+ exit ;;
|
||||||
|
s390:Linux:*:* | s390x:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-ibm-linux
|
||||||
|
exit ;;
|
||||||
@ -1,10 +1,13 @@
|
|||||||
Name: ncbi-blast
|
Name: ncbi-blast
|
||||||
Version: 2.12.0
|
Version: 2.12.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: NCBI BLAST finds regions of similarity between biological sequences.
|
Summary: NCBI BLAST finds regions of similarity between biological sequences.
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: https://blast.ncbi.nlm.nih.gov/Blast.cgi
|
URL: https://blast.ncbi.nlm.nih.gov/Blast.cgi
|
||||||
Source0: https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.12.0/ncbi-blast-2.12.0+-src.tar.gz
|
Source0: https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.12.0/ncbi-blast-2.12.0+-src.tar.gz
|
||||||
|
%ifarch riscv64
|
||||||
|
Patch0: add-riscv-support.patch
|
||||||
|
%endif
|
||||||
BuildRequires: lmdb lmdb-devel gcc-c++ make
|
BuildRequires: lmdb lmdb-devel gcc-c++ make
|
||||||
%description
|
%description
|
||||||
The NCBI Basic Local Alignment Search Tool (BLAST) finds regions of
|
The NCBI Basic Local Alignment Search Tool (BLAST) finds regions of
|
||||||
@ -43,6 +46,9 @@ cp c++/ReleaseMT/lib/* %{buildroot}%{_libdir}/ncbi-blast/
|
|||||||
%{_libdir}/ncbi-blast/*
|
%{_libdir}/ncbi-blast/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 24 2022 misaka00251 <liuxin@iscas.ac.cn> - 2.12.0-3
|
||||||
|
- Add riscv support
|
||||||
|
|
||||||
* Tue Feb 15 2022 herengui <herengui@uniontech.com> - 2.12.0-2
|
* Tue Feb 15 2022 herengui <herengui@uniontech.com> - 2.12.0-2
|
||||||
- add missing buildrquires.
|
- add missing buildrquires.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user