feat: add ppc64le client (#2132)

This commit is contained in:
Lex 2024-12-02 09:54:51 -06:00 committed by GitHub
parent 7ca11a2b2e
commit 7df2a31432
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 43 additions and 2 deletions

View File

@ -174,6 +174,10 @@ jobs:
vscode_arch: loong64
npm_arch: loong64
image: vscodium/vscodium-linux-build-agent:trixie-loong64
- slug: PPC64
vscode_arch: ppc64le
npm_arch: ppc64
image: vscodium/vscodium-linux-build-agent:focal-ppc64le
container:
image: ${{ matrix.image }}
env:

View File

@ -173,6 +173,10 @@ jobs:
vscode_arch: loong64
npm_arch: loong64
image: vscodium/vscodium-linux-build-agent:trixie-loong64
- slug: PPC64
vscode_arch: ppc64le
npm_arch: ppc64
image: vscodium/vscodium-linux-build-agent:focal-ppc64le
container:
image: ${{ matrix.image }}
env:

View File

@ -189,6 +189,7 @@ The minimal version is limited by the core component Electron, you may want to c
- [x] GNU/Linux armhf (`deb`, `rpm`, `tar.gz`)
- [x] GNU/Linux riscv64 (`tar.gz`)
- [x] GNU/Linux loong64 (`tar.gz`)
- [x] GNU/Linux ppc64le (`tar.gz`)
- [x] Windows 10 / Server 2012 R2 or newer x64
- [x] Windows 10 / Server 2012 R2 or newer arm64

View File

@ -373,7 +373,14 @@ elif [[ "${ASSETS}" != "null" ]]; then
SHOULD_BUILD_APPIMAGE="no"
SHOULD_BUILD_DEB="no"
SHOULD_BUILD_RPM="no"
SHOULD_BUILD_TAR="no"
if [[ -z $( contains "${APP_NAME}-linux-ppc64le-${RELEASE_VERSION}.tar.gz" ) ]]; then
echo "Building on Linux PowerPC64LE because we have no TAR"
export SHOULD_BUILD="yes"
else
export SHOULD_BUILD_TAR="no"
fi
if [[ -z $( contains "${APP_NAME_LC}-reh-linux-ppc64le-${RELEASE_VERSION}.tar.gz" ) ]]; then
echo "Building on Linux PowerPC64LE because we have no REH archive"

View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -ex
export ELECTRON_VERSION="32.2.5"
export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}"

View File

@ -0,0 +1,11 @@
286fb5f6392b0e937a52901014bc2022a578dea443e20c392d367ed399e8c1ab *chromedriver-v32.2.5-linux-ppc64le.zip
dfaa0a22fe7aca731d20b91deb7aed355de2e35c65bc09c2f2395d8c78cb53c5 *electron-v32.2.5-linux-ppc64le-debug.zip
a6ab217b8d7c9f284fea4ba2e35a8623d6d996c76361f6cc33e4b61e6f38dc1a *electron-v32.2.5-linux-ppc64le-symbols.zip
979479502d505ab2a16907ab8e1b358e88d9374295ce5dbe2207865367bc5972 *electron-v32.2.5-linux-ppc64le.zip
146a192ac5e05bbd8172e3107cd4a1cae2b4882c98272ec735a2628889803104 *electron.d.ts
5d7a1064d30dc30c8574878b52702dc0b4c7af5e247642957bbc491e66938cb6 *ffmpeg-v32.2.5-linux-ppc64le.zip
0ecd17e582e90fa0dda7e9e76429bceb93628ac3231d8d558d723f03e3e9d55c *hunspell_dictionaries.zip
8a72820655810ea0f917e73eb05ea90115f914060a716d7920e67e6dbc488ee8 *libcxx-objects-v32.2.5-linux-ppc64le.zip
91aa5b5b835de4846f05ebe9a988323c919825ba8bae182d8b7732c4dbda3d80 *libcxx_headers.zip
9c4f3cc365da92936bd3df9d3175737bb42558b91d8b2bc40d39e7c1b06c5554 *libcxxabi_headers.zip
018a86eb6c764a2b9307999225d4fe1ed2eb1d0bb54edf1289fe5c126a814043 *mksnapshot-v32.2.5-linux-ppc64le.zip

View File

@ -25,6 +25,10 @@ elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
export VSCODE_SYSROOT_VERSION='20240129-253798'
export VSCODE_SYSROOT_PREFIX='-glibc-2.28'
export USE_GNUPP2A=1
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
export VSCODE_SKIP_SETUPENV=1
export VSCODE_ELECTRON_REPOSITORY='lex-ibm/electron-ppc64le-build-scripts'
elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
export VSCODE_ELECTRON_REPOSITORY='riscv-forks/electron-riscv-releases'
export ELECTRON_SKIP_BINARY_DOWNLOAD=1

View File

@ -193,7 +193,11 @@ RELEASE_NOTES
<table>
<tr>
<td rowspan="2">Linux</td>
<td rowspan="3">Linux</td>
<td>.tar.gz</td>
<td><a href="https://github.com/VSCodium/vscodium/releases/download/RELEASE_VERSION/VSCodium-linux-ppc64le-RELEASE_VERSION.tar.gz">VSCodium-linux-ppc64le-RELEASE_VERSION.tar.gz</a></td>
</tr>
<tr>
<td>Remote Host</td>
<td><a href="https://github.com/VSCodium/vscodium/releases/download/RELEASE_VERSION/vscodium-reh-linux-ppc64le-RELEASE_VERSION.tar.gz">vscodium-reh-linux-ppc64le-RELEASE_VERSION.tar.gz</a></td>
</tr>