forked from TravaOpenJDK/trava-jdk-11-dcevm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_windows.sh
More file actions
13 lines (10 loc) · 762 Bytes
/
Copy pathbuild_windows.sh
File metadata and controls
13 lines (10 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
export PATH=/cygdrive/c/tools/cygwin/bin:$PATH
wget -q -O OpenJDK10_x64_Windows.zip "https://api.adoptopenjdk.net/v2/binary/releases/openjdk10?os=windows&release=latest&arch=x64"
JDK_BOOT_DIR=$PWD/$(unzip -Z1 OpenJDK10_x64_Windows.zip | grep 'bin/javac' | tr '/' '\n' | tail -3 | head -1)
unzip -q OpenJDK10_x64_Windows.zip
# unset cygwin's gcc preconfigured
unset -v CC
unset -v CXX
cd ./openjdk-build
export LOG=info
./makejdk-any-platform.sh --tag "${SOURCE_JDK_TAG}" --build-variant dcevm --branch dcevm11 --jdk-boot-dir ${JDK_BOOT_DIR} --hswap-agent-download-url ${HSWAP_AGENT_DOWNLOAD_URL} --disable-test-image --configure-args '-disable-warnings-as-errors --disable-hotspot-gtest' --target-file-name java11-openjdk-dcevm-${TRAVIS_OS_NAME}.zip jdk11u