Skip to content

Commit 12a4cdc

Browse files
committed
Replace ipc_bridge with scrample code
This way, EBcLfSA and QNX use the same test code repository for the communication example. The documentation is updated, and all commands are double-checked.
1 parent 01bc5de commit 12a4cdc

File tree

18 files changed

+107
-1289
lines changed

18 files changed

+107
-1289
lines changed

.github/workflows/build_and_test_ebclfsa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
uses: actions/checkout@v4
3232

3333
- name: Build for EB corbos Linux for Safety Applications and run tests
34-
run: bazel build --config=aarch64 --spawn_strategy=local //example/ipc_bridge_hi_wrapper:run_example
34+
run: bazel build --config=aarch64 --spawn_strategy=local //scrample_integration:run
3535
working-directory: ./ebclfsa
3636

3737
- name: Upload test logs
3838
uses: actions/upload-artifact@v5
3939
with:
4040
name: test-logs
41-
path: ebclfsa/bazel-bin/example/ipc_bridge_hi_wrapper/*.log
41+
path: ebclfsa/bazel-bin/scrample_integration/*.log

ebclfsa/MODULE.bazel

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ module(
1919
compatibility_level = 0,
2020
)
2121

22-
bazel_dep(name = "rules_cc", version = "0.2.0")
22+
bazel_dep(name = "rules_cc", version = "0.2.1")
2323

24-
bazel_dep(name = "score_toolchains_gcc", version = "0.0.0", dev_dependency=True)
25-
git_override(
24+
bazel_dep(name = "score_toolchains_gcc", dev_dependency=True)
25+
git_override( # Elektrobit corbos Linux for Safety Applications needs a specific toolchain
2626
module_name = "score_toolchains_gcc",
2727
remote = "https://github.com/Elektrobit/eclipse-score_toolchains_gcc.git",
2828
commit = "fb009e490b9b8f28805d587f50d0bf6d885f3414",
@@ -49,20 +49,10 @@ gcc.warning_flags(
4949

5050
use_repo(gcc, "gcc_toolchain", "gcc_toolchain_gcc")
5151

52-
53-
bazel_dep(name = "rules_boost", repo_name = "com_github_nelhage_rules_boost")
54-
archive_override(
55-
module_name = "rules_boost",
56-
urls = ["https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz"],
57-
strip_prefix = "rules_boost-master",
58-
)
59-
60-
bazel_dep(name = "boost.program_options", version = "1.87.0")
61-
6252
bazel_dep(name = "score_baselibs")
6353
single_version_override(
6454
module_name = "score_baselibs",
65-
version = "0.1.3",
55+
version = "0.1.3", # part of 0.5.0-alpha release
6656
patch_strip = 1,
6757
patches = [
6858
"//patches:fix_hard_coded_amd64.patch",
@@ -71,12 +61,25 @@ single_version_override(
7161
bazel_dep(name = "score_communication")
7262
single_version_override(
7363
module_name = "score_communication",
74-
version = "0.1.1",
64+
version = "0.1.1", # part of 0.5.0-alpha release
7565
)
7666

77-
# git_override are not forwarded by bazel_dep, so we need to redefine it here
67+
bazel_dep(name = "score_scrample")
68+
single_version_override(
69+
module_name = "score_scrample",
70+
version = "0.1.0", # part of 0.5.0-alpha release
71+
)
72+
73+
# git_override is not forwarded by bazel_dep, so we need to redefine it here
7874
git_override(
7975
module_name = "trlc",
8076
remote = "https://github.com/bmw-software-engineering/trlc.git",
8177
commit = "650b51a47264a4f232b3341f473527710fc32669", # trlc-2.0.2 release
8278
)
79+
80+
# archive_override is not forwarded by bazel_dep, so we need to redefine it here
81+
archive_override(
82+
module_name = "rules_boost",
83+
urls = ["https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz"],
84+
strip_prefix = "rules_boost-master",
85+
)

ebclfsa/README.md

Lines changed: 58 additions & 49 deletions
Large diffs are not rendered by default.

ebclfsa/example/ipc_bridge/BUILD

Lines changed: 0 additions & 65 deletions
This file was deleted.

ebclfsa/example/ipc_bridge/assert_handler.cpp

Lines changed: 0 additions & 69 deletions
This file was deleted.

ebclfsa/example/ipc_bridge/assert_handler.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

ebclfsa/example/ipc_bridge/datatype.cpp

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)