forked from pytorch/TensorRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
33 lines (30 loc) · 755 Bytes
/
BUILD
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
load("@rules_cc//cc:defs.bzl", "cc_library")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "torch_tensorrt",
srcs = [
"src/compile_spec.cpp",
"src/logging.cpp",
"src/ptq.cpp",
"src/torch_tensorrt.cpp",
"src/types.cpp",
],
hdrs = [
"include/torch_tensorrt/logging.h",
"include/torch_tensorrt/macros.h",
"include/torch_tensorrt/ptq.h",
"include/torch_tensorrt/torch_tensorrt.h",
],
linkstatic = True,
strip_include_prefix = "include/",
deps = [
"//core",
"//core/ir",
"//core/util:prelude",
],
alwayslink = True,
)
filegroup(
name = "api_headers",
srcs = glob(["include/**/*.h"]),
)