Changeset 15185


Ignore:
Timestamp:
11/22/19 10:40:10 (4 years ago)
Author:
Mark Evenson
Message:

build: make target JVM and source compatiblity developer configurable

For compiling beyond openjdk11, one needs to increment the values of
'abcl.javac.target' and 'abcl.javac.source' in <file:abcl.properties>.

Location:
trunk/abcl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/abcl.properties.in

    r15133 r15185  
    88# Attempt to perform incremental compilation?
    99abcl.build.incremental=true
     10
     11## javac compiler options for ABCL build
     12# generate class files for this target JVM
     13abcl.javac.target=1.8
     14# specify Java source compatiblity level
     15abcl.javac.source=1.6
    1016
    1117# Additional site specific startup code to be merged in 'system.lisp' at build time
  • trunk/abcl/build.xml

    r15084 r15185  
    194194    </target>
    195195
     196    <!-- For compiling beyond openjdk11, one needs to increment these values in <file:abcl.properties> -->
     197    <property name="abcl.javac.target"
     198              value="1.6"/>
     199    <property name="abcl.javac.source"
     200              value="1.6"/>
     201
    196202    <target name="abcl.compile.java"
    197203            depends="abcl.init,abcl.java.warning">
    198204      <mkdir dir="${build.dir}"/>
    199205      <mkdir dir="${build.classes.dir}"/>
    200       <!-- Stock build for Java 1.6 (aka Java 2) container -->
    201206      <javac destdir="${build.classes.dir}"
    202207             debug="true"
    203              target="1.6"
    204              source="1.6"
     208             target="${abcl.javac.target}"
     209             source="${abcl.javac.source}"
    205210             includeantruntime="false"
    206211             failonerror="true">
Note: See TracChangeset for help on using the changeset viewer.