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

Andrew Hyatt andythehyatt at gmail.com
Sat Mar 19 11:26:38 CDT 2016


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 to build the compiler, using the latest sources from GitHub

utils/build-script -R -i -- --cross-compile-tools-deployment-targets "iphoneos-arm64 iphoneos-armv7 iphoneos-armv7s" --user-config-args="-DLLVM_ENABLE_BACKTRACES=Off"

This error occurs after the phase of building llvm for the host machine, and occurs during the cross compilation phase.

Andrew Hyatt
andythehyatt at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160319/d1523ec4/attachment.html>


More information about the swift-dev mailing list