summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-10-01 15:56:47 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-10-01 15:56:47 +0200
commitd3d53938c05aa2cecd47fd8b29ec36f1c71303d5 (patch)
tree9c7280bc91b997e6e31b5325544d72db94b2d6d2 /tests
parent7c52865d1bd63e4b3a4352d6178a391e1b0ed29d (diff)
downloadgem5-d3d53938c05aa2cecd47fd8b29ec36f1c71303d5.tar.xz
scons, kvm: Check for the presence of POSIX timers
The kvm-based CPU module requires support for POSIX timers. This changeset adds a check for POSIX timers and ensures that gem5 is linked with librt if necessary. KVM support is disabled if POSIX timers are not supported by the host. This fixes a compilation issue for some glibc versions where clock_nanosleep and timer_create are in different libraries.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions