Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
3670935b
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3670935b
编写于
7月 05, 2017
作者:
D
duke
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
2ac0b746
4993a545
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
46 addition
and
381 deletion
+46
-381
.hgtags-top-repo
.hgtags-top-repo
+1
-0
README-builds.html
README-builds.html
+43
-0
make/jprt.config
make/jprt.config
+0
-379
make/jprt.properties
make/jprt.properties
+2
-2
未找到文件。
.hgtags-top-repo
浏览文件 @
3670935b
...
...
@@ -30,3 +30,4 @@ aee93a8992d2389121eb610c00a86196f3e2b9b0 jdk7-b49
c235f4a8559d196879c56af80159f67ee5d0e720 jdk7-b53
2ef382b1bbd58a68e668391c6145a4b2066c5b96 jdk7-b54
aea0ace7a1e43619800931d42bbf69c579361c2d jdk7-b55
ba12117a5e6c918578d6b2a8c693232a33289024 jdk7-b56
README-builds.html
浏览文件 @
3670935b
...
...
@@ -68,6 +68,7 @@
</li>
<li><a
href=
"#zip"
>
Zip and Unzip
</a>
</li>
<li><a
href=
"#freetype"
>
FreeType2 Fonts
</a>
</li>
<li><a
href=
"#jibx"
>
JIBX Libraries
</a>
</li>
<li>
Linux and Solaris:
<ul>
<li><a
href=
"#cups"
>
CUPS Include files
</a>
</li>
...
...
@@ -585,6 +586,11 @@
Install or upgrade the
<a
href=
"#freetype"
>
FreeType development
package
</a>
.
</li>
<li>
Install the
<a
href=
"#jibx"
>
JIBX Libraries
</a>
, set
<tt><a
href=
"#ALT_JIBX_LIBS_PATH"
>
ALT_JIBX_LIBS_PATH
</a></tt>
.
</li>
<li>
Install
<a
href=
"#ant"
>
Ant
</a>
,
...
...
@@ -650,6 +656,11 @@
<a
href=
"#cups"
>
CUPS Include files
</a>
, set
<tt><a
href=
"#ALT_CUPS_HEADERS_PATH"
>
ALT_CUPS_HEADERS_PATH
</a></tt>
.
</li>
<li>
Install the
<a
href=
"#jibx"
>
JIBX Libraries
</a>
, set
<tt><a
href=
"#ALT_JIBX_LIBS_PATH"
>
ALT_JIBX_LIBS_PATH
</a></tt>
.
</li>
<li>
Install
<a
href=
"#ant"
>
Ant
</a>
,
...
...
@@ -745,6 +756,11 @@
Install
<a
href=
"#dxsdk"
>
Microsoft DirectX SDK
</a>
.
</li>
<li>
Install the
<a
href=
"#jibx"
>
JIBX Libraries
</a>
, set
<tt><a
href=
"#ALT_JIBX_LIBS_PATH"
>
ALT_JIBX_LIBS_PATH
</a></tt>
.
</li>
<li>
Install
<a
href=
"#ant"
>
Ant
</a>
,
...
...
@@ -874,6 +890,27 @@
fine for most JDK developers.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a
name=
"jibx"
>
JIBX
</a></h4>
<blockquote>
JIBX libraries version 1.1.5 is required for building the OpenJDK.
Namely, the following JAR files from the JIBX distribution package
are required:
<ul>
<li>
bcel.jar
<li>
jibx-bind.jar
<li>
jibx-run.jar
<li>
xpp3.jar
</ul>
<p>
You can download the package from the
<a
href=
"http://jibx.sourceforge.net"
target=
"_blank"
>
JIBX site
</a>
.
<p>
You will need to set the
<tt><a
href=
"#ALT_JIBX_LIBS_PATH"
>
ALT_JIBX_LIBS_PATH
</a></tt>
environment variable to refer to place where the JAR files,
above, are located.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a
name=
"compilers"
>
Compilers
</a></h4>
<blockquote>
<strong><a
name=
"gcc"
>
Linux gcc/binutils
</a></strong>
...
...
@@ -1425,6 +1462,12 @@
The default will refer to
<tt>
jdk/src/share/lib/security/cacerts
</tt>
.
</dd>
<dt><tt><a
name=
"ALT_JIBX_LIBS_PATH"
>
ALT_JIBX_LIBS_PATH
</a></tt></dt>
<dd>
The location of the
<a
href=
"#jibx"
>
JIBX libraries
</a>
file.
The default value is
<tt>
$(ALT_SLASH_JAVA)/devtools/share/jibx/lib
</tt>
.
</dd>
<dt><a
name=
"ALT_CUPS_HEADERS_PATH"
><tt>
ALT_CUPS_HEADERS_PATH
</tt></a>
</dt>
<dd>
The location of the CUPS header files.
...
...
make/jprt.config
已删除
100644 → 0
浏览文件 @
2ac0b746
#!echo "This is not a shell script"
#############################################################################
#
# Copyright 2006-2009 Sun Microsystems, Inc. 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. Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#############################################################################
#
# JPRT shell configuration for building.
#
# Input environment variables:
# ALT_BOOTDIR
# ALT_SLASH_JAVA
# ALT_JDK_IMPORT_PATH
# OPENJDK
# Windows Only:
# PATH
# VS71COMNTOOLS
# PROCESSOR_IDENTIFIER
# ROOTDIR
#
# Output variable settings:
# make Full path to GNU make
# compiler_path Path to compiler bin directory
# compiler_name Unique name of this compiler
#
# Output environment variables:
# PATH
# ALT_COMPILER_PATH
# OPENJDK only:
# ALT_CLOSED_JDK_IMPORT_PATH
# ALT_JDK_DEVTOOLS_DIR
# Windows Only:
# ALT_MSDEVTOOLS_PATH
# ALT_DEVTOOLS_PATH (To avoid the C:/UTILS default)
# LIB
# INCLUDE
#
# After JDK6, most settings will be found via ALT_SLASH_JAVA or
# by way of other system environment variables. If this was JDK5
# or an older JDK, you might need to export more ALT_* variables.
#
# On Windows AMD64, if MSSDK is not set, assumes Platform SDK is installed at:
# C:/Program Files/Microsoft Platform SDK
#
#############################################################################
#############################################################################
# Error
error
()
# message
{
echo
"ERROR: $1"
exit
6
}
# Directory must exist
dirMustExist
()
# dir name
{
if
[ ! -
d
"$1"
] ;
then
error
"Directory for $2 does not exist: $1"
fi
}
# File must exist
fileMustExist
()
# dir name
{
if
[ ! -
f
"$1"
] ;
then
error
"File for $2 does not exist: $1"
fi
}
#############################################################################
# Should be set by JPRT as the 3 basic inputs
bootdir
=
"${ALT_BOOTDIR}"
slashjava
=
"${ALT_SLASH_JAVA}"
jdk_import
=
"${ALT_JDK_IMPORT_PATH}"
# The /java/devtools items
jdk_devtools
=
"${slashjava}/devtools"
share
=
"${jdk_devtools}/share"
# Needed for langtools, maybe other parts of the build
ANT_HOME
=
"${share}/ant/latest"
export
ANT_HOME
# The 3 bin directories in common to all platforms
sharebin
=
"${share}/bin"
antbin
=
"${ANT_HOME}/bin"
# Check input
dirMustExist
"${bootdir}"
ALT_BOOTDIR
dirMustExist
"${slashjava}"
ALT_SLASH_JAVA
dirMustExist
"${jdk_import}"
ALT_JDK_IMPORT_PATH
dirMustExist
"${ANT_HOME}"
ANT_HOME
# If ALT_PREVIOUS_RELEASE_IMAGE not defined, set it to the bootdir area for
# any possible image comparisons.
# We assume bootdir is a previous jdk release image, valid for comparison
# reasons.
if
[
"${ALT_PREVIOUS_RELEASE_IMAGE}"
=
""
] ;
then
ALT_PREVIOUS_RELEASE_IMAGE
=
"${bootdir}"
export
ALT_PREVIOUS_RELEASE_IMAGE
fi
# Use the JDK import for now (FIXME: use the binary plugs?)
if
[
"${OPENJDK}"
=
true
] ;
then
ALT_CLOSED_JDK_IMPORT_PATH
=
"${jdk_import}"
export
ALT_CLOSED_JDK_IMPORT_PATH
fi
# Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
osname
=`
uname
-
s
`
if
[
"${osname}"
=
SunOS
] ;
then
# SOLARIS: Sparc or X86
osarch
=`
uname
-
p
`
if
[
"${osarch}"
=
sparc
] ;
then
solaris_arch
=
sparc
else
solaris_arch
=
i386
fi
# Get the compilers into path (make sure it matches ALT setting)
if
[
"${JPRT_SOLARIS_COMPILER_NAME}"
!=
""
] ;
then
compiler_name
=${
JPRT_SOLARIS_COMPILER_NAME
}
else
compiler_name
=
SS12
fi
compiler_path
=${
jdk_devtools
}/${
solaris_arch
}/
SUNWspro
/${
compiler_name
}/
bin
ALT_COMPILER_PATH
=
"${compiler_path}"
export
ALT_COMPILER_PATH
dirMustExist
"${compiler_path}"
ALT_COMPILER_PATH
path4sdk
=${
compiler_path
}:${
sharebin
}:${
antbin
}
# Add basic solaris system paths
path4sdk
=${
path4sdk
}:/
usr
/
ccs
/
bin
:/
usr
/
ccs
/
lib
:/
usr
/
bin
:/
bin
:/
usr
/
sfw
/
bin
# Get the previous JDK to be used to bootstrap the build
path4sdk
=${
bootdir
}/
bin
:${
path4sdk
}
# Find GNU make
make
=/
usr
/
sfw
/
bin
/
gmake
if
[ ! -
f
${
make
} ] ;
then
make
=/
opt
/
sfw
/
bin
/
gmake
if
[ ! -
f
${
make
} ] ;
then
make
=${
jdk_devtools
}/${
solaris_arch
}/
bin
/
gnumake
fi
fi
fileMustExist
"${make}"
make
# File creation mask
umask
002
elif
[
"${osname}"
=
Linux
] ;
then
# LINUX: X86, AMD64
osarch
=`
uname
-
m
`
if
[
"${osarch}"
=
i686
] ;
then
linux_arch
=
i586
elif
[
"${osarch}"
=
x86_64
] ;
then
linux_arch
=
amd64
fi
# Get the compilers into path (make sure it matches ALT setting)
compiler_path
=/
usr
/
bin
compiler_name
=
usr_bin
ALT_COMPILER_PATH
=
"${compiler_path}"
export
ALT_COMPILER_PATH
dirMustExist
"${compiler_path}"
ALT_COMPILER_PATH
path4sdk
=${
compiler_path
}:${
sharebin
}:${
antbin
}
# Add basic paths
path4sdk
=${
path4sdk
}:/
usr
/
bin
:/
bin
:/
usr
/
sbin
:/
sbin
# Get the previous JDK to be used to bootstrap the build
path4sdk
=${
bootdir
}/
bin
:${
path4sdk
}
# Find GNU make
make
=/
usr
/
bin
/
make
fileMustExist
"${make}"
make
umask
002
# Linux platform may be old, use motif files from the devtools area
if
[
"${OPENJDK}"
=
true
] ;
then
ALT_JDK_DEVTOOLS_DIR
=
"${jdk_devtools}"
export
ALT_JDK_DEVTOOLS_DIR
fi
else
# Windows: Differs on CYGWIN vs. MKS, and the compiler available.
# Also, blanks in pathnames gives GNU make headaches, so anything placed
# in any ALT_* variable should be the short windows dosname.
# WINDOWS: Install and use MKS or CYGWIN (should have already been done)
# Assumption here is that you are in a shell window via MKS or cygwin.
# MKS install should have defined the environment variable ROOTDIR.
# We also need to figure out which one we have: X86, AMD64
if
[
"`echo ${PROCESSOR_IDENTIFIER} | fgrep AMD64`"
!=
""
] ;
then
windows_arch
=
amd64
else
windows_arch
=
i586
fi
# We need to determine if we are running a CYGWIN shell or an MKS shell
# (if uname isn't available, then it will be unix_toolset=unknown)
unix_toolset
=
unknown
if
[
"`uname -a | fgrep Cygwin`"
=
""
-
a
-
d
"${ROOTDIR}"
] ;
then
# We kind of assume ROOTDIR is where MKS is and it's ok
unix_toolset
=
MKS
mkshome
=`
dosname
-
s
"${ROOTDIR}"
`
# Utility to convert to short pathnames without spaces
dosname
=
"${mkshome}/mksnt/dosname -s"
# Most unix utilities are in the mksnt directory of ROOTDIR
unixcommand_path
=
"${mkshome}/mksnt"
path4sdk
=
"${sharebin};${antbin};${unixcommand_path}"
dirMustExist
"${unixcommand_path}"
ALT_UNIXCOMMAND_PATH
devtools_path
=
"${jdk_devtools}/win32/bin"
path4sdk
=
"${devtools_path};${path4sdk}"
# Normally this need not be set, but on Windows it's default is C:/UTILS
ALT_DEVTOOLS_PATH
=
"${devtools_path}"
export
ALT_DEVTOOLS_PATH
dirMustExist
"${devtools_path}"
ALT_DEVTOOLS_PATH
# Find GNU make
make
=
"${devtools_path}/gnumake.exe"
fileMustExist
"${make}"
make
elif
[
"`uname -a | fgrep Cygwin`"
!=
""
-
a
-
f
/
bin
/
cygpath
] ;
then
# For CYGWIN, uname will have "Cygwin" in it, and /bin/cygpath should exist
unix_toolset
=
CYGWIN
# Utility to convert to short pathnames without spaces
dosname
=
"/usr/bin/cygpath -a -m -s"
# Most unix utilities are in the /usr/bin
unixcommand_path
=
"/usr/bin"
path4sdk
=
"${sharebin};${antbin};${unixcommand_path}"
dirMustExist
"${unixcommand_path}"
ALT_UNIXCOMMAND_PATH
# Find GNU make
make
=
"${unixcommand_path}/make.exe"
fileMustExist
"${make}"
make
else
echo
"WARNING: Cannot figure out if this is MKS or CYGWIN"
fi
# WINDOWS: Compiler setup (nasty part)
# NOTE: You can use vcvars32.bat to set PATH, LIB, and INCLUDE.
# NOTE: CYGWIN has a link.exe too, make sure the compilers are first
if
[
"${windows_arch}"
=
i586
] ;
then
# 32bit Windows compiler settings
# VisualStudio .NET 2003 VC++ 7.1 (VS71COMNTOOLS should be defined)
vs_root
=`${
dosname
}
"${VS71COMNTOOLS}/../.."
`
# Fill in PATH, LIB, and INCLUDE (unset all others to make sure)
msdev_root
=
"${vs_root}/Common7/Tools"
msdevtools_path
=
"${msdev_root}/bin"
vc7_root
=
"${vs_root}/Vc7"
compiler_path
=
"${vc7_root}/bin"
compiler_name
=
VS2003
platform_sdk
=
"${vc7_root}/PlatformSDK"
# LIB and INCLUDE must use ; as a separator
include4sdk
=
"${vc7_root}/atlmfc/include"
include4sdk
=
"${include4sdk};${vc7_root}/include"
include4sdk
=
"${include4sdk};${platform_sdk}/include/prerelease"
include4sdk
=
"${include4sdk};${platform_sdk}/include"
include4sdk
=
"${include4sdk};${vs_root}/SDK/v1.1/include"
lib4sdk
=
"${vc7_root}/atlmfc/lib"
lib4sdk
=
"${lib4sdk};${vc7_root}/lib"
lib4sdk
=
"${lib4sdk};${platform_sdk}/lib/prerelease"
lib4sdk
=
"${lib4sdk};${platform_sdk}/lib"
lib4sdk
=
"${lib4sdk};${vs_root}/SDK/v1.1/lib"
# Search path and DLL locating path
# WARNING: CYGWIN has a link.exe too, make sure compilers are first
path4sdk
=
"${vs_root}/Common7/Tools/bin;${path4sdk}"
path4sdk
=
"${vs_root}/SDK/v1.1/bin;${path4sdk}"
path4sdk
=
"${vs_root}/Common7/Tools;${path4sdk}"
path4sdk
=
"${vs_root}/Common7/Tools/bin/prerelease;${path4sdk}"
path4sdk
=
"${vs_root}/Common7/IDE;${path4sdk}"
path4sdk
=
"${compiler_path};${path4sdk}"
elif
[
"${windows_arch}"
=
amd64
] ;
then
# AMD64 64bit Windows compiler settings
if
[
"${MSSDK}"
!=
""
] ;
then
platform_sdk
=
"${MSSDK}"
else
platform_sdk
=`${
dosname
}
"C:/Program Files/Microsoft Platform SDK/"
`
fi
compiler_path
=
"${platform_sdk}/Bin/win64/x86/AMD64"
compiler_name
=
VS2005_PSDK
msdevtools_path
=
"${platform_sdk}/Bin"
# LIB and INCLUDE must use ; as a separator
include4sdk
=
"${platform_sdk}/Include"
include4sdk
=
"${include4sdk};${platform_sdk}/Include/crt/sys"
include4sdk
=
"${include4sdk};${platform_sdk}/Include/mfc"
include4sdk
=
"${include4sdk};${platform_sdk}/Include/atl"
include4sdk
=
"${include4sdk};${platform_sdk}/Include/crt"
lib4sdk
=
"${platform_sdk}/Lib/AMD64"
lib4sdk
=
"${lib4sdk};${platform_sdk}/Lib/AMD64/atlmfc"
# Search path and DLL locating path
# WARNING: CYGWIN has a link.exe too, make sure compilers are first
path4sdk
=
"${platform_sdk}/bin;${path4sdk}"
path4sdk
=
"${compiler_path};${path4sdk}"
fi
# Export LIB and INCLUDE
unset
lib
unset
Lib
LIB
=
"${lib4sdk}"
export
LIB
unset
include
unset
Include
INCLUDE
=
"${include4sdk}"
export
INCLUDE
# Set the ALT variable
ALT_COMPILER_PATH
=`${
dosname
}
"${compiler_path}"
`
export
ALT_COMPILER_PATH
dirMustExist
"${compiler_path}"
ALT_COMPILER_PATH
ALT_MSDEVTOOLS_PATH
=`${
dosname
}
"${msdevtools_path}"
`
export
ALT_MSDEVTOOLS_PATH
dirMustExist
"${msdevtools_path}"
ALT_MSDEVTOOLS_PATH
# WINDOWS: Get the previous JDK to be used to bootstrap the build
path4sdk
=
"${bootdir}/bin;${path4sdk}"
# Turn all \\ into /, remove duplicates and trailing /
slash_path
=
"`echo ${path4sdk} | sed -e 's@\\\\@/@g' -e 's@//@/@g' -e 's@/$@@' -e 's@/;@;@g'`"
# For windows, it's hard to know where the system is, so we just add this
# to PATH.
path4sdk
=
"${slash_path};${PATH}"
# Convert path4sdk to cygwin style
if
[
"${unix_toolset}"
=
CYGWIN
] ;
then
path4sdk
=
"`/usr/bin/cygpath -p ${path4sdk}`"
fi
# Set special windows ALT variables
ALT_ISHIELDDIR
=
"C:/ishield802"
export
ALT_ISHIELDDIR
# Sponsors binaries
ALT_SPONSOR1DIR
=
C
:/
sponsor_binaries
export
ALT_SPONSOR1DIR
ALT_SPONSOR2DIR
=
C
:/
sponsor_binaries
export
ALT_SPONSOR2DIR
# JPRT systems can never run msival2.exe, set this to avoid them
SKIP_MSIVAL2
=
true
export
SKIP_MSIVAL2
# Not easy to do
SKIP_COMPARE_IMAGES
=
true
export
SKIP_COMPARE_IMAGES
fi
# Export PATH setting
PATH
=
"${path4sdk}"
export
PATH
# Things we need to unset
unset
LD_LIBRARY_PATH
unset
LD_LIBRARY_PATH_32
unset
LD_LIBRARY_PATH_64
unset
JAVA_HOME
make/jprt.properties
浏览文件 @
3670935b
...
...
@@ -32,8 +32,8 @@ solaris_sparc_5.10,\
solaris_sparcv9_5.10,
\
solaris_i586_5.10,
\
solaris_x64_5.10,
\
linux_i586,
\
linux_x64,
\
linux_i586
_2.6
,
\
linux_x64
_2.6
,
\
windows_i586,
\
windows_x64
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录