diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-05-16 01:12:14 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-05-16 01:12:14 +0000 |
commit | d3c85a060e2fe22d770e7594122f59a756036fab (patch) | |
tree | e90a6f90c222ba7df0dd83bb2ebb1cb1aa8781cc /devel/libjit | |
parent | eb316020d429c1d806953fa3eb003ce849e5df15 (diff) | |
download | pkgsrc-d3c85a060e2fe22d770e7594122f59a756036fab.tar.gz |
Initial import of libjit-0.0.2.
The libjit library implements Just-In-Time compilation functionality. Unlike
other JIT's, this one is designed to be independent of any particular virtual
machine bytecode format or language. The hope is that Free Software projects
can get a leg-up on proprietry VM vendors by using this library rather than
spending large amounts of time writing their own JIT from scratch.
This JIT is also designed to be portable to multiple archictures. If you run
libjit on a machine for which a native code generator is not yet available,
then libjit will fall back to interpreting the code. This way, you don't need
to write your own interpreter for your bytecode format if you don't want to.
Diffstat (limited to 'devel/libjit')
-rw-r--r-- | devel/libjit/DESCR | 10 | ||||
-rw-r--r-- | devel/libjit/Makefile | 20 | ||||
-rw-r--r-- | devel/libjit/PLIST | 39 | ||||
-rw-r--r-- | devel/libjit/buildlink3.mk | 18 | ||||
-rw-r--r-- | devel/libjit/distinfo | 5 | ||||
-rw-r--r-- | devel/libjit/patches/patch-aa | 12 |
6 files changed, 104 insertions, 0 deletions
diff --git a/devel/libjit/DESCR b/devel/libjit/DESCR new file mode 100644 index 00000000000..affef060662 --- /dev/null +++ b/devel/libjit/DESCR @@ -0,0 +1,10 @@ +The libjit library implements Just-In-Time compilation functionality. Unlike +other JIT's, this one is designed to be independent of any particular virtual +machine bytecode format or language. The hope is that Free Software projects +can get a leg-up on proprietry VM vendors by using this library rather than +spending large amounts of time writing their own JIT from scratch. + +This JIT is also designed to be portable to multiple archictures. If you run +libjit on a machine for which a native code generator is not yet available, +then libjit will fall back to interpreting the code. This way, you don't need +to write your own interpreter for your bytecode format if you don't want to. diff --git a/devel/libjit/Makefile b/devel/libjit/Makefile new file mode 100644 index 00000000000..1aac54f5bad --- /dev/null +++ b/devel/libjit/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/05/16 01:12:14 xtraeme Exp $ +# + +DISTNAME= libjit-0.0.2 +CATEGORIES= devel +MASTER_SITES= http://www.southern-storm.com.au/download/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.southern-storm.com.au/libjit.html +COMMENT= Just-In-Time compilation functionality + +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +USE_GNU_TOOLS+= make +GNU_CONFIGURE= yes + +INFO_FILES= libjit.info + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libjit/PLIST b/devel/libjit/PLIST new file mode 100644 index 00000000000..88a6cd77f45 --- /dev/null +++ b/devel/libjit/PLIST @@ -0,0 +1,39 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/16 01:12:14 xtraeme Exp $ +include/jit/jit-apply.h +include/jit/jit-block.h +include/jit/jit-common.h +include/jit/jit-context.h +include/jit/jit-defs.h +include/jit/jit-dump.h +include/jit/jit-dynamic.h +include/jit/jit-elf.h +include/jit/jit-except.h +include/jit/jit-function.h +include/jit/jit-init.h +include/jit/jit-insn.h +include/jit/jit-intrinsic.h +include/jit/jit-meta.h +include/jit/jit-opcode.h +include/jit/jit-plus.h +include/jit/jit-type.h +include/jit/jit-util.h +include/jit/jit-value.h +include/jit/jit-walk.h +include/jit/jit.h +lib/libjit.a +lib/libjit.la +lib/libjit.so +lib/libjit.so.0 +lib/libjit.so.0.0 +lib/libjitdynamic.a +lib/libjitdynamic.la +lib/libjitdynamic.so +lib/libjitdynamic.so.0 +lib/libjitdynamic.so.0.0 +lib/libjitplus.a +lib/libjitplus.la +lib/libjitplus.so +lib/libjitplus.so.0 +lib/libjitplus.so.0.0 +man/man3/libjit.3 +@dirrm include/jit diff --git a/devel/libjit/buildlink3.mk b/devel/libjit/buildlink3.mk new file mode 100644 index 00000000000..8aa087504a4 --- /dev/null +++ b/devel/libjit/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/05/16 01:12:15 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBJIT_BUILDLINK3_MK:= ${LIBJIT_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libjit +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibjit} +BUILDLINK_PACKAGES+= libjit + +.if !empty(LIBJIT_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libjit+= libjit>=0.0.2 +BUILDLINK_PKGSRCDIR.libjit?= ../../devel/libjit +.endif # LIBJIT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/libjit/distinfo b/devel/libjit/distinfo new file mode 100644 index 00000000000..976781c6097 --- /dev/null +++ b/devel/libjit/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/05/16 01:12:14 xtraeme Exp $ + +SHA1 (libjit-0.0.2.tar.gz) = b912a04273db2c67acf5384709b4703fc0950c34 +Size (libjit-0.0.2.tar.gz) = 523897 bytes +SHA1 (patch-aa) = b4d32b2edab7708661a269ec774952341a1d61d0 diff --git a/devel/libjit/patches/patch-aa b/devel/libjit/patches/patch-aa new file mode 100644 index 00000000000..d29da46543f --- /dev/null +++ b/devel/libjit/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/05/16 01:12:15 xtraeme Exp $ + +--- jit/jit-interp.cpp.orig 2004-05-16 03:06:50.000000000 +0200 ++++ jit/jit-interp.cpp 2004-05-16 03:07:31.000000000 +0200 +@@ -30,6 +30,7 @@ + #include "jit-rules.h" + #include "jit-memory.h" + #include <config.h> ++#include <stdlib.h> + #if HAVE_ALLOCA_H + #include <alloca.h> + #endif |