All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-contourpy: needs C++
@ 2024-01-02 17:17 Fabrice Fontaine
  2024-01-02 20:18 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-01-02 17:17 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Fabrice Fontaine, Asaf Kahlon

C++ is mandatory resulting in the following build failure since the
addition of the package in commit
1e7f0794bbb0075285dc3b4dab8484f12adbb886:

../output-1/build/python-contourpy-1.1.0/meson.build:1:0: ERROR: Unable to detect GNU compiler type:

Fixes:
 - http://autobuild.buildroot.org/results/6b50f9621b00aab384cc2dde77fae7daff46d08b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/python-contourpy/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/python-contourpy/Config.in b/package/python-contourpy/Config.in
index 4843884a97..313d270dda 100644
--- a/package/python-contourpy/Config.in
+++ b/package/python-contourpy/Config.in
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_PYTHON_CONTOURPY
 	bool "python-contourpy"
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_PYTHON_PYBIND
 	help
 	  Python library for calculating contours of 2D quadrilateral
 	  grids.
 
 	  https://github.com/contourpy/contourpy
+
+comment "python-contourpy needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/python-contourpy: needs C++
  2024-01-02 17:17 [Buildroot] [PATCH 1/1] package/python-contourpy: needs C++ Fabrice Fontaine
@ 2024-01-02 20:18 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-01-02 20:18 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: James Hilliard, Asaf Kahlon, buildroot

On Tue,  2 Jan 2024 18:17:59 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> C++ is mandatory resulting in the following build failure since the
> addition of the package in commit
> 1e7f0794bbb0075285dc3b4dab8484f12adbb886:
> 
> ../output-1/build/python-contourpy-1.1.0/meson.build:1:0: ERROR: Unable to detect GNU compiler type:
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/6b50f9621b00aab384cc2dde77fae7daff46d08b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/python-contourpy/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-02 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-02 17:17 [Buildroot] [PATCH 1/1] package/python-contourpy: needs C++ Fabrice Fontaine
2024-01-02 20:18 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.