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)
18
1
diff --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
19
2
index 47e7ab79905..d88c3c242ad 100644
20
3
--- 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
408
408
409
409
case $build_compiler in
410
410
1|true|yes|YES)
411
- build_cmark=" "
411
+ build_cmark=" --install-llvm "
412
412
local_build=" "
413
413
build_llvm=" 1"
414
414
build_swift_tools=" 1"
You can’t perform that action at this time.
0 commit comments