From 04a8910124226f66cc00be19209ce2b42049755e Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 27 Dec 2012 14:46:03 +1100 Subject: update package llvm --- index.html | 2 +- src/llvm-1-build-without-tools.patch | 20 ++++++++++++++++++++ src/llvm.mk | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 src/llvm-1-build-without-tools.patch diff --git a/index.html b/index.html index 7ff5536..1b34bb7 100644 --- a/index.html +++ b/index.html @@ -1603,7 +1603,7 @@ USE_OSGPLUGIN(<plugin2>) llvm - 3.1 + 3.2 llvm diff --git a/src/llvm-1-build-without-tools.patch b/src/llvm-1-build-without-tools.patch new file mode 100644 index 0000000..7af9a79 --- /dev/null +++ b/src/llvm-1-build-without-tools.patch @@ -0,0 +1,20 @@ +This file is part of MXE. +See index.html for further information. + +This patch has been taken from: +http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/128419/focus=128572 + +diff -ur llvm-3.2.src.orig/cmake/modules/AddLLVM.cmake llvm-3.2.src/cmake/modules/AddLLVM.cmake +--- llvm-3.2.src.orig/cmake/modules/AddLLVM.cmake 2012-12-27 14:33:13.000000000 +1100 ++++ llvm-3.2.src/cmake/modules/AddLLVM.cmake 2012-12-27 14:35:37.000000000 +1100 +@@ -277,7 +277,9 @@ + COMMAND ${LIT_COMMAND} ${ARG_DEFAULT_ARGS} + COMMENT "${comment}" + ) +- add_dependencies(${target} ${ARG_DEPENDS}) ++ if( ARG_DEPENDS ) ++ add_dependencies(${target} ${ARG_DEPENDS}) ++ endif() + endfunction() + + # A function to add a set of lit test suites to be driven through 'check-*' targets. diff --git a/src/llvm.mk b/src/llvm.mk index 30b8625..d91a34f 100644 --- a/src/llvm.mk +++ b/src/llvm.mk @@ -3,7 +3,7 @@ PKG := llvm $(PKG)_IGNORE := -$(PKG)_CHECKSUM := 234c96e73ef81aec9a54da92fc2a9024d653b059 +$(PKG)_CHECKSUM := 42d139ab4c9f0c539c60f5ac07486e9d30fc1280 $(PKG)_SUBDIR := llvm-$($(PKG)_VERSION).src $(PKG)_FILE := llvm-$($(PKG)_VERSION).src.tar.gz $(PKG)_URL := http://llvm.org/releases/$($(PKG)_VERSION)/$($(PKG)_FILE) -- cgit v0.12