* [Buildroot] [PATCH 1/1] package/python-ml-dtypes: needs C++
@ 2024-01-12 22:19 Fabrice Fontaine
2024-02-07 11:57 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-01-12 22:19 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine, James Hilliard, Asaf Kahlon
Commit ebe47e7605c6cde295e209d80690508cfd11ba61 forgot to add C++
dependency resulting in the following build failure:
../output-1/build/python-numpy-1.25.0/meson.build:1:0: ERROR: Unable to detect GNU compiler type:
Fixes:
- http://autobuild.buildroot.org/results/6f3532598355732b289730fc751e9aebdab4b0e4
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/python-ml-dtypes/Config.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/python-ml-dtypes/Config.in b/package/python-ml-dtypes/Config.in
index 72506896df..91aaf72dd6 100644
--- a/package/python-ml-dtypes/Config.in
+++ b/package/python-ml-dtypes/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_PYTHON_ML_DTYPES
bool "python-ml-dtypes"
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
+ depends on BR2_INSTALL_LIBSTDCPP # python-pybind, python-numpy
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
@@ -11,3 +12,9 @@ config BR2_PACKAGE_PYTHON_ML_DTYPES
dtype extensions used in machine learning libraries.
https://github.com/jax-ml/ml_dtypes
+
+comment "python-ml-dtypes needs a glibc or musl toolchain w/ C++, gcc >= 9"
+ depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
+ depends on !BR2_INSTALL_LIBSTDCPP || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
+ !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
--
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
end of thread, other threads:[~2024-02-07 11:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-12 22:19 [Buildroot] [PATCH 1/1] package/python-ml-dtypes: needs C++ Fabrice Fontaine
2024-02-07 11:57 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox