public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox-biome] buildsys: support arm64 compilation
@ 2025-08-11  7:47 Kamil Trzcinski
  2025-09-03  7:25 ` Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Kamil Trzcinski @ 2025-08-11  7:47 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Kamil Trzcinski <ayufan@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)
 
-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@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pve-devel] [PATCH proxmox-biome] buildsys: support arm64 compilation
  2025-08-11  7:47 [pve-devel] [PATCH proxmox-biome] buildsys: support arm64 compilation Kamil Trzcinski
@ 2025-09-03  7:25 ` Fabian Grünbichler
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2025-09-03  7:25 UTC (permalink / raw)
  To: Proxmox VE development discussion

On August 11, 2025 9:47 am, Kamil Trzcinski wrote:
> Signed-off-by: Kamil Trzcinski <ayufan@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@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-03  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-11  7:47 [pve-devel] [PATCH proxmox-biome] buildsys: support arm64 compilation Kamil Trzcinski
2025-09-03  7:25 ` Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal