[cfe-commits] r106220 - in /cfe/trunk: include/clang/Basic/CMakeLists.txt lib/AST/CMakeLists.txt lib/Basic/CMakeLists.txt lib/Headers/CMakeLists.txt lib/Sema/CMakeLists.txt

Douglas Gregor dgregor at apple.com
Thu Jun 17 08:17:41 PDT 2010


Author: dgregor
Date: Thu Jun 17 10:17:41 2010
New Revision: 106220

URL: http://llvm.org/viewvc/llvm-project?rev=106220&view=rev
Log:
Update CMake build system for ARM NEON generation.

Modified:
    cfe/trunk/include/clang/Basic/CMakeLists.txt
    cfe/trunk/lib/AST/CMakeLists.txt
    cfe/trunk/lib/Basic/CMakeLists.txt
    cfe/trunk/lib/Headers/CMakeLists.txt
    cfe/trunk/lib/Sema/CMakeLists.txt

Modified: cfe/trunk/include/clang/Basic/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/CMakeLists.txt?rev=106220&r1=106219&r2=106220&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/CMakeLists.txt (original)
+++ cfe/trunk/include/clang/Basic/CMakeLists.txt Thu Jun 17 10:17:41 2010
@@ -25,3 +25,8 @@
          -I ${CMAKE_CURRENT_SOURCE_DIR}/../../)
 add_custom_target(ClangAttrList
   DEPENDS AttrList.inc)
+
+# ARM NEON
+set(LLVM_TARGET_DEFINITIONS arm_neon.td)
+tablegen(arm_neon.inc -gen-arm-neon-sema)
+add_custom_target(ClangARMNeon DEPENDS arm_neon.inc)

Modified: cfe/trunk/lib/AST/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CMakeLists.txt?rev=106220&r1=106219&r2=106220&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CMakeLists.txt (original)
+++ cfe/trunk/lib/AST/CMakeLists.txt Thu Jun 17 10:17:41 2010
@@ -39,5 +39,5 @@
   TypePrinter.cpp
   )
 
-add_dependencies(clangAST ClangAttrClasses ClangAttrList ClangDiagnosticAST
-                 ClangDeclNodes ClangStmtNodes)
+add_dependencies(clangAST ClangARMNeon ClangAttrClasses ClangAttrList 
+                 ClangDiagnosticAST ClangDeclNodes ClangStmtNodes)

Modified: cfe/trunk/lib/Basic/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/CMakeLists.txt?rev=106220&r1=106219&r2=106220&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/CMakeLists.txt (original)
+++ cfe/trunk/lib/Basic/CMakeLists.txt Thu Jun 17 10:17:41 2010
@@ -25,6 +25,7 @@
 endif()
 
 add_dependencies(clangBasic 
+                 ClangARMNeon
                  ClangAttrList
                  ClangDiagnosticAnalysis
                  ClangDiagnosticAST
@@ -35,3 +36,4 @@
                  ClangDiagnosticLex
                  ClangDiagnosticParse
                  ClangDiagnosticSema)
+                 

Modified: cfe/trunk/lib/Headers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/CMakeLists.txt?rev=106220&r1=106219&r2=106220&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/CMakeLists.txt (original)
+++ cfe/trunk/lib/Headers/CMakeLists.txt Thu Jun 17 10:17:41 2010
@@ -22,9 +22,8 @@
 endif ()
 
 # Generate arm_neon.h
-set(LLVM_TARGET_DEFINITIONS arm_neon.td)
+set(LLVM_TARGET_DEFINITIONS ${CLANG_SOURCE_DIR}/include/clang/Basic/arm_neon.td)
 tablegen(arm_neon.h.inc -gen-arm-neon)
-add_custom_target(ClangARMNeon DEPENDS arm_neon.h.inc)
 
 add_custom_command(OUTPUT ${output_dir}/arm_neon.h 
   DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h.inc

Modified: cfe/trunk/lib/Sema/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/CMakeLists.txt?rev=106220&r1=106219&r2=106220&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/CMakeLists.txt (original)
+++ cfe/trunk/lib/Sema/CMakeLists.txt Thu Jun 17 10:17:41 2010
@@ -34,5 +34,5 @@
   TargetAttributesSema.cpp
   )
 
-add_dependencies(clangSema ClangAttrClasses ClangAttrList ClangDiagnosticSema
-                 ClangDeclNodes ClangStmtNodes)
+add_dependencies(clangSema ClangARMNeon ClangAttrClasses ClangAttrList 
+                 ClangDiagnosticSema ClangDeclNodes ClangStmtNodes)





More information about the cfe-commits mailing list