Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/xmrig: needs C++
Date: Sun, 3 Apr 2022 22:28:35 +0200	[thread overview]
Message-ID: <20220403202835.GE2354230@scaer> (raw)
In-Reply-To: <20220403161751.204523-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2022-04-03 18:17 +0200, Fabrice Fontaine spake thusly:
> xmrig needs C++ since its addition in commit
> 6f70990ccf6cb993fc31519337390e436d15493b:
> 
> CMake Error at CMakeLists.txt:2 (project):
>   No CMAKE_CXX_COMPILER could be found.
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/48f4ff6dc8281ffa99a45401b5941b28f2c94bc2
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/xmrig/Config.in | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/xmrig/Config.in b/package/xmrig/Config.in
> index 7024241017..c5c6b3e37b 100644
> --- a/package/xmrig/Config.in
> +++ b/package/xmrig/Config.in
> @@ -8,15 +8,17 @@ config BR2_PACKAGE_XMRIG
>  	# xmrig needs fenv.h which is not provided by uclibc
>  	depends on !BR2_TOOLCHAIN_USES_UCLIBC
>  	depends on !BR2_STATIC_LIBS # libuv
> +	depends on BR2_INSTALL_LIBSTDCPP
>  	select BR2_PACKAGE_LIBUV
>  	help
>  	  RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner.
>  
>  	  https://xmrig.com
>  
> -comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library"
> +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++"
>  	depends on BR2_aarch64 || BR2_x86_64 || BR2_i386
>  	depends on BR2_USE_MMU
>  	depends on BR2_TOOLCHAIN_HAS_SYNC_4
>  	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
> -		BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS
> +		BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \
> +		!BR2_INSTALL_LIBSTDCPP
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-04-03 20:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-03 16:17 [Buildroot] [PATCH 1/1] package/xmrig: needs C++ Fabrice Fontaine
2022-04-03 20:28 ` Yann E. MORIN [this message]
2022-04-04 19:36 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220403202835.GE2354230@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=bernd.kuhls@t-online.de \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox