make/jprt.properties

Tue, 15 Jul 2014 18:46:37 -0700

author
mikael
date
Tue, 15 Jul 2014 18:46:37 -0700
changeset 1140
6d0ebf545f49
parent 913
9937f406e27e
child 1152
2c08ede0f740
permissions
-rw-r--r--

8029797: Let jprt run configure when building
Reviewed-by: dholmes

duke@2 1 #
tbell@804 2 # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
duke@2 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@2 4 #
duke@2 5 # This code is free software; you can redistribute it and/or modify it
duke@2 6 # under the terms of the GNU General Public License version 2 only, as
ohair@182 7 # published by the Free Software Foundation. Oracle designates this
duke@2 8 # particular file as subject to the "Classpath" exception as provided
ohair@182 9 # by Oracle in the LICENSE file that accompanied this code.
duke@2 10 #
duke@2 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@2 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@2 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@2 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@2 15 # accompanied this code).
duke@2 16 #
duke@2 17 # You should have received a copy of the GNU General Public License version
duke@2 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@2 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@2 20 #
ohair@182 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@182 22 # or visit www.oracle.com if you need additional information or have any
ohair@182 23 # questions.
duke@2 24 #
duke@2 25
duke@2 26 # Properties for jprt
duke@2 27
ohair@389 28 # Locked down to jdk8
ohair@356 29 jprt.tools.default.release=jdk8
duke@2 30
ohair@570 31 # Unix toolkit to use for building on windows
ohair@570 32 jprt.windows.jdk8.build.unix.toolkit=cygwin
ohair@570 33
ohair@208 34 # The different build flavors we want, we override here so we just get these 2
duke@2 35 jprt.build.flavors=product,fastdebug
duke@2 36
ohair@225 37 # Standard list of jprt build targets for this source tree
ohair@225 38 jprt.build.targets= \
ohair@225 39 solaris_sparcv9_5.10-{product|fastdebug}, \
ohair@225 40 solaris_x64_5.10-{product|fastdebug}, \
ohair@225 41 linux_i586_2.6-{product|fastdebug}, \
ohair@225 42 linux_x64_2.6-{product|fastdebug}, \
michaelm@414 43 macosx_x64_10.7-{product|fastdebug}, \
tbell@804 44 windows_i586_6.1-{product|fastdebug}, \
tbell@804 45 windows_x64_6.1-{product|fastdebug}
ohair@159 46
ohair@225 47 # User can select the test set with jprt submit "-testset name" option
ohair@225 48 jprt.my.test.set=${jprt.test.set}
ohair@225 49
ohair@389 50 # Test target list (no fastdebug & limited c2 testing)
ohair@389 51 jprt.my.test.target.set= \
ohair@389 52 solaris_sparcv9_5.10-product-c2-TESTNAME, \
ohair@389 53 solaris_x64_5.10-product-c2-TESTNAME, \
ohair@389 54 linux_i586_2.6-product-{c1|c2}-TESTNAME, \
ohair@389 55 linux_x64_2.6-product-c2-TESTNAME, \
michaelm@414 56 macosx_x64_10.7-product-c2-TESTNAME, \
tbell@804 57 windows_i586_6.1-product-c1-TESTNAME, \
tbell@804 58 windows_x64_6.1-product-c2-TESTNAME
ohair@389 59
ohair@389 60 # Default vm test targets (testset=default)
ohair@225 61 jprt.vm.default.test.targets= \
ohair@389 62 ${jprt.my.test.target.set:TESTNAME=jvm98}, \
ohair@389 63 ${jprt.my.test.target.set:TESTNAME=scimark}
ohair@225 64
ohair@389 65 # Default jdk test targets (testset=default)
ohair@225 66 jprt.make.rule.default.test.targets= \
alanb@398 67 ${jprt.my.test.target.set:TESTNAME=langtools_jtreg}, \
alanb@398 68 ${jprt.my.test.target.set:TESTNAME=jdk_lang}, \
alanb@913 69 ${jprt.my.test.target.set:TESTNAME=jdk_math}, \
alanb@913 70 ${jprt.my.test.target.set:TESTNAME=jdk_util}
alanb@913 71
alanb@398 72
alanb@398 73 # Default vm test targets (testset=core)
alanb@913 74 jprt.vm.core.test.targets=
alanb@398 75
alanb@398 76 # Core jdk test targets (testset=core)
alanb@398 77 jprt.make.rule.core.test.targets= \
alanb@913 78 ${jprt.my.test.target.set:TESTNAME=jdk_lang}, \
alanb@913 79 ${jprt.my.test.target.set:TESTNAME=jdk_math}, \
alanb@398 80 ${jprt.my.test.target.set:TESTNAME=jdk_util}, \
ohair@389 81 ${jprt.my.test.target.set:TESTNAME=jdk_io}, \
ohair@389 82 ${jprt.my.test.target.set:TESTNAME=jdk_net}, \
alanb@490 83 ${jprt.my.test.target.set:TESTNAME=jdk_nio}, \
ohair@389 84 ${jprt.my.test.target.set:TESTNAME=jdk_security1}, \
alanb@398 85 ${jprt.my.test.target.set:TESTNAME=jdk_security2}, \
alanb@398 86 ${jprt.my.test.target.set:TESTNAME=jdk_security3}, \
alanb@398 87 ${jprt.my.test.target.set:TESTNAME=jdk_rmi}, \
alanb@913 88 ${jprt.my.test.target.set:TESTNAME=jdk_text}, \
alanb@913 89 ${jprt.my.test.target.set:TESTNAME=jdk_time}, \
alanb@913 90 ${jprt.my.test.target.set:TESTNAME=jdk_other}, \
alanb@913 91 ${jprt.my.test.target.set:TESTNAME=core_tools}
alanb@913 92
alanb@913 93 # Svc vm test targets (testset=svc)
alanb@913 94 jprt.vm.svc.test.targets=
alanb@913 95
alanb@913 96 # Core jdk test targets (testset=svc)
alanb@913 97 jprt.make.rule.svc.test.targets= \
alanb@490 98 ${jprt.my.test.target.set:TESTNAME=jdk_management}, \
alanb@913 99 ${jprt.my.test.target.set:TESTNAME=jdk_instrument}, \
alanb@490 100 ${jprt.my.test.target.set:TESTNAME=jdk_jmx}, \
alanb@913 101 ${jprt.my.test.target.set:TESTNAME=jdk_jdi}, \
sla@443 102 ${jprt.my.test.target.set:TESTNAME=jdk_jfr}, \
alanb@913 103 ${jprt.my.test.target.set:TESTNAME=svc_tools}
ohair@225 104
ohair@389 105 # All vm test targets (testset=all)
ohair@225 106 jprt.vm.all.test.targets= \
ohair@389 107 ${jprt.vm.default.test.targets}, \
ohair@389 108 ${jprt.my.test.target.set:TESTNAME=runThese}, \
ohair@389 109 ${jprt.my.test.target.set:TESTNAME=jbb_default}
ohair@225 110
ohair@389 111 # All jdk test targets (testset=all)
ohair@225 112 jprt.make.rule.all.test.targets= \
alanb@398 113 ${jprt.make.rule.core.test.targets}, \
alanb@913 114 ${jprt.make.rule.svc.test.targets}, \
ohair@389 115 ${jprt.my.test.target.set:TESTNAME=jdk_awt}, \
alanb@398 116 ${jprt.my.test.target.set:TESTNAME=jdk_beans1}, \
ohair@389 117 ${jprt.my.test.target.set:TESTNAME=jdk_beans2}, \
ohair@389 118 ${jprt.my.test.target.set:TESTNAME=jdk_beans3}, \
ohair@389 119 ${jprt.my.test.target.set:TESTNAME=jdk_sound}, \
alanb@398 120 ${jprt.my.test.target.set:TESTNAME=jdk_swing}
ohair@225 121
alanb@913 122 # PIT vm test targets (testset=pit)
alanb@913 123 jprt.vm.pit.test.targets= \
alanb@913 124 ${jprt.vm.all.test.targets}
alanb@913 125
alanb@913 126 # PIT jdk test targets (testset=pit)
alanb@913 127 jprt.make.rule.pit.test.targets= \
alanb@913 128 ${jprt.my.test.target.set:TESTNAME=langtools_jtreg}, \
alanb@913 129 ${jprt.make.rule.core.test.targets}, \
alanb@913 130 ${jprt.make.rule.svc.test.targets}
alanb@913 131
ohair@389 132 # JCK test targets in test/Makefile (no windows)
ohair@327 133 jprt.my.jck.test.target.set= \
ohair@327 134 solaris_sparcv9_5.10-product-c2-JCK7TESTRULE, \
ohair@327 135 solaris_x64_5.10-product-c2-JCK7TESTRULE, \
ohair@327 136 linux_i586_2.6-product-c1-JCK7TESTRULE, \
ohair@327 137 linux_x64_2.6-product-c2-JCK7TESTRULE
ohair@327 138
ohair@327 139 # JCK testset targets (e.g. jprt submit -testset jck ... )
ohair@327 140 jprt.make.rule.jck.test.targets= \
ohair@327 141 ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7devtools}, \
ohair@327 142 ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7runtime}, \
ohair@327 143 ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7compiler}
ohair@327 144
ohair@225 145 # Select list to use (allow for testset to be empty too)
ohair@389 146 jprt.make.rule..test.targets=${jprt.make.rule.default.test.targets}
ohair@389 147 jprt.make.rule.test.targets=${jprt.make.rule.${jprt.my.test.set}.test.targets}
ohair@389 148 jprt.vm..test.targets=${jprt.vm.default.test.targets}
ohair@389 149 jprt.test.targets=${jprt.vm.${jprt.my.test.set}.test.targets}
ohair@159 150
ohair@208 151 # Directories to be excluded from the source bundles
ohair@159 152 jprt.bundle.exclude.src.dirs=build dist webrev
ohair@159 153
mikael@1140 154 # Instruct jprt to use configure when building
mikael@1140 155 jprt.build.use.configure=true
mikael@1140 156 jprt.build.flavor.product.target=jprt_bundle
mikael@1140 157 jprt.build.flavor.fastdebug.target=jprt_bundle
mikael@1140 158 jprt.build.flavor.debug.target=jprt_bundle
mikael@1140 159
mikael@1140 160 # Add these configure args to all builds
mikael@1140 161 jprt.build.configure.args= \
mikael@1140 162 --with-boot-jdk=$ALT_BOOTDIR \
mikael@1140 163 --with-jobs=$ALT_PARALLEL_COMPILE_JOBS
mikael@1140 164
mikael@1140 165 # Add these configure args to 32 bit builds
mikael@1140 166 jprt.i586.build.configure.args= \
mikael@1140 167 --with-target-bits=32 \
mikael@1140 168 --with-jvm-variants=client,server
mikael@1140 169
mikael@1140 170 # Use these configure args to define debug level.
mikael@1140 171 jprt.product.build.configure.args=--with-debug-level=release
mikael@1140 172 jprt.fastdebug.build.configure.args=--with-debug-level=fastdebug
mikael@1140 173 jprt.debug.build.configure.args=--with-debug-level=slowdebug

mercurial