Skip to content

Commit

Permalink
fix creation of test base directory on android
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadh committed Dec 7, 2021
1 parent 28db608 commit f87f51d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/tvm/contrib/hexagon/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def android_run_rpc(
rpc_tracker_port : int
RPC tracker port on host
"""
# Create test base directory
subprocess.check_call(self._adb_device_sub_cmd + ["shell", "mkdir", "-p", ANDROID_HEXAGON_TEST_BASE_DIR])

# Check size of base directory and cleanup if needed
while self._get_workspace_size() > self._workspace_max_size_mb:
self._workspace_remove_latest()
Expand Down

0 comments on commit f87f51d

Please sign in to comment.