File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 1- diff --git a/swift/utils/swift_build_support/swift_build_support/cmake.py b/swift/utils/swift_build_support/swift_build_support/cmake.py
2- index bfb69965890..b5e9f5349c2 100644
3- --- a/swift/utils/swift_build_support/swift_build_support/cmake.py
4- +++ b/swift/utils/swift_build_support/swift_build_support/cmake.py
5- @@ -153,10 +153,8 @@ class CMake(object):
6- toolchain_path = product.native_toolchain_path(args.host_target)
7- cmake_swiftc_path = os.getenv('CMAKE_Swift_COMPILER',
8- os.path.join(toolchain_path, 'bin', 'swiftc'))
9- - define("CMAKE_C_COMPILER:PATH", os.path.join(toolchain_path,
10- - 'bin', 'clang'))
11- - define("CMAKE_CXX_COMPILER:PATH", os.path.join(toolchain_path,
12- - 'bin', 'clang++'))
13- + define("CMAKE_C_COMPILER:PATH", toolchain.cc)
14- + define("CMAKE_CXX_COMPILER:PATH", toolchain.cxx)
15- define("CMAKE_Swift_COMPILER:PATH", cmake_swiftc_path)
16- else:
17- cmake_swiftc_path = os.getenv('CMAKE_Swift_COMPILER', toolchain.swiftc)
181diff --git a/swift/utils/swift_build_support/swift_build_support/products/product.py b/swift/utils/swift_build_support/swift_build_support/products/product.py
192index 47e7ab79905..d88c3c242ad 100644
203--- a/swift/utils/swift_build_support/swift_build_support/products/product.py
Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ for arch in $archs; do
408408
409409 case $build_compiler in
410410 1|true|yes|YES)
411- build_cmark=" "
411+ build_cmark=" --install-llvm "
412412 local_build=" "
413413 build_llvm=" 1"
414414 build_swift_tools=" 1"
You can’t perform that action at this time.
0 commit comments