package/python-memray: require toolchain with C++ support

During the build Cython creates C++ source that needs to be
compiled. The missing dependency did not show in the existing runtime
test because the Bootlin stable toolchains include C++ support.

Package was added in c2df8bab97.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Fiona Klute
2026-01-05 15:40:48 +01:00
committed by Julien Olivain
parent 1498900a08
commit 0e6111b48c

View File

@@ -5,6 +5,7 @@ config BR2_PACKAGE_PYTHON_MEMRAY
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # elfutils/libdebuginfod
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_ELFUTILS
select BR2_PACKAGE_ELFUTILS_LIBDEBUGINFOD
select BR2_PACKAGE_LIBUNWIND
@@ -18,7 +19,8 @@ config BR2_PACKAGE_PYTHON_MEMRAY
https://github.com/bloomberg/memray
comment "python-memray needs a toolchain w/ dynamic library, threads, wchar"
comment "python-memray needs a toolchain w/ C++, dynamic library, threads, wchar"
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS