Skip to content

Commit

Permalink
openroad.bzl: Avoid copying source files to the output
Browse files Browse the repository at this point in the history
Signed-off-by: Illia Vysochyn <ivysochyn@antmicro.com>
  • Loading branch information
ivysochyn committed Aug 7, 2024
1 parent 552ac76 commit a32d14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openroad.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def _make_impl(ctx, stage, steps, result_names = [], object_names = [], log_name
template = ctx.file._deploy_template,
output = exe,
substitutions = {
"${GENFILES}": " ".join([f.short_path for f in [config_short] + results + ctx.files.src + ctx.files.data]),
"${GENFILES}": " ".join([f.short_path for f in [config_short] + results + ctx.files.data]),
"${CONFIG}": config_short.short_path,
"${MAKE}": make.short_path,
},
Expand All @@ -644,7 +644,7 @@ def _make_impl(ctx, stage, steps, result_names = [], object_names = [], log_name
),
runfiles = ctx.runfiles(
[config_short, make, ctx.executable._openroad, ctx.executable._klayout, ctx.file._makefile] +
results + ctx.files.src + ctx.files.data + ctx.files._tcl + ctx.files._opengl + ctx.files._qt_plugins + ctx.files._gio_modules,
results + ctx.files.data + ctx.files._tcl + ctx.files._opengl + ctx.files._qt_plugins + ctx.files._gio_modules,
transitive_files = depset(transitive = transitive_inputs),
),
),
Expand Down

0 comments on commit a32d14c

Please sign in to comment.