Skip to content

Commit

Permalink
Load the py_XXX targets.
Browse files Browse the repository at this point in the history
Use the targets from `@rules_python//python:defs.bzl` rather than the
native targets (which are being deprecated).

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
  • Loading branch information
mithro committed Nov 12, 2023
1 parent 4bb184a commit 6a6daa9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cocotb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("@rules_python//python:defs.bzl", "py_binary")

py_binary(
name = "cocotb_wrapper",
srcs = ["cocotb_wrapper.py"],
Expand Down
1 change: 1 addition & 0 deletions pdk/liberty/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"""ASAP7 PDK Package"""

load("@rules_hdl_pip_deps//:requirements.bzl", "requirement")
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")

py_binary(
name = "combine_liberty",
Expand Down
1 change: 1 addition & 0 deletions vivado/tests/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_python//python:defs.bzl", "py_binary")
load("//verilator:defs.bzl", "verilator_cc_library")
load("//verilog:providers.bzl", "verilog_library")
load(
Expand Down

0 comments on commit 6a6daa9

Please sign in to comment.