]> granicus.if.org Git - clang/commitdiff
test/CMakeLists.txt: clang-test may depend on llc when LLVM is built together.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 10 Jul 2011 17:45:28 +0000 (17:45 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 10 Jul 2011 17:45:28 +0000 (17:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134874 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt

index 1dc3eeae165de64fce1099eb2659acf2a69bfe65..24dcd3b8c3371da03a041b1f1c5c917545886024 100644 (file)
@@ -102,7 +102,7 @@ if(PYTHONINTERP_FOUND)
       add_dependencies(clang-test.deps ClangUnitTests)
     endif ( LLVM_INCLUDE_TESTS )
     add_dependencies(clang-test.deps
-                    llvm-dis opt
+                    llvm-dis llc opt
                      FileCheck count not
                      )
    set_target_properties(check-all PROPERTIES FOLDER "Clang tests")
@@ -111,7 +111,6 @@ if(PYTHONINTERP_FOUND)
   add_dependencies(clang-test clang-test.deps)
   add_dependencies(clang-test.deps
                  clang clang-headers c-index-test arcmt-test c-arcmt-test
-                 llc
                  )
 
 endif()