xref: /OK3568_Linux_fs/buildroot/package/moarvm/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_MOARVM
2*4882a593Smuzhiyun	bool "moarvm"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
4*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # libuv
5*4882a593Smuzhiyun	depends on BR2_USE_MMU # libuv
6*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
7*4882a593Smuzhiyun	# needs AO_fetch_compare_and_swap, not implemented for sparcv8/sparcv9
8*4882a593Smuzhiyun	depends on !BR2_sparc64 && !BR2_sparc
9*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
10*4882a593Smuzhiyun	select BR2_PACKAGE_LIBUV
11*4882a593Smuzhiyun	select BR2_PACKAGE_LIBTOMMATH
12*4882a593Smuzhiyun	select BR2_PACKAGE_LIBATOMIC_OPS
13*4882a593Smuzhiyun	# dyncall does not work on MIPS; libffi needs to be used.
14*4882a593Smuzhiyun	# See: https://github.com/MoarVM/MoarVM/issues/222
15*4882a593Smuzhiyun	# dyncall does not work also on powerpc64 and powerpc64le
16*4882a593Smuzhiyun	select BR2_PACKAGE_LIBFFI if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_powerpc64 || BR2_powerpc64le
17*4882a593Smuzhiyun	select BR2_PACKAGE_ZSTD
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  Short for "Metamodel On A Runtime", MoarVM is a virtual
20*4882a593Smuzhiyun	  machine built especially for Rakudo Perl 6 and the NQP
21*4882a593Smuzhiyun	  Compiler Toolchain.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun	  http://moarvm.com
24*4882a593Smuzhiyun
25*4882a593Smuzhiyuncomment "moarvm needs a toolchain w/ NPTL, dynamic library"
26*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
27*4882a593Smuzhiyun	depends on BR2_USE_MMU
28*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
29*4882a593Smuzhiyun	depends on !BR2_sparc64 && !BR2_sparc
30*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
31