aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2021-02-16 15:15:19 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-02-23 18:21:55 +0000
commitceaa0bfe219631b5a4e638613f90f9fa47a3defe (patch)
tree3bb878645ae7509f7807197d320a02882ad84751 /SConstruct
parentc40562d4467e3a68b0dac5e865570c8f38d1487e (diff)
downloadComputeLibrary-ceaa0bfe219631b5a4e638613f90f9fa47a3defe.tar.gz
Remove OpenGL ES support
Remove the following: - Relevant backend kernels - Relevant backend functions - Relevant backend validation tests - Relevant backend specific examples - Remove backend support from Graph API - Remove backend support from build system Update documentation Resolves: COMPMID-4149 Change-Id: Id0621d6ee35169754de458103907aaba4ef770c0 Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5097 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct15
1 files changed, 3 insertions, 12 deletions
diff --git a/SConstruct b/SConstruct
index 5d86ac3434..8892626b90 100644
--- a/SConstruct
+++ b/SConstruct
@@ -54,7 +54,6 @@ vars.AddVariables(
BoolVariable("standalone", "Builds the tests as standalone executables, links statically with libgcc, libstdc++ and libarm_compute", False),
BoolVariable("opencl", "Enable OpenCL support", True),
BoolVariable("neon", "Enable Neon support", False),
- BoolVariable("gles_compute", "Enable OpenGL ES Compute Shader support", False),
BoolVariable("embed_kernels", "Embed OpenCL kernels and OpenGL ES compute shaders in library binary", True),
BoolVariable("compress_kernels", "Compress embedded OpenCL kernels in library binary. Note embed_kernels should be enabled", False),
BoolVariable("set_soname", "Set the library's soname and shlibversion (requires SCons 2.4 or above)", False),
@@ -142,8 +141,8 @@ if env['opencl'] and env['embed_kernels'] and env['compress_kernels'] and env['o
Exit(1)
if not env['exceptions']:
- if env['opencl'] or env['gles_compute']:
- print("ERROR: OpenCL and GLES are not supported when building without exceptions. Use opencl=0 gles_compute=0")
+ if env['opencl']:
+ print("ERROR: OpenCL is not supported when building without exceptions. Use opencl=0")
Exit(1)
env.Append(CPPDEFINES = ['ARM_COMPUTE_EXCEPTIONS_DISABLED'])
@@ -346,15 +345,10 @@ if env['opencl']:
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["os"] not in ["android", "bare_metal"] and (env['opencl'] or env['cppthreads']):
env.Append(LIBS = ['pthread'])
-if env['opencl'] or env['gles_compute']:
+if env['opencl']:
if env['embed_kernels']:
env.Append(CPPDEFINES = ['EMBEDDED_KERNELS'])
if env['compress_kernels']:
@@ -388,9 +382,6 @@ for dirname in os.listdir("./include"):
Export('version_at_least')
-if env['gles_compute'] and env['os'] != 'android':
- env.Append(CPPPATH = ['#/include/linux'])
-
SConscript('./SConscript', variant_dir=build_path, duplicate=0)
if env['examples'] and env['exceptions']: