-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBUILD
More file actions
35 lines (34 loc) · 722 Bytes
/
BUILD
File metadata and controls
35 lines (34 loc) · 722 Bytes
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
# Build shared library for the main project
cc_shared_library(
name = "openvx",
deps = [":corevx"],
visibility = ["//visibility:public"],
)
# Build library for the main project
cc_library(
name = "corevx",
srcs = glob([
"framework/src/*.cpp"
]),
hdrs = glob([
"include/**",
"framework/include/*.h*",
]),
includes = [
"include",
"framework/include"
],
linkopts = select({
"@platforms//os:osx": [
"-framework OpenCL",
],
"//conditions:default": [
"-lOpenCL",
],
}),
deps = [
"@libxml2",
"//kernels/nnef:nnef"
],
visibility = ["//visibility:public"],
)