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

Bug#965121: pandoc: FTBFS on armel, armhf, mipsel: out of memory



Quoting Adrian Bunk (2020-07-30 14:50:11)
> The patch below is tested on armel and mipsel.
> 
> cu
> Adrian
> 
> --- pandoc-2.9.1.1/debian/rules 2020-07-16 18:12:12.000000000 +0300
> +++ pandoc-2.9.1.1/debian/rules 2020-07-16 18:13:21.000000000 +0300
> @@ -178,8 +178,8 @@
>  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 mips mipsel))
> -DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=5"
> +ifneq (,$(filter $(DEB_HOST_ARCH),armel armhf hppa mips mipsel))
> +DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10 -O0"
>  endif
>  
>  DEB_ENABLE_TESTS = yes

Great!

I would organizxe the options a bit different (e.g. to avoid confusion 
over redifining for armhf), but am otherwise happy to proceed with this 
unless anyone objects or has other input (@Locusofberg?)...


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: