Skip to content

Commit

Permalink
Merge branch 'adoptium:master' into podman
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana authored Jun 24, 2024
2 parents a375f42 + d937e1f commit 9ccab4d
Show file tree
Hide file tree
Showing 9 changed files with 189 additions and 98 deletions.
29 changes: 4 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ jobs:
matrix:
os: [macOS]
version: [
{ name: jdk8u, distro: macos-11 },
{ name: jdk11u, distro: macos-14 },
{ name: jdk17u, distro: macos-14 }
]
Expand Down Expand Up @@ -167,21 +166,7 @@ jobs:
run: |
brew install automake bash binutils freetype gnu-sed nasm
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
id: setup-java
with:
java-version: 7
distribution: 'zulu'
if: matrix.version.name == 'jdk8u'

- name: Select correct Xcode (JDK8)
if: matrix.version.name == 'jdk8u'
run: |
rm -rf /Applications/Xcode.app
ln -s /Applications/Xcode_11.7.app /Applications/Xcode.app
- name: Select correct Xcode (JDK11+)
if: matrix.version.name != 'jdk8u'
run: |
rm -rf /Applications/Xcode.app
ln -s /Applications/Xcode_15.2.app /Applications/Xcode.app
Expand All @@ -190,22 +175,16 @@ jobs:
run: |
export JAVA_HOME=$JAVA_HOME_11_X64
# jdk11u+ uses two part exploded & assemble build
if [ ${{ matrix.version.name }} != "jdk8u" ]; then
export BUILD_ARGS="--make-exploded-image --create-sbom"
./build-farm/make-adopt-build-farm.sh
export BUILD_ARGS="--assemble-exploded-image --create-sbom"
./build-farm/make-adopt-build-farm.sh
else
export BUILD_ARGS="--create-sbom"
./build-farm/make-adopt-build-farm.sh
fi
export BUILD_ARGS="--make-exploded-image --create-sbom"
./build-farm/make-adopt-build-farm.sh
export BUILD_ARGS="--assemble-exploded-image --create-sbom"
./build-farm/make-adopt-build-farm.sh
env:
JAVA_TO_BUILD: ${{ matrix.version.name }}
ARCHITECTURE: x64
VARIANT: ${{ matrix.variant }}
TARGET_OS: mac
FILENAME: OpenJDK.tar.gz
JDK7_BOOT_DIR: ${{ steps.setup-java.outputs.path }}

- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
name: Collect and Archive Artifacts
Expand Down
12 changes: 9 additions & 3 deletions build-farm/platform-specific-configurations/aix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ source "$SCRIPT_DIR/../../sbin/common/constants.sh"
export PATH="/opt/freeware/bin:/usr/local/bin:/opt/IBM/xlC/13.1.3/bin:/opt/IBM/xlc/13.1.3/bin:$PATH"
# Without this, java adds /usr/lib to the LIBPATH and it's own library
# directories of anything it forks which breaks linkage
export LIBPATH=/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib:/usr/lib
export LIBPATH=/opt/freeware/lib/pthread:/opt/freeware/lib:/usr/lib
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --with-cups-include=/opt/freeware/include"

# Any version below 11
Expand Down Expand Up @@ -127,13 +127,19 @@ else
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} DF=/usr/sysv/bin/df"
fi

if [ "$JAVA_FEATURE_VERSION" -ge 11 ]; then
if [ "$JAVA_FEATURE_VERSION" -le 21 ] && [ "$JAVA_FEATURE_VERSION" -ge 11 ]; then
export LANG=C
export PATH=/opt/freeware/bin:$JAVA_HOME/bin:/usr/local/bin:/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin:$PATH
export CC=xlclang
export CXX=xlclang++
fi

