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
|
licenses(["notice"]) # 3-Clause BSD
exports_files(["license.txt"])
filegroup(
name = "LICENSE",
srcs = [
"license.txt",
],
visibility = ["//visibility:public"],
)
cc_library(
name = "ngraph_core",
srcs = glob([
"src/ngraph/*.cpp",
"src/ngraph/autodiff/*.cpp",
"src/ngraph/builder/*.cpp",
"src/ngraph/descriptor/*.cpp",
"src/ngraph/descriptor/layout/*.cpp",
"src/ngraph/op/*.cpp",
"src/ngraph/op/util/*.cpp",
"src/ngraph/pattern/*.cpp",
"src/ngraph/pattern/*.hpp",
"src/ngraph/pass/*.cpp",
"src/ngraph/pass/*.hpp",
"src/ngraph/runtime/*.cpp",
"src/ngraph/type/*.cpp",
"src/ngraph/runtime/interpreter/*.cpp",
"src/ngraph/runtime/interpreter/*.hpp",
]),
hdrs = glob(["src/ngraph/**/*.hpp"]),
deps = [
"@eigen_archive//:eigen",
"@nlohmann_json_lib",
],
copts = [
"-I external/ngraph/src",
"-I external/nlohmann_json_lib/include/",
'-D SHARED_LIB_EXT=\\".so\\"',
'-D NGRAPH_VERSION=\\"0.5.0\\"',
],
visibility = ["//visibility:public"],
alwayslink=1
)
|