mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
When the package was introduced in [1], it lacked a kconfig comment
indicating that it requires a toolchain with thread support.
[1] ea1cc1af55 package/cpuinfo: new package
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
21 lines
535 B
Plaintext
21 lines
535 B
Plaintext
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
|