aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2017-10-26 14:13:35 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commite6032da37cb2a95bbcba27a68d3749814df510b4 (patch)
tree7a6cf27d58c6054d71814e6c14f60930d2307043 /SConstruct
parent00f4d0017b3705306834d641043ecac77d2604a1 (diff)
downloadComputeLibrary-e6032da37cb2a95bbcba27a68d3749814df510b4.tar.gz
COMPMID-556: Restrict standalone and opencl
Change-Id: I86cd254f3dc52c0f36437e59dbb874daf52c6bb7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/93266 Reviewed-by: Ioan-Cristian Szabo <ioan-cristian.szabo@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index c2c76fbf99..627f7f2076 100644
--- a/SConstruct
+++ b/SConstruct
@@ -190,7 +190,7 @@ elif env['os'] == 'bare_metal':
env.Append(CPPDEFINES = ['BARE_METAL'])
if env['opencl']:
- if env['os'] == 'bare_metal':
+ if env['os'] in ['bare_metal'] or env['standalone']:
print("Cannot link OpenCL statically, which is required on bare metal")
Exit(1)