Merge
This commit is contained in:
commit
52a1ce800c
@ -5094,7 +5094,7 @@ VS_SDK_PLATFORM_NAME_2013=
|
|||||||
#CUSTOM_AUTOCONF_INCLUDE
|
#CUSTOM_AUTOCONF_INCLUDE
|
||||||
|
|
||||||
# Do not change or remove the following line, it is needed for consistency checks:
|
# Do not change or remove the following line, it is needed for consistency checks:
|
||||||
DATE_WHEN_GENERATED=1469202305
|
DATE_WHEN_GENERATED=1470297769
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
@ -43767,8 +43767,12 @@ $as_echo "$as_me: Rewriting OBJDUMP to \"$new_complete\"" >&6;}
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Restore old path.
|
# Restore old path, except for the microsoft toolchain, which requires VS_PATH
|
||||||
PATH="$OLD_PATH"
|
# to remain in place. Otherwise the compiler will not work in some siutations
|
||||||
|
# in later configure checks.
|
||||||
|
if test "x$TOOLCHAIN_TYPE" != "xmicrosoft"; then
|
||||||
|
PATH="$OLD_PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
# Restore the flags to the user specified values.
|
# Restore the flags to the user specified values.
|
||||||
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
|
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
|
||||||
|
@ -312,8 +312,12 @@ AC_DEFUN_ONCE([TOOLCHAIN_PRE_DETECTION],
|
|||||||
# Restore path, etc
|
# Restore path, etc
|
||||||
AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
|
AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
|
||||||
[
|
[
|
||||||
# Restore old path.
|
# Restore old path, except for the microsoft toolchain, which requires VS_PATH
|
||||||
PATH="$OLD_PATH"
|
# to remain in place. Otherwise the compiler will not work in some siutations
|
||||||
|
# in later configure checks.
|
||||||
|
if test "x$TOOLCHAIN_TYPE" != "xmicrosoft"; then
|
||||||
|
PATH="$OLD_PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
# Restore the flags to the user specified values.
|
# Restore the flags to the user specified values.
|
||||||
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
|
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
|
||||||
|
@ -335,7 +335,10 @@ else
|
|||||||
for j in ${repos_extra} ; do
|
for j in ${repos_extra} ; do
|
||||||
if [ "${i}" = "${j}" ] ; then
|
if [ "${i}" = "${j}" ] ; then
|
||||||
# it's an "extra"
|
# it's an "extra"
|
||||||
pull_base="${pull_extra}"
|
if [ -n "${pull_extra}" ]; then
|
||||||
|
# if no pull_extra is defined, assume that pull_default is valid
|
||||||
|
pull_base="${pull_extra}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -357,6 +357,18 @@ var getJibProfilesDependencies = function (input, common) {
|
|||||||
var boot_jdk_platform = input.build_os + "-"
|
var boot_jdk_platform = input.build_os + "-"
|
||||||
+ (input.build_cpu == "x86" ? "i586" : input.build_cpu);
|
+ (input.build_cpu == "x86" ? "i586" : input.build_cpu);
|
||||||
|
|
||||||
|
var boot_jdk_revision = "8";
|
||||||
|
var boot_jdk_subdirpart = "1.8.0";
|
||||||
|
// JDK 8 does not work on sparc M7 cpus, need a newer update when building
|
||||||
|
// on such hardware.
|
||||||
|
if (input.build_cpu == "sparcv9") {
|
||||||
|
var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
|
||||||
|
if (cpu_brand.trim() == 'SPARC-M7') {
|
||||||
|
boot_jdk_revision = "8u20";
|
||||||
|
boot_jdk_subdirpart = "1.8.0_20";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var devkit_platform_revisions = {
|
var devkit_platform_revisions = {
|
||||||
linux_x64: "gcc4.9.2-OEL6.4+1.0",
|
linux_x64: "gcc4.9.2-OEL6.4+1.0",
|
||||||
macosx_x64: "Xcode6.3-MacOSX10.9+1.0",
|
macosx_x64: "Xcode6.3-MacOSX10.9+1.0",
|
||||||
@ -374,12 +386,12 @@ var getJibProfilesDependencies = function (input, common) {
|
|||||||
boot_jdk: {
|
boot_jdk: {
|
||||||
server: "javare",
|
server: "javare",
|
||||||
module: "jdk",
|
module: "jdk",
|
||||||
revision: "8",
|
revision: boot_jdk_revision,
|
||||||
checksum_file: boot_jdk_platform + "/MD5_VALUES",
|
checksum_file: boot_jdk_platform + "/MD5_VALUES",
|
||||||
file: boot_jdk_platform + "/jdk-8-" + boot_jdk_platform + ".tar.gz",
|
file: boot_jdk_platform + "/jdk-" + boot_jdk_revision + "-" + boot_jdk_platform + ".tar.gz",
|
||||||
configure_args: (input.build_os == "macosx"
|
configure_args: (input.build_os == "macosx"
|
||||||
? "--with-boot-jdk=" + input.get("boot_jdk", "install_path") + "/jdk1.8.0.jdk/Contents/Home"
|
? "--with-boot-jdk=" + input.get("boot_jdk", "install_path") + "/jdk" + boot_jdk_subdirpart + ".jdk/Contents/Home"
|
||||||
: "--with-boot-jdk=" + input.get("boot_jdk", "install_path") + "/jdk1.8.0")
|
: "--with-boot-jdk=" + input.get("boot_jdk", "install_path") + "/jdk" + boot_jdk_subdirpart)
|
||||||
},
|
},
|
||||||
|
|
||||||
devkit: {
|
devkit: {
|
||||||
|
@ -187,7 +187,11 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
|
|||||||
$(JDK_SYMBOLS_EXCLUDE_PATTERN) \
|
$(JDK_SYMBOLS_EXCLUDE_PATTERN) \
|
||||||
$(SYMBOLS_EXCLUDE_PATTERN) \
|
$(SYMBOLS_EXCLUDE_PATTERN) \
|
||||||
, \
|
, \
|
||||||
$(ALL_JDK_FILES) \
|
$(filter-out \
|
||||||
|
$(JDK_IMAGE_HOMEDIR)/demo/% $(JDK_IMAGE_HOMEDIR)/sample/% \
|
||||||
|
, \
|
||||||
|
$(ALL_JDK_FILES) \
|
||||||
|
) \
|
||||||
) \
|
) \
|
||||||
$(call CacheFind, $(SYMBOLS_IMAGE_DIR))
|
$(call CacheFind, $(SYMBOLS_IMAGE_DIR))
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -82,8 +82,10 @@ ifeq ($(MODULE), java.base)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Changes to the jmod tool itself should also trigger a rebuild of all jmods
|
# Changes to the jmod tool itself should also trigger a rebuild of all jmods.
|
||||||
DEPS += $(JMOD_CMD)
|
# The variable JMOD_CMD could contain an environment variable assignment before
|
||||||
|
# the actual command. Filter that out using wildcard before adding to DEPS.
|
||||||
|
DEPS += $(wildcard $(JMOD_CMD))
|
||||||
ifeq ($(EXTERNAL_BUILDJDK), false)
|
ifeq ($(EXTERNAL_BUILDJDK), false)
|
||||||
DEPS += $(call CacheFind, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
|
DEPS += $(call CacheFind, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
|
||||||
endif
|
endif
|
||||||
@ -100,7 +102,7 @@ $(JMODS_DIR)/$(MODULE).jmod: $(DEPS)
|
|||||||
--os-name $(REQUIRED_OS_NAME) \
|
--os-name $(REQUIRED_OS_NAME) \
|
||||||
--os-arch $(OPENJDK_TARGET_CPU_LEGACY) \
|
--os-arch $(OPENJDK_TARGET_CPU_LEGACY) \
|
||||||
--os-version $(REQUIRED_OS_VERSION) \
|
--os-version $(REQUIRED_OS_VERSION) \
|
||||||
--modulepath $(JMODS_DIR) \
|
--modulepath $(JMODS_DIR) \
|
||||||
--exclude '**{_the.*,*.diz,*.debuginfo,*.dSYM/**,*.pdb,*.map}' \
|
--exclude '**{_the.*,*.diz,*.debuginfo,*.dSYM/**,*.pdb,*.map}' \
|
||||||
$(JMOD_FLAGS) $(SUPPORT_OUTPUTDIR)/jmods/$(notdir $@)
|
$(JMOD_FLAGS) $(SUPPORT_OUTPUTDIR)/jmods/$(notdir $@)
|
||||||
$(MV) $(SUPPORT_OUTPUTDIR)/jmods/$(notdir $@) $@
|
$(MV) $(SUPPORT_OUTPUTDIR)/jmods/$(notdir $@) $@
|
||||||
|
@ -576,14 +576,14 @@ $(OLD_DOCLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(OLD_DOCLETAPI_PKGS)
|
|||||||
ALL_OTHER_TARGETS += tagletapidocs
|
ALL_OTHER_TARGETS += tagletapidocs
|
||||||
TAGLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/taglet
|
TAGLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/taglet
|
||||||
TAGLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI)
|
TAGLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI)
|
||||||
|
TAGLETAPI_DOCTITLE := Taglet API
|
||||||
|
TAGLETAPI_WINDOWTITLE := Taglet API
|
||||||
|
TAGLETAPI_HEADER := <strong>Taglet API</strong>
|
||||||
TAGLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(TAGLETAPI_FIRST_COPYRIGHT_YEAR))
|
TAGLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(TAGLETAPI_FIRST_COPYRIGHT_YEAR))
|
||||||
# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk
|
# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk
|
||||||
|
|
||||||
# Temporary directory (special generation rules)
|
|
||||||
TAGLETAPI_TEMPDIR = $(DOCSTMPDIR)/taglets_temp
|
|
||||||
|
|
||||||
# The index.html, options, and packages files
|
# The index.html, options, and packages files
|
||||||
TAGLETAPI_INDEX_FILE = $(TAGLETAPI_DOCDIR)/com/sun/tools/doclets/Taglet.html
|
TAGLETAPI_INDEX_FILE = $(TAGLETAPI_DOCDIR)/index.html
|
||||||
TAGLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/tagletapi.options
|
TAGLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/tagletapi.options
|
||||||
TAGLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/tagletapi.packages
|
TAGLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/tagletapi.packages
|
||||||
|
|
||||||
@ -592,20 +592,12 @@ TAGLETAPI_MODULES = jdk.javadoc
|
|||||||
|
|
||||||
tagletapidocs: $(TAGLETAPI_INDEX_FILE)
|
tagletapidocs: $(TAGLETAPI_INDEX_FILE)
|
||||||
|
|
||||||
# Set relative location to core api document root
|
|
||||||
$(TAGLETAPI_INDEX_FILE): GET2DOCSDIR=$(TAGLETAPI2COREAPI)/..
|
|
||||||
|
|
||||||
# Run javadoc if the index file is out of date or missing
|
# Run javadoc if the index file is out of date or missing
|
||||||
$(TAGLETAPI_INDEX_FILE): $(TAGLETAPI_OPTIONS_FILE) $(TAGLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE)
|
$(TAGLETAPI_INDEX_FILE): $(TAGLETAPI_OPTIONS_FILE) $(TAGLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE)
|
||||||
$(prep-javadoc)
|
$(prep-javadoc)
|
||||||
$(RM) -r $(TAGLETAPI_TEMPDIR)
|
|
||||||
$(MKDIR) -p $(TAGLETAPI_TEMPDIR)
|
|
||||||
$(call JavadocSummary,$(TAGLETAPI_OPTIONS_FILE),$(TAGLETAPI_PACKAGES_FILE))
|
$(call JavadocSummary,$(TAGLETAPI_OPTIONS_FILE),$(TAGLETAPI_PACKAGES_FILE))
|
||||||
$(JAVADOC_CMD_SMALL) -d $(TAGLETAPI_TEMPDIR) \
|
$(JAVADOC_CMD_SMALL) -d $(@D) \
|
||||||
@$(TAGLETAPI_OPTIONS_FILE) @$(TAGLETAPI_PACKAGES_FILE)
|
@$(TAGLETAPI_OPTIONS_FILE) @$(TAGLETAPI_PACKAGES_FILE)
|
||||||
cp -r $(TAGLETAPI_TEMPDIR)/com $(TAGLETAPI_DOCDIR)
|
|
||||||
cp $(TAGLETAPI_TEMPDIR)/stylesheet.css $(TAGLETAPI_DOCDIR)
|
|
||||||
$(RM) -r $(TAGLETAPI_TEMPDIR)
|
|
||||||
|
|
||||||
# Create file with javadoc options in it
|
# Create file with javadoc options in it
|
||||||
$(TAGLETAPI_OPTIONS_FILE):
|
$(TAGLETAPI_OPTIONS_FILE):
|
||||||
@ -617,6 +609,10 @@ $(TAGLETAPI_OPTIONS_FILE):
|
|||||||
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \
|
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \
|
||||||
$(call OptionPair,-addmods,$(TAGLETAPI_MODULES)) ; \
|
$(call OptionPair,-addmods,$(TAGLETAPI_MODULES)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
|
$(call OptionOnly,-breakiterator) ; \
|
||||||
|
$(call OptionPair,-doctitle,$(TAGLETAPI_DOCTITLE)) ; \
|
||||||
|
$(call OptionPair,-windowtitle,$(TAGLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \
|
||||||
|
$(call OptionPair,-header,$(TAGLETAPI_HEADER)$(DRAFT_HEADER)) ; \
|
||||||
$(call OptionOnly,-nonavbar) ; \
|
$(call OptionOnly,-nonavbar) ; \
|
||||||
$(call OptionOnly,-noindex) ; \
|
$(call OptionOnly,-noindex) ; \
|
||||||
$(call OptionPair,-bottom,$(TAGLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \
|
$(call OptionPair,-bottom,$(TAGLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user