[compiler-rt] r207722 - The newest versions of CMake require outputs of custom commands be in

Chandler Carruth chandlerc at gmail.com
Wed Apr 30 16:31:45 PDT 2014


Author: chandlerc
Date: Wed Apr 30 18:31:45 2014
New Revision: 207722

URL: http://llvm.org/viewvc/llvm-project?rev=207722&view=rev
Log:
The newest versions of CMake require outputs of custom commands be in
DEPENDS rather than SOURCES. The SOURCES just end up looking on the
filesystem and not finding anything. Makes for very hard to debug build
errors. =/

Modified:
    compiler-rt/trunk/lib/dfsan/CMakeLists.txt

Modified: compiler-rt/trunk/lib/dfsan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/dfsan/CMakeLists.txt?rev=207722&r1=207721&r2=207722&view=diff
==============================================================================
--- compiler-rt/trunk/lib/dfsan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/dfsan/CMakeLists.txt Wed Apr 30 18:31:45 2014
@@ -34,7 +34,7 @@ endif()
 
 set(dfsan_abilist_filename ${COMPILER_RT_OUTPUT_DIR}/dfsan_abilist.txt)
 add_custom_target(dfsan_abilist ALL
-  SOURCES ${dfsan_abilist_filename})
+  DEPENDS ${dfsan_abilist_filename})
 add_custom_command(OUTPUT ${dfsan_abilist_filename}
                    VERBATIM
                    COMMAND





More information about the llvm-commits mailing list