Source: liggghts Version: 3.5.0+repack1-10 Severity: important Tags: patch With the following changes liggghts should build on mips/mipsel (build was successful on minkus): - add mips/mipsel to disable_auto_test_archs_simpl - don't generate debug info on mips/mipsel, addressing virtual memory exhausted: Cannot allocate memory
--- debian/rules.old 2017-06-27 01:15:42.358470648 +0000 +++ debian/rules 2017-06-27 01:16:10.791802379 +0000 @@ -7,7 +7,15 @@ export OMPI_MCA_plm_rsh_agent=/bin/false #workaround to start MPI-applications in chroot export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -disable_auto_test_archs_simpl = armel armhf mips64el +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +# no debug info to fix FTBFS on archs with few address space +ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel)) + export DEB_CFLAGS_MAINT_APPEND = -g0 + export DEB_CXXFLAGS_MAINT_APPEND = -g0 +endif + +disable_auto_test_archs_simpl = armel armhf mips mipsel mips64el disable_auto_test_archs_mpi = hurd-i386 mips mipsel mips64el s390 s390x powerpc override_dh_auto_test: -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers