diff options
author | Chris Bieneman <beanz@apple.com> | 2016-11-17 04:36:50 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-11-17 04:36:50 +0000 |
commit | 05c279fc4b62d672afa4232f8efbcdca42ef5085 (patch) | |
tree | 5ada182d8fffca89613d521519b4be711e145263 /llvm/lib/Transforms | |
parent | aeb30257c52623b39c20f4a71af738af47bde81a (diff) | |
download | bcm5719-llvm-05c279fc4b62d672afa4232f8efbcdca42ef5085.tar.gz bcm5719-llvm-05c279fc4b62d672afa4232f8efbcdca42ef5085.zip |
[CMake] NFC. Updating CMake dependency specifications
This patch updates a bunch of places where add_dependencies was being explicitly called to add dependencies on intrinsics_gen to instead use the DEPENDS named parameter. This cleanup is needed for a patch I'm working on to add a dependency debugging mode to the build system.
llvm-svn: 287206
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Coroutines/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Transforms/IPO/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Transforms/InstCombine/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Transforms/ObjCARC/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Transforms/Scalar/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Transforms/Utils/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Transforms/Vectorize/CMakeLists.txt | 5 |
8 files changed, 24 insertions, 16 deletions
diff --git a/llvm/lib/Transforms/Coroutines/CMakeLists.txt b/llvm/lib/Transforms/Coroutines/CMakeLists.txt index 9a2217a2b14..1c635bd9db0 100644 --- a/llvm/lib/Transforms/Coroutines/CMakeLists.txt +++ b/llvm/lib/Transforms/Coroutines/CMakeLists.txt @@ -5,6 +5,7 @@ add_llvm_library(LLVMCoroutines CoroElide.cpp CoroFrame.cpp CoroSplit.cpp - ) -add_dependencies(LLVMCoroutines intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/Transforms/IPO/CMakeLists.txt b/llvm/lib/Transforms/IPO/CMakeLists.txt index edbfa087194..fffa1c3356a 100644 --- a/llvm/lib/Transforms/IPO/CMakeLists.txt +++ b/llvm/lib/Transforms/IPO/CMakeLists.txt @@ -33,6 +33,7 @@ add_llvm_library(LLVMipo ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/IPO - ) -add_dependencies(LLVMipo intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/Transforms/InstCombine/CMakeLists.txt b/llvm/lib/Transforms/InstCombine/CMakeLists.txt index 0ed8e6273db..5cbe804ce3e 100644 --- a/llvm/lib/Transforms/InstCombine/CMakeLists.txt +++ b/llvm/lib/Transforms/InstCombine/CMakeLists.txt @@ -16,6 +16,7 @@ add_llvm_library(LLVMInstCombine ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/InstCombine - ) -add_dependencies(LLVMInstCombine intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/Transforms/Instrumentation/CMakeLists.txt b/llvm/lib/Transforms/Instrumentation/CMakeLists.txt index 57a569b3791..7ff69b9eb7f 100644 --- a/llvm/lib/Transforms/Instrumentation/CMakeLists.txt +++ b/llvm/lib/Transforms/Instrumentation/CMakeLists.txt @@ -14,6 +14,7 @@ add_llvm_library(LLVMInstrumentation ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms - ) -add_dependencies(LLVMInstrumentation intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/Transforms/ObjCARC/CMakeLists.txt b/llvm/lib/Transforms/ObjCARC/CMakeLists.txt index 98ad37f5d23..114471eb6f6 100644 --- a/llvm/lib/Transforms/ObjCARC/CMakeLists.txt +++ b/llvm/lib/Transforms/ObjCARC/CMakeLists.txt @@ -11,6 +11,7 @@ add_llvm_library(LLVMObjCARCOpts ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms - ) -add_dependencies(LLVMObjCARCOpts intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/Transforms/Scalar/CMakeLists.txt b/llvm/lib/Transforms/Scalar/CMakeLists.txt index d6cef5fd351..7686b877555 100644 --- a/llvm/lib/Transforms/Scalar/CMakeLists.txt +++ b/llvm/lib/Transforms/Scalar/CMakeLists.txt @@ -59,6 +59,7 @@ add_llvm_library(LLVMScalarOpts ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Scalar - ) -add_dependencies(LLVMScalarOpts intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/Transforms/Utils/CMakeLists.txt b/llvm/lib/Transforms/Utils/CMakeLists.txt index b4982de419d..d7695a1b920 100644 --- a/llvm/lib/Transforms/Utils/CMakeLists.txt +++ b/llvm/lib/Transforms/Utils/CMakeLists.txt @@ -54,6 +54,7 @@ add_llvm_library(LLVMTransformUtils ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Utils - ) -add_dependencies(LLVMTransformUtils intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/Transforms/Vectorize/CMakeLists.txt b/llvm/lib/Transforms/Vectorize/CMakeLists.txt index 23c2ab025f3..395f440bda4 100644 --- a/llvm/lib/Transforms/Vectorize/CMakeLists.txt +++ b/llvm/lib/Transforms/Vectorize/CMakeLists.txt @@ -7,6 +7,7 @@ add_llvm_library(LLVMVectorize ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms - ) -add_dependencies(LLVMVectorize intrinsics_gen) + DEPENDS + intrinsics_gen + ) |