arch-hsail: changed shebang from python(3) to python2.7 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

Change-Id: I5a8bf9e730fd629eb7f9a7ac2dce928235a0dae4
Reviewed-by: Andrea Mondelli <>
Reviewed-by: Anthony Gutierrez <>
Maintainer: Anthony Gutierrez <>
1 file changed