[swift-dev] How to export something similar to an xctoolchain for another platform

2016-05-15 Thread Andrew Hyatt via swift-dev
Hello swift-dev, I am cross compiling for iOS. Everything compiles fine, but at the install step things are very broken. My goal is for /tmp/install/swift to look like an xctoolchain. The install commands fail to create the necessary directories, and even when I create the directories, all t

Re: [swift-dev] The build system is ignoring swift-install-components when cross compiling

2016-04-06 Thread Andrew Hyatt via swift-dev
gt; > Andrew Hyatt > andythehy...@gmail.com <mailto:andythehy...@gmail.com> >> On Mar 28, 2016, at 5:56 PM, Andrew Hyatt via swift-dev > <mailto:swift-dev@swift.org>> wrote: >> >> It is worth noting that I am cross compiling on Mac OS X 10.11.3 x86_

Re: [swift-dev] The build system is ignoring swift-install-components when cross compiling

2016-03-30 Thread Andrew Hyatt via swift-dev
than what I am doing? Andrew Hyatt andythehy...@gmail.com > On Mar 28, 2016, at 5:56 PM, Andrew Hyatt via swift-dev > wrote: > > It is worth noting that I am cross compiling on Mac OS X 10.11.3 x86_64, and > compiling for an armv7s Darwin 15.0.0 platform. > > Andrew Hy

Re: [swift-dev] Requiring Xcode 7.3 to build Swift master for Apple platforms?

2016-03-29 Thread Andrew Hyatt via swift-dev
Agreed. The minimum OS X version for Xcode 7.3 is 10.11.0, which would make El Capitan required to run Swift 3.0. - Andrew Hyatt ahyatt...@icloud.com > On Mar 29, 2016, at 11:23, David Abraham via swift-dev > wrote: > > Would this be a temporary limitation? I'd prefer to see Swift available

Re: [swift-dev] The build system is ignoring swift-install-components when cross compiling

2016-03-28 Thread Andrew Hyatt via swift-dev
It is worth noting that I am cross compiling on Mac OS X 10.11.3 x86_64, and compiling for an armv7s Darwin 15.0.0 platform. Andrew Hyatt ahyatt...@icloud.com > On Mar 26, 2016, at 10:44 AM, Andrew Hyatt via swift-dev > wrote: > > swift-dev, > > The build system is igno

[swift-dev] The build system is ignoring swift-install-components when cross compiling

2016-03-26 Thread Andrew Hyatt via swift-dev
swift-dev, The build system is ignoring swift-install-components when cross compiling. The llvm-install-components are copied over cleanly, but the swift-install-components are ignored. An additional issue is that it still puts the products in the toolchain directory and ignores the specifie

[swift-dev] Issue cross compiling swift-llvm for iOS from OS X

2016-03-20 Thread Andrew Hyatt via swift-dev
I am having an issue cross compiling swift-llvm for iOS from OS X. This is my command: utils/build-script -R -i --host-target iphoneos-armv7s --no-assertions -c -- --native-llvm-tools-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ --user-config-ar

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 Andrew Hyatt via swift-dev
8. You need to email swift-dev to get support from Dmitri Gribenko and Vedant Kumar. Source: I wrote most of the compiler-rt builtin build system for Darwin. Andrew Hyatt ahyatt...@icloud.com > On Mar 19, 2016, at 9:26 AM, Andrew Hyatt via swift-dev > wrote: > > Building swift-llvm

[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 Andrew Hyatt via swift-dev
Building swift-llvm fails when using build-script to cross compile because build-script wrongly gives duplicate -isysroot arguments. The full arguments that are given to clang by build-script while building LLVM are here: https://gist.github.com/ahyattdev/8ecc5d3808b9ee543a60 The command I use

Re: [swift-dev] Issue cross compiling swift-llvm for iOS from OS X

2016-03-18 Thread Andrew Hyatt via swift-dev
More information. When I build natively with no additional arguments, the folder "build/Ninja-DebugAssert/llvm-macosx-x86_64/NATIVEā€ is created. No equivalent folder for armv7s is created when using the arguments in the previous message. "build/Ninja-DebugAssert/llvm-iphoneos-armv7s/NATIVE" i