[pkg-go] Limiting number of "link" instances -- how?
Dmitry Smirnov
onlyjob at debian.org
Thu Nov 12 16:15:57 UTC 2015
Hi team,
My system cripples when I build heavy Golang application that produces
multiple executables.
The problem is that build process starts multiple instances (as many as there
are CPUs on system) of "/usr/lib/go/pkg/tool/linux_amd64/link" in parallel
and that devours system resources.
I've tried
export GOMAXPROCS=1
dh --max-parallel=1
DEB_BUILD_OPTIONS="parallel=1"
debuild -j1
but nothing helped...
How can I restrict number of Go link processes?
Thanks.
--
Best wishes,
Dmitry Smirnov.
---
Good luck happens when preparedness meets opportunity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20151113/f6672364/attachment.sig>
More information about the Pkg-go-maintainers
mailing list