diff options
author | Pablo Tello <pablo.tello@arm.com> | 2017-06-21 15:39:47 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:14:20 +0100 |
commit | c6cb35a1935cde168f4b72d8782c21a344e78623 (patch) | |
tree | bdd5ec8c02702868d6a0b63db49c9bb3e5a253e0 /examples | |
parent | ee12254d4aae887ba654aa26bebc2e1330fc0a88 (diff) | |
download | ComputeLibrary-c6cb35a1935cde168f4b72d8782c21a344e78623.tar.gz |
COMPMID-345: Updated scons scripts to link computer_vision statically against libgcc, libstdc++ and computer_vision.
This is needed to run 'computer_vision' on the ARM 8.2-a + FP16 Fast model.
Change-Id: I66d6427e4d4117b7995c35ec9df1dea5b3f22205
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78429
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/SConscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/SConscript b/examples/SConscript index 748f771ec7..04569c6ceb 100644 --- a/examples/SConscript +++ b/examples/SConscript @@ -23,8 +23,6 @@ import SCons import os.path Import('env') -Import('arm_compute_a') -Import('arm_compute_so') if env['opencl']: Import('opencl') @@ -38,10 +36,12 @@ examples_env.Append(LIBPATH = ["#build/%s/opencl-1.2-stubs" % env['build_dir']]) # Build examples utils = examples_env.Object("../utils/Utils.cpp") -if env['os'] in ['android', 'bare_metal']: +if env['os'] in ['android', 'bare_metal'] or env['standalone']: + Import('arm_compute_a') arm_compute_lib = arm_compute_a arm_compute_dependency = arm_compute_a else: + Import('arm_compute_so') arm_compute_lib = "arm_compute" arm_compute_dependency = arm_compute_so |