From 8ee689312a64e10d9e39d745fe79b9c5ecb96820 Mon Sep 17 00:00:00 2001 From: Pablo Marquez Tello Date: Wed, 21 Dec 2022 16:25:01 +0000 Subject: Fix build error * bfloat16 cause build errors when building arch=armv8a multi_isa=1 * Resolves COMPMID-5793 Change-Id: I92114f1134c8d7bebeec556c42cfde778f9ba5bd Signed-off-by: Pablo Marquez Tello Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8871 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Viet-Hoa Do Reviewed-by: Gunes Bayir Comments-Addressed: Arm Jenkins --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 2542519488..161b3f2c60 100644 --- a/SConstruct +++ b/SConstruct @@ -302,7 +302,7 @@ if env['multi_isa']: if "disable_mmla_fp" not in env['custom_options']: env.Append(CPPDEFINES = ['ARM_COMPUTE_ENABLE_SVEF32MM']) - env.Append(CXXFLAGS = ['-march=armv8.2-a+fp16']) # explicitly enable fp16 extension otherwise __ARM_FEATURE_FP16_VECTOR_ARITHMETIC is undefined + env.Append(CXXFLAGS = ['-march=armv8.2-a+fp16+bf16']) # explicitly enable fp16 extension otherwise __ARM_FEATURE_FP16_VECTOR_ARITHMETIC is undefined else: # NONE "multi_isa" builds -- cgit v1.2.1