summaryrefslogtreecommitdiff
path: root/build_default.py
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2021-05-27 13:57:35 +0100
committerIsabella Gottardi <isabella.gottardi@arm.com>2021-05-27 16:27:44 +0100
commitb9e9c899dcbbe35cac72bceb117ae4ec56494d81 (patch)
tree5984a5ba1453c09e55094f9971e0b244169287a6 /build_default.py
parent698c5a7316044c64ed98500a9a602554c69c9f3f (diff)
downloadml-embedded-evaluation-kit-b9e9c899dcbbe35cac72bceb117ae4ec56494d81.tar.gz
MLECO-1943: Documentation review
Major update for the documentation. Also, a minor logging change in helper scripts. Change-Id: Ia79f78a45c9fa2d139418fbc0ca9e52245704ba3
Diffstat (limited to 'build_default.py')
-rwxr-xr-xbuild_default.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/build_default.py b/build_default.py
index 3bb91b1..e4aa59d 100755
--- a/build_default.py
+++ b/build_default.py
@@ -38,8 +38,6 @@ def run(toolchain: str, download_resources: bool, run_vela_on_models: bool):
"""
current_file_dir = os.path.dirname(os.path.abspath(__file__))
- logging.basicConfig(filename='log_build_default.log', level=logging.DEBUG)
- logging.getLogger().addHandler(logging.StreamHandler(sys.stdout))
# 1. Make sure the toolchain is supported, and set the right one here
supported_toolchain_ids = ["gnu", "arm"]
@@ -105,4 +103,8 @@ if __name__ == '__main__':
help="Do not run Vela optimizer on downloaded models.",
action="store_true")
args = parser.parse_args()
+
+ logging.basicConfig(filename='log_build_default.log', level=logging.DEBUG)
+ logging.getLogger().addHandler(logging.StreamHandler(sys.stdout))
+
run(args.toolchain.lower(), not args.skip_download, not args.skip_vela)