* [Buildroot] [PATCH 1/2] package/moarvm: enable on sparc and sparc64
@ 2021-12-13 21:33 Fabrice Fontaine
2021-12-13 21:33 ` [Buildroot] [PATCH 2/2] package/moarvm: fix libffi select Fabrice Fontaine
2021-12-14 20:09 ` [Buildroot] [PATCH 1/2] package/moarvm: enable on sparc and sparc64 Arnout Vandecappelle
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-12-13 21:33 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
sparc and sparc64 are supported since version 2020.09 and
https://github.com/MoarVM/MoarVM/commit/87ad486f30ecdf28b4abbcf40139467f626f8548
https://github.com/MoarVM/MoarVM/commit/34e0fb55e33482fe09083627eb54003bde07d8a7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/moarvm/Config.in | 3 ---
1 file changed, 3 deletions(-)
diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
index acef8f5d61..ec38047b2d 100644
--- a/package/moarvm/Config.in
+++ b/package/moarvm/Config.in
@@ -4,8 +4,6 @@ config BR2_PACKAGE_MOARVM
depends on !BR2_STATIC_LIBS # libuv
depends on BR2_USE_MMU # libuv
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
- # needs AO_fetch_compare_and_swap, not implemented for sparcv8/sparcv9
- depends on !BR2_sparc64 && !BR2_sparc
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
select BR2_PACKAGE_LIBUV
select BR2_PACKAGE_LIBTOMMATH
@@ -26,5 +24,4 @@ comment "moarvm needs a toolchain w/ NPTL, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
depends on BR2_USE_MMU
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
- depends on !BR2_sparc64 && !BR2_sparc
depends on BR2_TOOLCHAIN_HAS_SYNC_4
--
2.33.0
_______________________________________________
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/moarvm: fix libffi select
2021-12-13 21:33 [Buildroot] [PATCH 1/2] package/moarvm: enable on sparc and sparc64 Fabrice Fontaine
@ 2021-12-13 21:33 ` Fabrice Fontaine
2021-12-14 20:09 ` [Buildroot] [PATCH 1/2] package/moarvm: enable on sparc and sparc64 Arnout Vandecappelle
1 sibling, 0 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-12-13 21:33 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
moarvm's dyncall supports powerpc64 since version 2020.05 and
https://github.com/MoarVM/MoarVM/commit/d2e84186764bd3c45e7e10547f87ffc5a06f9efd
moarvm's dyncall supports mips since version 2020.02 and
https://github.com/MoarVM/MoarVM/commit/657b536cf6e861ac0bb4bf550e8aea5042a950be
dyncall does not support RISC-V as stated in https://dyncall.org/index
Fixes:
- http://autobuild.buildroot.org/results/027b7d15e6a6111409ed17bb29e001b6c6d9e0cf
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/moarvm/Config.in | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
index ec38047b2d..11d8ac7ebc 100644
--- a/package/moarvm/Config.in
+++ b/package/moarvm/Config.in
@@ -8,10 +8,8 @@ config BR2_PACKAGE_MOARVM
select BR2_PACKAGE_LIBUV
select BR2_PACKAGE_LIBTOMMATH
select BR2_PACKAGE_LIBATOMIC_OPS
- # dyncall does not work on MIPS; libffi needs to be used.
- # See: https://github.com/MoarVM/MoarVM/issues/222
- # dyncall does not work also on powerpc64 and powerpc64le
- select BR2_PACKAGE_LIBFFI if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_powerpc64 || BR2_powerpc64le
+ # dyncall does not work on riscv
+ select BR2_PACKAGE_LIBFFI if BR2_riscv
select BR2_PACKAGE_ZSTD
help
Short for "Metamodel On A Runtime", MoarVM is a virtual
--
2.33.0
_______________________________________________
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/moarvm: enable on sparc and sparc64
2021-12-13 21:33 [Buildroot] [PATCH 1/2] package/moarvm: enable on sparc and sparc64 Fabrice Fontaine
2021-12-13 21:33 ` [Buildroot] [PATCH 2/2] package/moarvm: fix libffi select Fabrice Fontaine
@ 2021-12-14 20:09 ` Arnout Vandecappelle
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2021-12-14 20:09 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot
On 13/12/2021 22:33, Fabrice Fontaine wrote:
> sparc and sparc64 are supported since version 2020.09 and
> https://github.com/MoarVM/MoarVM/commit/87ad486f30ecdf28b4abbcf40139467f626f8548
> https://github.com/MoarVM/MoarVM/commit/34e0fb55e33482fe09083627eb54003bde07d8a7
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Both applied to master, thanks.
Regards,
Arnout
> ---
> package/moarvm/Config.in | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
> index acef8f5d61..ec38047b2d 100644
> --- a/package/moarvm/Config.in
> +++ b/package/moarvm/Config.in
> @@ -4,8 +4,6 @@ config BR2_PACKAGE_MOARVM
> depends on !BR2_STATIC_LIBS # libuv
> depends on BR2_USE_MMU # libuv
> depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
> - # needs AO_fetch_compare_and_swap, not implemented for sparcv8/sparcv9
> - depends on !BR2_sparc64 && !BR2_sparc
> depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
> select BR2_PACKAGE_LIBUV
> select BR2_PACKAGE_LIBTOMMATH
> @@ -26,5 +24,4 @@ comment "moarvm needs a toolchain w/ NPTL, dynamic library"
> depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
> depends on BR2_USE_MMU
> depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
> - depends on !BR2_sparc64 && !BR2_sparc
> depends on BR2_TOOLCHAIN_HAS_SYNC_4
>
_______________________________________________
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:[~2021-12-14 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 21:33 [Buildroot] [PATCH 1/2] package/moarvm: enable on sparc and sparc64 Fabrice Fontaine
2021-12-13 21:33 ` [Buildroot] [PATCH 2/2] package/moarvm: fix libffi select Fabrice Fontaine
2021-12-14 20:09 ` [Buildroot] [PATCH 1/2] package/moarvm: enable on sparc and sparc64 Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.