From f2cdce30ca782cac7caebc43c7e67caf677b7358 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 9 Dec 2019 18:35:57 +0000 Subject: COMPMID-2841: Enable aarch32 builds Decouples the execution state from the architecture. Now architectures can be set as (armv7a, armv8a, etc) and execution state using the `estate` flag with the following options (auto, 32, 64). Change-Id: Ie7f757b3565495a39c7e20fb350a72fd9c5a2a4f Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/2438 Reviewed-by: Pablo Marquez Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- SConscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'SConscript') diff --git a/SConscript b/SConscript index ed22f6eefe..0b7729cced 100644 --- a/SConscript +++ b/SConscript @@ -216,11 +216,10 @@ if env['neon']: graph_files += Glob('src/graph/backends/NEON/*.cpp') - if env['arch'] == "armv7a": + if env['estate'] == '32': core_files += Glob('src/core/NEON/kernels/arm_gemm/kernels/a32_*/*.cpp') - - if "arm64-v8" in env['arch']: + if env['estate'] == '64': core_files += Glob('src/core/NEON/kernels/arm_gemm/kernels/a64_*/*.cpp') if "sve" in env['arch']: core_files += Glob('src/core/NEON/kernels/arm_gemm/kernels/sve_*/*.cpp') -- cgit v1.2.1