changeset 188393fbc381 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=188393fbc381
description:
        scons: import ply to work around scons sys.path weirdness

diffstat:

1 file changed, 3 insertions(+)
src/arch/SConscript |    3 +++

diffs (13 lines):

diff -r 5af4976c17e2 -r 188393fbc381 src/arch/SConscript
--- a/src/arch/SConscript       Sun Feb 28 19:28:09 2010 -0800
+++ b/src/arch/SConscript       Wed Mar 10 15:39:34 2010 -0800
@@ -107,6 +107,9 @@
 
 ARCH_DIR = Dir('.')
 
+# import ply here because SCons screws with sys.path when performing actions.
+import ply
+
 def isa_desc_action(target, source, env):
     # Add the current directory to the system path so we can import files
     sys.path[0:0] = [ ARCH_DIR.srcnode().abspath ]
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to