Mark Evenson | 27 Aug 12:22

Making BUILD-ABCL an ASDF package (plus draft changes)

Attached please find patches to ABCL for the Lisp build system that I 
find quite useful (I don't really use the Ant build system, but maybe I 
am atypical).

This change:

   o  Provides an ASDF description for BUILD-ABCL, to make building
      ABCL easier from other Lisps (sbcl, clisp tested) and ABCL itself. 
  Use of ASDF is used to provide location for components in BUILD-ABCL.

   o  a new special BUILD-ABCL::*ADDITIONAL-JARS* which contains a list 
of pathnames to include on the CLASSPATH when using the UNIX 'abcl' 
shell script entry point (BUILD-ABCL::MAKE-LAUNCH-SCRIPT).  This does 
not work under WIN32 currently.  An example of loading Alan Ruttenburg's 
JSS (aka 'invoke.lisp') is included.

   o  Reorders 'build-abcl.lisp' to get all the special variables 
declared before attempting to load BUILD-ABCL::*CUSTOMIZATIONS-FILE*

   o  The default launch script no longer includes the ABCL 'src' 
directory, relying purely on the stuff in 'abcl.jar'.  This seems to 
provide a two order of magnitude speed-up on ABCL boot time once the JAR 
gets mapped into memory.

I am not fully happy with the code, mainly with how much I changed 
BUILD-ABCL wrt. to arguments (I had a lot of useless and tricky 
&optional forms that should be gone now, but I need to review.)

Comments welcome,
Mark <evenson <at> panix.com>
(Continue reading)

Mark Evenson | 27 Aug 20:57

Re: Making BUILD-ABCL an ASDF package (plus draft changes)

MAKE-TAGS working on OSX.

Additional patch to actually use ASDF:COMPONENT-PATHNAME in the 
generation of TAGS via BUILD-ABCL:MAKE-TAGS.

diff -r fd318f86a595 build-abcl.lisp
--- a/build-abcl.lisp	Wed Aug 27 13:54:16 2008 +0200
+++ b/build-abcl.lisp	Wed Aug 27 20:54:46 2008 +0200
@@ -5,7 +5,8 @@

 (defpackage build-abcl
   (:use "COMMON-LISP")
-  (:export #:build-abcl #:make-dist)
+  (:export #:build-abcl #:make-dist
+	   #:make-tags) ; Experimental
   (:nicknames #:build-abcl)
   #+abcl (:import-from #:extensions #:run-shell-command #:probe-directory)
   #+allegro (:import-from #:excl #:probe-directory)
@@ -630,9 +631,15 @@
         (format t "~A returned ~S~%" command status)))))

 ;;; BEGIN Experimental section
-
-(defun make-tags (&key (directory (asdf:find-system :build-abcl)))
+(defun make-tags (&key 
+		  (directory (asdf:component-pathname 
+			      (asdf:find-system :build-abcl))))
   "Try to make a TAGS for ABCL if etags(1L), find(1), xargs(1), and
(Continue reading)

Erik Huelsmann | 5 Nov 23:03

Re: Making BUILD-ABCL an ASDF package (plus draft changes)

Given our recent Ant system related changes, does the patch below still apply?

Bye,

Erik.

2008/8/27 Mark Evenson <evenson <at> panix.com>:
> Attached please find patches to ABCL for the Lisp build system that I find
> quite useful (I don't really use the Ant build system, but maybe I am
> atypical).
>
> This change:
>
>  o  Provides an ASDF description for BUILD-ABCL, to make building
>     ABCL easier from other Lisps (sbcl, clisp tested) and ABCL itself.  Use
> of ASDF is used to provide location for components in BUILD-ABCL.
>
>  o  a new special BUILD-ABCL::*ADDITIONAL-JARS* which contains a list of
> pathnames to include on the CLASSPATH when using the UNIX 'abcl' shell
> script entry point (BUILD-ABCL::MAKE-LAUNCH-SCRIPT).  This does not work
> under WIN32 currently.  An example of loading Alan Ruttenburg's JSS (aka
> 'invoke.lisp') is included.
>
>  o  Reorders 'build-abcl.lisp' to get all the special variables declared
> before attempting to load BUILD-ABCL::*CUSTOMIZATIONS-FILE*
>
>
>  o  The default launch script no longer includes the ABCL 'src' directory,
> relying purely on the stuff in 'abcl.jar'.  This seems to provide a two
> order of magnitude speed-up on ABCL boot time once the JAR gets mapped into
(Continue reading)

Mark Evenson | 6 Nov 07:52

Re: Making BUILD-ABCL an ASDF package (plus draft changes)

Erik Huelsmann wrote:
> Given our recent Ant system related changes, does the patch below still apply?
> 
> Bye,
> 
> Erik.
> 
> 2008/8/27 Mark Evenson <evenson <at> panix.com>:
>> Attached please find patches to ABCL for the Lisp build system that I find
>> quite useful (I don't really use the Ant build system, but maybe I am
>> atypical).
>>

Yes, it should apply, but I should reconsider this patch with respect to 
where the Ant based build system ended up.

I'll post a reply to this thread when I get the time with a new proposed 
patch.

Mark

--

-- 
"A screaming comes across the sky.  It has happened before, but there is
nothing to compare to it now."

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)


Gmane