From ea12bad179cab18482ed6c181e4395da4aefd4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Sat, 1 Feb 2025 09:03:41 +0100 Subject: [PATCH] orfs_sweep: cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit avoid target spamming by making reporting a separate concern, with orfs_ppa() being an example Signed-off-by: Øyvind Harboe --- sweep.bzl | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/sweep.bzl b/sweep.bzl index 1a15738..d37a9f7 100644 --- a/sweep.bzl +++ b/sweep.bzl @@ -125,40 +125,3 @@ def orfs_sweep( srcs = [name + "_" + ("" if variant == "base" else variant + "_") + "cts" for variant in sweep], visibility = visibility, ) - - native.genrule( - name = name + "_wns_report", - srcs = [ - Label(":wns_report.py"), - name + "_sweep.json", - ] + [":" + name + "_" + variant + ".txt" for variant in sweep] + - [":" + name + "_" + variant + "_logs" for variant in sweep], - outs = [name + "_wns_report.md"], - cmd = ( - "$(location " + str(Label(":wns_report.py")) + ") > $@" + - " $(location :" + name + "_sweep.json)" - ), - visibility = visibility, - ) - - native.filegroup( - name = name + "_repair_logs", - srcs = [ - ":" + name + "_" + ("" if variant == "base" else variant + "_") + stage - for stage in sweep_json["stages"] - for variant in sweep - ], - output_group = "logs", - visibility = visibility, - ) - - native.genrule( - name = name + "_plot_repair", - tools = ["@bazel-orfs//:plot_repair"], - srcs = [ - name + "_repair_logs", - ], - outs = [name + "_retiming.pdf"], - cmd = "$(execpath @bazel-orfs//:plot_repair) $(location " + name + "_retiming.pdf) $(locations " + name + "_repair_logs)", - visibility = visibility, - )