From ab4907325ea264efc26b89ebad7e10522cb823e5 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Tue, 5 Dec 2017 13:32:37 +0000 Subject: COMPMID-556 Fix build issues with Clang Cleaned up build system a bit Change-Id: I476deb5e8998653a15d018dc332d43c1d439d4c6 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111917 Reviewed-by: Pablo Tello Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com --- SConscript | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'SConscript') diff --git a/SConscript b/SConscript index b40b66caab..91dc60166a 100644 --- a/SConscript +++ b/SConscript @@ -201,24 +201,18 @@ if env['gles_compute']: generate_embed.append(arm_compute_env.Command(embed_files, cs_files, action=resolve_includes)) -static_core_objects = [arm_compute_env.StaticObject(f) for f in core_files] -shared_core_objects = [arm_compute_env.SharedObject(f) for f in core_files] - -arm_compute_core_a = build_library('arm_compute_core-static', static_core_objects, static=True) +arm_compute_core_a = build_library('arm_compute_core-static', core_files, static=True) Export('arm_compute_core_a') if env['os'] != 'bare_metal' and not env['standalone']: - arm_compute_core_so = build_library('arm_compute_core', shared_core_objects, static=False) + arm_compute_core_so = build_library('arm_compute_core', core_files, static=False) Export('arm_compute_core_so') -shared_runtime_objects = [arm_compute_env.SharedObject(f) for f in runtime_files] -static_runtime_objects = [arm_compute_env.StaticObject(f) for f in runtime_files] - -arm_compute_a = build_library('arm_compute-static', static_runtime_objects, static=True, libs = [ arm_compute_core_a ]) +arm_compute_a = build_library('arm_compute-static', runtime_files, static=True, libs = [ arm_compute_core_a ]) Export('arm_compute_a') if env['os'] != 'bare_metal' and not env['standalone']: - arm_compute_so = build_library('arm_compute', shared_runtime_objects, static=False, libs = [ "arm_compute_core" ]) + arm_compute_so = build_library('arm_compute', runtime_files, static=False, libs = [ "arm_compute_core" ]) Depends(arm_compute_so, arm_compute_core_so) Export('arm_compute_so') -- cgit v1.2.1