Last active
February 15, 2016 06:21
-
-
Save wjlafrance/68eec1ae85836b4240cf to your computer and use it in GitHub Desktop.
Ubuntu 15.10 Swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create machine in VMware Workstation. Typical installation, 60GB disk, Ubuntu 15.10 Desktop x64 ISO. | |
Shut down machine, increase to 2 Processors / 1 Core Each, increase to 8GB RAM. | |
$ sudo apt-get update; sudo apt-get dist-upgrade | |
$ sudo apt-get install git cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config | |
$ sudo apt-get install gnome-flashback-session | |
Log out, change to Gnome Metacity session, log back in | |
# Add another 8GB of swap (default is 1GB, so we'll have 17GB total memory) | |
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=8M | |
$ sudo chown 0600 /swapfile | |
$ sudo mkswap /swapfile | |
$ sudo swapon /swapfile | |
# build swift -- it's what you're here for | |
$ mkdir ~/dev/oss/swift-oss && cd ~/dev/oss/swift-oss | |
$ cd swift && ./utils/update-checkout --clone | |
$ time ./utils/build-tool | |
# Remove unnecessary swap | |
$ sudo swapoff /swapfile | |
$ sudo rm /swapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even with 16GB of physical RAM it was still not enough. I gave up.