source: npl/java/openjdk/sources/BUILDING.txt @ 981dbbc

perl-5.22
Last change on this file since 981dbbc was 981dbbc, checked in by Edwin Eefting <edwin@datux.nl>, 7 years ago

build openjdk, not used yet

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[981dbbc]1# You can run this script in the sources/ subdirectory to download the sources.
2
3# -----------------------------------------------------------------------------
4#
5# These source URLs are constructed from reading the Makefile.in of icedtea:
6# egrep '(^OPENJDK_VERSION|^JDK_UPDATE_VERSION|^BUILD_VERSION|^CORBA_CHANGESET|^HOTSPOT_CHANGESET|^JAXP_CHANGESET|^JAXWS_CHANGESET|^JDK_CHANGESET|^LANGTOOLS_CHANGESET|^OPENJDK_CHANGESET|^CACAO_VERSION|^CACAO_BASE_URL|^JAMVM_VERSION|^JAMVM_BASE_URL|^ICEDTEA_MAJOR|^ICEDTEA_BRANCH|^ICEDTEA_PREFIX|^ICEDTEA_HG_URL|^DROP_URL)' Makefile.in
7#
8# In icedtea you can choose between "default" and "zero" versions
9# of the VM. The zero vm is meant for ARM based systems.
10# Use this command to find out the hash of the hotspot.zip
11# grep default hotspot.map
12#
13# -----------------------------------------------------------------------------
14
15# Check ICEDTEA_BRANCH value in Makefile.in:
16ICEDTEA_MAJOR="icedtea8"
17ICEDTEA_BRANCH="3.6.0"
18ICEDTEA_VERSION="3.6.0"
19DROPURL="http://icedtea.classpath.org/download/drops"
20SUPPURL="${DROPURL}/${ICEDTEA_MAJOR}/${ICEDTEA_BRANCH}"
21
22# Get icedtea:
23wget -c http://icedtea.classpath.org/download/source/icedtea-${ICEDTEA_VERSION}.tar.xz
24wget -c http://icedtea.classpath.org/download/source/icedtea-${ICEDTEA_VERSION}.tar.xz.sig
25
26# Extract Makefile.in:
27tar -O -xvf icedtea-${ICEDTEA_VERSION}.tar.xz icedtea-${ICEDTEA_VERSION}/Makefile.in > Makefile.in
28
29# Get supporting sources:
30wget ${SUPPURL}/openjdk.tar.xz -O openjdk_icedtea-${ICEDTEA_VERSION}.tar.xz
31wget ${SUPPURL}/corba.tar.xz -O corba_icedtea-${ICEDTEA_VERSION}.tar.xz
32wget ${SUPPURL}/jaxp.tar.xz -O jaxp_icedtea-${ICEDTEA_VERSION}.tar.xz
33wget ${SUPPURL}/jdk.tar.xz -O jdk_icedtea-${ICEDTEA_VERSION}.tar.xz
34wget ${SUPPURL}/langtools.tar.xz -O langtools_icedtea-${ICEDTEA_VERSION}.tar.xz
35wget ${SUPPURL}/jaxws.tar.xz -O jaxws_icedtea-${ICEDTEA_VERSION}.tar.xz
36wget ${SUPPURL}/hotspot.tar.xz -O hotspot_icedtea-${ICEDTEA_VERSION}.tar.xz
37wget ${SUPPURL}/nashorn.tar.xz -O nashorn_icedtea-${ICEDTEA_VERSION}.tar.xz
38
39# Get these hash values from Makefile.in:
40tar xvf icedtea-${ICEDTEA_VERSION}.tar.xz icedtea-${ICEDTEA_VERSION}/Makefile.in
41mv icedtea-${ICEDTEA_VERSION}/Makefile.in .
42rmdir icedtea-${ICEDTEA_VERSION}
43egrep '^CACAO_VERSION|^JAMVM_VERSION' Makefile.in
44CACAO_HASH=$(grep '^CACAO_VERSION' Makefile.in |tr -d ' ' |cut -d= -f2)
45JAMVM_HASH=$(grep '^JAMVM_VERSION' Makefile.in |tr -d ' ' |cut -d= -f2)
46wget ${DROPURL}/cacao/cacao-${CACAO_HASH}.tar.xz -O cacao_icedtea-${ICEDTEA_VERSION}.tar.xz
47wget ${DROPURL}/jamvm/jamvm-${JAMVM_HASH}.tar.gz -O jamvm_icedtea-${ICEDTEA_VERSION}.tar.gz
48
49echo ==========================================================================
50gpg --verify  icedtea-${ICEDTEA_VERSION}.tar.xz.sig 2>&1 |grep -e "^gpg: .* signature from"
51echo ""
52JDKU=$(grep ^JDK_UPDATE_VERSION Makefile.in | tr -d ' ' | cut -f2 -d=)
53JDKB=$(grep ^BUILD_VERSION Makefile.in | tr -d ' ' | cut -f2 -d=)
54echo "** Icedtea ${ICEDTEA_VERSION} will build OpenJDK update $JDKU build $JDKB"
55echo ==========================================================================
56
Note: See TracBrowser for help on using the repository browser.