cmake: gem5-related build system updates
The build system now allows incremental gem5 builds. Unfortunately, the current solution always requires re-linking the executable. Without the enforcement of re-linking, the fail code will be rebuilt but not linked into gem5. The number of cores for building gem5 is derived from /proc/cpuinfo. As before, only the gem5.debug configuration is supported. Change-Id: Ib13b15d1ecd62196eb251e0fd00953f4eb052feb
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
#include "Gem5Wrapper.hpp"
|
||||
#include "../Listener.hpp"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/FailState.hh"
|
||||
#include "sim/root.hh"
|
||||
|
||||
#include <fstream>
|
||||
@ -38,8 +37,6 @@ Gem5Controller::~Gem5Controller()
|
||||
|
||||
bool Gem5Controller::save(const std::string &path)
|
||||
{
|
||||
DPRINTF(FailState, "Saving state to %s.\n", path);
|
||||
|
||||
Serializable::serializeAll(path);
|
||||
|
||||
// Test if save was successful
|
||||
|
||||
Reference in New Issue
Block a user