summaryrefslogtreecommitdiff
path: root/build_default.py
diff options
context:
space:
mode:
authorNina Drozd <nina.drozd@arm.com>2022-02-10 13:33:20 +0000
committerNina Drozd <nina.drozd@arm.com>2022-02-14 17:01:26 +0000
commit5916952c0fe6167989afa363829fc4e1d053c683 (patch)
treefb9ea988db72f8a6119dbe43c401f592716f50d9 /build_default.py
parented35a6fea4a1604db81c56fc71f7756822fcf212 (diff)
downloadml-embedded-evaluation-kit-5916952c0fe6167989afa363829fc4e1d053c683.tar.gz
MLECO-2853: update cmake flags for Armclang
* set CMP0123 policy to remove warning * remove parentheses to avoid assert is always true warning Change-Id: Ifcdf089183d750d7b00b345f5c4115c82d897def
Diffstat (limited to 'build_default.py')
-rwxr-xr-xbuild_default.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/build_default.py b/build_default.py
index 3971a05..c0cf8d1 100755
--- a/build_default.py
+++ b/build_default.py
@@ -72,8 +72,7 @@ def run(toolchain: str,
# 1. Make sure the toolchain is supported, and set the right one here
supported_toolchain_ids = ["gnu", "arm"]
- assert (toolchain in supported_toolchain_ids,
- f"Toolchain must be from {supported_toolchain_ids}")
+ assert toolchain in supported_toolchain_ids, f"Toolchain must be from {supported_toolchain_ids}"
if toolchain == "arm":
toolchain_file_name = "bare-metal-armclang.cmake"
elif toolchain == "gnu":