initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
config BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
bool
default y
# _fpu_control is used on PowerPC, but not available with
# uClibc or musl
depends on !BR2_powerpc || BR2_TOOLCHAIN_USES_GLIBC
comment "lapack/blas needs a glibc toolchain"
depends on BR2_powerpc
depends on !BR2_TOOLCHAIN_USES_GLIBC
comment "lapack/blas needs a toolchain w/ fortran"
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_FORTRAN
config BR2_PACKAGE_LAPACK
bool "lapack/blas"
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_FORTRAN
help
LAPACK and BLAS FORTRAN implementation. This package
installs two libraries: libblas and liblapack.
http://www.netlib.org/lapack/
config BR2_PACKAGE_LAPACK_COMPLEX
bool "Complex/Complex16 support"
default y
depends on BR2_PACKAGE_LAPACK
help
Builds support for COMPLEX and COMPLEX16 data types.
+3
View File
@@ -0,0 +1,3 @@
# Locally computed:
sha256 106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573 lapack-3.9.0.tar.gz
sha256 d56bd4441b999b80c88df04faf0d8b3d7d3b2bd781cf91242c4188e8a6d0f8be LICENSE
+21
View File
@@ -0,0 +1,21 @@
################################################################################
#
# lapack
#
################################################################################
LAPACK_VERSION = 3.9.0
LAPACK_LICENSE = BSD-3-Clause
LAPACK_LICENSE_FILES = LICENSE
LAPACK_SITE = $(call github,Reference-LAPACK,lapack,v$(LAPACK_VERSION))
LAPACK_INSTALL_STAGING = YES
LAPACK_SUPPORTS_IN_SOURCE_BUILD = NO
LAPACK_CONF_OPTS = -DLAPACKE=ON -DCBLAS=ON
ifeq ($(BR2_PACKAGE_LAPACK_COMPLEX),y)
LAPACK_CONF_OPTS += -DBUILD_COMPLEX=ON -DBUILD_COMPLEX16=ON
else
LAPACK_CONF_OPTS += -DBUILD_COMPLEX=OFF -DBUILD_COMPLEX16=OFF
endif
$(eval $(cmake-package))