Skip to content

Commit

Permalink
WIP: re-download riscv_gcc for new docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Jan 4, 2024
1 parent f93f74f commit df0557c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlonmcu/setup/tasks/riscv_gcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ def _helper(url):
riscvFileName = f"riscv64-unknown-elf-gcc-{riscvVersion}-{riscvDist}"
riscvFileExtension = "tar.gz"
riscvArchive = riscvFileName + "." + riscvFileExtension
# if rebuild or not utils.is_populated(riscvInstallDir):
# rebuild should only be triggered if the version/url changes but we can not detect that at the moment
if not utils.is_populated(riscvInstallDir):
# if not utils.is_populated(riscvInstallDir):
if rebuild or not utils.is_populated(riscvInstallDir):
utils.download_and_extract(riscvUrl, riscvArchive, riscvInstallDir, progress=verbose)
multilib = user_vars.get("riscv_gcc.multilib", None)
default_multilib = user_vars.get("riscv_gcc.default_multilib", None)
Expand Down

0 comments on commit df0557c

Please sign in to comment.