misc: Add v22.0.0.1 hotfix
This hotfix fixes a bad import in src/python/gem5/components/processors/simple_core.py
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
# Version 22.0.0.1
|
||||
|
||||
**[HOTFIX]** Fixes relative import in "src/python/gem5/components/processors/simple_core.py".
|
||||
|
||||
The import `from python.gem5.utils.requires import requires` in v22.0.0.0 of gem5 is incorrect as it causes problems when executing gem5 binaries in certain directories (`python` isn't necessary included).
|
||||
To resolve this, this import has been changed to `from ...utils.requires imports requires`.
|
||||
This should work in all supported use-cases.
|
||||
|
||||
# Version 22.0.0.0
|
||||
|
||||
gem5 version 22.0 has been slightly delayed, but we a have a very strong release!
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from typing import Optional
|
||||
from python.gem5.utils.requires import requires
|
||||
from ...utils.requires import requires
|
||||
from ..processors.abstract_core import AbstractCore
|
||||
|
||||
from .cpu_types import CPUTypes
|
||||
|
||||
Reference in New Issue
Block a user