-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
37 lines (32 loc) · 878 Bytes
/
BUILD
File metadata and controls
37 lines (32 loc) · 878 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
36
37
load(":cc_toolchain_config.bzl", "cc_toolchain_config")
filegroup(name = "empty")
cc_toolchain(
name = "k8_toolchain",
all_files = ":empty",
compiler_files = ":empty",
dwp_files = ":empty",
linker_files = ":empty",
objcopy_files = ":empty",
strip_files = ":empty",
supports_param_files = 0,
toolchain_config = ":k8_toolchain_config",
toolchain_identifier = "k8-toolchain",
)
cc_toolchain_config(name = "k8_toolchain_config")
toolchain(
name = "k8_platform_toolchain",
exec_compatible_with = [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
target_compatible_with = [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
toolchain = ":k8_toolchain",
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
)
cc_binary(
name = "main",
srcs = ["main.cpp"],
)