if [ "$JAVA_FEATURE_VERSION" -ge 22 ]; then
export PATH=/opt/freeware/bin:$JAVA_HOME/bin:/usr/local/bin:/opt/IBM/openxlC/17.1.1/bin:$PATH
export EXTRA_PATH=/opt/IBM/openxlC/17.1.1/tools
export TOOLCHAIN_TYPE="clang"
export CC=ibm-clang_r
export CXX=ibm-clang++_r
fi
# J9 JDK14 builds seem to be chewing up more RAM than the others, so restrict it
# Ref: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1151
if [ "$JAVA_FEATURE_VERSION" -ge 14 ]; then
Expand Down
33 changes: 29 additions & 4 deletions configureBuild.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck disable=SC1091
# shellcheck disable=SC1091,SC2155
# ********************************************************************************
# Copyright (c) 2018 Contributors to the Eclipse Foundation
#
Expand Down Expand Up @@ -170,6 +170,7 @@ setVariablesForConfigure() {
setRepository() {

local suffix
local githubRepoName=$(getOpenjdkGithubRepoName "${BUILD_CONFIG[OPENJDK_FOREST_NAME]}")

# Location of Extensions for OpenJ9 project
if [[ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_OPENJ9}" ]]; then
Expand Down Expand Up @@ -200,12 +201,12 @@ setRepository() {
|| [ "${BUILD_CONFIG[OPENJDK_CORE_VERSION]}" == "${JDK11_CORE_VERSION}" ]; then
suffix="openjdk/riscv-port-${BUILD_CONFIG[OPENJDK_FOREST_NAME]}"
else
suffix="openjdk/${BUILD_CONFIG[OPENJDK_FOREST_NAME]}"
suffix="openjdk/${githubRepoName}"
fi
elif [[ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_TEMURIN}" ]]; then
suffix="adoptium/${BUILD_CONFIG[OPENJDK_FOREST_NAME]}"
suffix="adoptium/${githubRepoName}"
else
suffix="openjdk/${BUILD_CONFIG[OPENJDK_FOREST_NAME]}"
suffix="openjdk/${githubRepoName}"
fi

local repository
Expand All @@ -219,6 +220,30 @@ setRepository() {
repository="$(echo "${repository}" | awk '{print tolower($0)}')"

BUILD_CONFIG[REPOSITORY]="${BUILD_CONFIG[REPOSITORY]:-${repository}}"

echo "Using source repository ${BUILD_CONFIG[REPOSITORY]}"
}

# Given a forest_name (eg.jdk23), return the corresponding repository name
getOpenjdkGithubRepoName() {
local forest_name="$1"
local repoName=""

# "Update" versions are currently in a repository with the name of the forest
if [[ ${forest_name} == *u ]]; then
repoName="${forest_name}"
else
local featureNumber=$(echo "${forest_name}" | tr -d "[:alpha:]")

# jdk-23+ stabilisation versions are within the jdk(head) repository
if [[ "${featureNumber}" -ge 23 ]]; then
repoName="jdk"
else
repoName="${forest_name}"
fi
fi

echo "${repoName}"
}

# Specific architectures need to have special build settings
Expand Down
23 changes: 13 additions & 10 deletions sbin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ configureReproducibleBuildParameter() {

# Ensure reproducible and comparable binary with a unique build user identifier
addConfigureArg "--with-build-user=" "admin"
if [ "${BUILD_CONFIG[OS_KERNEL_NAME]}" == "aix" ]; then
if [ "${BUILD_CONFIG[OS_KERNEL_NAME]}" == "aix" ] && [ "${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]}" -lt 22 ]; then
addConfigureArg "--with-extra-cflags=" "-qnotimestamps"
addConfigureArg "--with-extra-cxxflags=" "-qnotimestamps"
fi
Expand Down Expand Up @@ -870,7 +870,10 @@ generateSBoM() {
return
fi

local javaHome="$(setupAntEnv)"
# exit from local var=$(setupAntEnv) is not propagated. We have to ensure that the exit propagates, and is fatal for the script
# So the declaration is split. In that case the bug does not occur and thus the `exit 2` from setupAntEnv is correctly propagated
local javaHome
javaHome="$(setupAntEnv)"

buildCyclonedxLib "${javaHome}"
# classpath to run java app TemurinGenSBOM
Expand Down Expand Up @@ -2171,7 +2174,7 @@ addJVMVariant() {
}

addBuildSHA() { # git SHA of the build repository i.e. openjdk-build
local buildSHA=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}" rev-parse HEAD 2>/dev/null)
local buildSHA=$(cd "${BUILD_CONFIG[WORKSPACE_DIR]}" && git rev-parse HEAD 2>/dev/null)
if [[ $buildSHA ]]; then
# shellcheck disable=SC2086
echo -e BUILD_SOURCE=\"git:$buildSHA\" >>release
Expand All @@ -2181,7 +2184,7 @@ addBuildSHA() { # git SHA of the build repository i.e. openjdk-build
}

addBuildSourceRepo() { # name of git repo for which BUILD_SOURCE sha is from
local buildSourceRepo=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}" config --get remote.origin.url 2>/dev/null)
local buildSourceRepo=$(cd "${BUILD_CONFIG[WORKSPACE_DIR]}" && git config --get remote.origin.url 2>/dev/null)
if [[ $buildSourceRepo ]]; then
# shellcheck disable=SC2086
echo -e BUILD_SOURCE_REPO=\"$buildSourceRepo\" >>release
Expand All @@ -2191,7 +2194,7 @@ addBuildSourceRepo() { # name of git repo for which BUILD_SOURCE sha is from
}

addOpenJDKSourceRepo() { # name of git repo for which SOURCE sha is from
local openjdkSourceRepo=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}" config --get remote.origin.url 2>/dev/null)
local openjdkSourceRepo=$(cd "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}" && git config --get remote.origin.url 2>/dev/null)
if [[ $openjdkSourceRepo ]]; then
# shellcheck disable=SC2086
echo -e SOURCE_REPO=\"$openjdkSourceRepo\" >>release
Expand Down Expand Up @@ -2221,7 +2224,7 @@ addJ9Tag() {
# This code makes sure that a version number is always present in the release file i.e. openj9-0.21.0
local j9Location="${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}/openj9"
# Pull the tag associated with the J9 commit being used
J9_TAG=$(git -C $j9Location describe --abbrev=0)
J9_TAG=$(cd "$j9Location" && git describe --abbrev=0)
# shellcheck disable=SC2086
if [ ${BUILD_CONFIG[RELEASE]} = false ]; then
echo -e OPENJ9_TAG=\"$J9_TAG\" >> release
Expand Down Expand Up @@ -2304,9 +2307,9 @@ addVendorToJson(){
}

addSourceToJson(){ # Pulls the origin repo, or uses 'openjdk-build' in rare cases of failure
local repoName=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}" config --get remote.origin.url 2>/dev/null)
local repoName=$(cd "${BUILD_CONFIG[WORKSPACE_DIR]}" && git config --get remote.origin.url 2>/dev/null)
local repoNameStr="${repoName:-"ErrorUnknown"}"
local buildSHA=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}" rev-parse HEAD 2>/dev/null)
local buildSHA=$(cd "${BUILD_CONFIG[WORKSPACE_DIR]}" && git rev-parse HEAD 2>/dev/null)
if [[ $buildSHA ]]; then
echo -n "${repoNameStr%%.git}/commit/$buildSHA" > "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[TARGET_DIR]}/metadata/buildSource.txt"
else
Expand All @@ -2315,8 +2318,8 @@ addSourceToJson(){ # Pulls the origin repo, or uses 'openjdk-build' in rare case
}

addOpenJDKSourceToJson() { # name of git repo for which SOURCE sha is from
local openjdkSourceRepo=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}" config --get remote.origin.url 2>/dev/null)
local openjdkSHA=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}" rev-parse HEAD 2>/dev/null)
local openjdkSourceRepo=$(cd "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}" && git config --get remote.origin.url 2>/dev/null)
local openjdkSHA=$(cd "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}" && git rev-parse HEAD 2>/dev/null)
if [[ $openjdkSHA ]]; then
echo -n "${openjdkSourceRepo%%.git}/commit/${openjdkSHA}" > "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[TARGET_DIR]}/metadata/openjdkSource.txt"
else
Expand Down
48 changes: 48 additions & 0 deletions sbin/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@
# shellcheck disable=SC2155
# shellcheck disable=SC2153
function setOpenJdkVersion() {
# forest_name represents the JDK version with "u" suffix for an "update version"
#
# It no longer relates directly to the openjdk repository name, as the jdk(head) repository
# now has version branches for jdk-23+
#
# Format: jdkNN[u]
#
local forest_name=$1

echo "Setting version based on forest_name=${forest_name}"

# The argument passed here have actually very strict format of jdk8, jdk8u..., jdk
# the build may fail later if this is not honoured.
# If your repository has a different name, you can use --version or build from dir/snapshot
Expand Down Expand Up @@ -81,6 +90,45 @@ function setOpenJdkVersion() {
# feature number e.g. 11
BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]=${featureNumber}

# Set default branch based on JDK forest and feature number
setBranch
}

# Set the default BUILD_CONFIG[BRANCH] for the jdk version being built
# For "hotspot" and "Temurin" builds of non-"u" jdk-23+ the branch is dev_<version>
function setBranch() {

# Which repo branch to build, e.g. dev by default for temurin, "openj9" for openj9
local branch="master"
local adoptium_mirror_branch="dev"

# non-u (and non-tip) jdk-23+ hotspot and adoptium version source is within a "version" branch in the "jdk" repository
if [[ ${BUILD_CONFIG[OPENJDK_FOREST_NAME]} != *u ]] && [[ ${BUILD_CONFIG[OPENJDK_FOREST_NAME]} != "jdk" ]] && [[ "${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]}" -ge 23 ]]; then
branch="jdk${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]}"
adoptium_mirror_branch="dev_jdk${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]}"
fi

if [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_TEMURIN}" ]; then
branch="${adoptium_mirror_branch}"
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_OPENJ9}" ]; then
branch="openj9";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_DRAGONWELL}" ]; then
branch="master";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_FAST_STARTUP}" ]; then
branch="master";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_CORRETTO}" ]; then
branch="develop";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_BISHENG}" ]; then
if [ "${BUILD_CONFIG[OS_ARCHITECTURE]}" == "riscv64" ] ; then
branch="risc-v"
else
branch="master"
fi
fi

BUILD_CONFIG[BRANCH]=${BUILD_CONFIG[BRANCH]:-$branch}

echo "Default branch set to BUILD_CONFIG[BRANCH]=${BUILD_CONFIG[BRANCH]}"
}

function crossPlatformRealPath() {
Expand Down
27 changes: 0 additions & 27 deletions sbin/common/config_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -399,33 +399,6 @@ function parseConfigurationArguments() {
*) echo >&2 "Invalid build.sh option: ${opt}"; exit 1;;
esac
done

setBranch
}

function setBranch() {

# Which repo branch to build, e.g. dev by default for temurin, "openj9" for openj9
local branch="master"
if [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_TEMURIN}" ]; then
branch="dev"
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_OPENJ9}" ]; then
branch="openj9";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_DRAGONWELL}" ]; then
branch="master";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_FAST_STARTUP}" ]; then
branch="master";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_CORRETTO}" ]; then
branch="develop";
elif [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_BISHENG}" ]; then
if [ "${BUILD_CONFIG[OS_ARCHITECTURE]}" == "riscv64" ] ; then
branch="risc-v"
else
branch="master"
fi
fi

