[pve-devel] [PATCH proxmox-biome] buildsys: support arm64 compilation
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed Sep 3 09:25:06 CEST 2025
On August 11, 2025 9:47 am, Kamil Trzcinski wrote:
> Signed-off-by: Kamil Trzcinski <ayufan at ayufan.eu>
> ---
> Makefile | 5 +++--
> debian/control | 2 +-
> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 18e5ce27..0c2f81f6 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,9 +1,10 @@
> include /usr/share/dpkg/pkg-info.mk
>
> PACKAGE=proxmox-biome
> +ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
nit: instead, include /usr/share/dpkg/architecture.mk and use the variable
directly below
>
> -DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_amd64.deb
> -DEB_DBG=$(PACKAGE)-dbgsym_$(DEB_VERSION_UPSTREAM_REVISION)_amd64.deb
> +DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(ARCH).deb
> +DEB_DBG=$(PACKAGE)-dbgsym_$(DEB_VERSION_UPSTREAM_REVISION)_$(ARCH).deb
>
> BUILDDIR=$(PACKAGE)-$(DEB_VERSION_UPSTREAM)
>
> diff --git a/debian/control b/debian/control
> index bcfa86d0..83d2d6b4 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -7,7 +7,7 @@ Homepage: https://biomejs.dev/
> Standards-Version: 4.7.0.0
>
> Package: proxmox-biome
> -Architecture: amd64
> +Architecture: any
> Depends: ${misc:Depends}, ${shlibs:Depends},
> Description: Biome offers JS formatter and linter, usable via CLI and LSP.
> Biome is a performant toolchain for web projects, it aims to provide developer
> --
> 2.47.2
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
>
More information about the pve-devel
mailing list