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

15
package/hwloc/Config.in Normal file
View File

@@ -0,0 +1,15 @@
config BR2_PACKAGE_HWLOC
bool "hwloc"
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Portable Hardware Locality
Provides a portable abstraction (across OS, versions,
architectures, ...) of the hierarchical topology of modern
architectures, including NUMA memory nodes, sockets, shared
caches, cores and simultaneous multithreading.
http://www.open-mpi.org/projects/hwloc/
comment "hwloc needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

5
package/hwloc/hwloc.hash Normal file
View File

@@ -0,0 +1,5 @@
# From https://www.open-mpi.org/software/hwloc/v2.12/
sha1 be96a4b54da92fce34e5c7f68c719ab778e058fa hwloc-2.12.2.tar.bz2
sha256 563e61d70febb514138af0fac36b97621e01a4aacbca07b86e7bd95b85055ba0 hwloc-2.12.2.tar.bz2
# Locally computed
sha256 d79a936a42f3c6cb7c8375a023d43f4435f4664d3a5a2ea6b4623cff83c7fc06 COPYING

58
package/hwloc/hwloc.mk Normal file
View File

@@ -0,0 +1,58 @@
################################################################################
#
# hwloc
#
################################################################################
HWLOC_VERSION_MAJOR = 2.12
HWLOC_VERSION = $(HWLOC_VERSION_MAJOR).2
HWLOC_SOURCE = hwloc-$(HWLOC_VERSION).tar.bz2
HWLOC_SITE = https://download.open-mpi.org/release/hwloc/v$(HWLOC_VERSION_MAJOR)
HWLOC_LICENSE = BSD-3-Clause
HWLOC_LICENSE_FILES = COPYING
HWLOC_DEPENDENCIES = host-pkgconf
HWLOC_INSTALL_STAGING = YES
HWLOC_SELINUX_MODULES = hwloc
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
# provided by autoconf relies on wchar_t.
HWLOC_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
HWLOC_CONF_OPTS = \
--disable-opencl \
--disable-cuda \
--disable-nvml \
--disable-gl \
--disable-cairo \
--disable-doxygen
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
HWLOC_CONF_OPTS += --enable-libudev
HWLOC_DEPENDENCIES += udev
else
HWLOC_CONF_OPTS += --disable-libudev
endif
ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y)
HWLOC_CONF_OPTS += --enable-pci
HWLOC_DEPENDENCIES += libpciaccess
else
HWLOC_CONF_OPTS += --disable-pci
endif
ifeq ($(BR2_PACKAGE_LIBXML2),y)
HWLOC_CONF_OPTS += --enable-libxml2
HWLOC_DEPENDENCIES += libxml2
else
HWLOC_CONF_OPTS += --disable-libxml2
endif
ifeq ($(BR2_PACKAGE_NCURSES),y)
HWLOC_DEPENDENCIES += ncurses
endif
ifeq ($(BR2_PACKAGE_NUMACTL),y)
HWLOC_DEPENDENCIES += numactl
endif
$(eval $(autotools-package))