diff options
author | ramelg01 <ramy.elgammal@arm.com> | 2021-09-23 13:59:22 +0100 |
---|---|---|
committer | ramy.elgammal <ramy.elgammal@arm.com> | 2021-09-23 22:16:56 +0000 |
commit | 93d6cf0028aea111f624b320027576a26354e998 (patch) | |
tree | ca42d7cd8ae6305ab1331596043730289f022bc2 | |
parent | 61b6e24594bdfdab6fd236e269f303ca2dbc0c2b (diff) | |
download | ComputeLibrary-93d6cf0028aea111f624b320027576a26354e998.tar.gz |
Decouple logging flag from debug and assert flags
Partially Resolves: COMPMID-4818
Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com>
Change-Id: I47f2f109e1f2442607bb70a36656c69e853d330e
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6309
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Sheri Zhang <sheri.zhang@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r-- | SConstruct | 3 |
1 files changed, 1 insertions, 2 deletions
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: |