Displaying 6 results from an estimated 6 matches for "externalproject_get_property".
2014 Feb 27
2
[LLVMdev] compiler-rt CMake build
...t too:
>
> if(CMAKE_GENERATOR MATCHES "Make")
> set(check_compiler_rt "$(MAKE)" "check-all")
> else()
> set(check_compiler_rt ${CMAKE_COMMAND} --build .
> --target check-all --config $<CONFIGURATION>)
> endif()
>
> ExternalProject_Get_Property(compiler-rt BINARY_DIR)
> add_custom_target(check-compiler-rt
> COMMAND ${check_compiler_rt}
> DEPENDS compiler-rt
> WORKING_DIRECTORY ${BINARY_DIR}
> VERBATIM
> )
>
>
This worked, thanks! Currently I also print fatal_error message if I detect
Ninja as...
2014 Feb 26
2
[LLVMdev] compiler-rt CMake build
Hi Brad,
Thanks for investigating this. Do you think it makes sense to land my
ExternalProject_Add patch
so that others can experiment with it? I can add quit with a
fatal_error/warning if the build tree rules
are generated with Ninja. However, there is a problem with Unix Makefiles
as well: parallelism doesn't
work when I run "make check-compiler-rt -j8" in the original build tree,
2014 Mar 21
2
[LLVMdev] compiler-rt CMake build
...> >> set(check_compiler_rt "$(MAKE)" "check-all")
> >> else()
> >> set(check_compiler_rt ${CMAKE_COMMAND} --build .
> >> --target check-all --config $<CONFIGURATION>)
> >> endif()
> >>
> >> ExternalProject_Get_Property(compiler-rt BINARY_DIR)
> >> add_custom_target(check-compiler-rt
> >> COMMAND ${check_compiler_rt}
> >> DEPENDS compiler-rt
> >> WORKING_DIRECTORY ${BINARY_DIR}
> >> VERBATIM
> >> )
> >>
> >
> > This wo...
2014 Feb 21
4
[LLVMdev] compiler-rt CMake build
...there, but if I uncomment that line,
I get errors like:
CMake Error at /usr/local/share/cmake-2.8/Modules/ExternalProject.cmake:720
(message):
External project "clang" has no stamp_dir
Call Stack (most recent call first):
/usr/local/share/cmake-2.8/Modules/ExternalProject.cmake:932
(ExternalProject_Get_Property)
/usr/local/share/cmake-2.8/Modules/ExternalProject.cmake:1488
(_ep_get_step_stampfile)
/usr/local/share/cmake-2.8/Modules/ExternalProject.cmake:1702
(_ep_add_configure_command)
tools/clang/runtime/CMakeLists.txt:18 (ExternalProject_Add)
as if "clang" was supposed to be another ext...
2014 Mar 23
2
[LLVMdev] compiler-rt CMake build
..." "check-all")
> >> >> else()
> >> >> set(check_compiler_rt ${CMAKE_COMMAND} --build .
> >> >> --target check-all --config $<CONFIGURATION>)
> >> >> endif()
> >> >>
> >> >> ExternalProject_Get_Property(compiler-rt BINARY_DIR)
> >> >> add_custom_target(check-compiler-rt
> >> >> COMMAND ${check_compiler_rt}
> >> >> DEPENDS compiler-rt
> >> >> WORKING_DIRECTORY ${BINARY_DIR}
> >> >> VERBATIM
> >> &g...
2014 Feb 06
3
[LLVMdev] compiler-rt CMake build
On Thu, Feb 6, 2014 at 7:57 PM, Jean-Daniel Dupas <devlists at shadowlab.org>wrote:
>
> Le 6 févr. 2014 à 16:20, Brad King <brad.king at kitware.com> a écrit :
>
> > On 02/06/2014 08:12 AM, Alexey Samsonov wrote:
> >> Please note that it makes a lot of sense to built compiler-rt (and
> sanitizers) with just-built
> >> Clang. In fact, even though we