Skip to content

Commit a27ea0b

Browse files
committed
1
1 parent df29d93 commit a27ea0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/ci/bsp_buildings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ def build_bsp_cmake(bsp, scons_args=''):
119119
nproc = multiprocessing.cpu_count()
120120

121121
run_cmd('scons --target=cmake')
122-
os.mkdir(f'{rtt_root}/bsp/{bsp}/build')
123-
os.chdir(f'{rtt_root}/bsp/{bsp}/build')
122+
os.mkdir(f'{rtt_root}/bsp/{bsp}/cmake-build')
123+
os.chdir(f'{rtt_root}/bsp/{bsp}/cmake-build')
124124
run_cmd('cmake .. -G Ninja')
125125
_, res = run_cmd(f'ninja -j{nproc}')
126126

127127
if res != 0:
128128
success = False
129129

130-
build_dir = os.path.join(rtt_root, 'bsp', bsp, 'build')
130+
build_dir = os.path.join(rtt_root, 'bsp', bsp, 'cmake-build')
131131
shutil.rmtree(build_dir, ignore_errors=True)
132132
pkg_dir = os.path.join(rtt_root, 'bsp', bsp, 'packages')
133133
shutil.rmtree(pkg_dir, ignore_errors=True)

0 commit comments

Comments
 (0)