Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 22:08:24 -0400 (EDT)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66038: [NEW PORT] lang/libjit: Libjit implements Just-In-Time compilation functionality
Message-ID:  <20040428020824.0A92F64DE@ahze.ahze.net>
Resent-Message-ID: <200404280210.i3S2ANN7083340@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66038
>Category:       ports
>Synopsis:       [NEW PORT] lang/libjit: Libjit implements Just-In-Time compilation functionality
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 27 19:10:23 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #43: Thu Apr 22 05:38:22 EDT 2004
>Description:
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.

WWW:	http://www.southern-storm.com.au/libjit.html

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- libjit-0.0.0f.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libjit
#	libjit/pkg-descr
#	libjit/Makefile
#	libjit/pkg-plist
#	libjit/distinfo
#	libjit/files
#	libjit/files/patch-aa
#	libjit/files/patch-ab
#	libjit/files/patch-ad
#	libjit/files/patch-ac
#
echo c - libjit
mkdir -p libjit > /dev/null 2>&1
echo x - libjit/pkg-descr
sed 's/^X//' >libjit/pkg-descr << 'END-of-libjit/pkg-descr'
XThe libjit library implements Just-In-Time compilation functionality. Unlike
Xother JIT's, this one is designed to be independent of any particular virtual
Xmachine bytecode format or language. The hope is that Free Software projects
Xcan get a leg-up on proprietry VM vendors by using this library rather than
Xspending large amounts of time writing their own JIT from scratch.
X
XThis JIT is also designed to be portable to multiple archictures. If you run 
Xlibjit on a machine for which a native code generator is not yet available, 
Xthen libjit will fall back to interpreting the code. This way, you don't need 
Xto write your own interpreter for your bytecode format if you don't want to.
X
XWWW:	http://www.southern-storm.com.au/libjit.html
END-of-libjit/pkg-descr
echo x - libjit/Makefile
sed 's/^X//' >libjit/Makefile << 'END-of-libjit/Makefile'
X# New ports collection makefile for:	libjit
X# Date created:		2004-04-27
X# Whom:			michael johnson <ahze@ahze.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libjit
XPORTVERSION=	0.0.0f
XCATEGORIES=	lang
XMASTER_SITES=	http://www.southern-storm.com.au/download/
X
XMAINTAINER=	ahze@ahze.net
XCOMMENT=	Libjit implements Just-In-Time compilation functionality
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XINFO=		libjit
XMAN3=		libjit.3
X
X.include <bsd.port.mk>
END-of-libjit/Makefile
echo x - libjit/pkg-plist
sed 's/^X//' >libjit/pkg-plist << 'END-of-libjit/pkg-plist'
Xinclude/jit/jit-apply.h
Xinclude/jit/jit-block.h
Xinclude/jit/jit-common.h
Xinclude/jit/jit-context.h
Xinclude/jit/jit-defs.h
Xinclude/jit/jit-dump.h
Xinclude/jit/jit-elf.h
Xinclude/jit/jit-except.h
Xinclude/jit/jit-function.h
Xinclude/jit/jit-init.h
Xinclude/jit/jit-insn.h
Xinclude/jit/jit-intrinsic.h
Xinclude/jit/jit-meta.h
Xinclude/jit/jit-opcode.h
Xinclude/jit/jit-plus.h
Xinclude/jit/jit-type.h
Xinclude/jit/jit-util.h
Xinclude/jit/jit-value.h
Xinclude/jit/jit-walk.h
Xinclude/jit/jit.h
Xlib/libjit.a
Xlib/libjitplus.a
X@dirrm include/jit
END-of-libjit/pkg-plist
echo x - libjit/distinfo
sed 's/^X//' >libjit/distinfo << 'END-of-libjit/distinfo'
XMD5 (libjit-0.0.0f.tar.gz) = 74ec58a39c3d46e1455295c80931c596
XSIZE (libjit-0.0.0f.tar.gz) = 409251
END-of-libjit/distinfo
echo c - libjit/files
mkdir -p libjit/files > /dev/null 2>&1
echo x - libjit/files/patch-aa
sed 's/^X//' >libjit/files/patch-aa << 'END-of-libjit/files/patch-aa'
X--- jit/jit-apply.c.orig	Tue Apr 27 00:21:55 2004
X+++ jit/jit-apply.c	Tue Apr 27 00:23:21 2004
X@@ -23,6 +23,9 @@
X #include "jit-apply-rules.h"
X #include "jit-apply-func.h"
X #include "jit-cache.h"
X+#ifdef __FreeBSD__
X+	#include <stdlib.h>
X+#endif
X #if HAVE_ALLOCA_H
X 	#include <alloca.h>
X #endif
END-of-libjit/files/patch-aa
echo x - libjit/files/patch-ab
sed 's/^X//' >libjit/files/patch-ab << 'END-of-libjit/files/patch-ab'
X--- jit/jit-insn.c.orig	Tue Apr 27 00:22:44 2004
X+++ jit/jit-insn.c	Tue Apr 27 00:23:09 2004
X@@ -21,6 +21,9 @@
X #include "jit-internal.h"
X #include "jit-rules.h"
X #include <config.h>
X+#ifdef __FreeBSD__
X+	#include <stdlib.h>
X+#endif
X #if HAVE_ALLOCA_H
X 	#include <alloca.h>
X #endif
END-of-libjit/files/patch-ab
echo x - libjit/files/patch-ad
sed 's/^X//' >libjit/files/patch-ad << 'END-of-libjit/files/patch-ad'
X--- tools/gen-apply.c.orig	Tue Apr 27 00:26:20 2004
X+++ tools/gen-apply.c	Tue Apr 27 00:26:40 2004
X@@ -22,6 +22,9 @@
X #include "jit-apply-func.h"
X #include <stdio.h>
X #include <config.h>
X+#ifdef __FreeBSD__
X+	#include <stdlib.h>
X+#endif
X #if HAVE_ALLOCA_H
X 	#include <alloca.h>
X #endif
END-of-libjit/files/patch-ad
echo x - libjit/files/patch-ac
sed 's/^X//' >libjit/files/patch-ac << 'END-of-libjit/files/patch-ac'
X--- jit/jit-interp.cpp.orig	Tue Apr 27 00:23:50 2004
X+++ jit/jit-interp.cpp	Tue Apr 27 00:24:18 2004
X@@ -30,6 +30,9 @@
X #include "jit-rules.h"
X #include "jit-memory.h"
X #include <config.h>
X+#ifdef __FreeBSD__
X+	#include <stdlib.h>
X+#endif
X #if HAVE_ALLOCA_H
X 	#include <alloca.h>
X #endif
END-of-libjit/files/patch-ac
exit
--- libjit-0.0.0f.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040428020824.0A92F64DE>