提交 0bbcf9aa 编写于 作者: Y yunyao.zxl 提交者: zhengxiaolinX

[Misc] Added fastdebug option to make.sh

Summary: fix some misc things to build fastdebug version dragonwell8

Test Plan: build Dragonwell in fastdebug mode

Reviewed-by: luchsh,sanhong

Issue: https://github.com/alibaba/dragonwell8/issues/82
上级 2e2deba5
...@@ -98,6 +98,74 @@ jobs: ...@@ -98,6 +98,74 @@ jobs:
#run: | #run: |
#make test TEST="hotspot_tier1 jdk_tier1" #make test TEST="hotspot_tier1 jdk_tier1"
build_fastdebug_jdk:
runs-on: ubuntu-latest
container:
image: docker.io/dragonwelljdk/build_jdk:8u
steps:
- name: Check out alibaba/dragonwell8
uses: actions/checkout@v2
with:
path: 'dragonwell8'
- name: Check out alibaba/dragonwell8_corba
uses: actions/checkout@v2
with:
repository: 'alibaba/dragonwell8_corba'
path: 'corba'
- name: Check out alibaba/dragonwell8_langtools
uses: actions/checkout@v2
with:
repository: 'alibaba/dragonwell8_langtools'
path: 'langtools'
- name: Check out alibaba/dragonwell8_hotspot
uses: actions/checkout@v2
with:
repository: 'alibaba/dragonwell8_hotspot'
path: 'hotspot'
- name: Check out alibaba/dragonwell8_jdk
uses: actions/checkout@v2
with:
repository: 'alibaba/dragonwell8_jdk'
path: 'jdk'
- name: Check out alibaba/dragonwell8_jaxws
uses: actions/checkout@v2
with:
repository: 'alibaba/dragonwell8_jaxws'
path: 'jaxws'
- name: Check out alibaba/dragonwell8_jaxp
uses: actions/checkout@v2
with:
repository: 'alibaba/dragonwell8_jaxp'
path: 'jaxp'
- name: Check out alibaba/dragonwell8_nashorn
uses: actions/checkout@v2
with:
repository: 'alibaba/dragonwell8_nashorn'
path: 'nashorn'
- name: Compile fastdebug mode
run: |
mv hotspot dragonwell8
mv jdk dragonwell8
mv langtools dragonwell8
mv corba dragonwell8
mv jaxp dragonwell8
mv jaxws dragonwell8
mv nashorn dragonwell8
cd dragonwell8
sh configure --with-debug-level=fastdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto
make LOG=trace images
- name: Sanity test
run: |
cd dragonwell8
TEST_JDK_HOME=build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image
${TEST_JDK_HOME}/bin/java -version
#- name: Tier1 test
#run: |
#make test TEST="hotspot_tier1 jdk_tier1"
build_slowdebug_jdk: build_slowdebug_jdk:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
......
...@@ -29,7 +29,7 @@ source dragonwell_version ...@@ -29,7 +29,7 @@ source dragonwell_version
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
echo "USAGE: $0 release/debug" echo "USAGE: $0 release/debug/fastdebug"
fi fi
LC_ALL=C LC_ALL=C
...@@ -44,8 +44,12 @@ case "$BUILD_MODE" in ...@@ -44,8 +44,12 @@ case "$BUILD_MODE" in
DEBUG_LEVEL="slowdebug" DEBUG_LEVEL="slowdebug"
JDK_IMAGES_DIR=`pwd`/build/linux-x86_64-normal-server-slowdebug/images JDK_IMAGES_DIR=`pwd`/build/linux-x86_64-normal-server-slowdebug/images
;; ;;
fastdebug)
DEBUG_LEVEL="fastdebug"
JDK_IMAGES_DIR=`pwd`/build/linux-x86_64-normal-server-fastdebug/images
;;
*) *)
echo "Argument must be release or debug!" echo "Argument must be release or debug or fastdebug!"
exit 1 exit 1
;; ;;
esac esac
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册