[llvm] c636274 - [gn] Enable check-lsan on Linux
Leonard Grey via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 14:06:32 PDT 2023
Author: Leonard Grey
Date: 2023-07-07T17:05:53-04:00
New Revision: c636274e273febf051f6776175cde16684b25d23
URL: https://github.com/llvm/llvm-project/commit/c636274e273febf051f6776175cde16684b25d23
DIFF: https://github.com/llvm/llvm-project/commit/c636274e273febf051f6776175cde16684b25d23.diff
LOG: [gn] Enable check-lsan on Linux
Added:
Modified:
llvm/utils/gn/secondary/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/test/lsan/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/BUILD.gn b/llvm/utils/gn/secondary/BUILD.gn
index 2e8ee4332ef7c5..af7f1e8f1f78f3 100644
--- a/llvm/utils/gn/secondary/BUILD.gn
+++ b/llvm/utils/gn/secondary/BUILD.gn
@@ -26,7 +26,7 @@ group("default") {
deps += [ "//compiler-rt/test/asan" ]
}
- if (current_os == "mac") {
+ if (current_os == "linux" || current_os == "mac") {
deps += [ "//compiler-rt/test/lsan"]
}
diff --git a/llvm/utils/gn/secondary/compiler-rt/test/lsan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/lsan/BUILD.gn
index 8b6ea06c7df6be..4fb375f06caae3 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/lsan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/test/lsan/BUILD.gn
@@ -40,8 +40,7 @@ if (current_toolchain != host_toolchain) {
}
supported_toolchains = []
-# TODO(lgrey): Test Linux
-if (host_os == "mac") {
+if (host_os == "linux" || host_os == "mac") {
supported_toolchains += [ "//llvm/utils/gn/build/toolchain:stage2_unix" ]
}
More information about the llvm-commits
mailing list