Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding toolchain=None to ctx.actions.run targets. #220

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

mithro
Copy link
Member

@mithro mithro commented Nov 12, 2023

Fixes the following issue (and similar in bazel_rules_hdl/place_and_route/open_road.bzl)

tansell@tansell-top:/XXX/google3$ blaze build //third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route
ERROR: /XXX/google3/third_party/bazel_rules_hdl/synthesis/tests/BUILD:98:14: in synthesize_rtl rule //third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-synth:
Traceback (most recent call last):
        File "/XXX/google3/third_party/bazel_rules_hdl/synthesis/build_defs.bzl", line 144, column 20, in _synthesize_design_impl
                ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the toolchain parameter. If you're not using a toolchain, set it to 'None'.
ERROR: /XXX/google3/third_party/bazel_rules_hdl/synthesis/tests/BUILD:98:14: Analysis of target '//third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-synth' failed
ERROR: Analysis of target '//third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.198s, Critical Path: 0.01s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
ERROR: Build did NOT complete successfully

@mithro mithro requested a review from QuantamHD November 12, 2023 19:18
Fixes the following issue (and similar in `bazel_rules_hdl/place_and_route/open_road.bzl`)
```
tansell@tansell-top:/XXX/google3$ blaze build //third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route
ERROR: /XXX/google3/third_party/bazel_rules_hdl/synthesis/tests/BUILD:98:14: in synthesize_rtl rule //third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-synth:
Traceback (most recent call last):
        File "/XXX/google3/third_party/bazel_rules_hdl/synthesis/build_defs.bzl", line 144, column 20, in _synthesize_design_impl
                ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the toolchain parameter. If you're not using a toolchain, set it to 'None'.
ERROR: /XXX/google3/third_party/bazel_rules_hdl/synthesis/tests/BUILD:98:14: Analysis of target '//third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-synth' failed
ERROR: Analysis of target '//third_party/bazel_rules_hdl/synthesis/tests:verilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.198s, Critical Path: 0.01s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
ERROR: Build did NOT complete successfully
```

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
@mithro mithro merged commit 927884a into hdl:main Nov 13, 2023
4 checks passed
@mithro mithro deleted the toolchain-fix branch November 13, 2023 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants