Normally when we build dispatch, we use the version of clang that is being built along with the swift compiler (not the clang on the build machine).
This is done in build-script-impl by setting CC, CXX, etc before invoking configure. with_pushd "${LIBDISPATCH_BUILD_DIR}" \ call env CC="${LLVM_BIN}/clang" CXX="$ {LLVM_BIN}/clang++" SWIFTC="${SWIFTC_BIN}" \ "${LIBDISPATCH_SOURCE_DIR}"/configure --with-swift-toolchain="${SWIFT_BUILD_PATH}" \ --with-build-variant= $dispatch_build_variant_arg \ --prefix="$(get_host_install_destdir ${host})$ (get_host_install_prefix ${host})" --dave From: Jordan Rose via swift-dev <swift-dev@swift.org> To: swift-dev <swift-dev@swift.org>, alb...@apple.com Date: 01/10/2017 05:32 PM Subject: Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 - Long Test (master) #505 Sent by: swift-dev-boun...@swift.org Alex, I think this was revealed by your commit, but it seems like it should have always been a problem for swift-corelibs-libdispatch. Any ideas? Jordan On Jan 10, 2017, at 14:29, no-re...@swift.org wrote: [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04-long-test [#505] Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04-long-test/505/ Project: oss-swift-incremental-RA-linux-ubuntu-14_04-long-test Date of Tue, 10 Jan 2017 14:09:04 -0800 build: Build 20 min duration: Identified problems: Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log: Indication 1 Changes Commit 7159f6af1daa197b7c72a0f86bfd4cf12e886af9 by alblue: Enable sourcekitd to be built by default on Linux edit: tools/SourceKit/CMakeLists.txt edit: CMakeLists.txt Commit f2fb1e9d93a73d5a63a7b31ae92451a3dbd662d7 by github: [Sema] Record invalid protocol witnesses to avoid re-diagnosis. (#6698) edit: test/ClangImporter/objc_parse.swift edit: lib/Sema/TypeCheckProtocol.cpp Commit 1f2121377ea66c89a1f9560342d1896b480a2d6a by github: Infer selectors from protocols for property accessors too. (#6634) edit: test/decl/protocol/objc.swift edit: lib/Sema/TypeCheckProtocol.cpp edit: lib/Sema/TypeCheckType.cpp Commit 33ed7679336fcfaabe3f0adde61b09543ebd7886 by github: [ClangImporter] Preserve the names of imported ObjC properties. (#6182) edit: test/SILGen/objc_keypath.swift edit: test/SILGen/Inputs/usr/include/Gizmo.h edit: lib/ClangImporter/ImportDecl.cpp edit: test/PrintAsObjC/Inputs/custom-modules/override.h edit: test/PrintAsObjC/override.swift Commit e2c9e246d7b5c92fa50a880c2c0de0eed804c6f5 by jordan_rose: Add @versioned declarations to fix s390x build (#6708) edit: stdlib/public/core/Builtin.swift _______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
_______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev