From 694fc36581e6796d4dec5fef21f21b275a9aebf2 Mon Sep 17 00:00:00 2001 From: Pawel Czarnecki Date: Fri, 16 Feb 2024 11:30:12 +0000 Subject: [PATCH] _make scripts: include chmod +w over bazel-bin directory Signed-off-by: Pawel Czarnecki --- openroad.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openroad.bzl b/openroad.bzl index aa6523a7..676a6889 100644 --- a/openroad.bzl +++ b/openroad.bzl @@ -276,7 +276,7 @@ def build_openroad( Label("//:make_script.template.sh"), ] + all_sources, - cmd = "echo `cat $(location " + str(Label("//:make_script.template.sh")) + ")` " + " ".join(wrap_args(stage_args.get(stage, []))) + " \\\"$$\\@\\\" > $@", + cmd = "echo \"chmod -R +w . && \" `cat $(location " + str(Label("//:make_script.template.sh")) + ")` " + " ".join(wrap_args(stage_args.get(stage, []))) + " \\\"$$\\@\\\" > $@", outs = ["logs/" + platform + "/%s/%s/make_script_%s.sh" % (output_folder_name, variant, stage)], ) for stage in stages