1config BR2_PACKAGE_MOARVM
2	bool "moarvm"
3	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
4	depends on !BR2_STATIC_LIBS # libuv
5	depends on BR2_USE_MMU # libuv
6	depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
7	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
8	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
9	select BR2_PACKAGE_LIBUV
10	select BR2_PACKAGE_LIBTOMMATH
11	select BR2_PACKAGE_LIBATOMIC_OPS
12	# dyncall does not work on riscv
13	select BR2_PACKAGE_LIBFFI if BR2_riscv
14	select BR2_PACKAGE_ZSTD
15	help
16	  Short for "Metamodel On A Runtime", MoarVM is a virtual
17	  machine built especially for Rakudo Perl 6 and the NQP
18	  Compiler Toolchain.
19
20	  http://moarvm.com
21
22comment "moarvm needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
23	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
24		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
25	depends on BR2_USE_MMU
26	depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
27	depends on BR2_TOOLCHAIN_HAS_SYNC_4
28