diff options
author | Koen Kooi <koen@openembedded.org> | 2007-10-06 18:01:38 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-10-06 18:01:38 +0000 |
commit | 3d8bb77643c145191f05f1e606879b3df79242fa (patch) | |
tree | fa3a535bad4758380789049826ef708bcb59c36b /packages/llvm | |
parent | 388d14d2f430a534ee73af85b04ee68377f09aa8 (diff) |
llvm: commit WIP hacks to keep holger busy
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.0.bb | 4 | ||||
-rw-r--r-- | packages/llvm/llvm_2.0.bb | 6 |
5 files changed, 61 insertions, 0 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..48302c371d --- /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.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=/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.0.bb index 9507c989cd..03e344cc11 100644 --- a/packages/llvm/llvm-native_2.0.bb +++ b/packages/llvm/llvm-native_2.0.bb @@ -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}" + |