Skip to content

Commit f52ac66

Browse files
setrofimmarcbonnici
authored andcommitted
platform/gem5: always deploy m5 binary
m5 binaries are not properly versioned, so it is not possible to be sure that the one that is already present on the image has all the features needed by devlib. Thus always deploy and use our version.
1 parent eaafe6c commit f52ac66

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

devlib/platform/gem5.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,7 @@ def setup(self, target):
200200
"""
201201
Deploy m5 if not yet installed
202202
"""
203-
m5_path = target.get_installed('m5')
204-
if m5_path is None:
205-
m5_path = self._deploy_m5(target)
203+
m5_path = self._deploy_m5(target)
206204
target.conn.m5_path = m5_path
207205

208206
# Set the terminal settings for the connection to gem5

0 commit comments

Comments
 (0)