source: trunk/abcl/abcl.asd @ 11556

Last change on this file since 11556 was 11556, checked in by Mark Evenson, 15 years ago

Fix the Lisp based build system to include with the new Java classes in src/org/armedbear/util.

Fix 'abcl.asd' to work with the ASDF distributed with SBCL/CLISP by
removing obsoleted ':documentation' keywords. ABCL's version of
'asdf.lisp' is really old, so should be replaced.

Add the location of src/org/armedbear/util classes to the auxillary
jar scripts.

  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1;;; -*- Mode: LISP; Syntax: COMMON-LISP -*-
2;;; $Id: abcl.asd 11556 2009-01-15 10:07:39Z mevenson $
3
4(require 'asdf)
5(defpackage :abcl-asdf
6  (:use :cl :asdf))
7(in-package :abcl-asdf)
8
9;;; Wrapper for all ABCL ASDF definitions.
10(defsystem :abcl
11  :version "0.2.0")
12
13(defmethod perform :after ((o load-op) (c (eql (find-system 'abcl))))
14  ;;; Additional test suite loads would go here.
15  (asdf:oos 'asdf:load-op :test-abcl :force t))
16
17(defmethod perform ((o test-op) (c (eql (find-system 'abcl))))
18  ;;; Additional test suite invocations would go here.
19  (asdf:oos 'asdf:test-op :ansi-test-compiled :force t))
20
21;;; A collection of test suites for ABCL.
22(defsystem :test-abcl
23
24  :version "0.3"
25  :depends-on (:ansi-test-compiled :ansi-test-interpreted))
26
27(defmethod perform :after ((o test-op) (c (eql (find-system 'test-abcl))))
28  (asdf:oos 'asdf:load-op :ansi-test-interpreted :force t)
29  (asdf:oos 'asdf:load-op :ansi-test-compiled :force t))
30
31(defsystem :ansi-test :version "0.1" :components
32     ;;; GCL ANSI test suite.
33     ((:module ansi-tests :pathname "test/lisp/ansi/" :components
34         ((:file "package")))))
35(defsystem :ansi-test-interpreted :version "0,1" :depends-on (ansi-test))
36(defsystem :ansi-test-compiled :version "0.1" :depends-on (ansi-test))
37
38(defmethod perform ((o test-op) (c (eql (find-system 'ansi-test-interpreted))))
39  (funcall (intern (symbol-name 'run) :abcl.tests.ansi-tests)
40     :compile-tests nil))
41
42(defmethod perform ((o test-op) (c (eql (find-system 'ansi-test-compiled))))
43  (funcall (intern (symbol-name 'run) :abcl.tests.ansi-tests)
44     :compile-tests t))
45
46;;; Build ABCL from a Lisp.
47;;; Works for: abcl, sbcl, clisp, cmu, lispworks, allegro, openmcl
48(defsystem :build-abcl
49  :components
50     ((:module build :pathname ""  :components
51         ((:file "build-abcl")
52          (:file "customizations" :depends-on ("build-abcl"))))))
53
54
55
Note: See TracBrowser for help on using the repository browser.