forked from uxlfoundation/oneDAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
41 lines (40 loc) · 1.27 KB
/
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
34
35
36
37
38
39
40
41
load("@onedal//dev/bazel:release.bzl",
"release",
"release_include",
)
release(
name = "release",
include = [
release_include(
hdrs = [ "@onedal//cpp/daal:public_includes" ],
skip_prefix = "cpp/daal/include",
),
release_include(
hdrs = [ "@onedal//cpp/daal:kernel_defines" ],
add_prefix = "services/internal",
),
release_include(
hdrs = [ "@onedal//cpp/oneapi/dal:public_includes" ],
skip_prefix = "cpp",
),
],
lib = [
"@onedal//cpp/daal:core_static",
"@onedal//cpp/daal:thread_static",
"@onedal//cpp/daal:core_dynamic",
"@onedal//cpp/daal:thread_dynamic",
"@onedal//cpp/oneapi/dal:static",
"@onedal//cpp/oneapi/dal:dynamic",
"@onedal//cpp/oneapi/dal:static_parameters",
"@onedal//cpp/oneapi/dal:dynamic_parameters",
] + select({
"@config//:release_dpc_enabled": [
"@onedal//cpp/oneapi/dal:static_dpc",
"@onedal//cpp/oneapi/dal:dynamic_dpc",
"@onedal//cpp/oneapi/dal:static_parameters_dpc",
"@onedal//cpp/oneapi/dal:dynamic_parameters_dpc",
# TODO: Add onedal_sycl
],
"//conditions:default": [],
}),
)