<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>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.&nbsp;<br><br>Andrew Hyatt<div><a href="mailto:ahyattdev@icloud.com">ahyattdev@icloud.com</a></div></div><div><br>On Mar 26, 2016, at 10:44 AM, Andrew Hyatt via swift-dev &lt;<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div class="">swift-dev,</div><div class=""><br class=""></div><div class="">The build system is ignoring swift-install-components when cross compiling.&nbsp;</div><div class=""><br class=""></div><div class="">The llvm-install-components are copied over cleanly, but the swift-install-components are ignored.&nbsp;</div><div class=""><br class=""></div><div class="">An additional issue is that it still puts the products in the toolchain directory and ignores the specified prefix, despite a blank toolchain prefix being specified.&nbsp;</div><div class=""><br class=""></div><div class="">The expected layout of install-destdir: /usr/local/ *everything from llvm-install-components and swift-install-components*</div><div class=""><br class=""></div><div class="">Actual layout:&nbsp;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/ &nbsp;*everything from llvm-install-components*</div><div class=""><br class=""></div><div class="">My build command:</div><div class=""><br class=""></div>utils/build-script -i --no-assertions -- \<div class="">--cross-compile-tools-deployment-targets "iphoneos-armv7s” \<div class="">--user-config-args="-DLLVM_ENABLE_BACKTRACES=Off -DSWIFT_BUILD_SOURCEKIT=FALSE”&nbsp;\<div class="">--install-destdir=/Users/andyhyatt/src/inst --install-prefix=/usr/local/ \</div><div class="">--swift-install-components "compiler;stdlib;clang-builtin-headers” \</div><div class="">--llvm-install-components "clang;libclang;libclang-headers” \</div><div class="">--toolchain-prefix=“/"</div><div class=""><br class=""></div><div class="">Also, is there any way to get a list of valid components for llvm-install-components?&nbsp;</div><div class=""><br class=""></div><div class="">There is a CMake variable called _SWIFT_KNOWN_INSTALL_COMPONENTS that is defined here:&nbsp;<a href="https://github.com/apple/swift/blob/de8322951cf4863acb69f489a6feaee20532215b/CMakeLists.txt#L85" class="">https://github.com/apple/swift/blob/de8322951cf4863acb69f489a6feaee20532215b/CMakeLists.txt#L85</a></div><div class=""><br class=""></div><div class="">I was unable to find an equivalent definition for LLVM.&nbsp;<br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Andrew Hyatt</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:andythehyatt@gmail.com" class="">andythehyatt@gmail.com</a></div>

</div>
<br class=""></div></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-dev mailing list</span><br><span><a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-dev">https://lists.swift.org/mailman/listinfo/swift-dev</a></span><br></div></blockquote></body></html>