Skip to contentSkip to conversation

package/bitcoin: needs threads

PATCH New Fabrice Fontaine 2 participants 2 messages Dec 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bitcoin: needs threads

Commit 656fc50b51c03891d34471fd39003355678f7fde added bitcoin without adding the threads dependency from boost

Fixes:
- http://autobuild.buildroot.org/results/8e824314d35e12678023f32650a90539a72c9bab

---
 package/bitcoin/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/bitcoin/Config.in +4 -2
index 3936cd3c79..1f08f9f26f 100644
@@ -12,6 +12,7 @@ config BR2_PACKAGE_BITCOIN
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
 	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_BOOST
 	select BR2_PACKAGE_BOOST_SYSTEM
@@ -37,9 +38,10 @@ config BR2_PACKAGE_BITCOIN
 
 	  https://bitcoincore.org
 
-comment "bitcoin needs a toolchain w/ C++, wchar"
+comment "bitcoin needs a toolchain w/ C++, threads, wchar"
 	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
 
 comment "bitcoin needs a toolchain not affected by GCC bug 64735"
 	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 package/bitcoin: needs threads

Fabrice, All,

On 2019-12-30 14:45 +0100, Fabrice Fontaine spake thusly:

Quoted 7 lines

Commit 656fc50b51c03891d34471fd39003355678f7fde added bitcoin without adding the threads dependency from boost

Fixes:
- http://autobuild.buildroot.org/results/8e824314d35e12678023f32650a90539a72c9bab

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 36 lines
---
 package/bitcoin/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/bitcoin/Config.in +4 -2
index 3936cd3c79..1f08f9f26f 100644
@@ -12,6 +12,7 @@ config BR2_PACKAGE_BITCOIN
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
 	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_BOOST
 	select BR2_PACKAGE_BOOST_SYSTEM
@@ -37,9 +38,10 @@ config BR2_PACKAGE_BITCOIN
 
 	  https://bitcoincore.org
 
-comment "bitcoin needs a toolchain w/ C++, wchar"
+comment "bitcoin needs a toolchain w/ C++, threads, wchar"
 	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
 
 comment "bitcoin needs a toolchain not affected by GCC bug 64735"
 	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
Signature · 6 lines
2.24.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'