We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0919f98 commit 06e7a5eCopy full SHA for 06e7a5e
utils/swift_build_support/swift_build_support/products/tsan_libdispatch.py
@@ -48,13 +48,15 @@ def should_build(self, host_target):
48
49
def build(self, host_target):
50
"""Build TSan runtime (compiler-rt)."""
51
- rt_source_dir = join_path(self.source_dir, os.pardir, 'compiler-rt')
+ rt_source_dir = join_path(
52
+ self.source_dir, os.pardir,
53
+ 'llvm-project', 'compiler-rt')
54
toolchain_path = join_path(self.args.install_destdir, 'usr')
55
clang = join_path(toolchain_path, 'bin', 'clang')
56
clangxx = join_path(toolchain_path, 'bin', 'clang++')
57
58
config_cmd = [
- 'cmake',
59
+ self.toolchain.cmake,
60
'-GNinja',
61
'-DCMAKE_PREFIX_PATH=%s' % toolchain_path,
62
'-DCMAKE_C_COMPILER=%s' % clang,
0 commit comments