1 config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
3 default "P2" if BR2_x86_pentium2
4 default "KATMAI" if BR2_x86_pentium3
5 default "NORTHWOOD" if BR2_x86_pentium4
6 default "PRESCOTT" if BR2_x86_prescott
7 default "BANIAS" if BR2_x86_pentium_m
8 default "CORE2" if BR2_x86_core2
9 default "NEHALEM" if BR2_x86_corei7
10 default "SANDYBRIDGE" if BR2_x86_corei7_avx
11 default "HASWELL" if BR2_x86_core_avx2
12 default "ATOM" if BR2_x86_atom
13 default "ATHLON" if BR2_x86_athlon || BR2_x86_athlon_4
14 default "OPTERON" if BR2_x86_opteron
15 default "OPTERON_SSE3" if BR2_x86_opteron_sse3
16 default "BARCELONA" if BR2_x86_barcelona
17 default "STEAMROLLER" if BR2_x86_steamroller
18 default "VIAC3" if BR2_x86_c3 || BR2_x86_c32
19 default "SSE_GENERIC" if BR2_X86_CPU_HAS_SSE
20 default "POWER4" if BR2_powerpc_power4
21 default "POWER5" if BR2_powerpc_power5
22 default "POWER6" if BR2_powerpc_power6
23 default "POWER7" if BR2_powerpc_power7
24 default "POWER8" if BR2_powerpc_power8
25 default "PPCG4" if BR2_powerpc_7400 || BR2_powerpc_7450
26 default "PPC970" if BR2_powerpc_970
27 default "PPC440" if BR2_powerpc_440
28 default "PPC440FP2" if BR2_powerpc_440fp
29 default "P5600" if BR2_mips_32r2
30 default "SICORTEX" if BR2_mips_64
31 default "I6400" if BR2_mips_64r6
32 default "SPARC" if BR2_sparc
33 default "CORTEXA15" if BR2_cortex_a15
34 default "CORTEXA9" if BR2_cortex_a9
35 default "ARMV5" if BR2_ARM_CPU_ARMV5
36 default "ARMV6" if BR2_ARM_CPU_ARMV6
37 default "ARMV7" if BR2_ARM_CPU_ARMV7A
38 default "ARMV8" if BR2_aarch64 || BR2_aarch64_be
40 OpenBLAS target CPU. See TargetList.txt in the source tree for
41 the possible target strings. A possible value is set
42 automatically based on your Target Architecture Variant.
44 config BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
46 default y if BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET != ""
48 config BR2_PACKAGE_OPENBLAS
50 depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
52 An optimized BLAS library based on GotoBLAS2 1.13 BSD version.
54 https://www.openblas.net/
56 if BR2_PACKAGE_OPENBLAS
58 config BR2_PACKAGE_OPENBLAS_TARGET
59 string "OpenBLAS target CPU"
60 default BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET