[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#967901: lower memory usage for riscv build



Package: pandoc
Version: 2.9.1.1-3
Tags: patch

Could you add riscv64 to the list of architecture where build needs a reduced memory usage? The change has been added to Ubuntu and is the only delta between the distribution

Thanks

diff -Nru pandoc-2.9.1.1/debian/changelog pandoc-2.9.1.1/debian/changelog
--- pandoc-2.9.1.1/debian/changelog	2020-07-30 15:31:00.000000000 +0200
+++ pandoc-2.9.1.1/debian/changelog	2020-08-04 17:10:56.000000000 +0200
@@ -1,3 +1,9 @@
+pandoc (2.9.1.1-4) unstable; urgency=medium
+
+  * debian/rules: reduce compile-time memory utilization on riscv
+
+ -- Sebastien Bacher <seb128@debian.org>  Tue, 04 Aug 2020 17:10:56 +0200
+
 pandoc (2.9.1.1-3) unstable; urgency=medium
 
   * tune build for weak targets:
diff -Nru pandoc-2.9.1.1/debian/rules pandoc-2.9.1.1/debian/rules
--- pandoc-2.9.1.1/debian/rules	2020-07-30 15:22:39.000000000 +0200
+++ pandoc-2.9.1.1/debian/rules	2020-08-04 17:10:56.000000000 +0200
@@ -178,7 +178,7 @@
 DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="+RTS -V0 -RTS"
 
 # Reduce compile-time memory utilization on low-memory architectures
-ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf hppa mips mipsel))
+ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf hppa mips mipsel riscv64))
 DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10 -O0"
 endif
 

Reply to: