Initial Commit
- initial default booting image
This commit is contained in:
20
package/cpuinfo/Config.in
Normal file
20
package/cpuinfo/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_aarch64
|
||||
default y if BR2_arm
|
||||
default y if BR2_i386
|
||||
default y if BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_CPUINFO
|
||||
bool "cpuinfo"
|
||||
depends on BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
CPU INFOrmation library, cpuinfo is a library to detect
|
||||
essential for performance optimization information about
|
||||
host CPU.
|
||||
|
||||
https://github.com/pytorch/cpuinfo
|
||||
|
||||
comment "cpuinfo needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
4
package/cpuinfo/cpuinfo.hash
Normal file
4
package/cpuinfo/cpuinfo.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 37bb2fd2d1e87102baea8d131a0c550c4ceff5a12fba61faeb1bff63868155f1 cpuinfo-8a1772a0c5c447df2d18edf33ec4603a8c9c04a6.tar.gz
|
||||
# License files, locally calculated
|
||||
sha256 8e7e60636c3aa0cb03571a1a841ce5697f9551ff92b3c426c2561613d15ade70 LICENSE
|
||||
17
package/cpuinfo/cpuinfo.mk
Normal file
17
package/cpuinfo/cpuinfo.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
#
|
||||
# cpuinfo
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CPUINFO_VERSION = 8a1772a0c5c447df2d18edf33ec4603a8c9c04a6
|
||||
CPUINFO_SITE = $(call github,pytorch,cpuinfo,$(CPUINFO_VERSION))
|
||||
CPUINFO_LICENSE = BSD-2-Clause
|
||||
CPUINFO_LICENSE_FILES = LICENSE
|
||||
CPUINFO_INSTALL_STAGING = YES
|
||||
CPUINFO_CONF_OPTS = \
|
||||
-DCPUINFO_BUILD_UNIT_TESTS=OFF \
|
||||
-DCPUINFO_BUILD_MOCK_TESTS=OFF \
|
||||
-DCPUINFO_BUILD_BENCHMARKS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user