< prev index next >

make/RunTestsPrebuiltSpec.gmk

Print this page
rev 49619 : JEP 328 : Flight Recorder open source preview
   1 #
   2 # Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


  60 
  61 # Use hard-coded values for java flags (one size, fits all!)
  62 JAVA_FLAGS := -Duser.language=en -Duser.country=US
  63 JAVA_FLAGS_BIG:= -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
  64 JAVA_FLAGS_SMALL:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
  65 BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
  66 
  67 ################################################################################
  68 # Hard-coded values copied from spec.gmk.in.
  69 X:=
  70 SPACE:=$(X) $(X)
  71 COMMA:=,
  72 MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
  73     MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
  74 BASH_ARGS := -o pipefail -e
  75 SHELL := $(BASH) $(BASH_ARGS)
  76 
  77 ################################################################################
  78 # Set some reasonable defaults for features
  79 DEBUG_LEVEL := release

  80 HOTSPOT_DEBUG_LEVEL := release
  81 BUILD_GTEST := true
  82 BUILD_FAILURE_HANDLER := true
  83 
  84 ################################################################################
  85 # Alias some paths (that should not really be used) to our JDK image under test.
  86 SUPPORT_OUTPUTDIR := $(OUTPUTDIR)/support
  87 BUILDTOOLS_OUTPUTDIR := $(OUTPUTDIR)/buildtools
  88 HOTSPOT_OUTPUTDIR := $(OUTPUTDIR)/hotspot
  89 JDK_OUTPUTDIR := $(OUTPUTDIR)/jdk
  90 IMAGES_OUTPUTDIR := $(OUTPUTDIR)/images
  91 BUNDLES_OUTPUTDIR := $(OUTPUTDIR)/bundles
  92 TESTMAKE_OUTPUTDIR := $(OUTPUTDIR)/test-make
  93 MAKESUPPORT_OUTPUTDIR := $(OUTPUTDIR)/make-support
  94 BUILDJDK_OUTPUTDIR := $(OUTPUTDIR)/buildjdk
  95 
  96 JRE_IMAGE_DIR := $(JDK_IMAGE_DIR)
  97 
  98 ################################################################################
  99 # Assume build platform is same as target platform


   1 #
   2 # Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


  60 
  61 # Use hard-coded values for java flags (one size, fits all!)
  62 JAVA_FLAGS := -Duser.language=en -Duser.country=US
  63 JAVA_FLAGS_BIG:= -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
  64 JAVA_FLAGS_SMALL:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
  65 BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
  66 
  67 ################################################################################
  68 # Hard-coded values copied from spec.gmk.in.
  69 X:=
  70 SPACE:=$(X) $(X)
  71 COMMA:=,
  72 MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
  73     MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
  74 BASH_ARGS := -o pipefail -e
  75 SHELL := $(BASH) $(BASH_ARGS)
  76 
  77 ################################################################################
  78 # Set some reasonable defaults for features
  79 DEBUG_LEVEL := release
  80 ENABLE_JFR := true
  81 HOTSPOT_DEBUG_LEVEL := release
  82 BUILD_GTEST := true
  83 BUILD_FAILURE_HANDLER := true
  84 
  85 ################################################################################
  86 # Alias some paths (that should not really be used) to our JDK image under test.
  87 SUPPORT_OUTPUTDIR := $(OUTPUTDIR)/support
  88 BUILDTOOLS_OUTPUTDIR := $(OUTPUTDIR)/buildtools
  89 HOTSPOT_OUTPUTDIR := $(OUTPUTDIR)/hotspot
  90 JDK_OUTPUTDIR := $(OUTPUTDIR)/jdk
  91 IMAGES_OUTPUTDIR := $(OUTPUTDIR)/images
  92 BUNDLES_OUTPUTDIR := $(OUTPUTDIR)/bundles
  93 TESTMAKE_OUTPUTDIR := $(OUTPUTDIR)/test-make
  94 MAKESUPPORT_OUTPUTDIR := $(OUTPUTDIR)/make-support
  95 BUILDJDK_OUTPUTDIR := $(OUTPUTDIR)/buildjdk
  96 
  97 JRE_IMAGE_DIR := $(JDK_IMAGE_DIR)
  98 
  99 ################################################################################
 100 # Assume build platform is same as target platform


< prev index next >