On Mon, 14 Oct 2019 16:50:31 +0100
Ankur Sinha <sanjay.an...@gmail.com> wrote:

> Hello,
> 
> I'm working on packaging up graph-tool[1] for SciTech/NeuroFedora. The
> spec file is a WIP here[2].  I've not yet managed to complete a
> build---it managed to get my F31 server machine to go completely
> unresponsive when I had tried last evening---used up all the memory
> (32G) and most of the swap (15G). Upstream documents that they make
> heavy use of templates[3], and so the builds take quite a bit of time.
> 
> My scratch build here has been running for ~7 hours now[4]. Any
> tips/tricks on speeding up the build?

how many CPUs are in the server?

the usual trick is to reduce debuginfo verbosity with

%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')

and/or reduce parallelism during build (eg. make -j1)


                Dan
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to