mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-25 20:12:12 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
@@ -15,8 +15,8 @@ config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_PYTHON_NUMPY
|
||||
bool "python-numpy"
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
# python-numpy needs fenv.h which is not provided by uclibc
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
||||
help
|
||||
@@ -28,7 +28,7 @@ config BR2_PACKAGE_PYTHON_NUMPY
|
||||
|
||||
http://www.numpy.org/
|
||||
|
||||
comment "python-numpy needs glibc or musl"
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
comment "python-numpy needs a glibc or musl toolchain w/ C++"
|
||||
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# Copied from https://github.com/numpy/numpy/releases/tag/v1.18.1
|
||||
sha256 da204ce460aa4247e595b7c7189d2fb2ed5f796bc03197055de01dac61d0125e numpy-1.18.2.tar.gz
|
||||
# Copied from https://github.com/numpy/numpy/releases/tag/v1.23.5
|
||||
sha256 1b1766d6f397c18153d40015ddfc79ddb715cabadc04d2d228d4e5a8bc4ded1a numpy-1.23.5.tar.gz
|
||||
# License files, locally calculated
|
||||
sha256 ad81d0c21843ba6ce6fe5fa3eaacb61120be70cd798c52f63df3f4c12a843f0c LICENSE.txt
|
||||
sha256 d3045980e80a6b39f98586c24bc7f39a7625b4b9f08ce72e367d12814743d047 numpy/core/src/multiarray/dragon4.c
|
||||
sha256 426a5a484480f57a295db48c2c04f47bb3274752dd82a7fd6541dfa2cb90f641 doc/sphinxext/LICENSE.txt
|
||||
sha256 154a8706fa0fdeff1073bf6239c4ecf51f562ab107066eef839dade1a45c824c doc/scipy-sphinx-theme/LICENSE.txt
|
||||
sha256 a14cc25e10d40a3aa705b7de2fb764a6535d8ee9b2db4e1724900585457dfd55 numpy/linalg/lapack_lite/LICENSE.txt
|
||||
sha256 badf51c7e3e7de9c7630bd069780f5c197b846ef7660b342a1e58d5553592d8e tools/npy_tempita/license.txt
|
||||
sha256 0f88787955e7131224f53a8c3f3e859dc502408e3a539a4dcf61fb7888b5b984 LICENSE.txt
|
||||
sha256 c27d0a8026bdb8876562b720ab24d1688e3827a89f6083cd6e7e8caa9584aba3 numpy/core/src/multiarray/dragon4.c
|
||||
sha256 fbc539f47d0cf83bc61378080fb873d5c14630126cacbfe754035c3926daa5ec numpy/core/include/numpy/libdivide/LICENSE.txt
|
||||
sha256 a14cc25e10d40a3aa705b7de2fb764a6535d8ee9b2db4e1724900585457dfd55 numpy/linalg/lapack_lite/LICENSE.txt
|
||||
sha256 badf51c7e3e7de9c7630bd069780f5c197b846ef7660b342a1e58d5553592d8e tools/npy_tempita/license.txt
|
||||
|
||||
@@ -4,15 +4,17 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_NUMPY_VERSION = 1.18.2
|
||||
PYTHON_NUMPY_VERSION = 1.23.5
|
||||
PYTHON_NUMPY_SOURCE = numpy-$(PYTHON_NUMPY_VERSION).tar.gz
|
||||
PYTHON_NUMPY_SITE = https://github.com/numpy/numpy/releases/download/v$(PYTHON_NUMPY_VERSION)
|
||||
PYTHON_NUMPY_LICENSE = BSD-3-Clause, BSD-2-Clause, PSF, Apache-2.0, MIT, Zlib
|
||||
PYTHON_NUMPY_LICENSE_FILES = LICENSE.txt doc/sphinxext/LICENSE.txt \
|
||||
doc/scipy-sphinx-theme/LICENSE.txt \
|
||||
numpy/linalg/lapack_lite/LICENSE.txt \
|
||||
tools/npy_tempita/license.txt \
|
||||
numpy/core/src/multiarray/dragon4.c
|
||||
PYTHON_NUMPY_LICENSE = BSD-3-Clause, MIT, Zlib
|
||||
PYTHON_NUMPY_LICENSE_FILES = \
|
||||
LICENSE.txt \
|
||||
numpy/core/src/multiarray/dragon4.c \
|
||||
numpy/core/include/numpy/libdivide/LICENSE.txt \
|
||||
numpy/linalg/lapack_lite/LICENSE.txt \
|
||||
tools/npy_tempita/license.txt
|
||||
|
||||
PYTHON_NUMPY_SETUP_TYPE = setuptools
|
||||
PYTHON_NUMPY_DEPENDENCIES = host-python-cython
|
||||
HOST_PYTHON_NUMPY_DEPENDENCIES = host-python-cython
|
||||
@@ -23,7 +25,12 @@ else
|
||||
PYTHON_NUMPY_ENV += BLAS=None LAPACK=None
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y)
|
||||
PYTHON_NUMPY_BUILD_OPTS = --fcompiler=gnu95
|
||||
PYTHON_NUMPY_ENV += F90=$(TARGET_FC)
|
||||
else
|
||||
PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None
|
||||
endif
|
||||
|
||||
define PYTHON_NUMPY_CONFIGURE_CMDS
|
||||
-rm -f $(@D)/site.cfg
|
||||
@@ -32,6 +39,18 @@ define PYTHON_NUMPY_CONFIGURE_CMDS
|
||||
echo "include_dirs = $(STAGING_DIR)/usr/include" >> $(@D)/site.cfg
|
||||
endef
|
||||
|
||||
# Fixup the npymath.ini prefix path with actual target staging area where
|
||||
# numpy core was built. Without this, target builds using numpy distutils
|
||||
# extensions like python-scipy, python-numba cannot find -lnpymath since
|
||||
# it uses host libraries (like libnpymath.a).
|
||||
# So, the numpy distutils extension packages would explicitly link this
|
||||
# config path for their package environment.
|
||||
define PYTHON_NUMPY_FIXUP_NPY_PKG_CONFIG_FILES
|
||||
$(SED) '/^pkgdir=/d;/^prefix=/i pkgdir=$(PYTHON3_PATH)/site-packages/numpy/core' \
|
||||
$(PYTHON3_PATH)/site-packages/numpy/core/lib/npy-pkg-config/npymath.ini
|
||||
endef
|
||||
PYTHON_NUMPY_POST_INSTALL_STAGING_HOOKS += PYTHON_NUMPY_FIXUP_NPY_PKG_CONFIG_FILES
|
||||
|
||||
# Some package may include few headers from NumPy, so let's install it
|
||||
# in the staging area.
|
||||
PYTHON_NUMPY_INSTALL_STAGING = YES
|
||||
|
||||
Reference in New Issue
Block a user