search for: _tablegen_exe

Displaying 6 results from an estimated 6 matches for "_tablegen_exe".

2015 Oct 08
4
Cmake-gen'd parallel make breaks on native tablegen
...> + > macro(add_tablegen target project) > set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS}) > set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen) > @@ -109,7 +118,7 @@ macro(add_tablegen target project) > > add_custom_command(OUTPUT ${${project}_TABLEGEN_EXE} > COMMAND ${CMAKE_COMMAND} --build . --target ${target} --config Release > - DEPENDS CONFIGURE_LLVM_NATIVE ${target} > + DEPENDS ${target} NATIVE_LIB_LLVMSUPPORT > WORKING_DIRECTORY ${LLVM_NATIVE_BUILD} > COMMENT "Building native TableGen.....
2015 Oct 07
2
Cmake-gen'd parallel make breaks on native tablegen
...> + > macro(add_tablegen target project) > set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS}) > set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen) > @@ -109,7 +116,7 @@ macro(add_tablegen target project) > > add_custom_command(OUTPUT ${${project}_TABLEGEN_EXE} > COMMAND ${CMAKE_COMMAND} --build . --target ${target} --config Release > - DEPENDS CONFIGURE_LLVM_NATIVE ${target} > + DEPENDS ${target} NATIVE_LIB_LLVMSUPPORT > WORKING_DIRECTORY ${LLVM_NATIVE_BUILD} > COMMENT "Building native TableGen.....
2015 Oct 20
2
Cmake-gen'd parallel make breaks on native tablegen
...rget project) >>> set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS}) >>> set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen) >>> @@ -109,7 +118,7 @@ macro(add_tablegen target project) >>> >>> add_custom_command(OUTPUT ${${project}_TABLEGEN_EXE} >>> COMMAND ${CMAKE_COMMAND} --build . --target ${target} --config Release >>> - DEPENDS CONFIGURE_LLVM_NATIVE ${target} >>> + DEPENDS ${target} NATIVE_LIB_LLVMSUPPORT >>> WORKING_DIRECTORY ${LLVM_NATIVE_BUILD} >>> COMMEN...
2015 Oct 06
2
Cmake-gen'd parallel make breaks on native tablegen
...ake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake >> index 452a728..be6729d 100644 >> --- a/cmake/modules/TableGen.cmake >> +++ b/cmake/modules/TableGen.cmake >> @@ -107,9 +107,18 @@ macro(add_tablegen target project) >> endif() >> set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN_EXE} PARENT_SCOPE) >> >> + if(NOT TARGET NATIVE_LIB_LLVMSUPPORT) Instead of doing this you could move creating this out of the macro. Then it will be executed when the file is included which should only be once. >> + add_custom_command(OUTPUT L...
2015 Oct 05
3
Cmake-gen'd parallel make breaks on native tablegen
...d if that's more convenient): diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index 452a728..be6729d 100644 --- a/cmake/modules/TableGen.cmake +++ b/cmake/modules/TableGen.cmake @@ -107,9 +107,18 @@ macro(add_tablegen target project) endif() set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN_EXE} PARENT_SCOPE) + if(NOT TARGET NATIVE_LIB_LLVMSUPPORT) + add_custom_command(OUTPUT LIB_LLVMSUPPORT + COMMAND ${CMAKE_COMMAND} --build . --target LLVMSupport --config Release + DEPENDS CONFIGURE_LLVM_NATIVE + WORKING_DIRECTORY ${LLVM...
2015 Sep 28
3
Cmake-gen'd parallel make breaks on native tablegen
...llvm with clang and native tablegen would usually break during linking in either either the clang_tblgen or llvm_tblgen targets. Looking at the cmake command that generates the tablegen makefile commands (I think) (cmake/modules/TableGen.cmake:113-117): add_custom_command(OUTPUT ${${project}_TABLEGEN_EXE} COMMAND ${CMAKE_COMMAND} --build ../.. --target ${target} --config Release DEPENDS CONFIGURE_LLVM_NATIVE ${target} WORKING_DIRECTORY ${LLVM_NATIVE_BUILD} COMMENT "Building native TableGen...") My guess is that the clang and llvm tablegen builds are trying...