diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-04-13 14:05:34 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | 5f0124db5cb7de18930b474af7cb722987e088fa (patch) | |
tree | f2f530aa7695d3aecc6e34530f47bdf936e9bdab /SConstruct | |
parent | ae3c8abdd9cf474d39991863f9170257f4a28ff2 (diff) | |
download | ComputeLibrary-5f0124db5cb7de18930b474af7cb722987e088fa.tar.gz |
COMPMID-959: Fixed clang-tidy formatting, made GLES builds fail for standalone=1
Change-Id: I746ef0b2f8e02349e6067139e90c2c34949cad03
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/127690
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index a0acb7bf5f..626a302df6 100644 --- a/SConstruct +++ b/SConstruct @@ -214,7 +214,12 @@ elif env['os'] == 'bare_metal': if env['opencl']: if env['os'] in ['bare_metal'] or env['standalone']: - print("Cannot link OpenCL statically, which is required on bare metal") + print("Cannot link OpenCL statically, which is required for bare metal / standalone builds") + Exit(1) + +if env['gles_compute']: + if env['os'] in ['bare_metal'] or env['standalone']: + print("Cannot link OpenGLES statically, which is required for bare metal / standalone builds") Exit(1) if env['opencl'] or env['gles_compute']: |