Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
eca666dd
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
eca666dd
编写于
1月 01, 2013
作者:
E
erikj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8001895: build-infra: Make JDK_BUILD_NUMBER and MILESTONE customizable
Summary: Added configure params Reviewed-by: ohair
上级
39e83e2c
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
74 addition
and
40 deletion
+74
-40
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+37
-19
common/autoconf/jdk-options.m4
common/autoconf/jdk-options.m4
+24
-17
common/autoconf/spec.gmk.in
common/autoconf/spec.gmk.in
+13
-2
common/autoconf/version.numbers
common/autoconf/version.numbers
+0
-2
未找到文件。
common/autoconf/generated-configure.sh
浏览文件 @
eca666dd
...
@@ -752,8 +752,7 @@ BOOT_RTJAR
...
@@ -752,8 +752,7 @@ BOOT_RTJAR
JAVA_CHECK
JAVA_CHECK
JAVAC_CHECK
JAVAC_CHECK
COOKED_BUILD_NUMBER
COOKED_BUILD_NUMBER
FULL_VERSION
USER_RELEASE_SUFFIX
RELEASE
JDK_VERSION
JDK_VERSION
RUNTIME_NAME
RUNTIME_NAME
COPYRIGHT_YEAR
COPYRIGHT_YEAR
...
@@ -969,6 +968,8 @@ enable_headful
...
@@ -969,6 +968,8 @@ enable_headful
enable_hotspot_test_in_build
enable_hotspot_test_in_build
with_cacerts_file
with_cacerts_file
enable_unlimited_crypto
enable_unlimited_crypto
with_milestone
with_build_number
with_boot_jdk
with_boot_jdk
with_boot_jdk_jvmargs
with_boot_jdk_jvmargs
with_add_source_root
with_add_source_root
...
@@ -1698,6 +1699,8 @@ Optional Packages:
...
@@ -1698,6 +1699,8 @@ Optional Packages:
--with-builddeps-group chgrp the downloaded build dependencies to this
--with-builddeps-group chgrp the downloaded build dependencies to this
group
group
--with-cacerts-file specify alternative cacerts file
--with-cacerts-file specify alternative cacerts file
--with-milestone Set milestone value for build [internal]
--with-build-number Set build number value for build [b00]
--with-boot-jdk path to Boot JDK (used to bootstrap build) [probed]
--with-boot-jdk path to Boot JDK (used to bootstrap build) [probed]
--with-boot-jdk-jvmargs specify JVM arguments to be passed to all
--with-boot-jdk-jvmargs specify JVM arguments to be passed to all
invocations of the Boot JDK, overriding the default
invocations of the Boot JDK, overriding the default
...
@@ -3679,7 +3682,7 @@ fi
...
@@ -3679,7 +3682,7 @@ fi
#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=135
6865941
DATE_WHEN_GENERATED=135
7045896
###############################################################################
###############################################################################
#
#
...
@@ -10608,6 +10611,33 @@ COMPRESS_JARS=false
...
@@ -10608,6 +10611,33 @@ COMPRESS_JARS=false
if test "x$OPENJDK" = "xfalse"; then
if test "x$OPENJDK" = "xfalse"; then
. $AUTOCONF_DIR/closed.version.numbers
. $AUTOCONF_DIR/closed.version.numbers
fi
fi
# Check whether --with-milestone was given.
if test "${with_milestone+set}" = set; then :
withval=$with_milestone;
fi
if test "x$with_milestone" = xyes; then
as_fn_error $? "Milestone must have a value" "$LINENO" 5
elif test "x$with_milestone" != x; then
MILESTONE="$with_milestone"
else
MILESTONE=internal
fi
# Check whether --with-build-number was given.
if test "${with_build_number+set}" = set; then :
withval=$with_build_number;
fi
if test "x$with_build_number" = xyes; then
as_fn_error $? "Build number must have a value" "$LINENO" 5
elif test "x$with_build_number" != x; then
JDK_BUILD_NUMBER="$with_build_number"
fi
# Now set the JDK version, milestone, build number etc.
# Now set the JDK version, milestone, build number etc.
...
@@ -10636,23 +10666,11 @@ else
...
@@ -10636,23 +10666,11 @@ else
fi
fi
if test "x$MILESTONE" != x; then
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
RELEASE="${JDK_VERSION}-${MILESTONE}${BUILD_VARIANT_RELEASE}"
# Avoid [:alnum:] since it depends on the locale.
else
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'`
RELEASE="${JDK_VERSION}${BUILD_VARIANT_RELEASE}"
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
if test "x$JDK_BUILD_NUMBER" != x; then
FULL_VERSION="${RELEASE}-${JDK_BUILD_NUMBER}"
else
JDK_BUILD_NUMBER=b00
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
# Avoid [:alnum:] since it depends on the locale.
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'`
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
FULL_VERSION="${RELEASE}-${USER_RELEASE_SUFFIX}-${JDK_BUILD_NUMBER}"
fi
COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
common/autoconf/jdk-options.m4
浏览文件 @
eca666dd
...
@@ -376,6 +376,25 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
...
@@ -376,6 +376,25 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
if test "x$OPENJDK" = "xfalse"; then
if test "x$OPENJDK" = "xfalse"; then
. $AUTOCONF_DIR/closed.version.numbers
. $AUTOCONF_DIR/closed.version.numbers
fi
fi
AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone],
[Set milestone value for build @<:@internal@:>@])])
if test "x$with_milestone" = xyes; then
AC_MSG_ERROR([Milestone must have a value])
elif test "x$with_milestone" != x; then
MILESTONE="$with_milestone"
else
MILESTONE=internal
fi
AC_ARG_WITH(build-number, [AS_HELP_STRING([--with-build-number],
[Set build number value for build @<:@b00@:>@])])
if test "x$with_build_number" = xyes; then
AC_MSG_ERROR([Build number must have a value])
elif test "x$with_build_number" != x; then
JDK_BUILD_NUMBER="$with_build_number"
fi
# Now set the JDK version, milestone, build number etc.
# Now set the JDK version, milestone, build number etc.
AC_SUBST(JDK_MAJOR_VERSION)
AC_SUBST(JDK_MAJOR_VERSION)
AC_SUBST(JDK_MINOR_VERSION)
AC_SUBST(JDK_MINOR_VERSION)
...
@@ -404,24 +423,12 @@ else
...
@@ -404,24 +423,12 @@ else
fi
fi
AC_SUBST(JDK_VERSION)
AC_SUBST(JDK_VERSION)
if test "x$MILESTONE" != x; then
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
RELEASE="${JDK_VERSION}-${MILESTONE}${BUILD_VARIANT_RELEASE}"
# Avoid [:alnum:] since it depends on the locale.
else
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'`
RELEASE="${JDK_VERSION}${BUILD_VARIANT_RELEASE}"
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
fi
AC_SUBST(USER_RELEASE_SUFFIX)
AC_SUBST(RELEASE)
if test "x$JDK_BUILD_NUMBER" != x; then
FULL_VERSION="${RELEASE}-${JDK_BUILD_NUMBER}"
else
JDK_BUILD_NUMBER=b00
BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
# Avoid [:alnum:] since it depends on the locale.
CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyz0123456789'`
USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
FULL_VERSION="${RELEASE}-${USER_RELEASE_SUFFIX}-${JDK_BUILD_NUMBER}"
fi
AC_SUBST(FULL_VERSION)
COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
AC_SUBST(COOKED_BUILD_NUMBER)
AC_SUBST(COOKED_BUILD_NUMBER)
])
])
...
...
common/autoconf/spec.gmk.in
浏览文件 @
eca666dd
...
@@ -164,10 +164,21 @@ MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
...
@@ -164,10 +164,21 @@ MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
# Different version strings generated from the above information.
# Different version strings generated from the above information.
JDK_VERSION:=@JDK_VERSION@
JDK_VERSION:=@JDK_VERSION@
RUNTIME_NAME:=@RUNTIME_NAME@
RUNTIME_NAME:=@RUNTIME_NAME@
FULL_VERSION:=@FULL_VERSION@
JRE_RELEASE_VERSION:=@FULL_VERSION@
JRE_RELEASE_VERSION:=@FULL_VERSION@
RELEASE:=@RELEASE@
COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
# These variables need to be generated here so that MILESTONE and
# JDK_BUILD_NUMBER can be overridden on the make command line.
ifeq ($(MILESTONE),)
RELEASE=$(JDK_VERSION)$(BUILD_VARIANT_RELEASE)
else
RELEASE=$(JDK_VERSION)-$(MILESTONE)$(BUILD_VARIANT_RELEASE)
endif
ifeq ($(JDK_BUILD_NUMBER),b00)
USER_RELEASE_SUFFIX=@USER_RELEASE_SUFFIX@
FULL_VERSION=$(RELEASE)-$(USER_RELEASE_SUFFIX)-$(JDK_BUILD_NUMBER)
else
FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
endif
# How to compile the code: release, fastdebug or slowdebug
# How to compile the code: release, fastdebug or slowdebug
DEBUG_LEVEL:=@DEBUG_LEVEL@
DEBUG_LEVEL:=@DEBUG_LEVEL@
...
...
common/autoconf/version.numbers
浏览文件 @
eca666dd
...
@@ -27,8 +27,6 @@ JDK_MAJOR_VERSION=1
...
@@ -27,8 +27,6 @@ JDK_MAJOR_VERSION=1
JDK_MINOR_VERSION=8
JDK_MINOR_VERSION=8
JDK_MICRO_VERSION=0
JDK_MICRO_VERSION=0
JDK_UPDATE_VERSION=
JDK_UPDATE_VERSION=
JDK_BUILD_NUMBER=
MILESTONE=internal
LAUNCHER_NAME=openjdk
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK
PRODUCT_NAME=OpenJDK
PRODUCT_SUFFIX="Runtime Environment"
PRODUCT_SUFFIX="Runtime Environment"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录