r216499 - Attempt to address cmake buildbot failure

Keno Fischer kfischer at college.harvard.edu
Tue Aug 26 15:50:03 PDT 2014


Author: kfischer
Date: Tue Aug 26 17:50:03 2014
New Revision: 216499

URL: http://llvm.org/viewvc/llvm-project?rev=216499&view=rev
Log:
Attempt to address cmake buildbot failure

CMake gets confused by the fact that both LLVM and Clang now have
a CodeGen unittest. Rename the target to avoid that. The new test
was also missing ProfileData (thanks to Julien Lerouge for
pointing that out)

Modified:
    cfe/trunk/unittests/CodeGen/CMakeLists.txt

Modified: cfe/trunk/unittests/CodeGen/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/CodeGen/CMakeLists.txt?rev=216499&r1=216498&r2=216499&view=diff
==============================================================================
--- cfe/trunk/unittests/CodeGen/CMakeLists.txt (original)
+++ cfe/trunk/unittests/CodeGen/CMakeLists.txt Tue Aug 26 17:50:03 2014
@@ -1,12 +1,13 @@
 set(LLVM_LINK_COMPONENTS
   Support
+  ProfileData
   )
 
-add_clang_unittest(CodeGenTests
+add_clang_unittest(ClangCodeGenTests
   BufferSourceTest.cpp
   )
 
-target_link_libraries(CodeGenTests
+target_link_libraries(ClangCodeGenTests
   clangAST
   clangBasic
   clangFrontend





More information about the cfe-commits mailing list