From 93d6cf0028aea111f624b320027576a26354e998 Mon Sep 17 00:00:00 2001 From: ramelg01 Date: Thu, 23 Sep 2021 13:59:22 +0100 Subject: Decouple logging flag from debug and assert flags Partially Resolves: COMPMID-4818 Signed-off-by: Ramy Elgammal Change-Id: I47f2f109e1f2442607bb70a36656c69e853d330e Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6309 Tested-by: Arm Jenkins Reviewed-by: Sheri Zhang Comments-Addressed: Arm Jenkins --- SConstruct | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 60d220ee2f..ee8108bf71 100644 --- a/SConstruct +++ b/SConstruct @@ -43,7 +43,7 @@ vars = Variables("scons") vars.AddVariables( BoolVariable("debug", "Debug", False), BoolVariable("asserts", "Enable asserts (this flag is forced to 1 for debug=1)", False), - BoolVariable("logging", "Logging (this flag is forced to 1 for debug=1)", False), + BoolVariable("logging", "Enable Logging", False), EnumVariable("arch", "Target Architecture", "armv7a", allowed_values=("armv7a", "armv7a-hf", "arm64-v8a", "arm64-v8.2-a", "arm64-v8.2-a-sve", "arm64-v8.2-a-sve2", "x86_32", "x86_64", "armv8a", "armv8.2-a", "armv8.2-a-sve", "armv8.6-a", "armv8.6-a-sve", "armv8.6-a-sve2", "armv8r64", "x86")), @@ -381,7 +381,6 @@ if env['opencl']: if env['debug']: env['asserts'] = True - env['logging'] = True env.Append(CXXFLAGS = ['-O0','-g','-gdwarf-2']) env.Append(CPPDEFINES = ['ARM_COMPUTE_DEBUG_ENABLED']) else: -- cgit v1.2.1