BUILD_CONFIG[BRANCH]=${BUILD_CONFIG[BRANCH]:-$branch}
}

# Set the local dir if used
Expand Down
37 changes: 25 additions & 12 deletions sbin/prepareWorkspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,29 +51,42 @@ copyFromDir() {
# this is workarounding --strip-components 1 missing on gnu tar
# it requires absolute tar-filepath as it changes dir and is hardcoded to one
# similar approach can be used also for zip in future
untarGnuAbsPathWithStripComponents1() {
# warning! this method do not merge if (parts of!) destination exists.
unpackGnuAbsPathWithStrip1Component() {
local tmp=$(mktemp -d)
pushd "$tmp" > /dev/null
tar "$@"
"$@"
popd > /dev/null
mv "$tmp"/*/* .
mv "$tmp"/*/.* . || echo "no hidden files in tarball"
rmdir "$tmp"/*
rmdir "$tmp"
}

untarGnuAbsPathWithStrip1Component() {
unpackGnuAbsPathWithStrip1Component tar -xf "$@"
}

unzipGnuAbsPathWithStrip1Component() {
unpackGnuAbsPathWithStrip1Component unzip "$@"
}

unpackFromArchive() {
echo "Extracting OpenJDK source tarball ${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]} to $(pwd)/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]} to build the binary"
# If the tarball contains .git files, they should be ignored later
# todo, support also zips?
pushd "./${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}"
local topLevelItems=$(tar --exclude='*/*' -tf "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]}" | grep "/$" -c) || local topLevelItems=1
if [ "$topLevelItems" -eq "1" ] ; then
echo "Source tarball contains exactly one directory"
untarGnuAbsPathWithStripComponents1 -xf "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]}"
if [ "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]: -4}" == ".zip" ] ; then
echo "Source zip unpacked as if it contains exactly one directory"
unzipGnuAbsPathWithStrip1Component "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]}"
else
echo "Source tarball does not contain a top level directory"
tar -xf "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]}"
local topLevelItems=$(tar --exclude='*/*' -tf "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]}" | grep "/$" -c) || local topLevelItems=1
if [ "$topLevelItems" -eq "1" ] ; then
echo "Source tarball contains exactly one directory"
untarGnuAbsPathWithStrip1Component "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]}"
else
echo "Source tarball does not contain a top level directory"
tar -xf "${BUILD_CONFIG[OPENJDK_LOCAL_SOURCE_ARCHIVE_ABSPATH]}"
fi
fi
rm -rf "build"
popd
Expand Down Expand Up @@ -843,13 +856,13 @@ applyPatches() {
createSourceTagFile(){
if [ "${BUILD_CONFIG[OPENJDK_CORE_VERSION]}" == "${JDK8_CORE_VERSION}" ]; then
local OpenJDK_TopDir="${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}"
local OpenJDK_SHA=$(git -C "$OpenJDK_TopDir" rev-parse --short HEAD)
local OpenJDK_SHA=$(cd "$OpenJDK_TopDir" && git rev-parse --short HEAD)
if [ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_OPENJ9}" ]; then
# OpenJ9 list 3 SHA's in their release file: OpenJDK, OpenJ9, and OMR.
local OpenJ9_TopDir="$OpenJDK_TopDir/openj9"
local OMR_TopDir="$OpenJDK_TopDir/omr"
local OpenJ9_SHA=$(git -C "$OpenJ9_TopDir" rev-parse --short HEAD)
local OMR_SHA=$(git -C "$OMR_TopDir" rev-parse --short HEAD)
local OpenJ9_SHA=$(cd "$OpenJ9_TopDir" && git rev-parse --short HEAD)
local OMR_SHA=$(cd "$OMR_TopDir" && git rev-parse --short HEAD)
(printf "OpenJDK: %s OpenJ9: %s OMR: %s" "$OpenJDK_SHA" "$OpenJ9_SHA" "$OMR_SHA") > "$OpenJDK_TopDir/.hgtip"
else # Other variants only list the main repo SHA.
(printf "OpenJDK: %s" "$OpenJDK_SHA") > "$OpenJDK_TopDir/.hgtip"
Expand Down
Loading

0 comments on commit 9ccab4d

Please sign in to comment.