Add support for RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-11-24 13:40:30 +01:00
parent eba0fb3b88
commit decd5417fa
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,7 @@
diff --git a/src/build-data/arch/riscv64.txt b/src/build-data/arch/riscv64.txt
new file mode 100644
index 0000000..6e5e0ff
--- /dev/null
+++ b/src/build-data/arch/riscv64.txt
@@ -0,0 +1 @@
+endian little

View File

@ -6,7 +6,7 @@
Name: botan
Version: %{major_version}.17
Release: 9%{?dist}
Release: 9.0.riscv64%{?dist}
Summary: Crypto library written in C++
Group: System Environment/Libraries
@ -22,6 +22,8 @@ Patch0: botan-1.10.5-ecc-fix.patch
Patch1: botan-boost_python.patch
# Fix wrong path
Patch2: botan-1.10.13-python-init.patch
# Add RISC-V (riscv64)
Patch3: Botan-1.10.17-add-riscv64.patch
BuildRequires: gcc-c++
BuildRequires: python2
@ -125,6 +127,7 @@ interfaces may change in the future.
%patch0 -p1 -b .eccfix
%patch1 -p1
%patch2 -p1
%patch3 -p1 -b .riscv64
# These tests will fail.
rm -rf checks/ec_tests.cpp
@ -261,6 +264,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
%changelog
* Sat Nov 24 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1.10.17-9.0.riscv64
- Add support for RISCV (riscv64)
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild