Displaying 2 results from an estimated 2 matches for "llvmbuild_lib_deps_".
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...scripts. Basically, the new
fix for avoiding the Support library dependency set from the
'required_libraries = Support' in llvm/utils/unittest/LLVMBuild.txt is
not read it for LLVM_LINK_LLVM_DYLIB. The new patch modifies
llvm_add_library() in cmake/modules/AddLLVM.cmake to manually set the
LLVMBUILD_LIB_DEPS_gtest property to LLVM when LLVM_LINK_LLVM_DYLIB
is set and the library name is gtest rather than read from the
tools/llvm-config/LibraryDependencies.inc generated by llvm-build.
Jack
ps As soon as this patch lands, I'll look at trying to rework the
unittests handling of the...
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...ake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake (revision 259743)
+++ cmake/modules/AddLLVM.cmake (working copy)
@@ -475,13 +475,15 @@
# property has been set to an empty value.
get_property(lib_deps GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_${name})
- if (LLVM_LINK_LLVM_DYLIB AND NOT ARG_STATIC AND NOT
ARG_DISABLE_LLVM_LINK_LLVM_DYLIB)
- set(llvm_libs LLVM)
- else()
- llvm_map_components_to_libnames(llvm_libs
- ${ARG_LINK_COMPONENTS}
- ${LLVM_LINK_COMPONENTS}
- )
+ if (DEFINED LLVM_LINK_COMPONENTS OR DEFINED AR...