aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-12-23 11:29:52 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-12-23 13:07:20 +0000
commit35f35a647f035d1f3eb67681d7b287c3b2d46603 (patch)
tree71d6b9f9b3b7495b105bbf213c375b9283751490 /SConstruct
parentb598afa81ee950ac634576baca04a38dff749dad (diff)
downloadComputeLibrary-35f35a647f035d1f3eb67681d7b287c3b2d46603.tar.gz
COMPMID-2819: Fix armv7a build error
Instead of throwing an error when we build with armv7a and examples=1, print a warning. Change-Id: I957673c18a3e96a3499ffc9c5ed2a68e9e09965d Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/2522 Reviewed-by: Pablo Marquez <pablo.tello@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 139c0e568a..3236e7ca30 100644
--- a/SConstruct
+++ b/SConstruct
@@ -337,8 +337,8 @@ SConscript('./SConscript', variant_dir=build_path, duplicate=0)
if env['examples'] and env['exceptions']:
if env['os'] == 'bare_metal' and env['arch'] == 'armv7a':
- print("Building examples for bare metal and armv7a is not supported. Use examples=0.")
- Exit(1)
+ print("WARNING: Building examples for bare metal and armv7a is not supported. Use examples=0")
+ Return()
SConscript('./examples/SConscript', variant_dir='%s/examples' % build_path, duplicate=0)
if env['exceptions']: