[swift-dev] ccache and/or distcc for swift
obonilla at linkedin.com
Wed Sep 28 19:06:39 CDT 2016
Yeah, speeding up builds from scratch is the case I'm trying to solve.
I'm willing to dedicate time to solve the problem but I'm unfamiliar with
the swift source base so I would need a lot of guidance ;)
I am looking at Xcode + Swift. I'm currently using xcodebuild from the
command line for the builds. However, I would not mind moving away from
xcodebuild and using something else. I just figured the swift compiler
would need to help or I would just be chasing my own tail trying to deal
with dependencies from an external build system.
Staff Software Engineer
obonilla at linkedin.com
On Wed, Sep 28, 2016 at 2:16 PM, Daniel Dunbar <daniel_dunbar at apple.com>
> Ah, if you are specifically asking about the case of speeding up builds
> from scratch using cached results, that *is* somewhat doable, but it is
> still true that I don't know of an existing system for managing it for you.
> I want llbuild + swiftc to grow in the direction of being able to solve
> that problem, but no one is actively working on it. If it is something you
> were interested in contributing to (bearing in mind it is a very large
> project) or just pick up and adopt? Also, is this something you were
> looking for just in the context of Swift, or in the Xcode + Swift context?
> - Daniel
> On Sep 28, 2016, at 2:00 PM, Oscar Bonilla via swift-dev <
> swift-dev at swift.org> wrote:
> Primarily many builds from scratch. Specifically for a CI pipeline. That's
> why I was also wondering about distcc, so the build objects could be cached
> and shared among many machines.
> *Oscar Bonilla*
> Staff Software Engineer
> Tools Group
> obonilla at linkedin.com
> On Tue, Sep 27, 2016 at 11:52 AM, Kevin Choi <code.kchoi at gmail.com> wrote:
>> Just curious, are there scenarios other than simple local build that you
>> wish to speed up? I don't know if ccache offers much more than incremental
>> build by existing build systems.
>> On Tue, Sep 27, 2016 at 11:09 AM, Oscar Bonilla via swift-dev <
>> swift-dev at swift.org> wrote:
>>> Hello swift developers,
>>> I was wondering if any of you knows anything about something
>>> like ccache and/or distcc for swift.
>>> Basically, what I want is to speed up compiles by caching the result
>>> (like ccache does) and then reusing the compilation results across
>>> multiple machines.
>>> Does anything like that exist for swift? I looked at ccache but they
>>> don't support swift and I couldn't find anything on distcc either.
>>> swift-dev mailing list
>>> swift-dev at swift.org
> swift-dev mailing list
> swift-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev