Set of scripts for building and packaging Swift on Ubuntu Linux
Shell Python Swift
Latest commit bab7ec5 Sep 16, 2016 @iachievedit committed on GitHub Update README.md
Additional packages required for building swift-3.0
Permalink
Failed to load latest commit information.
DEBIAN
crosscompile_support
patches
.gitignore
README.md
clean.sh
crosscompile_build.sh
crosscompile_get.sh
debpackage.sh
distclean.sh
get.sh
jenkins_build.sh
package.sh
patch.sh
reprepro.sh
swiftrevs-2.2.swift
swiftrevs.swift
update.sh

README.md

package-swift

A set of helper scripts for building and packaging Swift on Ubuntu Linux

See companion instructions at http://dev.iachieved.it/iachievedit/keeping-up-with-open-source-swift/

Before executing any scripts will you want to have all of the build prerequisites installed:

sudo apt-get install git cmake ninja-build clang uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config autoconf libtool systemtap-sdt-dev libcurl4-openssl-dev

Note: For those building on Ubuntu 14.04, you will need to upgrade your cmake to 3.4.3 by hand. See our companion post here: http://dev.iachieved.it/iachievedit/upgrading-cmake-for-a-happier-swift-build/.

Usage:

./get.sh to initially populate the directory with the Swift repositories from Github
./package.sh to build and package everything
./update.sh to refresh your source code with the latest from Github
./clean.sh to delete the build and install directory
./distclean.sh to delete everything except the helper scripts

Internally I use packagedeb.sh to create an Debian package for distribution via a repository and apt-get.

Swift CI Build Status

The Swift continuous integration build server hosts packaging jobs that build and package all of the Swift components for OS X, Ubuntu 14.04, and Ubuntu 15.10. If the package.sh script in this repository fails you may want to look at the current status of the canonical builds:

  • Ubuntu 14.04 Build Status
  • Ubuntu 15.10 Build Status