> On Dec 10, 2015, at 11:07 AM, Dmitri Gribenko <griboz...@gmail.com> wrote: > > On Thu, Dec 10, 2015 at 9:59 AM, Daniel Dunbar <daniel_dun...@apple.com > <mailto:daniel_dun...@apple.com>> wrote: >> Actually, I am retracting this suggestion in favor of what I think is a >> better one: >> >> What if we change the build process to build up a "composed package" as part >> of the regular build. We would clear this at the start of each build, and >> then build up the installed compiler + libraries + package manager as each >> project completed its build (basically just using the same install logic >> into a side location). >> >> This has a number of benefits: >> >> - At the end of the build, we have a "build/<config>/bin" directory which >> has a functioning compiler. >> - Each project in the chain can use the composed build to work with. So for >> example, the package manager can build with the compiler + xctest as they >> are expected to look in a package. This would reduce some complexity in our >> build process, and be more maintainable. >> - This solution scales better if/when we add more projects. >> - This solution also lets the build easily sub in an "prebuilt package" into >> the build process (it just means pointing at a different composed package). >> >> Thoughts? > > My concern is that copying files around will significantly increase > the build time for everyone because of I/O. Debug builds of Swift are > quite large (> 700 Mb IIRC).
My thought here was to use rsync and its options for creating hard links where possible. This makes the copying very cheap... - Daniel > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if > (j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com > <mailto:griboz...@gmail.com>>*/
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users