<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">swift-dev,</div><div class=""><br class=""></div><div class="">The build system is ignoring swift-install-components when cross compiling. </div><div class=""><br class=""></div><div class="">The llvm-install-components are copied over cleanly, but the swift-install-components are ignored. </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. </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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/ *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” \<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? </div><div class=""><br class=""></div><div class="">There is a CMake variable called _SWIFT_KNOWN_INSTALL_COMPONENTS that is defined here: <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. <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></body></html>