Package: rocksdb Severity: normal Tags: patch Dear Maintainer,
Please build rocksdb for riscv64 as well. The "vg" package would appreciate it. Attached is a patch against your verion 6.6.4-1 source package in experimental. For compiling 5.17.2-3 on riscv64, the following extra CXXFLAGS are needed: -Wno-deprecated-copy -Wno-redundant-move -Wno-pessimizing-move Thanks! -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1), LANGUAGE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru rocksdb-6.6.4/debian/changelog rocksdb-6.6.4/debian/changelog --- rocksdb-6.6.4/debian/changelog 2020-02-18 19:34:59.000000000 +0100 +++ rocksdb-6.6.4/debian/changelog 2020-02-26 14:59:30.000000000 +0100 @@ -1,3 +1,11 @@ +rocksdb (6.6.4-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Build on riscv64 + * Build in parallel + + -- Michael R. Crusoe <[email protected]> Wed, 26 Feb 2020 14:59:30 +0100 + rocksdb (6.6.4-1) experimental; urgency=medium * New upstream release. diff -Nru rocksdb-6.6.4/debian/control rocksdb-6.6.4/debian/control --- rocksdb-6.6.4/debian/control 2020-02-18 19:34:59.000000000 +0100 +++ rocksdb-6.6.4/debian/control 2020-02-26 14:59:11.000000000 +0100 @@ -8,7 +8,7 @@ Package: librocksdb-dev Section: libdevel -Architecture: amd64 arm64 armel armhf ppc64el mips mipsel mips64el sparc64 s390x i386 +Architecture: amd64 arm64 armel armhf ppc64el mips mipsel mips64el sparc64 s390x i386 riscv64 Depends: ${misc:Depends}, librocksdb6.6 (= ${binary:Version}) Conflicts: librocksdb5.7 Replaces: librocksdb5.7 @@ -38,7 +38,7 @@ Package: librocksdb6.6 Section: libs -Architecture: amd64 arm64 armel armhf ppc64el mips mipsel mips64el sparc64 s390x i386 +Architecture: amd64 arm64 armel armhf ppc64el mips mipsel mips64el sparc64 s390x i386 riscv64 Depends: ${misc:Depends}, ${shlibs:Depends} Description: persistent Key-Value Store for Flash and RAM Storage C++ library providing an embedded key-value store, where keys and values are @@ -62,7 +62,7 @@ processors Package: rocksdb-tools -Architecture: amd64 arm64 armel armhf ppc64el mips mipsel mips64el sparc64 s390x i386 +Architecture: amd64 arm64 armel armhf ppc64el mips mipsel mips64el sparc64 s390x i386 riscv64 Depends: ${misc:Depends}, ${shlibs:Depends} Description: persistent Key-Value Store for Flash and RAM Storage (tools) C++ library providing an embedded key-value store, where keys and values are diff -Nru rocksdb-6.6.4/debian/rules rocksdb-6.6.4/debian/rules --- rocksdb-6.6.4/debian/rules 2020-01-14 20:39:26.000000000 +0100 +++ rocksdb-6.6.4/debian/rules 2020-02-26 14:59:30.000000000 +0100 @@ -6,7 +6,7 @@ include /usr/share/dpkg/architecture.mk -ifneq ($(filter $(DEB_HOST_ARCH),mips mipsel),) +ifneq ($(filter $(DEB_HOST_ARCH),mips mipsel riscv64),) export PLATFORM_LDFLAGS=-latomic endif @@ -16,8 +16,8 @@ endif override_dh_auto_build: - PORTABLE=1 make all - PORTABLE=1 make shared_lib + PORTABLE=1 dh_auto_build -- all + PORTABLE=1 dh_auto_build -- shared_lib override_dh_auto_install: dh_auto_install --destdir=$(CURDIR)/debian/tmp/usr/

