Review Board 2.0.15


swig: Fix issue with circular import in 2.0.9/2.0.10

Review Request #2003 - Created Sept. 6, 2013 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9856:5222bd5462f2
---------------------------
swig: Fix issue with circular import in 2.0.9/2.0.10

This patch fixes an issue which prevented gem5 from running when built
using swig 2.0.9 and 2.0.10. The generated event.py tried to import
m5.internal which in turn relied on importing event. This patch seems
to fix the problem, and so far has not caused any other issues.
Built on Ubuntu 10.04, RHE5, Fedora 19, Fedora RawHide, OpenSuse 12.3, OSX 10.8, with clang 3.2, 3.3, gcc 4.7, 4.8 and swig 2.0.4 and 2.0.9 and 2.0.10
Review request changed
Updated (Sept. 18, 2013, 5:49 a.m.)

Status: Closed (submitted)