Re: [swift-dev] Cross-compiling with Toolchain files

2016-03-15 Thread ChrisBieneman via swift-dev
Apologies for being *very* late to this thread and reviving it. I'm not super familiar with the swift build system or its planned evolution, but I can speak to what we're trying to do in LLVM. In LLVM & Clang we're taking steps to move away from building for multiple targets in the same CMake i

Re: [swift-dev] Building swift-llvm fails when using build-script to cross compile due to multiple -isysroot arguments being in CFLAGS

2016-03-19 Thread ChrisBieneman via swift-dev
[Adding Vedant directly] I'm not super familiar with the swift build scripts, but I have a theory of what is going wrong. I think the problem is that compiler-rt is being built during the cross build, and it really shouldn't be. The compiler-rt build system has some significant flaws, and it is

Re: [swift-dev] Building swift-llvm fails when using build-script to cross compile due to multiple -isysroot arguments being in CFLAGS

2016-03-19 Thread ChrisBieneman via swift-dev
> On Mar 19, 2016, at 4:30 PM, Vedant Kumar wrote: > > >> On Mar 19, 2016, at 12:05 PM, ChrisBieneman wrote: >> >> [Adding Vedant directly] >> >> I'm not super familiar with the swift build scripts, but I have a theory of >> what is going wrong. I think the problem is that compiler-rt is b