From f060ca4660b7af4bf9fd41f47ab78462ba90da14 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Mon, 8 Jun 2026 11:11:14 +0200 Subject: [PATCH] fix(idp): aarch64 build Specifies the supported architectures to ensure that platform-specific dependencies are fetched for every architecture we build/package for. --- services/idp/pnpm-workspace.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/services/idp/pnpm-workspace.yaml b/services/idp/pnpm-workspace.yaml index f26c889553..f82e65d99c 100644 --- a/services/idp/pnpm-workspace.yaml +++ b/services/idp/pnpm-workspace.yaml @@ -3,6 +3,22 @@ autoInstallPeers: true publicHoistPattern: - "*" +# Ensure platform-specific optional dependencies (e.g. Rollup's native +# binaries pulled in via workbox) are fetched for every architecture we +# build/package for, not just the host that runs `pnpm install`. Without +# this, cross-arch RPM/OBS builds fail with "Cannot find module +# @rollup/rollup-linux-arm64-gnu" on aarch64. +supportedArchitectures: + os: + - current + - linux + cpu: + - x64 + - arm64 + libc: + - glibc + - musl + overrides: fast-uri: ">=3.1.2" postcss: ">=8.5.10"