зеркало из https://github.com/microsoft/clang-1.git
Update CMake build system for ARM NEON generation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
ea245e0ba4
Коммит
2390b62f3a
|
@ -25,3 +25,8 @@ tablegen(AttrList.inc
|
|||
-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)
|
||||
|
|
|
@ -39,5 +39,5 @@ add_clang_library(clangAST
|
|||
TypePrinter.cpp
|
||||
)
|
||||
|
||||
add_dependencies(clangAST ClangAttrClasses ClangAttrList ClangDiagnosticAST
|
||||
ClangDeclNodes ClangStmtNodes)
|
||||
add_dependencies(clangAST ClangARMNeon ClangAttrClasses ClangAttrList
|
||||
ClangDiagnosticAST ClangDeclNodes ClangStmtNodes)
|
||||
|
|
|
@ -25,6 +25,7 @@ if (Subversion_FOUND AND EXISTS "${CLANG_SOURCE_DIR}/.svn")
|
|||
endif()
|
||||
|
||||
add_dependencies(clangBasic
|
||||
ClangARMNeon
|
||||
ClangAttrList
|
||||
ClangDiagnosticAnalysis
|
||||
ClangDiagnosticAST
|
||||
|
@ -35,3 +36,4 @@ add_dependencies(clangBasic
|
|||
ClangDiagnosticLex
|
||||
ClangDiagnosticParse
|
||||
ClangDiagnosticSema)
|
||||
|
||||
|
|
|
@ -22,9 +22,8 @@ else ()
|
|||
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
|
||||
|
|
|
@ -34,5 +34,5 @@ add_clang_library(clangSema
|
|||
TargetAttributesSema.cpp
|
||||
)
|
||||
|
||||
add_dependencies(clangSema ClangAttrClasses ClangAttrList ClangDiagnosticSema
|
||||
ClangDeclNodes ClangStmtNodes)
|
||||
add_dependencies(clangSema ClangARMNeon ClangAttrClasses ClangAttrList
|
||||
ClangDiagnosticSema ClangDeclNodes ClangStmtNodes)
|
||||
|
|
Загрузка…
Ссылка в новой задаче