Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 384806 Details for
Bug 522510
=sys-devel/llvm-3.5.0 - CMake Error at /usr/share/llvm/cmake/LLVMExports.cmake:6 (set_property): set_property could not find TARGET LLVMSupport. Perhaps it has not yet been created.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from upstream
cleaner_fix_llvm_broken_cmake_export.patch (text/plain), 1.53 KB, created by
David Hallas
on 2014-09-15 20:01:59 UTC
(
hide
)
Description:
Patch from upstream
Filename:
MIME Type:
Creator:
David Hallas
Created:
2014-09-15 20:01:59 UTC
Size:
1.53 KB
patch
obsolete
>Index: cmake/modules/Makefile >=================================================================== >--- cmake/modules/Makefile (revision 217451) >+++ cmake/modules/Makefile (working copy) >@@ -33,6 +33,16 @@ > LLVM_ENABLE_RTTI := 0 > endif > >+LLVM_LIBS_TO_EXPORT := $(subst -l,,$(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS) || echo Error)) >+ >+ifeq ($(LLVM_LIBS_TO_EXPORT),Error) >+$(error llvm-config --libs failed) >+endif >+ >+ifndef LLVM_LIBS_TO_EXPORT >+$(error LLVM_LIBS_TO_EXPORT cannot be empty) >+endif >+ > OBJMODS := LLVMConfig.cmake LLVMConfigVersion.cmake LLVMExports.cmake > > $(PROJ_OBJ_DIR)/LLVMConfig.cmake: LLVMConfig.cmake.in $(LLVMBuildCMakeFrag) >@@ -45,7 +55,7 @@ > -e 's/@LLVM_VERSION_PATCH@/'"$(LLVM_VERSION_PATCH)"'/' \ > -e 's/@PACKAGE_VERSION@/'"$(LLVMVersion)"'/' \ > -e 's/@LLVM_COMMON_DEPENDS@//' \ >- -e 's/@LLVM_AVAILABLE_LIBS@/'"$(subst -l,,$(LLVMConfigLibs))"'/' \ >+ -e 's/@LLVM_AVAILABLE_LIBS@/'"$(LLVM_LIBS_TO_EXPORT)"'/' \ > -e 's/@LLVM_ALL_TARGETS@/'"$(ALL_TARGETS)"'/' \ > -e 's/@LLVM_TARGETS_TO_BUILD@/'"$(TARGETS_TO_BUILD)"'/' \ > -e 's/@LLVM_TARGETS_WITH_JIT@/'"$(TARGETS_WITH_JIT)"'/' \ >@@ -83,7 +93,7 @@ > $(Echo) 'Generating LLVM CMake target exports file' > $(Verb) ( \ > echo '# LLVM CMake target exports. Do not include directly.' && \ >- for lib in $(subst -l,,$(LLVMConfigLibs)); do \ >+ for lib in $(LLVM_LIBS_TO_EXPORT); do \ > echo 'add_library('"$$lib"' STATIC IMPORTED)' && \ > echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \ > done && \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 522510
: 384806