scons: Eliminate flag_* entries from m5.defines.

These are not used anywhere, and are very old.

Change-Id: If37a8fe2e0c3374fba1930353e502746f333d86d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48379
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
This commit is contained in:
Gabe Black
2021-07-20 16:20:28 -07:00
parent 8e28a06f11
commit ad1f240a12
2 changed files with 0 additions and 24 deletions

View File

@@ -86,18 +86,6 @@ PybindSimObjectResolver::resolveSimObject(const std::string &name)
extern const char *compileDate;
extern const char *gem5Version;
#ifdef DEBUG
const bool flag_DEBUG = true;
#else
const bool flag_DEBUG = false;
#endif
#ifdef NDEBUG
const bool flag_NDEBUG = true;
#else
const bool flag_NDEBUG = false;
#endif
const bool flag_TRACING_ON = TRACING_ON;
static void
init_drain(py::module_ &m_native)
{
@@ -301,11 +289,6 @@ pybind_init_core(py::module_ &m_native)
m_core.attr("compileDate") = py::cast(compileDate);
m_core.attr("gem5Version") = py::cast(gem5Version);
m_core.attr("flag_DEBUG") = py::cast(flag_DEBUG);
m_core.attr("flag_DEBUG") = py::cast(flag_DEBUG);
m_core.attr("flag_NDEBUG") = py::cast(flag_NDEBUG);
m_core.attr("flag_TRACING_ON") = py::cast(flag_TRACING_ON);
m_core.attr("MaxTick") = py::cast(MaxTick);
/*