Initial Commit
- initial default booting image
This commit is contained in:
31
package/lapack/Config.in
Normal file
31
package/lapack/Config.in
Normal 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
package/lapack/lapack.hash
Normal file
3
package/lapack/lapack.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 2ca6407a001a474d4d4d35f3a61550156050c48016d949f0da0529c0aa052422 lapack-3.12.1.tar.gz
|
||||
sha256 978539245c405775bf347b1256c36df4daf8b69a64b099e94b1d53742201621e LICENSE
|
||||
30
package/lapack/lapack.mk
Normal file
30
package/lapack/lapack.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# lapack
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LAPACK_VERSION = 3.12.1
|
||||
LAPACK_LICENSE = BSD-3-Clause
|
||||
LAPACK_LICENSE_FILES = LICENSE
|
||||
LAPACK_SITE = $(call github,Reference-LAPACK,lapack,v$(LAPACK_VERSION))
|
||||
LAPACK_CPE_ID_VALID = YES
|
||||
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 \
|
||||
-DLAPACKE_BUILD_COMPLEX=ON \
|
||||
-DLAPACKE_BUILD_COMPLEX16=ON
|
||||
else
|
||||
LAPACK_CONF_OPTS += \
|
||||
-DBUILD_COMPLEX=OFF \
|
||||
-DBUILD_COMPLEX16=OFF \
|
||||
-DLAPACKE_BUILD_COMPLEX=OFF \
|
||||
-DLAPACKE_BUILD_COMPLEX16=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user