[PATCH] D104755: gn build: Only build the TSan runtime on 64-bit platforms.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 22 14:45:18 PDT 2021
pcc created this revision.
pcc added a reviewer: thakis.
pcc requested review of this revision.
Herald added a project: LLVM.
TSan only supports 64-bit platforms.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104755
Files:
llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
Index: llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
+++ llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
@@ -7,8 +7,10 @@
deps += [
"//compiler-rt/lib/asan",
"//compiler-rt/lib/builtins",
- "//compiler-rt/lib/tsan",
"//compiler-rt/lib/ubsan_minimal",
]
+ if (current_cpu == "x64" || current_cpu == "arm64") {
+ deps += [ "//compiler-rt/lib/tsan" ]
+ }
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104755.353801.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210622/ff6f9bbf/attachment.bin>
More information about the llvm-commits
mailing list