summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-12-27 03:46:03 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-12-27 03:46:03 (GMT)
commit04a8910124226f66cc00be19209ce2b42049755e (patch)
treee10997136d85c35ad560b646ea613f7ed40f4040
parentfb4b2cdff2f2a3c424ff616e6b2ff7421fc557f3 (diff)
downloadmxe-04a8910124226f66cc00be19209ce2b42049755e.zip
mxe-04a8910124226f66cc00be19209ce2b42049755e.tar.gz
mxe-04a8910124226f66cc00be19209ce2b42049755e.tar.bz2
update package llvm
-rw-r--r--index.html2
-rw-r--r--src/llvm-1-build-without-tools.patch20
-rw-r--r--src/llvm.mk2
3 files changed, 22 insertions, 2 deletions
diff --git a/index.html b/index.html
index 7ff5536..1b34bb7 100644
--- a/index.html
+++ b/index.html
@@ -1603,7 +1603,7 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
</tr>
<tr>
<td id="llvm-package">llvm</td>
- <td id="llvm-version">3.1</td>
+ <td id="llvm-version">3.2</td>
<td id="llvm-website"><a href="http://llvm.org/">llvm</a></td>
</tr>
<tr>
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)