Skip to content

Commit 73a3d66

Browse files
authored
Merge pull request #67339 from apple/revert-64629-spm-cc
Revert "build: bootstrap SwiftPM with forked and not host clang"
2 parents 03e1bb2 + a3dd8d6 commit 73a3d66

File tree

1 file changed

+1
-2
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+1
-2
lines changed

utils/swift_build_support/swift_build_support/products/swiftpm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def run_bootstrap_script(self, action, host_target, additional_params=[]):
4848

4949
toolchain_path = self.native_toolchain_path(host_target)
5050
swiftc = os.path.join(toolchain_path, "bin", "swiftc")
51-
clang = os.path.join(toolchain_path, "bin", "clang")
5251

5352
# FIXME: We require llbuild build directory in order to build. Is
5453
# there a better way to get this?
@@ -68,7 +67,7 @@ def run_bootstrap_script(self, action, host_target, additional_params=[]):
6867

6968
helper_cmd += [
7069
"--swiftc-path", swiftc,
71-
"--clang-path", clang,
70+
"--clang-path", self.toolchain.cc,
7271
"--cmake-path", self.toolchain.cmake,
7372
"--ninja-path", self.toolchain.ninja,
7473
"--build-dir", self.build_dir,

0 commit comments

Comments
 (0)