forked from eclipse-score/communication
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
53 lines (46 loc) · 1.82 KB
/
Copy pathMODULE.bazel
File metadata and controls
53 lines (46 loc) · 1.82 KB
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
46
47
48
49
50
51
52
53
bazel_dep(name = "score_communication", version = "0.0.0")
local_path_override(
module_name = "score_communication",
path = "..",
)
bazel_dep(name = "rules_cc", version = "0.1.5")
bazel_dep(name = "score_baselibs", version = "0.2.7")
git_override(
module_name = "score_baselibs",
# Required until a new release of baselibs is available that includes the tracing API
commit = "a0bae98d65bda42e02d3d5732a55895e1a66cdaa",
remote = "https://github.com/eclipse-score/baselibs.git",
)
# Needed because we do not have a current release of score_tooling (as we are in dev phase of safety sentinel)
git_override(
module_name = "score_tooling",
commit = "549c7ee315cfbc27a42247b11cb70c953eac75dc",
remote = "https://github.com/eclipse-score/tooling.git",
)
# Needed because of score_tooling not defining yet as dependency
git_override(
module_name = "trlc",
commit = "3a71fd56001b95dfbb5270a49449ec0a631cd56c", #TRLC 2.0.4
remote = "https://github.com/bmw-software-engineering/trlc.git",
)
git_override(
module_name = "lobster",
commit = "d528fbdec2cd72ff7967b51546fb0bd935810258",
remote = "https://github.com/bmw-software-engineering/lobster.git",
)
# Only required to build the example, shall be replaceable with nearly every other C++ Toolchain setup
bazel_dep(name = "score_bazel_platforms", version = "0.1.2", dev_dependency = True)
bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.3.0", dev_dependency = True)
score_gcc = use_extension("@score_bazel_cpp_toolchains//extensions:gcc.bzl", "gcc", dev_dependency = True)
score_gcc.toolchain(
name = "score_gcc_x86_64_toolchain",
target_cpu = "x86_64",
target_os = "linux",
use_base_constraints_only = True,
use_default_package = True,
version = "12.2.0",
)
use_repo(
score_gcc,
"score_gcc_x86_64_toolchain",
)