source: trunk/abcl/contrib/abcl-build/build/customizations-default.lisp

Last change on this file was 15009, checked in by Mark Evenson, 7 years ago

Rework ABCL-BUILD as a contrib

ABCL-BUILD now more usefully installs necessary build machinery.

Refactor the ABCL-BUILD Lisp based build to use use Ant, which allows
us to canonicalize the build instructions in a much more configurable
manner, restoring the cross-implementation build of ABCL for CL users
who really do want to know about Java tooling.

Since we want to use ASDF/UIOP anyways, this code is best expressed as
an abcl contrib where such behavior can profitably take place.

TODO: does not pass all tests

TODO: API compatibility so that build-from-lisp.bash works

TODO: If an invocable Ant cannot be found, then offer to install one via restart

TODO: work backwards to the scenario that we are booting in pure
interepreted mode without access to compilers.

File size: 1012 bytes
Line 
1;;; Copy this file to "customizations.lisp"
2
3;;; User customizations for the build.
4
5;;; This file is LOADed by INITIALIZE-BUILD (in build-abcl.lisp).
6
7;;; The variable *PLATFORM-IS-WINDOWS* should be true on Windows platforms. You
8;;; can, of course, substitute your own test for this in the code below, or add
9;;; a section for OS X, or Solaris, or whatever...
10
11;;; You MUST set *JDK* to the location of the JDK you want to use. Remove or
12;;; comment out settings that don't apply to your situation.
13
14;;; You don't really need to specify anything but *JDK*. *JAVA-COMPILER* and
15;;; *JAR* default to javac and jar, respectively, from the configured JDK.
16
17;;; Directories should be specified with a trailing slash (or, on Windows, a
18;;; trailing backslash).
19
20(in-package :abcl/build)
21
22;; Standard compiler options.
23(defparameter *javac-options*
24  "-g")
25(defparameter *jikes-options*
26  "+D -g")
27
28(defparameter *jdk*
29  (cond
30    ((uiop:os-macosx-p) 
31     "/usr/")
32    (t
33     (introspect-path-for "javac"))))
34
35
36
37
38
Note: See TracBrowser for help on using the repository browser.