@@ -15,6 +15,71 @@ module(
1515 version = "0.1" ,
1616)
1717
18+ bazel_dep (name = "communication" , version = "1.0.0" )
19+ git_override (
20+ module_name = "communication" ,
21+ commit = "044b251136c87d4281dcdeaa5626d76546c1947f" ,
22+ remote = "https://github.com/eclipse-score/communication.git" ,
23+ )
24+
25+ bazel_dep (name = "rules_boost" , repo_name = "com_github_nelhage_rules_boost" )
26+ archive_override (
27+ module_name = "rules_boost" ,
28+ strip_prefix = "rules_boost-master" ,
29+ urls = ["https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz" ],
30+ )
31+
32+ bazel_dep (name = "boost.program_options" , version = "1.87.0" )
33+ bazel_dep (name = "trlc" , version = "0.0.0" )
34+ git_override (
35+ module_name = "trlc" ,
36+ commit = "650b51a47264a4f232b3341f473527710fc32669" , # trlc-2.0.2 release
37+ remote = "https://github.com/bmw-software-engineering/trlc.git" ,
38+ )
39+
40+ bazel_dep (name = "score_toolchains_gcc" , version = "0.4" , dev_dependency = True )
41+
42+ gcc = use_extension ("@score_toolchains_gcc//extentions:gcc.bzl" , "gcc" , dev_dependency = True )
43+ gcc .toolchain (
44+ sha256 = "457f5f20f57528033cb840d708b507050d711ae93e009388847e113b11bf3600" ,
45+ strip_prefix = "x86_64-unknown-linux-gnu" ,
46+ url = "https://github.com/eclipse-score/toolchains_gcc_packages/releases/download/0.0.1/x86_64-unknown-linux-gnu_gcc12.tar.gz" ,
47+ )
48+
49+ # TODO to be moved to toolchain. https://github.com/eclipse-score/toolchains_gcc/issues/11
50+ gcc .extra_features (
51+ features = [
52+ "minimal_warnings" ,
53+ "treat_warnings_as_errors" ,
54+ ],
55+ )
56+ gcc .warning_flags (
57+ minimal_warnings = [
58+ "-Wall" ,
59+ "-Wno-error=deprecated-declarations" ,
60+ ],
61+ strict_warnings = [
62+ "-Wextra" ,
63+ "-Wpedantic" ,
64+ ],
65+ treat_warnings_as_errors = ["-Werror" ],
66+ )
67+ use_repo (gcc , "gcc_toolchain" , "gcc_toolchain_gcc" )
68+
69+ bazel_dep (name = "score-baselibs" , version = "0.0.0" )
70+ git_override (
71+ module_name = "score-baselibs" ,
72+ commit = "f02d7f427df1968df8d5f9f9aa85bf68baeb839e" ,
73+ remote = "https://github.com/eclipse-score/baselibs.git" ,
74+ )
75+
76+ bazel_dep (name = "score_crates" , version = "1.0.0" )
77+ git_override (
78+ module_name = "score_crates" ,
79+ commit = "6031e8c018da76b108f0f9c3772b0c535125ac28" ,
80+ remote = "https://github.com/eclipse-score/score-crates.git" ,
81+ )
82+
1883bazel_dep (name = "rules_python" , version = "1.4.1" )
1984
2085PYTHON_VERSION = "3.12"
@@ -24,7 +89,6 @@ python.toolchain(
2489 is_default = True ,
2590 python_version = PYTHON_VERSION ,
2691)
27- use_repo (python )
2892
2993# Add GoogleTest dependency
3094bazel_dep (name = "googletest" , version = "1.17.0" )
@@ -54,26 +118,3 @@ rust.toolchain(
54118 versions = [RUST_VERSION ],
55119)
56120use_repo (rust , "rust_toolchains" )
57-
58- crate = use_extension ("@rules_rust//crate_universe:extensions.bzl" , "crate" )
59- crate .from_cargo (
60- name = "cargo" ,
61- cargo_lockfile = "//:Cargo.lock" ,
62- manifests = [
63- "//:Cargo.toml" ,
64- "//examples/rust/cycle-benchmark:Cargo.toml" ,
65- "//examples/rust/mini-adas:Cargo.toml" ,
66- "//feo:Cargo.toml" ,
67- "//feo-com:Cargo.toml" ,
68- "//feo-cpp-build:Cargo.toml" ,
69- "//feo-cpp-macros:Cargo.toml" ,
70- "//feo-log:Cargo.toml" ,
71- "//feo-logger:Cargo.toml" ,
72- "//feo-time:Cargo.toml" ,
73- "//feo-tracer:Cargo.toml" ,
74- "//feo-tracing:Cargo.toml" ,
75- "//logd:Cargo.toml" ,
76- "//perfetto-model:Cargo.toml" ,
77- ],
78- )
79- use_repo (crate , "cargo" )
0 commit comments