llvm2.7 2.6+svnr20091007: Removed prerelease version.
llvm2.7-native 2.6+svnr20091007: Dito.
llvm2.7 2.7: New recipe.
llvm2.7-native 2.7: New recipe.
-DCMAKE_OBJDUMP:FILEPATH=${OBJDUMP} \
-DCMAKE_RANLIB:FILEPATH=${RANLIB} \
-DCMAKE_STRIP:FILEPATH=${STRIP} \
+ -DNM_PATH:FILEPATH=${NM} \
-DLLVM_ENABLE_PIC:BOOL=ON \
"
+++ /dev/null
-require llvm-native.inc
-
-SRCREV = "83459"
-
-PV = "2.6+svnr${SRCPV}"
-
-PR = "r0"
-
-SRC_URI = "\
- svn://llvm.org/svn/llvm-project/llvm/;proto=http;module=trunk \
- file://llvm-debugonly-zeroormore.patch;patch=1 \
-"
-
-S = "${WORKDIR}/trunk"
-
-LLVM_RELEASE = "2.7"
--- /dev/null
+require llvm-native.inc
+
+PR = "r0"
+
+SRC_URI = "\
+ http://llvm.org/releases/${PV}/llvm-${PV}.tgz \
+"
+
+LLVM_RELEASE = "2.7"
+
+SRC_URI[md5sum] = "ac322661f20e7d6c810b1869f886ad9b"
+SRC_URI[sha256sum] = "99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5"
Index: llvm/lib/Target/ARM/ARMInstrInfo.td
===================================================================
---- llvm.orig/lib/Target/ARM/ARMInstrInfo.td 2009-10-06 12:35:26.000000000 +0000
-+++ llvm/lib/Target/ARM/ARMInstrInfo.td 2009-10-06 12:36:03.000000000 +0000
-@@ -645,7 +645,7 @@
- IIC_Br, "mov lr, pc\n\tbx $func",
- [(ARMcall_nolink GPR:$func)]>,
- Requires<[IsARM, IsNotDarwin]> {
+--- llvm.orig/lib/Target/ARM/ARMInstrInfo.td 2010-03-08 16:07:25.000000000 +0100
++++ llvm/lib/Target/ARM/ARMInstrInfo.td 2010-03-08 16:10:21.000000000 +0100
+@@ -942,7 +942,7 @@
+ IIC_Br, "mov\tlr, pc\n\tbx\t$func",
+ [(ARMcall_nolink tGPR:$func)]>,
+ Requires<[IsARM, HasV4T, IsNotDarwin]> {
- let Inst{7-4} = 0b0001;
+ let Inst{7-4} = 0b0011;
let Inst{19-8} = 0b111111111111;
+++ /dev/null
-Index: trunk/lib/Support/Debug.cpp
-===================================================================
---- trunk.orig/lib/Support/Debug.cpp 2009-09-17 10:41:42.000000000 +0200
-+++ trunk/lib/Support/Debug.cpp 2009-09-17 10:42:55.000000000 +0200
-@@ -48,7 +48,7 @@
- static cl::opt<DebugOnlyOpt, true, cl::parser<std::string> >
- DebugOnly("debug-only", cl::desc("Enable a specific type of debug output"),
- cl::Hidden, cl::value_desc("debug string"),
-- cl::location(DebugOnlyOptLoc), cl::ValueRequired);
-+ cl::location(DebugOnlyOptLoc), cl::ValueRequired, cl::ZeroOrMore);
-
- // isCurrentDebugType - Return true if the specified string is the debug type
- // specified on the command line, or if none was specified on the command line
--- /dev/null
+require llvm.inc
+
+PR = "r0"
+
+DEPENDS = "llvm-common llvm2.7-native"
+
+SRC_URI = "\
+ http://llvm.org/releases/${PV}/llvm-${PV}.tgz \
+ file://BX_to_BLX.patch;patch=1 \
+ "
+
+EXTRA_OECMAKE += "\
+ -DLLVM_TARGET_ARCH:STRING=${LLVM_ARCH} \
+ -DLLVM_ENABLE_ASSERTIONS:BOOL=ON \
+ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
+ "
+
+LLVM_RELEASE = "2.7"
+
+SRC_URI[md5sum] = "ac322661f20e7d6c810b1869f886ad9b"
+SRC_URI[sha256sum] = "99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5"