diff options
author | Pablo Marquez Tello <pablo.tello@arm.com> | 2022-12-21 16:25:01 +0000 |
---|---|---|
committer | Pablo Marquez Tello <pablo.tello@arm.com> | 2022-12-22 14:52:17 +0000 |
commit | 8ee689312a64e10d9e39d745fe79b9c5ecb96820 (patch) | |
tree | fcb095b4d54b7b1975ed8103a008bb7bd684e975 /SConstruct | |
parent | e317baf74dd6206932877e254350b9ab913426f1 (diff) | |
download | ComputeLibrary-8ee689312a64e10d9e39d745fe79b9c5ecb96820.tar.gz |
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 <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8871
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
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 |