Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov 0001a693b9
Merge remote-tracking branch 'up/f31' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-09-21 09:00:33 +03:00
David Abdurachmanov decd5417fa
Add support for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-11-24 13:40:30 +01:00
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

@ -2,7 +2,7 @@
Name: botan
Version: %{major_version}.17
Release: 14%{?dist}
Release: 14.0.riscv64%{?dist}
Summary: Crypto library written in C++
License: BSD
@ -17,6 +17,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: python3
@ -80,6 +82,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
@ -191,6 +194,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
%changelog
* Sat Sep 21 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1.10.17-14.0.riscv64
- Add support for RISCV (riscv64)
* Wed Aug 14 2019 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-14
- Remove dependency on OpenSSL (for F31+).