-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into dragonwell
Summary: Merge upstream code Testing: CICD Reviewers: kuaiwei, yuleil Issue: #225
- Loading branch information
Showing
1,358 changed files
with
54,802 additions
and
33,516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
# | ||
# Copyright (c) 2022, Oracle and/or its affiliates. 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. Oracle designates this | ||
# particular file as subject to the "Classpath" exception as provided | ||
# by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
# or visit www.oracle.com if you need additional information or have any | ||
# questions. | ||
# | ||
|
||
name: 'Build (cross-compile)' | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
gcc-major-version: | ||
required: false | ||
type: string | ||
default: '10' | ||
|
||
jobs: | ||
build-cross-compile: | ||
name: build | ||
runs-on: ubuntu-20.04 | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target-cpu: | ||
- aarch64 | ||
- arm | ||
- s390x | ||
- ppc64le | ||
include: | ||
- target-cpu: aarch64 | ||
debian-arch: arm64 | ||
gnu-arch: aarch64 | ||
- target-cpu: arm | ||
debian-arch: armhf | ||
gnu-arch: arm | ||
gnu-abi: eabihf | ||
- target-cpu: s390x | ||
debian-arch: s390x | ||
gnu-arch: s390x | ||
- target-cpu: ppc64le | ||
debian-arch: ppc64el | ||
gnu-arch: powerpc64le | ||
|
||
steps: | ||
- name: 'Checkout the JDK source' | ||
uses: actions/checkout@v3 | ||
|
||
- name: 'Get the BootJDK' | ||
id: bootjdk | ||
uses: ./.github/actions/get-bootjdk | ||
with: | ||
platform: linux-x64 | ||
|
||
# Use linux-x64 JDK bundle as build JDK | ||
- name: 'Get build JDK' | ||
id: buildjdk | ||
uses: ./.github/actions/get-bundles | ||
with: | ||
platform: linux-x64 | ||
|
||
# Upgrading apt to solve libc6 installation bugs, see JDK-8260460. | ||
- name: 'Install toolchain and dependencies' | ||
run: | | ||
# Install dependencies using apt-get | ||
sudo apt-get update | ||
sudo apt-get install --only-upgrade apt | ||
sudo apt-get install \ | ||
gcc-${{ inputs.gcc-major-version }} \ | ||
g++-${{ inputs.gcc-major-version }} \ | ||
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \ | ||
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \ | ||
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }} | ||
- name: 'Check cache for sysroot' | ||
id: get-cached-sysroot | ||
uses: actions/cache@v3 | ||
with: | ||
path: sysroot | ||
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('./.github/workflows/build-cross-compile.yml') }} | ||
|
||
- name: 'Install sysroot dependencies' | ||
run: sudo apt-get install debootstrap qemu-user-static | ||
if: steps.get-cached-sysroot.outputs.cache-hit != 'true' | ||
|
||
- name: 'Create sysroot' | ||
run: > | ||
sudo qemu-debootstrap | ||
--arch=${{ matrix.debian-arch }} | ||
--verbose | ||
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev | ||
--resolve-deps | ||
buster | ||
sysroot | ||
https://httpredir.debian.org/debian/ | ||
if: steps.get-cached-sysroot.outputs.cache-hit != 'true' | ||
|
||
- name: 'Prepare sysroot' | ||
run: | | ||
# Prepare sysroot and remove unused files to minimize cache | ||
sudo chroot sysroot symlinks -cr . | ||
sudo chown ${USER} -R sysroot | ||
rm -rf sysroot/{dev,proc,run,sys} | ||
if: steps.get-cached-sysroot.outputs.cache-hit != 'true' | ||
|
||
- name: 'Configure' | ||
run: > | ||
bash configure | ||
--with-conf-name=linux-${{ matrix.target-cpu }} | ||
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA} | ||
--with-boot-jdk=${{ steps.bootjdk.outputs.path }} | ||
--with-zlib=system | ||
--enable-debug | ||
--disable-precompiled-headers | ||
--openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} | ||
--with-sysroot=sysroot | ||
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }} | ||
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-10 | ||
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-10 | ||
- name: 'Build' | ||
id: build | ||
uses: ./.github/actions/do-build | ||
with: | ||
make-target: 'hotspot' | ||
platform: linux-${{ matrix.target-cpu }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Owner: CN=Certigna Root CA, OU=0002 48146308100036, O=Dhimyotis, C=FR | ||
Issuer: CN=Certigna Root CA, OU=0002 48146308100036, O=Dhimyotis, C=FR | ||
Serial number: cae91b89f155030da3e6416dc4e3a6e1 | ||
Valid from: Tue Oct 01 08:32:27 GMT 2013 until: Sat Oct 01 08:32:27 GMT 2033 | ||
Signature algorithm name: SHA256withRSA | ||
Subject Public Key Algorithm: 4096-bit RSA key | ||
Version: 3 | ||
-----BEGIN CERTIFICATE----- | ||
MIIGWzCCBEOgAwIBAgIRAMrpG4nxVQMNo+ZBbcTjpuEwDQYJKoZIhvcNAQELBQAw | ||
WjELMAkGA1UEBhMCRlIxEjAQBgNVBAoMCURoaW15b3RpczEcMBoGA1UECwwTMDAw | ||
MiA0ODE0NjMwODEwMDAzNjEZMBcGA1UEAwwQQ2VydGlnbmEgUm9vdCBDQTAeFw0x | ||
MzEwMDEwODMyMjdaFw0zMzEwMDEwODMyMjdaMFoxCzAJBgNVBAYTAkZSMRIwEAYD | ||
VQQKDAlEaGlteW90aXMxHDAaBgNVBAsMEzAwMDIgNDgxNDYzMDgxMDAwMzYxGTAX | ||
BgNVBAMMEENlcnRpZ25hIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw | ||
ggIKAoICAQDNGDllGlmx6mQWDoyUJJV8g9PFOSbcDO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tL2NlcnRpZ25hcm9vdGNhLmNybDANBgkq | ||
hkiG9w0BAQsFAAOCAgEAlLieT/DjlQgi581oQfccVdV8AOItOoldaDgvUSILSo3L | ||
6btdPrtcPbEo/uRTVRPPoZAbAh1fZkYJMyjhDSSXcNMQH+pkV5a7XdrnxIxPTGRG | ||
HVyH41neQtGbqH6mid2PHMkwgu07nM3A6RngatgCdTer9zQoKJHyBApPNeNgJgH6 | ||
0BGM+RFq7q89w1DTj18zeTyGqHNFkIwgtnJzFyO+B2XleJINugHA64wcZr+shncB | ||
lA2c5uk5jR+mUYyZDDl34bSb+hxnV29qao6pK0xXeXpXIs/NX2NGjVxZOob4Mkdi | ||
o2cNGJHc+6Zr9UhhcyNZjgKnvETq9Emd8VRY+WCv2hikLyhF3HqgiIZd8zvn/yk1 | ||
gPxkQ5Tm4xxvvq0OKmOZK8l+hfZx6AYDlf7ej0gcWtSS6Cvu5zHbugRqh5jnxV/v | ||
faci9wHYTfmJ0A6aBVmknpjZbyvKcL5kwlWj9Omvw5Ip3IgWJJk8jSaYtlu3zM63 | ||
Nwf9JtmYhST/WSMDmu2dnajkXjjO11INb9I/bbEFa0nOipFGc/T2L/Coc3cOZayh | ||
jWZSaX5LaAzHHjcng6WMxwLkFM1JAbBzs/3GkDpv0mztO+7skb6iQ12LAEpmJURw | ||
3kAP+HwV96LOPNdeE4yBFxgX0b3xdxA61GU5wSesVywlVP+i2k+KYTlerj1KjL0= | ||
-----END CERTIFICATE----- |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Github: https://raw.githubusercontent.com/publicsuffix/list/3c213aab32b3c014f171b1673d4ce9b5cd72bf1c/public_suffix_list.dat | ||
Date: 2021-11-27 | ||
Github: https://raw.githubusercontent.com/publicsuffix/list/88467c960d6cdad2ca1623e892e5e17506bc269f/public_suffix_list.dat | ||
Date: 2023-04-14 |
Oops, something went wrong.