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
andythehy...@gmail.com

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to