4 ms·
It's not the compilation that kills you, it's the sudden link at the end. Linking requires so much RAM it routinely succumbs to the OOM killer. Do you have a t
by ridiculous_fish 7y ago
It's not the compilation that kills you, it's the sudden link at the end. Linking requires so much RAM it routinely succumbs to the OOM killer.
Do you have a trick to link serially? I usually just do a `ninja -j 1` after the main build has failed.
- sanxiyn 7y agoYou can use LLVM_PARALLEL_LINK_JOBS.
- ridiculous_fish 7y agoThanks!