Building Swift from source

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.

Thanks,

Mohit

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

Alex

ยทยทยท

On 21 Feb 2017, at 04:38, Mohit Athwani via swift-users <swift-users@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.