Displaying 6 results from an estimated 6 matches for "configure_llvm_n".
Did you mean:
configure_llvm_1
2015 Oct 08
4
Cmake-gen'd parallel make breaks on native tablegen
...get target)
> set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} ${target} PARENT_SCOPE)
> endfunction()
>
> +if(LLVM_USE_HOST_TOOLS)
> + add_custom_command(OUTPUT LIB_LLVMSUPPORT
> + COMMAND ${CMAKE_COMMAND} --build . --target LLVMSupport --config Release
> + DEPENDS CONFIGURE_LLVM_NATIVE
> + WORKING_DIRECTORY ${LLVM_NATIVE_BUILD}
> + COMMENT "Building libLLVMSupport for native TableGen...")
> + add_custom_target(NATIVE_LIB_LLVMSUPPORT DEPENDS LIB_LLVMSUPPORT)
> +endif(LLVM_USE_HOST_TOOLS)
> +
> macro(add_tablegen target project)
> se...
2015 Oct 07
2
Cmake-gen'd parallel make breaks on native tablegen
...@@ function(add_public_tablegen_target target)
> set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} ${target} PARENT_SCOPE)
> endfunction()
>
> +add_custom_command(OUTPUT LIB_LLVMSUPPORT
> + COMMAND ${CMAKE_COMMAND} --build . --target LLVMSupport --config Release
> + DEPENDS CONFIGURE_LLVM_NATIVE
> + WORKING_DIRECTORY ${LLVM_NATIVE_BUILD}
> + COMMENT "Building libLLVMSupport for native TableGen...")
> +add_custom_target(NATIVE_LIB_LLVMSUPPORT DEPENDS LIB_LLVMSUPPORT)
> +
> macro(add_tablegen target project)
> set(${target}_OLD_LLVM_LINK_COMPONENTS ${...
2015 Oct 20
2
Cmake-gen'd parallel make breaks on native tablegen
...M_COMMON_DEPENDS} ${target} PARENT_SCOPE)
>>> endfunction()
>>>
>>> +if(LLVM_USE_HOST_TOOLS)
>>> + add_custom_command(OUTPUT LIB_LLVMSUPPORT
>>> + COMMAND ${CMAKE_COMMAND} --build . --target LLVMSupport --config Release
>>> + DEPENDS CONFIGURE_LLVM_NATIVE
>>> + WORKING_DIRECTORY ${LLVM_NATIVE_BUILD}
>>> + COMMENT "Building libLLVMSupport for native TableGen...")
>>> + add_custom_target(NATIVE_LIB_LLVMSUPPORT DEPENDS LIB_LLVMSUPPORT)
>>> +endif(LLVM_USE_HOST_TOOLS)
>>> +
>>&...
2015 Oct 06
2
Cmake-gen'd parallel make breaks on native tablegen
...ld 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 LIB_LLVMSUPPORT
>> + COMMAND ${CMAKE_COMMAND} --build . --target LLVMSupport --config Release
>> + DEPENDS CONFIGURE_LLVM_NATIVE
>> + WORKING_DIRECTORY ${LLVM_NATIVE_BUILD}
>> + COMMENT "Building libLLVMSupport for native TableGen...")
>> + add_custom_target(NATIVE_LIB_LLVMSUPPORT DEPENDS LIB_LLVMSUPPORT)
>> + endif(NOT TARGET NATIVE_LIB_LLVMSUPPORT)
>&g...
2015 Oct 05
3
Cmake-gen'd parallel make breaks on native tablegen
...roject)
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_NATIVE_BUILD}
+ COMMENT "Building libLLVMSupport for native TableGen...")
+ add_custom_target(NATIVE_LIB_LLVMSUPPORT DEPENDS LIB_LLVMSUPPORT)
+ endif(NOT TARGET NATIVE_LIB_LLVMSUPPORT)
+
add_custom_command(OUTPUT ${${pro...
2015 Sep 28
3
Cmake-gen'd parallel make breaks on native tablegen
...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 to place their output into the same folder, so depending on when the resulting library gets linked/moved one of the...