xref: /OK3568_Linux_fs/buildroot/package/xmrig/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_XMRIG
2	bool "xmrig"
3	# archs officially supported by upstream
4	depends on BR2_aarch64 || BR2_x86_64 || BR2_i386
5	depends on BR2_USE_MMU # libuv
6	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
7	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
8	# xmrig needs fenv.h which is not provided by uclibc
9	depends on !BR2_TOOLCHAIN_USES_UCLIBC
10	depends on !BR2_STATIC_LIBS # libuv
11	select BR2_PACKAGE_LIBUV
12	help
13	  RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner.
14
15	  https://xmrig.com
16
17comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library"
18	depends on BR2_aarch64 || BR2_x86_64 || BR2_i386
19	depends on BR2_USE_MMU
20	depends on BR2_TOOLCHAIN_HAS_SYNC_4
21	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
22		BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS
23