Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-11 Thread Jordan Rose via swift-dev
Ah! No, launch-with-toolchain's all that's supported. But it's an interesting direction to go. It'd be an Xcode feature more than a Swift feature, though, so bugs.swift.org isn't an appropriate place for the request. Glad everything's working manually now. Jordan > On Dec 10, 2015, at 22:09 ,

Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-10 Thread Jens Persson via swift-dev
Just to clarify (not sure if it's needed): Note that I can run Xcode with my custom toolchain, eg: xcrun launch-with-toolchain ./swift-SNAPSHOT-2015-12-11-a.xctoolchain What I want to know is the part about switching between the command line tools, not only between my Xcode and Xcode-beta (which I

Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-10 Thread Dmitri Gribenko via swift-dev
Mish Awadah probably knows about setting up a custom toolchain in Xcode. Dmitri On Thu, Dec 10, 2015 at 9:44 PM, Jens Persson wrote: > Thanks again, > I pulled the latest Swift repos which included the fix of the failing test > and modified the build preset locally according to Dmitri's advice a

Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-10 Thread Jens Persson via swift-dev
Thanks again, I pulled the latest Swift repos which included the fix of the failing test and modified the build preset locally according to Dmitri's advice and the build completes without problems. But now I wonder if there is a way to switch between the command line tools of Xcode, Xcode-beta and

Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-10 Thread Dmitri Gribenko via swift-dev
On Thu, Dec 10, 2015 at 7:41 AM, Jens Persson wrote: > Thanks! > I tried the above to compile with the buildbot_osx_package preset. It kind > of worked, but it failed while performing the tests. > (TEST 'Swift :: Driver/Dependencies/bindings-build-record.swift' FAILED) > So, I got a working swiftc

Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-10 Thread Jens Persson via swift-dev
Thanks! I tried the above to compile with the buildbot_osx_package preset. It kind of worked, but it failed while performing the tests. (TEST 'Swift :: Driver/Dependencies/bindings-build-record.swift' FAILED) So, I got a working swiftc etc but no package or toolchain or anything (at least as far as

Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-09 Thread Dmitri Gribenko via swift-dev
On Wed, Dec 9, 2015 at 5:54 PM, Jordan Rose via swift-dev < swift-dev@swift.org> wrote: > Looks like Mish Awadah has an answer on a later thread: > >./swift/utils/build-script --preset="buildbot_osx_package" > install_destdir="${SWIFT_INSTALL_DIR}" > installable_package="${SWIFT_INSTALLABLE_PA

Re: [swift-dev] Beginner's questions about building Swift from source etc.

2015-12-09 Thread Jordan Rose via swift-dev
Looks like Mish Awadah has an answer on a later thread: > Here’s what I’ve done in the past to build a toolchain using the build > script. > > function build_osx_package() { > >YEAR=$(date +"%Y") >MONTH=$(date +"%m") >DAY=$(date +"%d") >TOOLCHAIN_VERSION="swift-SNAPSHOT-${YEAR}