Skip to contentSkip to conversation

package/spdlog: need threads

PATCH New Asaf Kahlon 2 participants 2 messages Oct 4, 2019 – Oct 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/spdlog: need threads

Fixes:
- http://autobuild.buildroot.net/results/f839e70e96a0c7d67034f604565b32ca354da7d0/

---
 package/spdlog/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/spdlog/Config.in +3 -1
index 4b721774eb..f78b4f8959 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SPDLOG
 	bool "spdlog"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # fmt
 	select BR2_PACKAGE_FMT
@@ -9,4 +10,5 @@ config BR2_PACKAGE_SPDLOG
 	  https://github.com/gabime/spdlog
 
 comment "spdlog needs a toolchain w/ C++, wchar"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
+		|| !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/spdlog: need threads

Quoted 13 lines · Asaf Kahlon

Fixes:
- http://autobuild.buildroot.net/results/f839e70e96a0c7d67034f604565b32ca354da7d0/

---
 package/spdlog/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/spdlog/Config.in +0 -0
index 4b721774eb..f78b4f8959 100644

package/spdlog/Config.in line 5

Quoted 5 lines
package/spdlog/Config.in +1 -0
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SPDLOG
 	bool "spdlog"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # fmt

Please keep these alphabetical.

package/spdlog/Config.in config BR2_PACKAGE_SPDLOG · line 12

Quoted 5 lines
package/spdlog/Config.in +0 -0
 	select BR2_PACKAGE_FMT
@@ -9,4 +10,5 @@ config BR2_PACKAGE_SPDLOG
 	  https://github.com/gabime/spdlog
 
 comment "spdlog needs a toolchain w/ C++, wchar"

threads should have been mentioned here as well.

Applied to master with those fixed, thanks.

Regards,
Arnout

Quoted 4 lines
package/spdlog/Config.in +2 -1
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
+		|| !BR2_TOOLCHAIN_HAS_THREADS