Skip to content

Commit 34b5f21

Browse files
author
Yang,Yin
authored
[BuildBot] Format build commands for CI test log (#1928)
Signed-off-by: yinyangsx <yin.yang@intel.com>
1 parent a6d03f3 commit 34b5f21

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

buildbot/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def do_check(args):
3030
args.test_suite,
3131
"-j", str(cpu_count)]
3232

33-
print(cmake_cmd)
33+
print("[Cmake Command]: {}".format(" ".join(cmake_cmd)))
3434

3535
env_tmp=os.environ
3636
env_tmp["LIT_ARGS"]="\"{}\"".format("-v")

buildbot/compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def do_compile(args):
3232
"deploy-opencl-aot",
3333
"-j", str(cpu_count)]
3434

35-
print(cmake_cmd)
35+
print("[Cmake Command]: {}".format(" ".join(cmake_cmd)))
3636

3737
subprocess.check_call(cmake_cmd, cwd=abs_obj_dir)
3838

buildbot/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def do_configure(args):
9797
# Add path to root CMakeLists.txt
9898
cmake_cmd.append(llvm_dir)
9999

100-
print(cmake_cmd)
100+
print("[Cmake Command]: {}".format(" ".join(cmake_cmd)))
101101

102102
try:
103103
subprocess.check_call(cmake_cmd, cwd=abs_obj_dir)

buildbot/dependency.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ def do_dependency(args):
7373
"-DCMAKE_INSTALL_PREFIX={}".format(install_dir),
7474
"-DOPENCL_ICD_LOADER_HEADERS_DIR={}".format(ocl_header_dir),
7575
".." ]
76+
77+
print("[Cmake Command]: {}".format(" ".join(cmake_cmd)))
78+
7679
subprocess.check_call(cmake_cmd, cwd=icd_build_dir)
7780

7881
env_tmp=os.environ

0 commit comments

Comments
 (0)