Source: paryfor Version: 0.1-5 Severity: wishlist Tags: ftbfs, patch User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org
Dear Maintainer, The package fail to build on riscv64 in the past: https://buildd.debian.org/status/logs.php?pkg=paryfor&arch=riscv64 But now the package can be built on riscv64 from upstream support: https://github.com/ekg/paryfor/commit/2383b62f53175950a5fcd75bdf6d68774311b496 I can built it on my local riscv64 hardware with the commit, so could you include it on next upload? Please let me know any issues. -- Regards, -- Bo YU
diff -Nru paryfor-0.1/debian/changelog paryfor-0.1/debian/changelog --- paryfor-0.1/debian/changelog 2022-11-28 04:38:43.000000000 +0800 +++ paryfor-0.1/debian/changelog 2024-01-15 15:36:05.000000000 +0800 @@ -1,3 +1,10 @@ +paryfor (0.1-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Support riscv64 build. (Closes: #-1) + + -- Bo YU <tsu.y...@gmail.com> Mon, 15 Jan 2024 15:36:05 +0800 + paryfor (0.1-5) unstable; urgency=medium * Team upload. diff -Nru paryfor-0.1/debian/patches/series paryfor-0.1/debian/patches/series --- paryfor-0.1/debian/patches/series 2022-11-28 04:38:43.000000000 +0800 +++ paryfor-0.1/debian/patches/series 2024-01-15 15:32:58.000000000 +0800 @@ -1 +1,2 @@ Fix-compilation-flags.patch +support_riscv64.patch diff -Nru paryfor-0.1/debian/patches/support_riscv64.patch paryfor-0.1/debian/patches/support_riscv64.patch --- paryfor-0.1/debian/patches/support_riscv64.patch 1970-01-01 07:30:00.000000000 +0730 +++ paryfor-0.1/debian/patches/support_riscv64.patch 2024-01-15 15:36:05.000000000 +0800 @@ -0,0 +1,23 @@ +Description: support riscv64 build +Applied-Upstream: https://github.com/ekg/paryfor/commit/2383b62f53175950a5fcd75bdf6d68774311b496 +Last-Update: 2024-01-15 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/paryfor.hpp ++++ b/paryfor.hpp +@@ -51,6 +51,15 @@ + } + } // namespace atomic_queue + } // namespace paryfor ++#elif defined(__riscv) && (__riscv_xlen == 64) ++namespace paryfor { ++namespace atomic_queue { ++constexpr int CACHE_LINE_SIZE = 64; ++static inline void spin_loop_pause() noexcept { ++ asm volatile ("nop" ::: "memory"); ++} ++} // namespace atomic_queue ++} // namespace paryfor + #else + #error "Unknown CPU architecture." + #endif
signature.asc
Description: PGP signature