2024-04-12 15:27:37 +03:00
|
|
|
diff --git a/build/azure-pipelines/linux/setup-env.sh b/build/azure-pipelines/linux/setup-env.sh
|
2024-08-12 13:04:31 +03:00
|
|
|
index 949b5f3..30093d6 100755
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/azure-pipelines/linux/setup-env.sh
|
|
|
|
+++ b/build/azure-pipelines/linux/setup-env.sh
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -9,2 +9,6 @@ fi
|
2024-04-12 15:27:37 +03:00
|
|
|
|
2024-04-26 09:59:33 +03:00
|
|
|
+if [ "$npm_config_arch" == "riscv64" ]; then
|
2024-04-12 15:27:37 +03:00
|
|
|
+ exit 0
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
export VSCODE_SYSROOT_DIR=$PWD/.build/sysroots
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -67,2 +71,16 @@ elif [ "$npm_config_arch" == "arm" ]; then
|
|
|
|
export VSCODE_REMOTE_LDFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/arm-rpi-linux-gnueabihf/arm-rpi-linux-gnueabihf/sysroot -L$VSCODE_SYSROOT_DIR/arm-rpi-linux-gnueabihf/arm-rpi-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf -L$VSCODE_SYSROOT_DIR/arm-rpi-linux-gnueabihf/arm-rpi-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf"
|
2024-04-26 09:59:33 +03:00
|
|
|
+elif [ "$npm_config_arch" == "ppc64" ]; then
|
|
|
|
+ if [ "$(echo "$@" | grep -c -- "--only-remote")" -eq 0 ]; then
|
|
|
|
+ # Set compiler toolchain for client native modules
|
|
|
|
+ export CC=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-gcc
|
|
|
|
+ export CXX=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-g++
|
|
|
|
+ export CXXFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot"
|
|
|
|
+ export LDFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/usr/lib/powerpc64le-linux-gnu -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/lib/powerpc64le-linux-gnu"
|
|
|
|
+
|
|
|
|
+ # Set compiler toolchain for remote server
|
|
|
|
+ export VSCODE_REMOTE_CC=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-gcc
|
|
|
|
+ export VSCODE_REMOTE_CXX=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/bin/powerpc64le-linux-gnu-g++
|
|
|
|
+ export VSCODE_REMOTE_CXXFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot"
|
|
|
|
+ export VSCODE_REMOTE_LDFLAGS="--sysroot=$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/usr/lib/powerpc64le-linux-gnu -L$VSCODE_SYSROOT_DIR/powerpc64le-linux-gnu/powerpc64le-linux-gnu/sysroot/lib/powerpc64le-linux-gnu"
|
|
|
|
+ fi
|
|
|
|
fi
|
|
|
|
diff --git a/build/azure-pipelines/linux/verify-glibc-requirements.sh b/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
2024-07-08 18:17:26 +03:00
|
|
|
index 19482c2..f49d910 100755
|
2024-04-26 09:59:33 +03:00
|
|
|
--- a/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
|
|
|
+++ b/build/azure-pipelines/linux/verify-glibc-requirements.sh
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -9,2 +9,4 @@ elif [ "$VSCODE_ARCH" == "armhf" ]; then
|
2024-04-26 09:59:33 +03:00
|
|
|
TRIPLE="arm-rpi-linux-gnueabihf"
|
|
|
|
+elif [ "$VSCODE_ARCH" == "ppc64le" ]; then
|
|
|
|
+ TRIPLE="powerpc64le-linux-gnu"
|
|
|
|
fi
|
|
|
|
diff --git a/build/checksums/vscode-sysroot.txt b/build/checksums/vscode-sysroot.txt
|
2024-07-08 18:17:26 +03:00
|
|
|
index 0b5f38c..9f3b02b 100644
|
2024-04-26 09:59:33 +03:00
|
|
|
--- a/build/checksums/vscode-sysroot.txt
|
|
|
|
+++ b/build/checksums/vscode-sysroot.txt
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -6 +6,2 @@
|
2024-04-26 09:59:33 +03:00
|
|
|
dbb927408393041664a020661f2641c9785741be3d29b050b9dac58980967784 x86_64-linux-gnu-glibc-2.28.tar.gz
|
|
|
|
+fa8176d27be18bb0eeb7f55b0fa22255050b430ef68c29136599f02976eb0b1b powerpc64le-linux-gnu-glibc-2.28.tar.gz
|
2024-04-12 15:27:37 +03:00
|
|
|
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
2024-08-12 13:04:31 +03:00
|
|
|
index 7d58861..f14984f 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/gulpfile.reh.js
|
|
|
|
+++ b/build/gulpfile.reh.js
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -48,2 +48,4 @@ const BUILD_TARGETS = [
|
2024-04-12 15:27:37 +03:00
|
|
|
{ platform: 'linux', arch: 'arm64' },
|
|
|
|
+ { platform: 'linux', arch: 'ppc64le' },
|
|
|
|
+ { platform: 'linux', arch: 'riscv64' },
|
|
|
|
{ platform: 'alpine', arch: 'arm64' },
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -217,2 +219,10 @@ function nodejs(platform, arch) {
|
2024-04-12 15:27:37 +03:00
|
|
|
case 'linux':
|
|
|
|
+ if (arch === 'riscv64') {
|
|
|
|
+ return fetchUrls(`/download/release/v${nodeVersion}/node-v${nodeVersion}-${platform}-${arch}.tar.gz`,
|
|
|
|
+ { base: 'https://unofficial-builds.nodejs.org', checksumSha256 }).pipe(flatmap(stream => stream.pipe(gunzip()).pipe
|
|
|
|
+ (untar())))
|
|
|
|
+ .pipe(filter('**/node'))
|
|
|
|
+ .pipe(util.setExecutableBit('**'))
|
|
|
|
+ .pipe(rename('node'));
|
|
|
|
+ }
|
|
|
|
return (product.nodejsRepository !== 'https://nodejs.org' ?
|
|
|
|
diff --git a/build/gulpfile.scan.js b/build/gulpfile.scan.js
|
2024-07-08 18:17:26 +03:00
|
|
|
index 6f8144b..8a8195e 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/gulpfile.scan.js
|
|
|
|
+++ b/build/gulpfile.scan.js
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -26,2 +26,4 @@ const BUILD_TARGETS = [
|
2024-04-12 15:27:37 +03:00
|
|
|
{ platform: 'linux', arch: 'arm64' },
|
|
|
|
+ { platform: 'linux', arch: 'ppc64le' },
|
|
|
|
+ { platform: 'linux', arch: 'riscv64' },
|
|
|
|
];
|
|
|
|
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
2024-08-12 13:04:31 +03:00
|
|
|
index 4af4067..1f99344 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/gulpfile.vscode.js
|
|
|
|
+++ b/build/gulpfile.vscode.js
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -350,2 +350,12 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
2024-06-11 19:41:17 +03:00
|
|
|
|
|
|
|
+ const electronOverride = {};
|
|
|
|
+ if (process.env.VSCODE_ELECTRON_REPO) {
|
|
|
|
+ // electron doesn't support riscv64 and ppc64le, override the repo with `VSCODE_ELECTRON_REPO`.
|
|
|
|
+ electronOverride.repo = process.env.VSCODE_ELECTRON_REPO;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (process.env.VSCODE_ELECTRON_TAG) {
|
|
|
|
+ electronOverride.tag = process.env.VSCODE_ELECTRON_TAG;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
let result = all
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -354,3 +364,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
2024-06-11 19:41:17 +03:00
|
|
|
.pipe(filter(['**', '!**/.github/**'], { dot: true })) // https://github.com/microsoft/vscode/issues/116523
|
|
|
|
- .pipe(electron({ ...config, platform, arch: arch === 'armhf' ? 'arm' : arch, ffmpegChromium: false }))
|
|
|
|
+ .pipe(electron({ ...config, ...electronOverride, platform, arch: arch === 'armhf' ? 'arm' : arch, ffmpegChromium: false }))
|
|
|
|
.pipe(filter(['**', '!LICENSE', '!version'], { dot: true }));
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -449,2 +459,4 @@ const BUILD_TARGETS = [
|
2024-04-12 15:27:37 +03:00
|
|
|
{ platform: 'linux', arch: 'arm64' },
|
|
|
|
+ { platform: 'linux', arch: 'ppc64le' },
|
|
|
|
+ { platform: 'linux', arch: 'riscv64' },
|
|
|
|
];
|
|
|
|
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
2024-07-08 18:17:26 +03:00
|
|
|
index 28ddfb0..cb3169c 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/gulpfile.vscode.linux.js
|
|
|
|
+++ b/build/gulpfile.vscode.linux.js
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -33,3 +33,3 @@ const linuxPackageRevision = Math.floor(new Date().getTime() / 1000);
|
2024-04-12 15:27:37 +03:00
|
|
|
function getDebPackageArch(arch) {
|
|
|
|
- return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64' }[arch];
|
2024-06-11 17:56:15 +03:00
|
|
|
+ return { x64: 'amd64', armhf: 'armhf', arm64: 'arm64', ppc64le: 'ppc64el', riscv64: 'riscv64' }[arch];
|
2024-04-12 15:27:37 +03:00
|
|
|
}
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -141,3 +141,3 @@ function getRpmBuildPath(rpmArch) {
|
2024-04-12 15:27:37 +03:00
|
|
|
function getRpmPackageArch(arch) {
|
|
|
|
- return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64' }[arch];
|
|
|
|
+ return { x64: 'x86_64', armhf: 'armv7hl', arm64: 'aarch64', ppc64le: 'ppc64le', riscv64: 'riscv64' }[arch];
|
|
|
|
}
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -301,2 +301,4 @@ const BUILD_TARGETS = [
|
2024-04-12 15:27:37 +03:00
|
|
|
{ arch: 'arm64' },
|
|
|
|
+ { arch: 'ppc64le' },
|
|
|
|
+ { arch: 'riscv64' },
|
|
|
|
];
|
2024-06-11 17:56:15 +03:00
|
|
|
diff --git a/build/linux/debian/calculate-deps.js b/build/linux/debian/calculate-deps.js
|
2024-07-08 18:17:26 +03:00
|
|
|
index bbcb6bf..d00158f 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/debian/calculate-deps.js
|
|
|
|
+++ b/build/linux/debian/calculate-deps.js
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -51,2 +51,8 @@ function calculatePackageDeps(binaryPath, arch, chromiumSysroot, vscodeSysroot)
|
2024-06-11 17:56:15 +03:00
|
|
|
break;
|
|
|
|
+ case 'ppc64el':
|
|
|
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/powerpc64le-linux-gnu`, `-l${chromiumSysroot}/lib/powerpc64le-linux-gnu`, `-l${vscodeSysroot}/usr/lib/powerpc64le-linux-gnu`, `-l${vscodeSysroot}/lib/powerpc64le-linux-gnu`);
|
|
|
|
+ break;
|
|
|
|
+ case 'riscv64':
|
|
|
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/riscv64-linux-gnu`, `-l${chromiumSysroot}/lib/riscv64-linux-gnu`, `-l${vscodeSysroot}/usr/lib/riscv64-linux-gnu`, `-l${vscodeSysroot}/lib/riscv64-linux-gnu`);
|
|
|
|
+ break;
|
|
|
|
}
|
2024-04-12 15:27:37 +03:00
|
|
|
diff --git a/build/linux/debian/calculate-deps.ts b/build/linux/debian/calculate-deps.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
index 92f8065..b86b4db 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/linux/debian/calculate-deps.ts
|
|
|
|
+++ b/build/linux/debian/calculate-deps.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -61,2 +61,14 @@ function calculatePackageDeps(binaryPath: string, arch: DebianArchString, chromi
|
2024-04-12 15:27:37 +03:00
|
|
|
break;
|
2024-06-11 17:56:15 +03:00
|
|
|
+ case 'ppc64el':
|
2024-04-26 09:59:33 +03:00
|
|
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/powerpc64le-linux-gnu`,
|
|
|
|
+ `-l${chromiumSysroot}/lib/powerpc64le-linux-gnu`,
|
|
|
|
+ `-l${vscodeSysroot}/usr/lib/powerpc64le-linux-gnu`,
|
|
|
|
+ `-l${vscodeSysroot}/lib/powerpc64le-linux-gnu`);
|
2024-04-12 15:27:37 +03:00
|
|
|
+ break;
|
|
|
|
+ case 'riscv64':
|
|
|
|
+ cmd.push(`-l${chromiumSysroot}/usr/lib/riscv64-linux-gnu`,
|
|
|
|
+ `-l${chromiumSysroot}/lib/riscv64-linux-gnu`,
|
|
|
|
+ `-l${vscodeSysroot}/usr/lib/riscv64-linux-gnu`,
|
|
|
|
+ `-l${vscodeSysroot}/lib/riscv64-linux-gnu`);
|
|
|
|
+ break;
|
|
|
|
}
|
2024-06-11 17:56:15 +03:00
|
|
|
diff --git a/build/linux/debian/dep-lists.js b/build/linux/debian/dep-lists.js
|
2024-08-12 13:04:31 +03:00
|
|
|
index 3a642a7..91daf09 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/debian/dep-lists.js
|
|
|
|
+++ b/build/linux/debian/dep-lists.js
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -144,2 +144,81 @@ exports.referenceGeneratedDepsByArch = {
|
2024-06-11 17:56:15 +03:00
|
|
|
'xdg-utils (>= 1.0.2)'
|
|
|
|
+ ],
|
|
|
|
+ 'ppc64el': [
|
|
|
|
+ 'ca-certificates',
|
|
|
|
+ 'libasound2 (>= 1.0.17)',
|
|
|
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
|
|
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
|
|
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
|
|
|
+ 'libc6 (>= 2.17)',
|
|
|
|
+ 'libc6 (>= 2.28)',
|
|
|
|
+ 'libcairo2 (>= 1.6.0)',
|
|
|
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
|
|
|
+ 'libdbus-1-3 (>= 1.9.14)',
|
|
|
|
+ 'libdrm2 (>= 2.4.75)',
|
|
|
|
+ 'libexpat1 (>= 2.1~beta3)',
|
|
|
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
|
|
|
+ 'libglib2.0-0 (>= 2.37.3)',
|
|
|
|
+ 'libgssapi-krb5-2 (>= 1.17)',
|
|
|
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
|
|
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
|
|
|
+ 'libkrb5-3 (>= 1.6.dfsg.2)',
|
|
|
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
|
|
|
+ 'libnss3 (>= 2:3.30)',
|
|
|
|
+ 'libnss3 (>= 3.26)',
|
|
|
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
|
|
|
+ 'libstdc++6 (>= 4.1.1)',
|
|
|
|
+ 'libstdc++6 (>= 5)',
|
|
|
|
+ 'libstdc++6 (>= 5.2)',
|
|
|
|
+ 'libstdc++6 (>= 6)',
|
|
|
|
+ 'libx11-6',
|
|
|
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
|
|
|
+ 'libxcb1 (>= 1.9.2)',
|
|
|
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
|
|
|
+ 'libxdamage1 (>= 1:1.1)',
|
|
|
|
+ 'libxext6',
|
|
|
|
+ 'libxfixes3',
|
|
|
|
+ 'libxkbcommon0 (>= 0.5.0)',
|
|
|
|
+ 'libxkbfile1 (>= 1:1.1.0)',
|
|
|
|
+ 'libxrandr2',
|
|
|
|
+ 'xdg-utils (>= 1.0.2)'
|
|
|
|
+ ],
|
|
|
|
+ 'riscv64': [
|
|
|
|
+ 'ca-certificates',
|
|
|
|
+ 'libatomic1',
|
|
|
|
+ 'libasound2 (>= 1.0.17)',
|
|
|
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
|
|
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
|
|
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
|
|
|
+ 'libc6 (>= 2.17)',
|
|
|
|
+ 'libc6 (>= 2.28)',
|
|
|
|
+ 'libcairo2 (>= 1.6.0)',
|
|
|
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
|
|
|
+ 'libdbus-1-3 (>= 1.0.2)',
|
|
|
|
+ 'libdrm2 (>= 2.4.60)',
|
|
|
|
+ 'libexpat1 (>= 2.0.1)',
|
|
|
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
|
|
|
+ 'libglib2.0-0 (>= 2.16.0)',
|
|
|
|
+ 'libglib2.0-0 (>= 2.39.4)',
|
|
|
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
|
|
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
|
|
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
|
|
|
+ 'libnss3 (>= 2:3.22)',
|
|
|
|
+ 'libnss3 (>= 3.26)',
|
|
|
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
|
|
|
+ 'libsecret-1-0 (>= 0.18)',
|
|
|
|
+ 'libstdc++6 (>= 4.1.1)',
|
|
|
|
+ 'libstdc++6 (>= 5)',
|
|
|
|
+ 'libstdc++6 (>= 5.2)',
|
|
|
|
+ 'libstdc++6 (>= 6)',
|
|
|
|
+ 'libx11-6',
|
|
|
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
|
|
|
+ 'libxcb1 (>= 1.9.2)',
|
|
|
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
|
|
|
+ 'libxdamage1 (>= 1:1.1)',
|
|
|
|
+ 'libxext6',
|
|
|
|
+ 'libxfixes3',
|
|
|
|
+ 'libxkbcommon0 (>= 0.4.1)',
|
|
|
|
+ 'libxkbfile1',
|
|
|
|
+ 'libxrandr2',
|
|
|
|
+ 'xdg-utils (>= 1.0.2)'
|
|
|
|
]
|
2024-04-12 15:27:37 +03:00
|
|
|
diff --git a/build/linux/debian/dep-lists.ts b/build/linux/debian/dep-lists.ts
|
2024-08-12 13:04:31 +03:00
|
|
|
index 86d1de1..ab0e268 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/linux/debian/dep-lists.ts
|
|
|
|
+++ b/build/linux/debian/dep-lists.ts
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -144,2 +144,81 @@ export const referenceGeneratedDepsByArch = {
|
2024-04-12 15:27:37 +03:00
|
|
|
'xdg-utils (>= 1.0.2)'
|
|
|
|
+ ],
|
2024-06-11 17:56:15 +03:00
|
|
|
+ 'ppc64el': [
|
2024-04-12 15:27:37 +03:00
|
|
|
+ 'ca-certificates',
|
|
|
|
+ 'libasound2 (>= 1.0.17)',
|
|
|
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
|
|
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
|
|
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
|
|
|
+ 'libc6 (>= 2.17)',
|
|
|
|
+ 'libc6 (>= 2.28)',
|
|
|
|
+ 'libcairo2 (>= 1.6.0)',
|
|
|
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
2024-04-26 09:59:33 +03:00
|
|
|
+ 'libdbus-1-3 (>= 1.9.14)',
|
|
|
|
+ 'libdrm2 (>= 2.4.75)',
|
|
|
|
+ 'libexpat1 (>= 2.1~beta3)',
|
2024-04-12 15:27:37 +03:00
|
|
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
2024-04-26 09:59:33 +03:00
|
|
|
+ 'libglib2.0-0 (>= 2.37.3)',
|
|
|
|
+ 'libgssapi-krb5-2 (>= 1.17)',
|
2024-04-12 15:27:37 +03:00
|
|
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
|
|
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
2024-04-26 09:59:33 +03:00
|
|
|
+ 'libkrb5-3 (>= 1.6.dfsg.2)',
|
2024-04-12 15:27:37 +03:00
|
|
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
2024-04-26 09:59:33 +03:00
|
|
|
+ 'libnss3 (>= 2:3.30)',
|
2024-04-12 15:27:37 +03:00
|
|
|
+ 'libnss3 (>= 3.26)',
|
|
|
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
|
|
|
+ 'libstdc++6 (>= 4.1.1)',
|
|
|
|
+ 'libstdc++6 (>= 5)',
|
|
|
|
+ 'libstdc++6 (>= 5.2)',
|
|
|
|
+ 'libstdc++6 (>= 6)',
|
|
|
|
+ 'libx11-6',
|
|
|
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
|
|
|
+ 'libxcb1 (>= 1.9.2)',
|
|
|
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
|
|
|
+ 'libxdamage1 (>= 1:1.1)',
|
|
|
|
+ 'libxext6',
|
|
|
|
+ 'libxfixes3',
|
2024-04-26 09:59:33 +03:00
|
|
|
+ 'libxkbcommon0 (>= 0.5.0)',
|
|
|
|
+ 'libxkbfile1 (>= 1:1.1.0)',
|
2024-04-12 15:27:37 +03:00
|
|
|
+ 'libxrandr2',
|
|
|
|
+ 'xdg-utils (>= 1.0.2)'
|
|
|
|
+ ],
|
|
|
|
+ 'riscv64': [
|
|
|
|
+ 'ca-certificates',
|
|
|
|
+ 'libatomic1',
|
|
|
|
+ 'libasound2 (>= 1.0.17)',
|
|
|
|
+ 'libatk-bridge2.0-0 (>= 2.5.3)',
|
|
|
|
+ 'libatk1.0-0 (>= 2.2.0)',
|
|
|
|
+ 'libatspi2.0-0 (>= 2.9.90)',
|
|
|
|
+ 'libc6 (>= 2.17)',
|
|
|
|
+ 'libc6 (>= 2.28)',
|
|
|
|
+ 'libcairo2 (>= 1.6.0)',
|
|
|
|
+ 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3',
|
|
|
|
+ 'libdbus-1-3 (>= 1.0.2)',
|
|
|
|
+ 'libdrm2 (>= 2.4.60)',
|
|
|
|
+ 'libexpat1 (>= 2.0.1)',
|
|
|
|
+ 'libgbm1 (>= 17.1.0~rc2)',
|
|
|
|
+ 'libglib2.0-0 (>= 2.16.0)',
|
|
|
|
+ 'libglib2.0-0 (>= 2.39.4)',
|
|
|
|
+ 'libgtk-3-0 (>= 3.9.10)',
|
|
|
|
+ 'libgtk-3-0 (>= 3.9.10) | libgtk-4-1',
|
|
|
|
+ 'libnspr4 (>= 2:4.9-2~)',
|
|
|
|
+ 'libnss3 (>= 2:3.22)',
|
|
|
|
+ 'libnss3 (>= 3.26)',
|
|
|
|
+ 'libpango-1.0-0 (>= 1.14.0)',
|
|
|
|
+ 'libsecret-1-0 (>= 0.18)',
|
|
|
|
+ 'libstdc++6 (>= 4.1.1)',
|
|
|
|
+ 'libstdc++6 (>= 5)',
|
|
|
|
+ 'libstdc++6 (>= 5.2)',
|
|
|
|
+ 'libstdc++6 (>= 6)',
|
|
|
|
+ 'libx11-6',
|
|
|
|
+ 'libx11-6 (>= 2:1.4.99.1)',
|
|
|
|
+ 'libxcb1 (>= 1.9.2)',
|
|
|
|
+ 'libxcomposite1 (>= 1:0.4.4-1)',
|
|
|
|
+ 'libxdamage1 (>= 1:1.1)',
|
|
|
|
+ 'libxext6',
|
|
|
|
+ 'libxfixes3',
|
|
|
|
+ 'libxkbcommon0 (>= 0.4.1)',
|
|
|
|
+ 'libxkbfile1',
|
|
|
|
+ 'libxrandr2',
|
|
|
|
+ 'xdg-utils (>= 1.0.2)'
|
2024-06-11 17:56:15 +03:00
|
|
|
]
|
2024-04-26 09:59:33 +03:00
|
|
|
diff --git a/build/linux/debian/install-sysroot.js b/build/linux/debian/install-sysroot.js
|
2024-07-08 18:17:26 +03:00
|
|
|
index feca7d3..f075ebc 100644
|
2024-04-26 09:59:33 +03:00
|
|
|
--- a/build/linux/debian/install-sysroot.js
|
|
|
|
+++ b/build/linux/debian/install-sysroot.js
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -72,3 +72,6 @@ async function fetchUrl(options, retries = 10, retryDelay = 1000) {
|
2024-04-26 09:59:33 +03:00
|
|
|
try {
|
|
|
|
- const response = await fetch(`https://api.github.com/repos/Microsoft/vscode-linux-build-agent/releases/tags/v${version}`, {
|
2024-06-11 17:56:15 +03:00
|
|
|
+ // if VSCODE_SYSROOT_REPO and VSCODE_SYSROOT_VERSION are set, use those instead
|
|
|
|
+ const repo = process.env['VSCODE_SYSROOT_REPO'] ?? 'Microsoft/vscode-linux-build-agent';
|
|
|
|
+ const actualVersion = process.env['VSCODE_SYSROOT_VERSION'] ?? version;
|
|
|
|
+ const response = await fetch(`https://api.github.com/repos/${repo}/releases/tags/v${actualVersion}`, {
|
2024-04-26 09:59:33 +03:00
|
|
|
headers: ghApiHeaders,
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -81,3 +84,3 @@ async function fetchUrl(options, retries = 10, retryDelay = 1000) {
|
2024-04-26 09:59:33 +03:00
|
|
|
if (!asset) {
|
|
|
|
- throw new Error(`Could not find asset in release of Microsoft/vscode-linux-build-agent @ ${version}`);
|
2024-06-11 17:56:15 +03:00
|
|
|
+ throw new Error(`Could not find asset in release of ${repo} @ ${actualVersion}`);
|
2024-04-26 09:59:33 +03:00
|
|
|
}
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -136,2 +139,10 @@ async function getVSCodeSysroot(arch) {
|
2024-04-26 09:59:33 +03:00
|
|
|
break;
|
2024-06-11 17:56:15 +03:00
|
|
|
+ case 'ppc64le':
|
|
|
|
+ expectedName = `powerpc64le-linux-gnu${prefix}.tar.gz`;
|
|
|
|
+ triple = `powerpc64le-linux-gnu`;
|
|
|
|
+ break;
|
|
|
|
+ case 'riscv64':
|
|
|
|
+ expectedName = `riscv64-linux-gnu${prefix}.tar.gz`;
|
|
|
|
+ triple = 'riscv64-linux-gnu';
|
|
|
|
+ break;
|
|
|
|
}
|
|
|
|
diff --git a/build/linux/debian/install-sysroot.ts b/build/linux/debian/install-sysroot.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
index aa417dc..58f0eee 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/debian/install-sysroot.ts
|
|
|
|
+++ b/build/linux/debian/install-sysroot.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -84,3 +84,6 @@ async function fetchUrl(options: IFetchOptions, retries = 10, retryDelay = 1000)
|
2024-06-11 17:56:15 +03:00
|
|
|
try {
|
|
|
|
- const response = await fetch(`https://api.github.com/repos/Microsoft/vscode-linux-build-agent/releases/tags/v${version}`, {
|
2024-06-11 19:41:17 +03:00
|
|
|
+ // if VSCODE_SYSROOT_REPO and VSCODE_SYSROOT_VERSION are set, use those instead
|
|
|
|
+ const repo = process.env['VSCODE_SYSROOT_REPO'] ?? 'Microsoft/vscode-linux-build-agent';
|
|
|
|
+ const actualVersion = process.env['VSCODE_SYSROOT_VERSION'] ?? version;
|
|
|
|
+ const response = await fetch(`https://api.github.com/repos/${repo}/releases/tags/v${actualVersion}`, {
|
2024-06-11 17:56:15 +03:00
|
|
|
headers: ghApiHeaders,
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -93,3 +96,3 @@ async function fetchUrl(options: IFetchOptions, retries = 10, retryDelay = 1000)
|
2024-06-11 17:56:15 +03:00
|
|
|
if (!asset) {
|
|
|
|
- throw new Error(`Could not find asset in release of Microsoft/vscode-linux-build-agent @ ${version}`);
|
|
|
|
+ throw new Error(`Could not find asset in release of ${repo} @ ${actualVersion}`);
|
|
|
|
}
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -153,2 +156,10 @@ export async function getVSCodeSysroot(arch: DebianArchString): Promise<string>
|
2024-06-11 17:56:15 +03:00
|
|
|
break;
|
|
|
|
+ case 'ppc64el':
|
2024-04-26 09:59:33 +03:00
|
|
|
+ expectedName = `powerpc64le-linux-gnu${prefix}.tar.gz`;
|
2024-06-11 17:56:15 +03:00
|
|
|
+ triple = 'powerpc64le-linux-gnu'
|
2024-04-26 09:59:33 +03:00
|
|
|
+ break;
|
2024-04-12 15:27:37 +03:00
|
|
|
+ case 'riscv64':
|
2024-06-11 17:56:15 +03:00
|
|
|
+ expectedName = `riscv64-linux-gnu${prefix}.tar.gz`;
|
2024-04-12 15:27:37 +03:00
|
|
|
+ triple = 'riscv64-linux-gnu';
|
|
|
|
+ break;
|
2024-06-11 17:56:15 +03:00
|
|
|
}
|
|
|
|
diff --git a/build/linux/debian/types.js b/build/linux/debian/types.js
|
2024-07-08 18:17:26 +03:00
|
|
|
index ce21d50..cadefc2 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/debian/types.js
|
|
|
|
+++ b/build/linux/debian/types.js
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -8,3 +8,3 @@ exports.isDebianArchString = isDebianArchString;
|
2024-06-11 17:56:15 +03:00
|
|
|
function isDebianArchString(s) {
|
|
|
|
- return ['amd64', 'armhf', 'arm64'].includes(s);
|
|
|
|
+ return ['amd64', 'armhf', 'arm64', 'ppc64el', 'riscv64'].includes(s);
|
|
|
|
}
|
2024-04-12 15:27:37 +03:00
|
|
|
diff --git a/build/linux/debian/types.ts b/build/linux/debian/types.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
index e97485e..24fe452 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/build/linux/debian/types.ts
|
|
|
|
+++ b/build/linux/debian/types.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -5,6 +5,6 @@
|
2024-04-12 15:27:37 +03:00
|
|
|
|
|
|
|
-export type DebianArchString = 'amd64' | 'armhf' | 'arm64';
|
2024-06-11 17:56:15 +03:00
|
|
|
+export type DebianArchString = 'amd64' | 'armhf' | 'arm64' | 'ppc64el' | 'riscv64';
|
2024-04-12 15:27:37 +03:00
|
|
|
|
|
|
|
export function isDebianArchString(s: string): s is DebianArchString {
|
|
|
|
- return ['amd64', 'armhf', 'arm64'].includes(s);
|
2024-06-11 17:56:15 +03:00
|
|
|
+ return ['amd64', 'armhf', 'arm64', 'ppc64el', 'riscv64'].includes(s);
|
|
|
|
}
|
|
|
|
diff --git a/build/linux/rpm/dep-lists.js b/build/linux/rpm/dep-lists.js
|
2024-08-12 13:04:31 +03:00
|
|
|
index 9798451..bd246e7 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/rpm/dep-lists.js
|
|
|
|
+++ b/build/linux/rpm/dep-lists.js
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -321,2 +321,102 @@ exports.referenceGeneratedDepsByArch = {
|
2024-06-11 17:56:15 +03:00
|
|
|
'xdg-utils'
|
|
|
|
+ ],
|
|
|
|
+ "ppc64le": [
|
|
|
|
+ 'ca-certificates',
|
|
|
|
+ 'ld-linux-x86-64.so.2()(64bit)',
|
|
|
|
+ 'ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)',
|
|
|
|
+ 'ld64.so.2()(64bit)',
|
|
|
|
+ 'ld64.so.2(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libX11.so.6()(64bit)',
|
|
|
|
+ 'libXcomposite.so.1()(64bit)',
|
|
|
|
+ 'libXdamage.so.1()(64bit)',
|
|
|
|
+ 'libXext.so.6()(64bit)',
|
|
|
|
+ 'libXfixes.so.3()(64bit)',
|
|
|
|
+ 'libXrandr.so.2()(64bit)',
|
|
|
|
+ 'libasound.so.2()(64bit)',
|
|
|
|
+ 'libasound.so.2(ALSA_0.9)(64bit)',
|
|
|
|
+ 'libasound.so.2(ALSA_0.9.0rc4)(64bit)',
|
|
|
|
+ 'libatk-1.0.so.0()(64bit)',
|
|
|
|
+ 'libatk-bridge-2.0.so.0()(64bit)',
|
|
|
|
+ 'libatspi.so.0()(64bit)',
|
|
|
|
+ 'libc.so.6()(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.14)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.28)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.4)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.9)(64bit)',
|
|
|
|
+ 'libcairo.so.2()(64bit)',
|
|
|
|
+ 'libcups.so.2()(64bit)',
|
|
|
|
+ 'libcurl.so.4()(64bit)',
|
|
|
|
+ 'libdbus-1.so.3()(64bit)',
|
|
|
|
+ 'libdbus-1.so.3(LIBDBUS_1_3)(64bit)',
|
|
|
|
+ 'libdl.so.2()(64bit)',
|
|
|
|
+ 'libdl.so.2(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libdrm.so.2()(64bit)',
|
|
|
|
+ 'libexpat.so.1()(64bit)',
|
|
|
|
+ 'libgbm.so.1()(64bit)',
|
|
|
|
+ 'libgcc_s.so.1()(64bit)',
|
|
|
|
+ 'libgcc_s.so.1(GCC_3.0)(64bit)',
|
|
|
|
+ 'libgcc_s.so.1(GCC_3.4.4)(64bit)',
|
|
|
|
+ 'libgio-2.0.so.0()(64bit)',
|
|
|
|
+ 'libglib-2.0.so.0()(64bit)',
|
|
|
|
+ 'libgobject-2.0.so.0()(64bit)',
|
|
|
|
+ 'libgssapi_krb5.so.2()(64bit)',
|
|
|
|
+ 'libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit)',
|
|
|
|
+ 'libgtk-3.so.0()(64bit)',
|
|
|
|
+ 'libkrb5.so.3()(64bit)',
|
|
|
|
+ 'libkrb5.so.3(krb5_3_MIT)(64bit)',
|
|
|
|
+ 'libm.so.6()(64bit)',
|
|
|
|
+ 'libm.so.6(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libm.so.6(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libm.so.6(GLIBC_2.27)(64bit)',
|
|
|
|
+ 'libnspr4.so()(64bit)',
|
|
|
|
+ 'libnss3.so()(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.11)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.12)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.12.1)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.2)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.22)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.3)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.30)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.4)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.5)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.9.2)(64bit)',
|
|
|
|
+ 'libnssutil3.so()(64bit)',
|
|
|
|
+ 'libnssutil3.so(NSSUTIL_3.12.3)(64bit)',
|
|
|
|
+ 'libpango-1.0.so.0()(64bit)',
|
|
|
|
+ 'libpthread.so.0()(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.3.2)(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.3.3)(64bit)',
|
|
|
|
+ 'libsmime3.so()(64bit)',
|
|
|
|
+ 'libsmime3.so(NSS_3.10)(64bit)',
|
|
|
|
+ 'libsmime3.so(NSS_3.2)(64bit)',
|
|
|
|
+ 'libssl3.so(NSS_3.28)(64bit)',
|
|
|
|
+ 'libstdc++.so.6()(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3.5)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3.8)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3.9)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.11)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.14)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.15)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.18)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.19)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.20)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.21)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.5)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.9)(64bit)',
|
|
|
|
+ 'libutil.so.1()(64bit)',
|
|
|
|
+ 'libutil.so.1(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libxcb.so.1()(64bit)',
|
|
|
|
+ 'libxkbcommon.so.0()(64bit)',
|
|
|
|
+ 'libxkbcommon.so.0(V_0.5.0)(64bit)',
|
|
|
|
+ 'libxkbfile.so.1()(64bit)',
|
|
|
|
+ 'rpmlib(FileDigests) <= 4.6.0-1',
|
|
|
|
+ 'rtld(GNU_HASH)',
|
|
|
|
+ 'xdg-utils'
|
|
|
|
]
|
|
|
|
diff --git a/build/linux/rpm/dep-lists.ts b/build/linux/rpm/dep-lists.ts
|
2024-08-12 13:04:31 +03:00
|
|
|
index b798127..c3f5308 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/rpm/dep-lists.ts
|
|
|
|
+++ b/build/linux/rpm/dep-lists.ts
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -320,2 +320,102 @@ export const referenceGeneratedDepsByArch = {
|
2024-06-11 17:56:15 +03:00
|
|
|
'xdg-utils'
|
|
|
|
+ ],
|
|
|
|
+ "ppc64le": [
|
|
|
|
+ 'ca-certificates',
|
|
|
|
+ 'ld-linux-x86-64.so.2()(64bit)',
|
|
|
|
+ 'ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)',
|
|
|
|
+ 'ld64.so.2()(64bit)',
|
|
|
|
+ 'ld64.so.2(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libX11.so.6()(64bit)',
|
|
|
|
+ 'libXcomposite.so.1()(64bit)',
|
|
|
|
+ 'libXdamage.so.1()(64bit)',
|
|
|
|
+ 'libXext.so.6()(64bit)',
|
|
|
|
+ 'libXfixes.so.3()(64bit)',
|
|
|
|
+ 'libXrandr.so.2()(64bit)',
|
|
|
|
+ 'libasound.so.2()(64bit)',
|
|
|
|
+ 'libasound.so.2(ALSA_0.9)(64bit)',
|
|
|
|
+ 'libasound.so.2(ALSA_0.9.0rc4)(64bit)',
|
|
|
|
+ 'libatk-1.0.so.0()(64bit)',
|
|
|
|
+ 'libatk-bridge-2.0.so.0()(64bit)',
|
|
|
|
+ 'libatspi.so.0()(64bit)',
|
|
|
|
+ 'libc.so.6()(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.14)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.28)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.4)(64bit)',
|
|
|
|
+ 'libc.so.6(GLIBC_2.9)(64bit)',
|
|
|
|
+ 'libcairo.so.2()(64bit)',
|
|
|
|
+ 'libcups.so.2()(64bit)',
|
|
|
|
+ 'libcurl.so.4()(64bit)',
|
|
|
|
+ 'libdbus-1.so.3()(64bit)',
|
|
|
|
+ 'libdbus-1.so.3(LIBDBUS_1_3)(64bit)',
|
|
|
|
+ 'libdl.so.2()(64bit)',
|
|
|
|
+ 'libdl.so.2(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libdrm.so.2()(64bit)',
|
|
|
|
+ 'libexpat.so.1()(64bit)',
|
|
|
|
+ 'libgbm.so.1()(64bit)',
|
|
|
|
+ 'libgcc_s.so.1()(64bit)',
|
|
|
|
+ 'libgcc_s.so.1(GCC_3.0)(64bit)',
|
|
|
|
+ 'libgcc_s.so.1(GCC_3.4.4)(64bit)',
|
|
|
|
+ 'libgio-2.0.so.0()(64bit)',
|
|
|
|
+ 'libglib-2.0.so.0()(64bit)',
|
|
|
|
+ 'libgobject-2.0.so.0()(64bit)',
|
|
|
|
+ 'libgssapi_krb5.so.2()(64bit)',
|
|
|
|
+ 'libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit)',
|
|
|
|
+ 'libgtk-3.so.0()(64bit)',
|
|
|
|
+ 'libkrb5.so.3()(64bit)',
|
|
|
|
+ 'libkrb5.so.3(krb5_3_MIT)(64bit)',
|
|
|
|
+ 'libm.so.6()(64bit)',
|
|
|
|
+ 'libm.so.6(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libm.so.6(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libm.so.6(GLIBC_2.27)(64bit)',
|
|
|
|
+ 'libnspr4.so()(64bit)',
|
|
|
|
+ 'libnss3.so()(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.11)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.12)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.12.1)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.2)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.22)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.3)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.30)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.4)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.5)(64bit)',
|
|
|
|
+ 'libnss3.so(NSS_3.9.2)(64bit)',
|
|
|
|
+ 'libnssutil3.so()(64bit)',
|
|
|
|
+ 'libnssutil3.so(NSSUTIL_3.12.3)(64bit)',
|
|
|
|
+ 'libpango-1.0.so.0()(64bit)',
|
|
|
|
+ 'libpthread.so.0()(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.17)(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.3.2)(64bit)',
|
|
|
|
+ 'libpthread.so.0(GLIBC_2.3.3)(64bit)',
|
|
|
|
+ 'libsmime3.so()(64bit)',
|
|
|
|
+ 'libsmime3.so(NSS_3.10)(64bit)',
|
|
|
|
+ 'libsmime3.so(NSS_3.2)(64bit)',
|
|
|
|
+ 'libssl3.so(NSS_3.28)(64bit)',
|
|
|
|
+ 'libstdc++.so.6()(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3.5)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3.8)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(CXXABI_1.3.9)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.11)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.14)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.15)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.18)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.19)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.20)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.21)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.5)(64bit)',
|
|
|
|
+ 'libstdc++.so.6(GLIBCXX_3.4.9)(64bit)',
|
|
|
|
+ 'libutil.so.1()(64bit)',
|
|
|
|
+ 'libutil.so.1(GLIBC_2.2.5)(64bit)',
|
|
|
|
+ 'libxcb.so.1()(64bit)',
|
|
|
|
+ 'libxkbcommon.so.0()(64bit)',
|
|
|
|
+ 'libxkbcommon.so.0(V_0.5.0)(64bit)',
|
|
|
|
+ 'libxkbfile.so.1()(64bit)',
|
|
|
|
+ 'rpmlib(FileDigests) <= 4.6.0-1',
|
|
|
|
+ 'rtld(GNU_HASH)',
|
|
|
|
+ 'xdg-utils'
|
|
|
|
]
|
|
|
|
diff --git a/build/linux/rpm/types.js b/build/linux/rpm/types.js
|
2024-07-08 18:17:26 +03:00
|
|
|
index a20b9c2..99a8cff 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/rpm/types.js
|
|
|
|
+++ b/build/linux/rpm/types.js
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -8,3 +8,3 @@ exports.isRpmArchString = isRpmArchString;
|
2024-06-11 17:56:15 +03:00
|
|
|
function isRpmArchString(s) {
|
|
|
|
- return ['x86_64', 'armv7hl', 'aarch64'].includes(s);
|
|
|
|
+ return ['x86_64', 'armv7hl', 'aarch64', 'ppc64le', 'riscv64'].includes(s);
|
|
|
|
}
|
|
|
|
diff --git a/build/linux/rpm/types.ts b/build/linux/rpm/types.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
index c6a01da..d94537e 100644
|
2024-06-11 17:56:15 +03:00
|
|
|
--- a/build/linux/rpm/types.ts
|
|
|
|
+++ b/build/linux/rpm/types.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -5,6 +5,6 @@
|
2024-06-11 17:56:15 +03:00
|
|
|
|
|
|
|
-export type RpmArchString = 'x86_64' | 'armv7hl' | 'aarch64';
|
|
|
|
+export type RpmArchString = 'x86_64' | 'armv7hl' | 'aarch64' | 'ppc64le' | 'riscv64';
|
|
|
|
|
|
|
|
export function isRpmArchString(s: string): s is RpmArchString {
|
|
|
|
- return ['x86_64', 'armv7hl', 'aarch64'].includes(s);
|
|
|
|
+ return ['x86_64', 'armv7hl', 'aarch64', 'ppc64le', 'riscv64'].includes(s);
|
2024-04-12 15:27:37 +03:00
|
|
|
}
|
|
|
|
diff --git a/cli/src/update_service.rs b/cli/src/update_service.rs
|
2024-07-08 18:17:26 +03:00
|
|
|
index 4bec13d..3debda1 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/cli/src/update_service.rs
|
|
|
|
+++ b/cli/src/update_service.rs
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -216,2 +216,5 @@ pub enum Platform {
|
2024-04-12 15:27:37 +03:00
|
|
|
LinuxARM32Legacy,
|
|
|
|
+ LinuxPPC64LE,
|
2024-04-26 09:59:33 +03:00
|
|
|
+ LinuxPPC64LELegacy,
|
2024-04-12 15:27:37 +03:00
|
|
|
+ LinuxRISCV64,
|
|
|
|
DarwinX64,
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -229,2 +232,4 @@ impl Platform {
|
2024-04-12 15:27:37 +03:00
|
|
|
Platform::LinuxARM32 => Some("linux-armhf".to_owned()),
|
|
|
|
+ Platform::LinuxPPC64LE => Some("linux-ppc64le".to_owned()),
|
|
|
|
+ Platform::LinuxRISCV64 => Some("linux-riscv64".to_owned()),
|
|
|
|
Platform::DarwinX64 => Some("darwin".to_owned()),
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -247,2 +252,5 @@ impl Platform {
|
2024-04-12 15:27:37 +03:00
|
|
|
Platform::LinuxARM32Legacy => "server-linux-legacy-armhf",
|
|
|
|
+ Platform::LinuxPPC64LE => "server-linux-ppc64le",
|
2024-04-26 09:59:33 +03:00
|
|
|
+ Platform::LinuxPPC64LELegacy => "server-linux-legacy-ppc64le",
|
2024-04-12 15:27:37 +03:00
|
|
|
+ Platform::LinuxRISCV64 => "server-linux-riscv64",
|
|
|
|
Platform::DarwinX64 => "server-darwin",
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -266,2 +274,5 @@ impl Platform {
|
2024-04-12 15:27:37 +03:00
|
|
|
Platform::LinuxARM32Legacy => "cli-linux-armhf",
|
|
|
|
+ Platform::LinuxPPC64LE => "cli-linux-ppc64le",
|
2024-04-26 09:59:33 +03:00
|
|
|
+ Platform::LinuxPPC64LELegacy => "cli-linux-ppc64le",
|
2024-04-12 15:27:37 +03:00
|
|
|
+ Platform::LinuxRISCV64 => "cli-linux-riscv64",
|
|
|
|
Platform::DarwinX64 => "cli-darwin-x64",
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -298,2 +309,6 @@ impl Platform {
|
2024-04-12 15:27:37 +03:00
|
|
|
Some(Platform::LinuxARM64)
|
|
|
|
+ } else if cfg!(all(target_os = "linux", target_arch = "ppc64le")) {
|
|
|
|
+ Some(Platform::LinuxPPC64LE)
|
|
|
|
+ } else if cfg!(all(target_os = "linux", target_arch = "riscv64")) {
|
|
|
|
+ Some(Platform::LinuxRISCV64)
|
|
|
|
} else if cfg!(all(target_os = "macos", target_arch = "x86_64")) {
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -325,2 +340,5 @@ impl fmt::Display for Platform {
|
2024-04-12 15:27:37 +03:00
|
|
|
Platform::LinuxARM32Legacy => "LinuxARM32Legacy",
|
|
|
|
+ Platform::LinuxPPC64LE => "LinuxPPC64LE",
|
2024-04-26 09:59:33 +03:00
|
|
|
+ Platform::LinuxPPC64LELegacy => "LinuxPPC64LELegacy",
|
2024-04-12 15:27:37 +03:00
|
|
|
+ Platform::LinuxRISCV64 => "LinuxRISCV64",
|
|
|
|
Platform::DarwinX64 => "DarwinX64",
|
|
|
|
diff --git a/cli/src/util/prereqs.rs b/cli/src/util/prereqs.rs
|
2024-08-12 13:04:31 +03:00
|
|
|
index 0f49ab2..d873a49 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/cli/src/util/prereqs.rs
|
|
|
|
+++ b/cli/src/util/prereqs.rs
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -86,2 +86,6 @@ impl PreReqChecker {
|
2024-04-12 15:27:37 +03:00
|
|
|
Platform::LinuxARM32
|
|
|
|
+ } else if cfg!(target_arch = "ppc64le") {
|
|
|
|
+ Platform::LinuxPPC64LE
|
|
|
|
+ } else if cfg!(target_arch = "riscv64") {
|
|
|
|
+ Platform::LinuxRISCV64
|
|
|
|
} else {
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -95,2 +99,4 @@ impl PreReqChecker {
|
2024-04-26 09:59:33 +03:00
|
|
|
Platform::LinuxARM32Legacy
|
|
|
|
+ } else if cfg!(target_arch = "ppc64le") {
|
|
|
|
+ Platform::LinuxPPC64LELegacy
|
|
|
|
} else {
|
2024-04-12 15:27:37 +03:00
|
|
|
diff --git a/resources/server/bin/helpers/check-requirements-linux.sh b/resources/server/bin/helpers/check-requirements-linux.sh
|
2024-08-12 13:04:31 +03:00
|
|
|
index 31a618f..dc457e0 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/resources/server/bin/helpers/check-requirements-linux.sh
|
|
|
|
+++ b/resources/server/bin/helpers/check-requirements-linux.sh
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -56,2 +56,4 @@ case $ARCH in
|
2024-04-12 15:27:37 +03:00
|
|
|
;;
|
2024-04-26 09:59:33 +03:00
|
|
|
+ ppc64el) LDCONFIG_ARCH="64bit";;
|
2024-04-12 15:27:37 +03:00
|
|
|
+ riscv64) LDCONFIG_ARCH="RISC-V";;
|
|
|
|
esac
|
|
|
|
diff --git a/src/vs/platform/extensionManagement/common/extensionManagement.ts b/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
2024-08-12 13:04:31 +03:00
|
|
|
index 1dcc4c7..54a7f36 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
|
|
|
+++ b/src/vs/platform/extensionManagement/common/extensionManagement.ts
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -41,2 +41,4 @@ export function TargetPlatformToString(targetPlatform: TargetPlatform) {
|
2024-04-12 15:27:37 +03:00
|
|
|
case TargetPlatform.LINUX_ARMHF: return 'Linux ARM';
|
2024-06-11 17:56:15 +03:00
|
|
|
+ case TargetPlatform.LINUX_PPC64LE: return 'Linux PowerPC64';
|
2024-04-12 15:27:37 +03:00
|
|
|
+ case TargetPlatform.LINUX_RISCV64: return 'Linux RISC-V 64';
|
|
|
|
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -64,2 +66,4 @@ export function toTargetPlatform(targetPlatform: string): TargetPlatform {
|
2024-04-12 15:27:37 +03:00
|
|
|
case TargetPlatform.LINUX_ARMHF: return TargetPlatform.LINUX_ARMHF;
|
|
|
|
+ case TargetPlatform.LINUX_PPC64LE: return TargetPlatform.LINUX_PPC64LE;
|
|
|
|
+ case TargetPlatform.LINUX_RISCV64: return TargetPlatform.LINUX_RISCV64;
|
|
|
|
|
2024-07-08 18:17:26 +03:00
|
|
|
@@ -99,2 +103,8 @@ export function getTargetPlatform(platform: Platform | 'alpine', arch: string |
|
2024-04-12 15:27:37 +03:00
|
|
|
}
|
|
|
|
+ if (arch === 'ppc64le') {
|
|
|
|
+ return TargetPlatform.LINUX_PPC64LE;
|
|
|
|
+ }
|
|
|
|
+ if (arch === 'riscv64') {
|
|
|
|
+ return TargetPlatform.LINUX_RISCV64;
|
|
|
|
+ }
|
|
|
|
return TargetPlatform.UNKNOWN;
|
|
|
|
diff --git a/src/vs/platform/extensions/common/extensions.ts b/src/vs/platform/extensions/common/extensions.ts
|
2024-08-12 13:04:31 +03:00
|
|
|
index 822260b..fc11650 100644
|
2024-04-12 15:27:37 +03:00
|
|
|
--- a/src/vs/platform/extensions/common/extensions.ts
|
|
|
|
+++ b/src/vs/platform/extensions/common/extensions.ts
|
2024-08-12 13:04:31 +03:00
|
|
|
@@ -294,2 +294,4 @@ export const enum TargetPlatform {
|
2024-04-12 15:27:37 +03:00
|
|
|
LINUX_ARMHF = 'linux-armhf',
|
|
|
|
+ LINUX_PPC64LE = 'linux-ppc64le',
|
|
|
|
+ LINUX_RISCV64 = 'linux-riscv64',
|
|
|
|
|