diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-05-09 11:32:11 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-05-09 11:32:11 +0100 |
commit | 5131a768c38eed19de983e15bbbfb69967f01091 (patch) | |
tree | b5259bf14c1fdc7435649cce24f477f9a5b1652a /src/gpu-compute | |
parent | 8b412fcfd6e7a97e4fdf184bf177e2418f2a9705 (diff) | |
download | gem5-5131a768c38eed19de983e15bbbfb69967f01091.tar.xz |
scons: Rewrite git style hook installer
The SCons script currently assumes that .git is a proper directory
with all git meta data. This isn't the case if the working directory
was checked out using git worktrees. In such case .git is a file with
meta data telling git where the repository data is stored.
This changeset updates changes the SConstruct file to rely on git
rev-parse to get the real git directory.
Change-Id: I3d0475eabc12e868193797067a88e540a9b6e927
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Diffstat (limited to 'src/gpu-compute')
0 files changed, 0 insertions, 0 deletions