36 $$(error Cannot continue.)
37 else
38 ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
39 $$(info Prebuilt variable $1=$$($1))
40 endif
41 endif
42 endef
43
44 # It is the responsibility of the file including us to have set these up.
45 # Verify that this is correct.
46 $(eval $(call VerifyVariable,SPEC))
47 $(eval $(call VerifyVariable,TOPDIR))
48 $(eval $(call VerifyVariable,OUTPUTDIR))
49 $(eval $(call VerifyVariable,BOOT_JDK))
50 $(eval $(call VerifyVariable,JT_HOME))
51 $(eval $(call VerifyVariable,JDK_IMAGE_DIR))
52 $(eval $(call VerifyVariable,TEST_IMAGE_DIR))
53 $(eval $(call VerifyVariable,MAKE))
54 $(eval $(call VerifyVariable,BASH))
55
56 ################################################################################
57 # The "human readable" name of this configuration
58 CONF_NAME := run-test-prebuilt
59
60 # Number of parallel jobs to use for compilation
61 JOBS ?= $(NUM_CORES)
62 TEST_JOBS ?= 0
63
64 # Use hard-coded values for java flags (one size, fits all!)
65 JAVA_FLAGS := -Duser.language=en -Duser.country=US
66 JAVA_FLAGS_BIG := -Xms64M -Xmx2048M
67 JAVA_FLAGS_SMALL := -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
68 BUILDJDK_JAVA_FLAGS_SMALL := -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
69 BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
70
71 ################################################################################
72 # Hard-coded values copied from spec.gmk.in.
73 X :=
74 SPACE := $(X) $(X)
75 COMMA := ,
76 MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
77 MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
78 BASH_ARGS := -o pipefail -e
79 SHELL := $(BASH) $(BASH_ARGS)
80
81 ################################################################################
82 # Set some reasonable defaults for features
83 DEBUG_LEVEL := release
84 HOTSPOT_DEBUG_LEVEL := release
85 BUILD_FAILURE_HANDLER := true
86
|
36 $$(error Cannot continue.)
37 else
38 ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
39 $$(info Prebuilt variable $1=$$($1))
40 endif
41 endif
42 endef
43
44 # It is the responsibility of the file including us to have set these up.
45 # Verify that this is correct.
46 $(eval $(call VerifyVariable,SPEC))
47 $(eval $(call VerifyVariable,TOPDIR))
48 $(eval $(call VerifyVariable,OUTPUTDIR))
49 $(eval $(call VerifyVariable,BOOT_JDK))
50 $(eval $(call VerifyVariable,JT_HOME))
51 $(eval $(call VerifyVariable,JDK_IMAGE_DIR))
52 $(eval $(call VerifyVariable,TEST_IMAGE_DIR))
53 $(eval $(call VerifyVariable,MAKE))
54 $(eval $(call VerifyVariable,BASH))
55
56 include $(TOPDIR)/make/conf/version-numbers.conf
57 VERSION_FEATURE := $(DEFAULT_VERSION_FEATURE)
58
59 ################################################################################
60 # The "human readable" name of this configuration
61 CONF_NAME := run-test-prebuilt
62
63 # Number of parallel jobs to use for compilation
64 JOBS ?= $(NUM_CORES)
65 TEST_JOBS ?= 0
66
67 # Use hard-coded values for java flags (one size, fits all!)
68 JAVA_FLAGS := -Duser.language=en -Duser.country=US
69 JAVA_FLAGS_BIG := -Xms64M -Xmx3200M
70 JAVA_FLAGS_SMALL := -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
71 BUILDJDK_JAVA_FLAGS_SMALL := -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
72 BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
73
74 ################################################################################
75 # Hard-coded values copied from spec.gmk.in.
76 X :=
77 SPACE := $(X) $(X)
78 COMMA := ,
79 MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
80 MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
81 BASH_ARGS := -o pipefail -e
82 SHELL := $(BASH) $(BASH_ARGS)
83
84 ################################################################################
85 # Set some reasonable defaults for features
86 DEBUG_LEVEL := release
87 HOTSPOT_DEBUG_LEVEL := release
88 BUILD_FAILURE_HANDLER := true
89
|