summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Gambord <gambordr@oregonstate.edu>2019-03-06 23:17:43 -0800
committerRyan Gambord <gambordr@oregonstate.edu>2019-03-11 22:13:24 +0000
commit7fd818f2b843a2810270da124d3441f836ca5e5f (patch)
tree984debd359631ddde0537d1852ccb9223202999d /src
parent6d67e86a1b5241117a4e311de7bcf58512b90aa0 (diff)
downloadgem5-7fd818f2b843a2810270da124d3441f836ca5e5f.tar.xz
arch-hsail: changed gen.py shebang from python(3) to python2.7
gen.py includes code_formatter from m5.util. code_formatter uses the python2 __metaclass__ attribute, which is ignored by python3, causing the code_formatter.pattern attribute to be unset. This prevented scons from building against HSAIL_X86 Signed-off-by: Ryan Gambord <gambordr@oregonstate.edu> Change-Id: I5a8bf9e730fd629eb7f9a7ac2dce928235a0dae4 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17008 Reviewed-by: Andrea Mondelli <Andrea.Mondelli@ucf.edu> Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/arch/hsail/gen.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/arch/hsail/gen.py b/src/arch/hsail/gen.py
index 23ce02e87..8dcc92c7b 100755
--- a/src/arch/hsail/gen.py
+++ b/src/arch/hsail/gen.py
@@ -1,6 +1,4 @@
-#! /usr/bin/python
-
-#
+#!/usr/bin/env python2.7
# Copyright (c) 2015 Advanced Micro Devices, Inc.
# All rights reserved.
#