From 0e3fda4cde42ab64aa851dafbe3e243ad5227b14 Mon Sep 17 00:00:00 2001 From: erikj Date: Fri, 18 Jan 2013 09:58:23 +0100 Subject: 8006520: build-infra: Fix sparkle-framework configure parameter Reviewed-by: tbell, ohair --- common/autoconf/generated-configure.sh | 28 +++++++++++++++++++++++++++- common/makefiles/Jprt.gmk | 3 +++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/common/autoconf/generated-configure.sh b/common/autoconf/generated-configure.sh index ff6a41f..2ab9711 100644 --- a/common/autoconf/generated-configure.sh +++ b/common/autoconf/generated-configure.sh @@ -2927,6 +2927,32 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- + +# +# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + # # Copyright © 2004 Scott James Remnant . # @@ -3697,7 +3723,7 @@ fi #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1358165331 +DATE_WHEN_GENERATED=1358499442 ############################################################################### # diff --git a/common/makefiles/Jprt.gmk b/common/makefiles/Jprt.gmk index 78e2096..0df36d5 100644 --- a/common/makefiles/Jprt.gmk +++ b/common/makefiles/Jprt.gmk @@ -128,6 +128,9 @@ else ifdef ALT_SLASH_JAVA @$(ECHO) " --with-java-devtools=$(call UnixPath,$(ALT_SLASH_JAVA)/devtools) " >> $@.tmp endif + ifdef ALT_SPARKLE_FRAMEWORK_DIR + @$(ECHO) " --with-sparkle-framework=$(call UnixPath,$(ALT_SPARKLE_FRAMEWORK_DIR)) " >> $@.tmp + endif endif @if [ -f $@ ] ; then \ if ! $(CMP) $@ $@.tmp > /dev/null ; then \ -- cgit v1.2.3 From 5aa03643c0c2436644dca7112f56a7d10e932290 Mon Sep 17 00:00:00 2001 From: erikj Date: Fri, 18 Jan 2013 16:48:25 +0100 Subject: 8003693: build-infra: bridgeBuild should allow for partial build (no hotspot) Reviewed-by: tbell --- common/makefiles/Jprt.gmk | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/common/makefiles/Jprt.gmk b/common/makefiles/Jprt.gmk index 0df36d5..05a7c66 100644 --- a/common/makefiles/Jprt.gmk +++ b/common/makefiles/Jprt.gmk @@ -43,24 +43,20 @@ endef BUILD_DIR_ROOT:=$(root_dir)/build -# Appears to be an open build -OPEN_BUILD := \ -$(shell \ - if [ -d $(root_dir)/jdk/src/closed \ - -o -d $(root_dir)/jdk/make/closed \ - -o -d $(root_dir)/jdk/test/closed \ - -o -d $(root_dir)/hotspot/src/closed \ - -o -d $(root_dir)/hotspot/make/closed \ - -o -d $(root_dir)/hotspot/test/closed ] ; then \ - echo "false"; \ - else \ - echo "true"; \ - fi \ - ) ifdef OPENJDK OPEN_BUILD=true +else + OPEN_BUILD := $(if $(or $(wildcard $(root_dir)/jdk/src/closed), \ + $(wildcard $(root_dir)/jdk/make/closed), \ + $(wildcard $(root_dir)/jdk/test/closed), \ + $(wildcard $(root_dir)/hotspot/src/closed), \ + $(wildcard $(root_dir)/hotspot/make/closed), \ + $(wildcard $(root_dir)/hotspot/test/closed)), \ + false,true) endif +HOTSPOT_AVAILABLE := $(if $(wildcard $(root_dir)/hotspot),true,false) + ########################################################################### # To help in adoption of the new configure&&make build process, a bridge # build will use the old settings to run configure and do the build. @@ -103,6 +99,11 @@ endif ifdef ALT_FREETYPE_HEADERS_PATH @$(ECHO) " --with-freetype=$(call UnixPath,$(ALT_FREETYPE_HEADERS_PATH)/..) " >> $@.tmp endif +ifeq ($(HOTSPOT_AVAILABLE),false) + ifdef ALT_JDK_IMPORT_PATH + @$(ECHO) " --with-import-hotspot=$(call UnixPath,$(ALT_JDK_IMPORT_PATH)) " >> $@.tmp + endif +endif ifeq ($(OPEN_BUILD),true) @$(ECHO) " --enable-openjdk-only " >> $@.tmp else -- cgit v1.2.3 From 969dc67ad9f1a7c6aff45caeee14bc4b40be54b3 Mon Sep 17 00:00:00 2001 From: tbell Date: Wed, 23 Jan 2013 13:30:11 -0800 Subject: 8006797: build-infra JPRT builds need JPRT_ARCHIVE_INSTALL_BUNDLE in common/makefiles/Jprt.gmk Reviewed-by: ohair --- common/makefiles/Jprt.gmk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/makefiles/Jprt.gmk b/common/makefiles/Jprt.gmk index 05a7c66..b8bc418 100644 --- a/common/makefiles/Jprt.gmk +++ b/common/makefiles/Jprt.gmk @@ -150,6 +150,9 @@ PHONY_LIST += bridge2configure bridgeBuild ifndef JPRT_ARCHIVE_BUNDLE JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip endif +ifndef JPRT_ARCHIVE_INSTALL_BUNDLE + JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip +endif # These targets execute in a SPEC free context, before calling bridgeBuild # to generate the SPEC. @@ -188,6 +191,9 @@ ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64) else $(CD) $(JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip . $(CD) $(JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip . + if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \ + $(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \ + fi endif @$(call TargetExit) -- cgit v1.2.3