Skip to content

Commit

Permalink
Add PPC64LE UI Support
Browse files Browse the repository at this point in the history
  • Loading branch information
lex-ibm committed Nov 30, 2024
1 parent 7ca11a2 commit b3a9e14
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/insider-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ jobs:
vscode_arch: loong64
npm_arch: loong64
image: vscodium/vscodium-linux-build-agent:trixie-loong64
- slug: PPC64
vscode_arch: ppc64le
npm_arch: ppc64
container:
image: ${{ matrix.image }}
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stable-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 8 additions & 1 deletion check_tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions electron_linux_ppc64le.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

set -ex

export ELECTRON_VERSION="32.2.5"
export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}"
11 changes: 11 additions & 0 deletions electron_linux_ppc64le.sha256sums
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions package_linux_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3a9e14

Please sign in to comment.