[llvm] r255794 - [CMake] Adding llvm-profdata to the list of tools clang needs.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 10:30:37 PST 2015


Author: cbieneman
Date: Wed Dec 16 12:30:36 2015
New Revision: 255794

URL: http://llvm.org/viewvc/llvm-project?rev=255794&view=rev
Log:
[CMake] Adding llvm-profdata to the list of tools clang needs.

Bootstrapping clang to generate PGO data (patches coming soon), requires llvm-profdata targets to be generated before clang.

Modified:
    llvm/trunk/tools/CMakeLists.txt

Modified: llvm/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/CMakeLists.txt?rev=255794&r1=255793&r2=255794&view=diff
==============================================================================
--- llvm/trunk/tools/CMakeLists.txt (original)
+++ llvm/trunk/tools/CMakeLists.txt Wed Dec 16 12:30:36 2015
@@ -30,11 +30,13 @@ if(CYGWIN)
   set(LLVM_TOOL_LLVM_LTO_BUILD Off)
 endif()
 
-# Add LTO, llvm-ar, and llvm-config before clang, ExternalProject requires
-# targets specified in DEPENDS to exist before the call to ExternalProject_Add.
+# Add LTO, llvm-ar, llvm-config, and llvm-profdata before clang, ExternalProject
+# requires targets specified in DEPENDS to exist before the call to
+# ExternalProject_Add.
 add_llvm_tool_subdirectory(lto)
 add_llvm_tool_subdirectory(llvm-ar)
 add_llvm_tool_subdirectory(llvm-config)
+add_llvm_tool_subdirectory(llvm-profdata)
 
 # Projects supported via LLVM_EXTERNAL_*_SOURCE_DIR need to be explicitly
 # specified.




More information about the llvm-commits mailing list