Displaying 4 results from an estimated 4 matches for "llvm_use_host_tool".
Did you mean:
llvm_use_host_tools
2015 Oct 08
4
Cmake-gen'd parallel make breaks on native tablegen
...make
> index 452a728..cb06450 100644
> --- a/cmake/modules/TableGen.cmake
> +++ b/cmake/modules/TableGen.cmake
> @@ -70,6 +70,15 @@ function(add_public_tablegen_target 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...
2015 Oct 20
2
Cmake-gen'd parallel make breaks on native tablegen
...-- a/cmake/modules/TableGen.cmake
>>> +++ b/cmake/modules/TableGen.cmake
>>> @@ -70,6 +70,15 @@ function(add_public_tablegen_target 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 "Bui...
2015 Oct 07
2
Cmake-gen'd parallel make breaks on native tablegen
It should probably be inside an `if(LLVM_USE_HOST_TOOLS)` block.
That way the extra target and command won’t get added unless needed and CMake won’t spew dev warnings. Adding a target with a nonexistent dependency makes CMake dump a bunch of developer warnings.
Other than that this looks good. Does it resolve the issue for you?
-Chris
> On Oct 7...
2015 Oct 06
2
Cmake-gen'd parallel make breaks on native tablegen
> On Oct 5, 2015, at 9:37 AM, Alex Wang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Probably should have checked earlier... Do patches go directly to llvm-commits for review instead of getting reviewed here first?
>
> ccing llvm-commits too in case
>> On Oct 4, 2015, at 8:20 PM, Alex Wang <aw1621107 at gmail.com> wrote:
>>
>> Alright, got