Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadh committed May 19, 2021
1 parent 961a279 commit b560a8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/tvm/micro/build.py
Expand Up @@ -107,7 +107,7 @@ def get_standalone_crt_lib(name: str) -> str:


def get_runtime_libs(runtime: str) -> str:
"""Return abspath to all CRT directories in link order which contain
"""Return abspath to all CRT directories in link order which contain
source (i.e. not header) files.
"""
if runtime == "host-driven":
Expand Down
5 changes: 3 additions & 2 deletions tests/micro/zephyr/test_zephyr.py
Expand Up @@ -69,8 +69,9 @@ def _make_session(model, target, zephyr_board, west_cmd, mod):
parent_dir = os.path.dirname(__file__)
filename = os.path.splitext(os.path.basename(__file__))[0]
prev_build = f"{os.path.join(parent_dir, 'archive')}_{filename}_{zephyr_board}_last_build.micro"
workspace_root = (
os.path.join(f"{os.path.join(parent_dir, 'workspace')}_{filename}_{zephyr_board}", datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%S"))
workspace_root = os.path.join(
f"{os.path.join(parent_dir, 'workspace')}_{filename}_{zephyr_board}",
datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%S"),
)
workspace_parent = os.path.dirname(workspace_root)
if not os.path.exists(workspace_parent):
Expand Down
5 changes: 3 additions & 2 deletions tests/micro/zephyr/test_zephyr_aot.py
Expand Up @@ -61,8 +61,9 @@ def _build_session_kw(model, target, zephyr_board, west_cmd, mod, runtime_path):
parent_dir = os.path.dirname(__file__)
filename = os.path.splitext(os.path.basename(__file__))[0]
prev_build = f"{os.path.join(parent_dir, 'archive')}_{filename}_{zephyr_board}_last_build.micro"
workspace_root = (
os.path.join(f"{os.path.join(parent_dir, 'workspace')}_{filename}_{zephyr_board}", datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%S"))
workspace_root = os.path.join(
f"{os.path.join(parent_dir, 'workspace')}_{filename}_{zephyr_board}",
datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%S"),
)
workspace_parent = os.path.dirname(workspace_root)
if not os.path.exists(workspace_parent):
Expand Down

0 comments on commit b560a8a

Please sign in to comment.