pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libjit Initial import of libjit-0.0.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29277bae01d4
branches:  trunk
changeset: 475454:29277bae01d4
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sun May 16 01:12:14 2004 +0000

description:
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:

 devel/libjit/DESCR            |  10 ++++++++++
 devel/libjit/Makefile         |  20 ++++++++++++++++++++
 devel/libjit/PLIST            |  39 +++++++++++++++++++++++++++++++++++++++
 devel/libjit/buildlink3.mk    |  18 ++++++++++++++++++
 devel/libjit/distinfo         |   5 +++++
 devel/libjit/patches/patch-aa |  12 ++++++++++++
 6 files changed, 104 insertions(+), 0 deletions(-)

diffs (128 lines):

diff -r f840dd5dc900 -r 29277bae01d4 devel/libjit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libjit/DESCR        Sun May 16 01:12:14 2004 +0000
@@ -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 -r f840dd5dc900 -r 29277bae01d4 devel/libjit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libjit/Makefile     Sun May 16 01:12:14 2004 +0000
@@ -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@localhost
+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 -r f840dd5dc900 -r 29277bae01d4 devel/libjit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libjit/PLIST        Sun May 16 01:12:14 2004 +0000
@@ -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 -r f840dd5dc900 -r 29277bae01d4 devel/libjit/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libjit/buildlink3.mk        Sun May 16 01:12:14 2004 +0000
@@ -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 -r f840dd5dc900 -r 29277bae01d4 devel/libjit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libjit/distinfo     Sun May 16 01:12:14 2004 +0000
@@ -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 -r f840dd5dc900 -r 29277bae01d4 devel/libjit/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libjit/patches/patch-aa     Sun May 16 01:12:14 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index