Displaying 6 results from an estimated 6 matches for "binary_dir".
2014 Feb 27
2
[LLVMdev] compiler-rt CMake build
...CHES "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 a CMAKE_GENERATOR.
--...
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
..."$(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...
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
..._COMPONENTS}
+ )
+ endif()
+ endif()
+
if(CMAKE_VERSION VERSION_LESS 2.8.12)
# Link libs w/o keywords, assuming PUBLIC.
target_link_libraries(${name}
@@ -885,11 +891,18 @@
add_llvm_executable(${test_name} IGNORE_EXTERNALIZE_DEBUGINFO ${ARGN})
set(outdir ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR})
set_output_directory(${test_name} BINARY_DIR ${outdir} LIBRARY_DIR ${outdir})
+ if (LLVM_LINK_LLVM_DYLIB)
+ target_link_libraries(${test_name}
+ gtest
+ gtest_main
+ )
+ else()
target_link_libraries(${test_name}
- gtest
- gtest_main
- LLVMSup...
2014 Mar 23
2
[LLVMdev] compiler-rt CMake build
...t; >> 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
> >> >> )
> >&...
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans,
I have posted a complete patch for solving the linkage issues
with LLVM_LINK_LLVM_DYLIB on Phabricator at
http://reviews.llvm.org/D16945. The bulk of the fix the simple
changes of...
Index: cmake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake (revision 259743)
+++ cmake/modules/AddLLVM.cmake (working copy)
@@