3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-14 17:05:31 +00:00

Add linkmode --link

Symlinks files instead of copying them.
This commit is contained in:
Krystine Sherwin 2025-06-23 16:17:18 +12:00
parent b47d2829f9
commit 829b4cc32f
No known key found for this signature in database
3 changed files with 20 additions and 6 deletions

View file

@ -54,6 +54,7 @@ dump_taskinfo = args.dump_taskinfo
dump_files = args.dump_files
reusedir = False
setupmode = args.setupmode
linkmode = args.linkmode
autotune = args.autotune
autotune_config = args.autotune_config
sequential = args.sequential
@ -62,6 +63,10 @@ init_config_file = args.init_config_file
status_show = args.status
status_reset = args.status_reset
if autotune and linkmode:
print("ERROR: --link flag currently not available with --autotune")
sys.exit(1)
if status_show or status_reset:
target = workdir_prefix or workdir or sbyfile
if target is None:
@ -495,7 +500,7 @@ def start_task(taskloop, taskname):
task.exit_callback = exit_callback
if not autotune:
task.setup_procs(setupmode)
task.setup_procs(setupmode, linkmode)
task.task_local_abort = not throw_err
return task