[swift-users] Building Swift from source
Alex Blewitt
alblue at apple.com
Tue Feb 21 04:58:39 CST 2017
> On 21 Feb 2017, at 04:38, Mohit Athwani via swift-users <swift-users at swift.org> wrote:
>
> To compile, I've been using:
> ./swift/utils/build-script --preset=buildbot_linux_1604 install_destdir=/tmp/install installable_package=/tmp/swift.tar.gz
>
> This process takes a very long time. I was wondering if there was a quicker way for subsequent builds.
If you're just testing whether you can build successfully or not, then you could use the buildbot_incremental_linux preset. You can also build a version standalone without using a preset, like build-script --release
The commands that a preset corresponds to are stored in
https://github.com/apple/swift/blob/master/utils/build-presets.ini
Alex
More information about the swift-users
mailing list