[llvm] e8c8ce0 - [gn build] don't build ubsan_minimal on mac

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 19:21:40 PDT 2021


Author: Nico Weber
Date: 2021-06-22T22:21:20-04:00
New Revision: e8c8ce0974edca7bc21ce53826ff7b2c0456d70a

URL: https://github.com/llvm/llvm-project/commit/e8c8ce0974edca7bc21ce53826ff7b2c0456d70a
DIFF: https://github.com/llvm/llvm-project/commit/e8c8ce0974edca7bc21ce53826ff7b2c0456d70a.diff

LOG: [gn build] don't build ubsan_minimal on mac

It doesn't build there, see http://45.33.8.238/macm1/12180/step_4.txt

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
index eff5bfebbb14..ce32282c722a 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
@@ -1,13 +1,15 @@
 group("lib") {
   deps = [ "//compiler-rt/lib/profile" ]
   if (current_os == "linux") {
-    deps += [ "//compiler-rt/lib/msan" ]
+    deps += [
+      "//compiler-rt/lib/msan",
+      "//compiler-rt/lib/ubsan_minimal",
+     ]
   }
   if (current_os != "win") {
     deps += [
       "//compiler-rt/lib/asan",
       "//compiler-rt/lib/builtins",
-      "//compiler-rt/lib/ubsan_minimal",
     ]
     if (current_cpu == "x64" || current_cpu == "arm64") {
       deps += [ "//compiler-rt/lib/tsan" ]


        


More information about the llvm-commits mailing list