Skip to content

Commit b4bae0d

Browse files
committed
fix(build): arduino-cli --build-cache-path deprecation
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 8523bfb commit b4bae0d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

CI/build/arduino-cli.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
search_path_list = []
3737
default_build_output_dir = tempdir / "build_arduinoCliOutput"
3838
build_output_dir = tempdir / f"build_arduinoCliOutput{build_id}"
39-
build_output_cache_dir = build_output_dir / "cache"
4039
root_output_dir = home / "Documents" / "arduinoCliOutput"
4140

4241
output_dir = Path("")
@@ -740,8 +739,6 @@ def genBasicCommand(b_name):
740739
# cmd.append("-warnings=all")
741740
cmd.append("--build-path")
742741
cmd.append(build_output_dir / b_name)
743-
cmd.append("--build-cache-path")
744-
cmd.append(build_output_cache_dir)
745742
if args.verbose:
746743
cmd.append("--verbose")
747744
cmd.append("--output-dir")
@@ -831,8 +828,6 @@ def build_all():
831828
):
832829
check_status(res, build_conf, boardKo, nb_build_conf)
833830
log_sketch_build_result(sketch, boardKo, boardSkipped)
834-
# Ensure no cache issue
835-
deleteFolder(build_output_cache_dir)
836831
log_final_result()
837832

838833

0 commit comments

Comments
 (0)