Changeset 15407
- Timestamp:
- 10/14/20 07:07:13 (3 years ago)
- Location:
- trunk/abcl
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/abcl.properties.in
r15259 r15407 9 9 ## javac compiler options for ABCL build 10 10 # generate class files for this target JVM 11 abcl.javac.target=1.811 #ant.build.javac.target=1.8 12 12 # specify Java source compatiblity level 13 abcl.javac.source=1.613 #ant.build.javac.source=1.6 14 14 15 15 ## Additional site specific startup code to be merged in 'system.lisp' at build time -
trunk/abcl/build.xml
r15378 r15407 194 194 </target> 195 195 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"/> 196 <!-- The Java compilation options are perhaps underspecified in 197 terms of the target JVM in order to support a developer who 198 simply wants to compile and run locally with least hassles. 199 200 When preparing ABCL binaries for wider distribution, the 201 values of the abcl.build.target.javac and 202 abcl.build.source.java become more important. 203 204 The 'abcl.properties.autoconfigure.*' targets use the 205 ci/create-build-properties.bash script to set these options 206 for various openjdk platforms. 207 --> 201 208 202 209 <target name="abcl.compile.java" … … 206 213 <javac destdir="${build.classes.dir}" 207 214 debug="true" 208 target="${abcl.javac.target}"209 source="${abcl.javac.source}"210 215 includeantruntime="false" 211 216 encoding="UTF-8" … … 1219 1224 1220 1225 <target name="abcl.release" 1221 depends="abcl.clean,abcl. binary.tar,abcl.source.tar,abcl.binary.zip,abcl.source.zip">1226 depends="abcl.clean,abcl.properties.autoconfigure.openjdk.8,abcl.binary.tar,abcl.source.tar,abcl.binary.zip,abcl.source.zip,abcl.wrapper"> 1222 1227 <copy file="${abcl.jar.path}" 1223 1228 tofile="${dist.dir}/abcl-${abcl.version}.jar"/> -
trunk/abcl/ci/create-abcl-properties.awk
r15281 r15407 1 1 /^java.options/ {print $0 " " options; next} 2 / ^abcl.javac.target/ {print "abcl.javac.target=" target; next}3 / ^abcl.javac.source/ {print "abcl.javac.source=" source; next}2 /ant.build.javac.target/ {print "ant.build.javac.target=" target; next} 3 /ant.build.javac.source/ {print "ant.build.javac.source=" source; next} 4 4 {print $0} -
trunk/abcl/ci/create-abcl-properties.bash
r15378 r15407 19 19 6|openjdk6) 20 20 options="-d64 -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=1g -XX:+UseConcMarkSweepGC" 21 a bcl_javac_target=1.622 a bcl_javac_source=1.621 ant_build_javac_target=1.6 22 ant_build_javac_source=1.6 23 23 ;; 24 24 7|openjdk7) 25 25 options="-d64 -XX:+UseG1GC" 26 a bcl_javac_target=1.727 a bcl_javac_source=1.726 ant_build_javac_target=1.7 27 ant_build_javac_source=1.7 28 28 ;; 29 29 8|openjdk8) 30 30 options="-XX:+UseG1GC -XX:+AggressiveOpts -XX:CompileThreshold=10" 31 a bcl_javac_target=1.832 a bcl_javac_source=1.831 ant_build_javac_target=1.8 32 ant_build_javac_source=1.8 33 33 ;; 34 34 11|openjdk11) 35 35 options="-XX:CompileThreshold=10" 36 a bcl_javac_target=1137 a bcl_javac_source=1.836 ant_build_javac_target=11 37 ant_build_javac_source=1.8 38 38 ;; 39 39 # untested: weakly unsupported 40 40 12|openjdk12) 41 41 options="-XX:CompileThreshold=10" 42 a bcl_javac_target=1243 a bcl_javac_source=1.842 ant_build_javac_target=12 43 ant_build_javac_source=1.8 44 44 ;; 45 45 13|openjdk13) 46 46 options="-XX:CompileThreshold=10" 47 a bcl_javac_target=1348 a bcl_javac_source=1.847 ant_build_javac_target=13 48 ant_build_javac_source=1.8 49 49 ;; 50 50 14|openjdk14) 51 51 options="-XX:CompileThreshold=10 ${zgc}" 52 a bcl_javac_target=1453 a bcl_javac_source=1.852 ant_build_javac_target=14 53 ant_build_javac_source=1.8 54 54 ;; 55 55 15|openjdk15) 56 56 options="-XX:CompileThreshold=10 ${zgc}" 57 a bcl_javac_target=1558 a bcl_javac_source=1.857 ant_build_javac_target=15 58 ant_build_javac_source=1.8 59 59 ;; 60 60 esac … … 63 63 | awk -F = \ 64 64 -v options="$options" \ 65 -v target="$a bcl_javac_target" \66 -v source="$a bcl_javac_source" \65 -v target="$ant_build_javac_target" \ 66 -v source="$ant_build_javac_source" \ 67 67 -f ${DIR}/create-abcl-properties.awk \ 68 68 > ${root}/abcl.properties
Note: See TracChangeset
for help on using the changeset viewer.