From 56c49b3b42d27afdd8ce7fe4e6e6021e9fa5f29d Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 25 Sep 2025 19:27:27 -0700 Subject: [PATCH] cleanup dead build flags --- SConstruct | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/SConstruct b/SConstruct index d8a390f5df..6f035e3045 100644 --- a/SConstruct +++ b/SConstruct @@ -31,26 +31,12 @@ AddOption('--ubsan', action='store_true', help='turn on UBSan') -AddOption('--coverage', - action='store_true', - help='build with test coverage options') - -AddOption('--clazy', - action='store_true', - help='build with clazy') - AddOption('--ccflags', action='store', type='string', default='', help='pass arbitrary flags over the command line') -AddOption('--external-sconscript', - action='store', - metavar='FILE', - dest='external_sconscript', - help='add an external SConscript to the build') - AddOption('--mutation', action='store_true', help='generate mutation-ready code') @@ -292,17 +278,6 @@ qt_env['CXXFLAGS'] += qt_flags qt_env['LIBPATH'] += ['#selfdrive/ui', ] qt_env['LIBS'] = qt_libs -if GetOption("clazy"): - checks = [ - "level0", - "level1", - "no-range-loop", - "no-non-pod-global-static", - ] - qt_env['CXX'] = 'clazy' - qt_env['ENV']['CLAZY_IGNORE_DIRS'] = qt_dirs[0] - qt_env['ENV']['CLAZY_CHECKS'] = ','.join(checks) - Export('env', 'qt_env', 'arch', 'real_arch') # Build common module @@ -352,7 +327,3 @@ if Dir('#tools/cabana/').exists() and GetOption('extras'): SConscript(['tools/replay/SConscript']) if arch != "larch64": SConscript(['tools/cabana/SConscript']) - -external_sconscript = GetOption('external_sconscript') -if external_sconscript: - SConscript([external_sconscript])