diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-01-30 13:16:53 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-01-30 13:16:53 (GMT) |
commit | 3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2 (patch) | |
tree | 87bc96adc26a96f28a8e8bdbe94b05b0f61f9d22 /abs/extra/llvm/llvm-3.5.0-fix-cmake-llvm-exports.patch | |
parent | a3a169ce68791d6056cbc3a46b2d0296160c9df5 (diff) | |
download | linhes_pkgbuild-3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2.zip linhes_pkgbuild-3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2.tar.gz linhes_pkgbuild-3ca6a9e01009e4a5dfc812bc423895a5ad92f8a2.tar.bz2 |
llvm: update to 3.7.1
Diffstat (limited to 'abs/extra/llvm/llvm-3.5.0-fix-cmake-llvm-exports.patch')
-rw-r--r-- | abs/extra/llvm/llvm-3.5.0-fix-cmake-llvm-exports.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/abs/extra/llvm/llvm-3.5.0-fix-cmake-llvm-exports.patch b/abs/extra/llvm/llvm-3.5.0-fix-cmake-llvm-exports.patch deleted file mode 100644 index 7a7d42a..0000000 --- a/abs/extra/llvm/llvm-3.5.0-fix-cmake-llvm-exports.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: cmake/modules/Makefile -=================================================================== ---- cmake/modules/Makefile (revision 217483) -+++ cmake/modules/Makefile (revision 217484) -@@ -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 && \ |