Re: mipsel out-of-memory building dolfinx 0.4.0
Mathieu Malaterre <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <CA+7wUsxTx3jAQxv4DE=QQxBMiaCHjR-57etsM+V3RNcvpDT4rw@mail.gmail.com> |
On Sun, Jun 12, 2022 at 11:38 PM Drew Parsons <[email protected]> wrote: > > Hi MIPS porters, I need helping with the build of fenics-dolfinx on > mipsel from experimental, > https://salsa.debian.org/science-team/fenics/fenics-dolfinx/-/tree/experimental > > It previously built fine, but the latest version 1:0.4.1 has evidently > grown large enough to break on mipsel. Here is what I used in openvdb: https://salsa.debian.org/multimedia-team/openvdb/-/blob/master/debian/rules#L28-32 # Disable optimization on mips* because the compiler is running out of memory # see #847752 / #879636 ifneq (,$(filter $(DEB_BUILD_ARCH_CPU), mips mipsel sh4)) CXXFLAGS:=$(filter-out -O2,$(CXXFLAGS)) --param ggc-min-expand=10 -O1 endif