Add support for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-20 09:37:49 +02:00
parent f3877e62a7
commit f952b17ccc
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 13 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: 35%{?dist}
Release: 35.0.riscv64%{?dist}
Summary: Crypto library written in C++
License: BSD
@ -21,6 +21,8 @@ Patch2: botan-1.10.13-python-init.patch
Patch3: botan-1.10.17-doc-conf-2to3.patch
# Fix FTBFS
Patch4: botan-1.10.17-u64bit.patch
# Add RISC-V (riscv64)
Patch9: Botan-1.10.17-add-riscv64.patch
BuildRequires: gcc-c++
BuildRequires: python3
@ -195,6 +197,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
%changelog
* Mon Mar 20 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1.10.17-35.0.riscv64
- Add support for riscv64
* Sun Jan 22 2023 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-35
- Add patch to fix FTBFS.