Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/wpewebkit: allow building for risc-v
@ 2022-05-26 11:37 Adrian Perez de Castro
  2022-05-26 11:37 ` [Buildroot] [PATCH 2/2] package/webkitgtk: " Adrian Perez de Castro
  2022-05-31  8:21 ` [Buildroot] [PATCH 1/2] package/wpewebkit: " Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Perez de Castro @ 2022-05-26 11:37 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro

WPE WebKit works just fine on RISC-V. For the current stable version
the build system automatically picks the LLint JavaScript interpreter,
and the upcoming 2.38.x release series will include (and automatically
enable) JIT support.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 package/wpewebkit/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in
index 36523bdb41..8e80c73302 100644
--- a/package/wpewebkit/Config.in
+++ b/package/wpewebkit/Config.in
@@ -7,6 +7,10 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
 	# Disabled on MIPS big endian due to sigbus
 	default y if BR2_mipsel || BR2_mips64el
 	# Disabled on PowerPC pending runtime testing
+	# RISC-V needs the g/imafd ISA.
+	default y if BR2_riscv && BR2_RISCV_ISA_RVI \
+		&& BR2_RISCV_ISA_RVM && BR2_RISCV_ISA_RVA \
+		&& BR2_RISCV_ISA_RVF && BR2_RISCV_ISA_RVD
 	# Disabled on SuperH because of segfault
 	depends on BR2_USE_MMU # libglib2
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-- 
2.36.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] package/webkitgtk: allow building for risc-v
  2022-05-26 11:37 [Buildroot] [PATCH 1/2] package/wpewebkit: allow building for risc-v Adrian Perez de Castro
@ 2022-05-26 11:37 ` Adrian Perez de Castro
  2022-05-31  8:21 ` [Buildroot] [PATCH 1/2] package/wpewebkit: " Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Perez de Castro @ 2022-05-26 11:37 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro

WebKitGTK works just fine on RISC-V. For the current stable version the
build system automatically picks the LLint JavaScript interpreter, and
the upcoming 2.38.x release series will include (and automatically
enable) JIT support.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 package/webkitgtk/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in
index bc8207d93b..052800c8cf 100644
--- a/package/webkitgtk/Config.in
+++ b/package/webkitgtk/Config.in
@@ -7,6 +7,10 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
 	# Disabled on MIPS big endian due to sigbus
 	default y if BR2_mipsel || BR2_mips64el
 	# Disabled on PowerPC pending runtime testing
+	# RISC-V needs the g/imafd ISA.
+	default y if BR2_riscv && BR2_RISCV_ISA_RVI \
+		&& BR2_RISCV_ISA_RVM && BR2_RISCV_ISA_RVA \
+		&& BR2_RISCV_ISA_RVF && BR2_RISCV_ISA_RVD
 	# Disabled on SuperH because of segfault
 	depends on BR2_USE_MMU # libglib2
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-- 
2.36.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/wpewebkit: allow building for risc-v
  2022-05-26 11:37 [Buildroot] [PATCH 1/2] package/wpewebkit: allow building for risc-v Adrian Perez de Castro
  2022-05-26 11:37 ` [Buildroot] [PATCH 2/2] package/webkitgtk: " Adrian Perez de Castro
@ 2022-05-31  8:21 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-05-31  8:21 UTC (permalink / raw)
  To: Adrian Perez de Castro; +Cc: buildroot

On Thu, 26 May 2022 14:37:33 +0300
Adrian Perez de Castro <aperez@igalia.com> wrote:

> WPE WebKit works just fine on RISC-V. For the current stable version
> the build system automatically picks the LLint JavaScript interpreter,
> and the upcoming 2.38.x release series will include (and automatically
> enable) JIT support.
> 
> Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
> ---
>  package/wpewebkit/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)

Applied both to our next branch. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-05-31  8:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26 11:37 [Buildroot] [PATCH 1/2] package/wpewebkit: allow building for risc-v Adrian Perez de Castro
2022-05-26 11:37 ` [Buildroot] [PATCH 2/2] package/webkitgtk: " Adrian Perez de Castro
2022-05-31  8:21 ` [Buildroot] [PATCH 1/2] package/wpewebkit: " Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox