Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
config BR2_PACKAGE_PYTHON_MEMRAY
bool "python-memray"
depends on BR2_USE_WCHAR # elfutils
depends on !BR2_STATIC_LIBS # elfutils
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
select BR2_PACKAGE_LZ4
select BR2_PACKAGE_PYTHON3_ZLIB
select BR2_PACKAGE_PYTHON_JINJA2 # runtime
select BR2_PACKAGE_PYTHON_RICH # runtime
select BR2_PACKAGE_PYTHON_TEXTUAL # runtime
help
A memory profiler for Python applications.
https://github.com/bloomberg/memray
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_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,6 @@
# md5, sha256 from https://pypi.org/pypi/memray/json
md5 2142af623ddf0bd4b46944d9940d0dc7 memray-1.19.1.tar.gz
sha256 7fcf306eae2c00144920b01913f42fa7f235af7a80fa3226ab124672a5cb1d8f memray-1.19.1.tar.gz
# Locally computed sha256 checksums
sha256 c973dd08e49022a4017ffd457116b046ebe07fc71a644fd760d64183869ca97f LICENSE
sha256 ef8a9b3247488f8901ca60de9b17b745d7bd67e5ec1e622f80d62364572200d8 src/vendor/libbacktrace/LICENSE

View File

@@ -0,0 +1,22 @@
################################################################################
#
# python-memray
#
################################################################################
PYTHON_MEMRAY_VERSION = 1.19.1
PYTHON_MEMRAY_SOURCE = memray-$(PYTHON_MEMRAY_VERSION).tar.gz
PYTHON_MEMRAY_SITE = https://files.pythonhosted.org/packages/36/18/5df5995a7b142e12ab194f4b2fd1473efd51f4f622dfe47f3c013c3c11f7
PYTHON_MEMRAY_SETUP_TYPE = setuptools
PYTHON_MEMRAY_LICENSE = Apache-2.0
PYTHON_MEMRAY_LICENSE_FILES = LICENSE src/vendor/libbacktrace/LICENSE
PYTHON_MEMRAY_DEPENDENCIES = host-python-cython host-python-pkgconfig lz4 elfutils libunwind
# Define cross-compile target for bundled & patched libbacktrace.
PYTHON_MEMRAY_ENV = MEMRAY_LIBBACKTRACE_TARGET=$(GNU_TARGET_NAME)
# Sources must be compiled with -fPIC, otherwise linking with -flto
# (which memray sets by default) fails.
PYTHON_MEMRAY_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -fPIC"
$(eval $(python-package))