load("@rules_cc//cc:defs.bzl", "cc_binary")

package(default_visibility = ["//visibility:public"])

cc_binary(
    name = "libtorchtrt_plugins.so",
    srcs = [],
    linkshared = True,
    linkstatic = True,
    deps = [
        "//core/plugins:torch_tensorrt_plugins",
    ],
)

cc_binary(
    name = "libtorchtrt_runtime.so",
    srcs = [],
    linkshared = True,
    linkstatic = True,
    deps = [
        "//core/plugins:torch_tensorrt_plugins",
        "//core/runtime",
    ],
)

cc_binary(
    name = "libtorchtrt.so",
    srcs = [],
    linkshared = True,
    linkstatic = True,
    deps = [
        "//cpp:torch_tensorrt",
    ],
)

cc_binary(
    name = "torchtrt.dll",
    srcs = [],
    linkshared = True,
    linkstatic = True,
    deps = [
        "//cpp:torch_tensorrt",
    ],
)

cc_binary(
    name = "torchtrt_runtime.dll",
    srcs = [],
    linkshared = True,
    linkstatic = True,
    deps = [
        "//core/plugins:torch_tensorrt_plugins",
        "//core/runtime",
    ],
)
