diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-01 15:10:51 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:55:45 +0000 |
commit | 01bbd5fd0af0847ac847c78c7064b3c9810a924a (patch) | |
tree | 3517e6808ab8f38504717e6a4e423f5caa89cb55 /SConscript | |
parent | 645e837316a8e12eb1d48f1b9ca7eeb607c21bfc (diff) | |
download | ComputeLibrary-01bbd5fd0af0847ac847c78c7064b3c9810a924a.tar.gz |
COMPMID-1737: Add support for install_dir
Note: Only ComputeLibrary files get copied over (Stub CL / GLES drivers don't, nor are the 3rdparty includes)
utils/ files are not copied either (They're not part of the core library)
Change-Id: I55e01c0ba4a5f7e649877fcdd11fdb0a51071b18
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/156339
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: bsgcomp <bsgcomp@arm.com>
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SConscript b/SConscript index 36fa7b6af9..86f2789de5 100644 --- a/SConscript +++ b/SConscript @@ -29,6 +29,7 @@ SONAME_VERSION="1.0.0" Import('env') Import('vars') +Import('install_lib') def build_library(name, sources, static=False, libs=[]): if static: @@ -53,6 +54,7 @@ def build_library(name, sources, static=False, libs=[]): else: obj = arm_compute_env.SharedLibrary(name, source=sources, LIBS = arm_compute_env["LIBS"] + libs) + obj = install_lib(obj) Default(obj) return obj |