[llvm] b3d33f5 - [gn build] make "all" target build

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 11:22:04 PDT 2020


Author: Nico Weber
Date: 2020-09-16T14:21:48-04:00
New Revision: b3d33f5e838f8a181feb391fc96e74e3bb6be110

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

LOG: [gn build] make "all" target build

If you want to build everything, building the default target
via just `ninja` is better, but `ninja all` shouldn't give you
compile errors -- this fixes that.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
index 1143b265a377..c8c057f85cd3 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
@@ -27,6 +27,8 @@ group("scudo") {
 # This target is unused, it only exists to satisfy
 # sync_source_lists_from_cmake.py.
 source_set("sources") {
+  configs -= [ "//llvm/utils/gn/build:llvm_code" ]
+  configs += [ "//llvm/utils/gn/build:crt_code" ]
   sources = [
     "scudo_allocator.cpp",
     "scudo_allocator.h",


        


More information about the llvm-commits mailing list