[ci] silent pkgs --update when building bsp

This commit is contained in:
Meco Man 2023-12-25 22:45:47 +08:00
parent f06b0894c4
commit 0b8fbee344
1 changed files with 3 additions and 3 deletions

View File

@ -44,11 +44,11 @@ def build_bsp(bsp):
scons -C bsp/{bsp} --pyconfig-silent > /dev/null scons -C bsp/{bsp} --pyconfig-silent > /dev/null
cd {rtt_root}/bsp/{bsp} cd {rtt_root}/bsp/{bsp}
pkgs --update pkgs --update > /dev/null
pkgs --list pkgs --list
cd {rtt_root} cd {rtt_root}
scons -C bsp/{bsp} -j{nproc} --debug=time scons -C bsp/{bsp} -j{nproc}
cd {rtt_root}/bsp/{bsp} cd {rtt_root}/bsp/{bsp}
scons -c > /dev/null scons -c > /dev/null
@ -62,7 +62,7 @@ def build_bsp(bsp):
run_cmd(f'scons -C bsp/{bsp} --pyconfig-silent', output_info=False) run_cmd(f'scons -C bsp/{bsp} --pyconfig-silent', output_info=False)
os.chdir(f'{rtt_root}/bsp/{bsp}') os.chdir(f'{rtt_root}/bsp/{bsp}')
run_cmd('pkgs --update') run_cmd('pkgs --update', output_info=False)
run_cmd('pkgs --list') run_cmd('pkgs --list')
nproc = multiprocessing.cpu_count() nproc = multiprocessing.cpu_count()