[swift-users] memory requirements for building swift on linux?
daniel_dunbar at apple.com
Mon Dec 14 11:04:22 CST 2015
For those hitting this issue, you might try building without debug info to see if that helps (build-script -R).
> On Dec 14, 2015, at 6:55 AM, Kevin Lundberg via swift-users <swift-users at swift.org> wrote:
> I was able to build it on my 8GB macbook successfully, but there may be platform differences there that caused that.
> It seems that 4GB isn't enough either, fails when linking clang-3.8. I'll have to figure something else out for linux for me. Thanks!
> On 12/14/2015 9:30 AM, Tobias Scholze wrote:
>> to build Swift from the sources I used a 16 GB bare metal machine and it was not enough.
>> So I think, you need a lot of memory ( > 16 GB) to have fun while building it.
>> - Toby
>> Kevin Lundberg via swift-users < <mailto:swift-users at swift.org>swift-users at swift.org <mailto:swift-users at swift.org>> schrieb am Mo., 14. Dez. 2015 um 15:03 Uhr:
>> Hi All,
>> I've set up a linux VM (ubuntu 15.10) in virtualbox on my windows PC to
>> build and test swift on linux, but I've been unable to successfully
>> build it to completion. I have all the repos including the corelibs
>> cloned locally, and have followed all the steps as far as I know for
>> installing dependencies. Every time I build, it fails somewhere during
>> linking, the last time failing when linking "CXX shared library
>> I don't have the full error, but I'm curious if there's some RAM
>> requirement for building swift. My VM had 2GB, and I just bumped it up
>> to 4GB to try again. Has anyone else run into this, and is there a
>> recommended minimum needed to successfully build swift with? Could
>> something else be the cause here instead of RAM if 2GB is in fact enough?
>> swift-users mailing list
>> swift-users at swift.org <mailto:swift-users at swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-users <https://lists.swift.org/mailman/listinfo/swift-users>
> swift-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users