Skip to content

Instantly share code, notes, and snippets.

@colemancda
Created May 4, 2016 06:06
Show Gist options
  • Save colemancda/b4d91b3aa6ea2f1c8cf7ceecf86bb8c8 to your computer and use it in GitHub Desktop.
Save colemancda/b4d91b3aa6ea2f1c8cf7ceecf86bb8c8 to your computer and use it in GitHub Desktop.
Swift 3.0 ARM

Ubuntu 16.04 - Raspberry Pi 2

Revisions

Packages

$ apt-get install git \
cmake \
ninja-build \
clang \
python \
uuid-dev \
libicu-dev \
icu-devtools \
libedit-dev \
libxml2-dev \
libsqlite3-dev \
swig \
libpython-dev \
libncurses5-dev \
pkg-config

Script

$ utils/build-script -R --lldb -- \
--install-swift \
--install-lldb \
--install-prefix=/usr \
--install-destdir="/tmp/swift" \
'--swift-install-components=autolink-driver;compiler;clang-builtin-headers;stdlib;sdk-overlay;license' \
--reconfigure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment