[LLVMdev] CMake pools for linking?

Mikael Lyngvig mikael at lyngvig.org
Sat Nov 16 15:31:24 PST 2013


Hi,

I've noticed on both PCs and ARM boards that it is the linking process that
"brings down" the system (makes it swap if it is not equipped with plenty
of RAM).  So I have been thinking if it would be possible to use the CMake
pool feature to make the LLVM build system only issue one link command at a
time - it seems a bit unfortunate that N simultaneous link commands are
issued when you pretty much know beforehand that the system is only likely
to be able to serve one link command, if that much, given its
less-than-optimal-amount of memory.

I just want to hear if this is something that anybody is willing to look
into - and if it is something that should be looked into at all?  I don't
think I can figure this out on my own and I think it would be rather easy
for somebody familiar with CMake.

I notice that there are a lot of low-end machines on the builders list in
Zorg, so I cannot be the only one who would experience this addition as
great.


Sincerely,
Mikael Lyngvig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131117/0e652b13/attachment.html>


More information about the llvm-dev mailing list