diff options
Diffstat (limited to 'packages/llvm')
-rw-r--r-- | packages/llvm/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/llvm/llvm-gcc4-cross_svn.bb | 32 | ||||
-rw-r--r-- | packages/llvm/llvm-gcc4_svn.bb | 19 | ||||
-rw-r--r-- | packages/llvm/llvm-native_2.1.bb (renamed from packages/llvm/llvm-native_2.0.bb) | 6 | ||||
-rw-r--r-- | packages/llvm/llvm_2.0.bb | 6 |
5 files changed, 62 insertions, 1 deletions
diff --git a/packages/llvm/files/.mtn2git_empty b/packages/llvm/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/llvm/files/.mtn2git_empty diff --git a/packages/llvm/llvm-gcc4-cross_svn.bb b/packages/llvm/llvm-gcc4-cross_svn.bb new file mode 100644 index 0000000000..9b0e07ab94 --- /dev/null +++ b/packages/llvm/llvm-gcc4-cross_svn.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "The Low Level Virtual Machine - gcc4 frontend" +HOMEPAGE = "http://llvm.org" +LICENSE = "various" + +DEPENDS = "llvm-native" + +PV = "2.1+svnr${SRCREV}" + +inherit autotools cross + +SRC_URI = "svn://anonsvn.opensource.apple.com/svn/llvm/;module=trunk \ + " + +S = "${WORKDIR}/trunk" + +EXTRA_OECONF = "--disable-shared \ + --enable-llvm=/data/build/koen/OE/build/tmp/angstrom/work/i686-linux/llvm-native-2.0-r0/llvm-2.0 \ + " + +do_configure() { + gnu-configize + libtoolize --force + oe_runconf +} + +PARALLEL_MAKE = "" + +#oe_runmake gets distracted by GNUMakefiles... +# we also need to get an install.sh and config-ml.in in gcc/ as well somehow +do_compile_prepend() { + rm -f ${S}/GNUmakefile +} diff --git a/packages/llvm/llvm-gcc4_svn.bb b/packages/llvm/llvm-gcc4_svn.bb new file mode 100644 index 0000000000..599e2ca183 --- /dev/null +++ b/packages/llvm/llvm-gcc4_svn.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "The Low Level Virtual Machine - gcc4 frontend" +HOMEPAGE = "http://llvm.org" +LICENSE = "various" + +DEPENDS = "llvm-native" + +PV = "2.0+svnr${SRCREV}" + +inherit autotools cross + +SRC_URI = "svn://anonsvn.opensource.apple.com/svn/llvm/;module=trunk \ + " + +S = "${WORKDIR}/trunk" + +EXTRA_OECONF = "--disable-shared \ + --enable-llvm \ + " + diff --git a/packages/llvm/llvm-native_2.0.bb b/packages/llvm/llvm-native_2.1.bb index 9507c989cd..6366b9bbbe 100644 --- a/packages/llvm/llvm-native_2.0.bb +++ b/packages/llvm/llvm-native_2.1.bb @@ -1,6 +1,6 @@ require llvm.inc -SRC_URI = "http://llvm.org/releases/2.0/llvm-${PV}.tar.gz" +SRC_URI = "http://llvm.org/releases/2.1/llvm-${PV}.tar.gz" inherit native @@ -10,3 +10,7 @@ S = "${WORKDIR}/llvm-${PV}" do_stage() { install -m 755 ${S}/Release/bin/* ${STAGING_BINDIR_NATIVE}/ } + +do_rm_work() { + : +} diff --git a/packages/llvm/llvm_2.0.bb b/packages/llvm/llvm_2.0.bb new file mode 100644 index 0000000000..7e80f245cc --- /dev/null +++ b/packages/llvm/llvm_2.0.bb @@ -0,0 +1,6 @@ +require llvm.inc + +SRC_URI = "http://llvm.org/releases/2.0/llvm-${PV}.tar.gz" + +S = "${WORKDIR}/llvm-${PV}" + |