Re: Packaging graph-tool: help speeding up build

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

 



On Mon, 14 Oct 2019 16:50:31 +0100
Ankur Sinha <sanjay.ankur@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux