Ryan Gambord has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/17008 )

Change subject: arch-hsail: changed gen.py shebang from python(3) to python2.7
......................................................................

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
<[email protected]>

Change-Id: I5a8bf9e730fd629eb7f9a7ac2dce928235a0dae4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17008
Reviewed-by: Andrea Mondelli <[email protected]>
Reviewed-by: Anthony Gutierrez <[email protected]>
Maintainer: Anthony Gutierrez <[email protected]>
---
M src/arch/hsail/gen.py
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Anthony Gutierrez: Looks good to me, approved; Looks good to me, approved
  Andrea Mondelli: Looks good to me, but someone else must approve



diff --git a/src/arch/hsail/gen.py b/src/arch/hsail/gen.py
index 23ce02e..8dcc92c 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.
 #

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/17008
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I5a8bf9e730fd629eb7f9a7ac2dce928235a0dae4
Gerrit-Change-Number: 17008
Gerrit-PatchSet: 3
Gerrit-Owner: Ryan Gambord <[email protected]>
Gerrit-Reviewer: Andrea Mondelli <[email protected]>
Gerrit-Reviewer: Anthony Gutierrez <[email protected]>
Gerrit-Reviewer: Ryan Gambord <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to