From f455101badc2339fc7a17dab2d66f5969d82d812 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 21 Jun 2012 22:17:51 +0000 Subject: [PATCH 1/1] llvm/unittests: Simplify LINK_COMPONENTS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158942 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Analysis/Makefile | 2 +- unittests/Bitcode/Makefile | 2 +- unittests/ExecutionEngine/CMakeLists.txt | 2 -- unittests/ExecutionEngine/JIT/CMakeLists.txt | 1 - unittests/ExecutionEngine/JIT/Makefile | 2 +- unittests/ExecutionEngine/Makefile | 2 +- unittests/Transforms/Utils/Makefile | 2 +- unittests/VMCore/CMakeLists.txt | 2 -- unittests/VMCore/Makefile | 2 +- 9 files changed, 6 insertions(+), 11 deletions(-) diff --git a/unittests/Analysis/Makefile b/unittests/Analysis/Makefile index f89240ec704..b548d25d1e5 100644 --- a/unittests/Analysis/Makefile +++ b/unittests/Analysis/Makefile @@ -9,7 +9,7 @@ LEVEL = ../.. TESTNAME = Analysis -LINK_COMPONENTS := core support target analysis ipa +LINK_COMPONENTS := analysis include $(LEVEL)/Makefile.config include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest diff --git a/unittests/Bitcode/Makefile b/unittests/Bitcode/Makefile index aa437e7e2cc..fcec87948fd 100644 --- a/unittests/Bitcode/Makefile +++ b/unittests/Bitcode/Makefile @@ -9,7 +9,7 @@ LEVEL = ../.. TESTNAME = Bitcode -LINK_COMPONENTS := core support bitreader bitwriter +LINK_COMPONENTS := bitreader bitwriter include $(LEVEL)/Makefile.config include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest diff --git a/unittests/ExecutionEngine/CMakeLists.txt b/unittests/ExecutionEngine/CMakeLists.txt index 5ca99046bea..5fffadd4ca0 100644 --- a/unittests/ExecutionEngine/CMakeLists.txt +++ b/unittests/ExecutionEngine/CMakeLists.txt @@ -1,7 +1,5 @@ set(LLVM_LINK_COMPONENTS - jit interpreter - nativecodegen ) add_llvm_unittest(ExecutionEngineTests diff --git a/unittests/ExecutionEngine/JIT/CMakeLists.txt b/unittests/ExecutionEngine/JIT/CMakeLists.txt index 8cc2fbb271e..d43d72de409 100644 --- a/unittests/ExecutionEngine/JIT/CMakeLists.txt +++ b/unittests/ExecutionEngine/JIT/CMakeLists.txt @@ -2,7 +2,6 @@ set(LLVM_LINK_COMPONENTS asmparser bitreader bitwriter - interpreter jit nativecodegen ) diff --git a/unittests/ExecutionEngine/JIT/Makefile b/unittests/ExecutionEngine/JIT/Makefile index c404fb002a6..b535a6b2960 100644 --- a/unittests/ExecutionEngine/JIT/Makefile +++ b/unittests/ExecutionEngine/JIT/Makefile @@ -9,7 +9,7 @@ LEVEL = ../../.. TESTNAME = JIT -LINK_COMPONENTS := asmparser bitreader bitwriter core jit native support +LINK_COMPONENTS := asmparser bitreader bitwriter jit native include $(LEVEL)/Makefile.config diff --git a/unittests/ExecutionEngine/Makefile b/unittests/ExecutionEngine/Makefile index a0395cdad3b..63508d2399b 100644 --- a/unittests/ExecutionEngine/Makefile +++ b/unittests/ExecutionEngine/Makefile @@ -9,7 +9,7 @@ LEVEL = ../.. TESTNAME = ExecutionEngine -LINK_COMPONENTS := engine interpreter +LINK_COMPONENTS :=interpreter PARALLEL_DIRS = JIT include $(LEVEL)/Makefile.config diff --git a/unittests/Transforms/Utils/Makefile b/unittests/Transforms/Utils/Makefile index fdf4be0e0ef..e6c2a2c133a 100644 --- a/unittests/Transforms/Utils/Makefile +++ b/unittests/Transforms/Utils/Makefile @@ -9,7 +9,7 @@ LEVEL = ../../.. TESTNAME = Utils -LINK_COMPONENTS := core support transformutils +LINK_COMPONENTS := TransformUtils include $(LEVEL)/Makefile.config include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest diff --git a/unittests/VMCore/CMakeLists.txt b/unittests/VMCore/CMakeLists.txt index c7392a93ea2..5a87605b27d 100644 --- a/unittests/VMCore/CMakeLists.txt +++ b/unittests/VMCore/CMakeLists.txt @@ -1,9 +1,7 @@ set(LLVM_LINK_COMPONENTS asmparser - analysis core ipa - target ) set(VMCoreSources diff --git a/unittests/VMCore/Makefile b/unittests/VMCore/Makefile index df55065e191..d743dc5d5ba 100644 --- a/unittests/VMCore/Makefile +++ b/unittests/VMCore/Makefile @@ -9,7 +9,7 @@ LEVEL = ../.. TESTNAME = VMCore -LINK_COMPONENTS := core support target ipa asmparser +LINK_COMPONENTS := core ipa asmparser include $(LEVEL)/Makefile.config include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest -- 2.34.1