File size: 1,058 Bytes
5cdf637
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
load("@rules_python//python:defs.bzl", "py_library")

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2025-2025, The OpenROAD Authors
load("@rules_python//python:packaging.bzl", "py_package", "py_wheel")
load("//test:regression.bzl", "regression_test")

package(features = ["layering_check"])

py_library(
    name = "openroadpy",
    srcs = [
        "__init__.py",
        "odb.py",
        "utl.py",
    ],
    imports = [".."],
    visibility = ["//visibility:public"],
    deps = [
        "//:openroad_py",
        "//src/odb:odb_py",
        "//src/utl:utl_py",
    ],
)

regression_test(
    name = "tech_lifecycle",
    check_log = False,
)

py_package(
    name = "openroad_pkg",
    deps = [
        ":openroadpy",
    ],
)

py_wheel(
    name = "openroad_wheel",
    abi = "abi3",
    distribution = "openroad",
    homepage = "https://github.com/The-OpenROAD-Project/OpenROAD",
    platform = "linux_x86_64",
    python_requires = ">=3.10",
    python_tag = "cp310",
    version = "0.0.1",
    deps = [
        ":openroad_pkg",
    ],
)