From 63d874624a39052a7cad4622952381f5acd7d9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Hovind?= Date: Wed, 16 Oct 2024 14:37:00 +0200 Subject: [PATCH] openroad.bzl: Move lefs and libs to runfiles --- openroad.bzl | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/openroad.bzl b/openroad.bzl index c5bc06a2..aa35028a 100644 --- a/openroad.bzl +++ b/openroad.bzl @@ -839,17 +839,15 @@ def _make_impl(ctx, stage, steps, forwarded_names = [], result_names = [], objec return [ DefaultInfo( executable = exe, - files = depset( - forwards + results + reports, - transitive = [ - ctx.attr.src[OrfsInfo].additional_gds, - ctx.attr.src[OrfsInfo].additional_lefs, - ctx.attr.src[OrfsInfo].additional_libs, - ], - ), + files = depset(forwards + results + reports), runfiles = ctx.runfiles( [config_short, make] + forwards + results + logs + reports + ctx.files.extra_configs, + transitive_files = depset(transitive = [ + ctx.attr.src[OrfsInfo].additional_gds, + ctx.attr.src[OrfsInfo].additional_lefs, + ctx.attr.src[OrfsInfo].additional_libs, + ]), ), ), OutputGroupInfo(