Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick netlink retries commit from upstream #13

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
98e9062
Compatibility with older versions is not required
fynnwilliam Jun 26, 2022
0c4d18b
Use reference to prevent copying
fynnwilliam Jun 26, 2022
44be74e
Merge pull request #356 from fynnwilliam/master
lutzbichler Sep 22, 2022
11447b2
vsomeip 3.1.37.1 (#414)
DiogoPedrozza Mar 3, 2023
b9e1b76
Fix timestamp format of log message (#411)
fscr Mar 3, 2023
fc73f40
fix Android.bp error (#413)
BarleyXu Mar 3, 2023
826ebb8
vsomeip 3.3.0
DiogoPedrozza Mar 9, 2023
1b42780
Merge pull request #416 from COVESA/update_3.3.0
DiogoPedrozza Mar 13, 2023
166ade1
Fix typo in application_impl.cpp (#419)
eltociear Mar 14, 2023
331b71e
Update load_balancing_option_impl.cpp (#423)
Jimmy-drod Mar 20, 2023
819ca58
Fix format specifier in memory_log_timer_cbk (#429)
fscr Apr 14, 2023
b0dc412
isolate boost (#451)
pdodzweit May 25, 2023
0ba13d3
Remove redundant ostream manipulators (#444)
fietzero May 25, 2023
80716c6
vsomeip 3.3.5.1 (#454)
DiogoPedrozza Jun 2, 2023
ebb5312
vsomeip 3.3.6 (#455)
DiogoPedrozza Jun 5, 2023
2ea712c
vsomeip 3.3.7 (#457)
DiogoPedrozza Jun 5, 2023
0746484
vsomeip 3.3.8
DiogoPedrozza Jun 5, 2023
9d8aa22
Correction of interface description comments (#464)
green-hand-Xu Jun 14, 2023
6e699b5
typo in application.hpp (#471)
reymor Jun 19, 2023
7bf0057
do not instantiate a non existent type for boost < 1.66.0 (#470)
sebastianbergt Jun 26, 2023
e9d63d5
changed cmake_minimum_required to 3.13 which supports target_link_opt…
reymor Jul 7, 2023
4411e49
deleted unused param _use_exclusive_proxy (#478)
reymor Sep 8, 2023
655bb34
removed class ipv3_option_impl and class ipv6_option_impl (message_i…
ziyangfu Sep 11, 2023
538f9fc
Add support for QNX 7.1 (#447)
chachoi Oct 2, 2023
91805d8
vsomeip 3.4.9-r1 (#529)
DiogoPedrozza Oct 23, 2023
3230caf
Fix IPv6 SD (#462)
Oct 23, 2023
6e40119
Allow service_discovery to continue without random_device (#479)
kheaactua Nov 6, 2023
bc87c0a
Fix availability handler sending false on offer (#510)
doschropa Nov 7, 2023
bca70b6
Documentation update (#558)
maosltr Nov 10, 2023
70d59ed
Add gtest to Fetch content #550 (#551)
pgawro Nov 10, 2023
02c199d
vSomeIP-Lib 3.4.10 (#582)
DiogoPedrozza Nov 29, 2023
a495be4
Add Bazel build and adapt CMake for our CI
Jun 1, 2023
4188851
Port to QNX (no tests yet)
Jun 28, 2023
cc903e8
Merge pull request #12 from ApexAI/rebase_apex_release_on_3_4_10
milancpp Jan 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
45 changes: 45 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
build --experimental_cc_shared_library
build --experimental_cc_implementation_deps
build --cxxopt "-std=c++17"

# Enable new platform resolution for C/+++
build --incompatible_enable_cc_toolchain_resolution

# Be strict on environment variables passed
build --incompatible_strict_action_env

## Address sanitizer
build:asan --define SANITIZERS_ASAN_ON=true
build:asan --copt="-fsanitize=address"
build:asan --copt="-no-canonical-prefixes"
build:asan --copt="-fno-omit-frame-pointer"
build:asan --copt="-fno-sanitize-recover"
build:asan --copt="-DADDRESS_SANITIZER"
build:asan --linkopt="-fsanitize=address"
build:asan --strip=never
build:asan --action_env=ASAN_OPTIONS=detect_leaks=1:color=always
build:asan --action_env=LSAN_OPTIONS="report_objects=1"
build:asan --cc_output_directory_tag=asan

## Thread sanitizer
build:tsan --define SANITIZERS_TSAN_ON=true
build:tsan --copt="-fsanitize=thread"
build:tsan --copt="-fno-omit-frame-pointer"
build:tsan --copt="-fno-sanitize-recover"
build:tsan --copt="-DTHREAD_SANITIZER"
build:tsan --linkopt="-fsanitize=thread"
build:tsan --strip=never
build:tsan --action_env=TSAN_OPTIONS="report_objects=1"
build:tsan --cc_output_directory_tag=tsan

## UndefinedBehavior sanitizer
build:ubsan --define SANITIZERS_UBSAN_ON=true
build:ubsan --copt="-fsanitize=undefined"
build:ubsan --copt="-fno-omit-frame-pointer"
build:ubsan --copt="-fno-sanitize-recover"
build:ubsan --copt="-DUNDEFINED_BEHAVIOR_SANITIZER"
build:ubsan --linkopt="-fsanitize=undefined"
build:ubsan --linkopt="-lubsan"
build:ubsan --strip=never
build:ubsan --action_env=UBSAN_OPTIONS="halt_on_error=1:print_stacktrace=1"
build:ubsan --cc_output_directory_tag=ubsan
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.3.2
2 changes: 1 addition & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: [ubuntu-18.04]
runs-on: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2
Expand Down
272 changes: 170 additions & 102 deletions .gitignore

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
172 changes: 66 additions & 106 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
libvsomeip_srcs = [
"implementation/endpoints/**/*.cpp",
"implementation/logging/**/*.cpp",
"implementation/logger/**/*.cpp",
"implementation/tracing/**/*.cpp",
"implementation/message/**/*.cpp",
"implementation/routing/**/*.cpp",
"implementation/runtime/**/*.cpp",
"implementation/utility/**/*.cpp",
"implementation/plugin/**/*.cpp",
"implementation/protocol/**/*.cpp",
"implementation/security/**/*.cpp",
"implementation/logger/**/*.cpp",
]

libvsomeip_compat_srcs = [
"implementation/compat/message/src/*.cpp",
"implementation/compat/runtime/src/*.cpp",
]

libvsomeip_cfg_srcs = [
Expand All @@ -26,19 +31,8 @@ libvsomeip_sd_srcs = [
cc_defaults {
name: "vsomeip_defaults",

header_libs: [
"libboost_headers",
],

local_include_dirs: [
"interface",
"implementation/helper/1.70",
],

rtti: true,

cppflags: [
"-std=c++11",
"-std=c++14",
"-fexceptions",
"-Wno-non-virtual-dtor",
"-Wno-unused-const-variable",
Expand All @@ -51,7 +45,25 @@ cc_defaults {
"-Wno-format",
"-Wno-header-guard",
"-Wno-overloaded-virtual",
"-Wno-implicit-fallthrough"
"-Wno-implicit-fallthrough",
"-Wno-error",
"-Wno-shorten-64-to-32",
"-D_GTHREAD_USE_MUTEX_INIT_FUNC",
"-D_GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC",
]
}

cc_defaults {
name: "vsomeip_lib_defaults",

cflags: [
"-DVSOMEIP_BOOST_VERSION=107100",
"-DVSOMEIP_INTERNAL_SUPPRESS_DEPRECATED",
],

local_include_dirs: [
"interface",
"implementation/helper"
]
}

Expand All @@ -62,53 +74,52 @@ cc_library_shared {
srcs: libvsomeip_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

cflags: [
"-DWITHOUT_SYSTEMD"
"-DWITHOUT_SYSTEMD",
"-DVSOMEIP_VERSION=\"3.4.10\"",
"-DVSOMEIP_COMPAT_VERSION=\"3.4.10\"",
"-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\"",
"-DUSE_DLT",
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
ldflags: [
"-Wl,-wrap,socket",
"-Wl,-wrap,accept",
"-Wl,-wrap,open"
],

rtti: true,

export_include_dirs: [
"interface"
"interface"
],

static_libs: [
shared_libs: [
"libboost_system",
"libboost_thread",
"libboost_filesystem",
],

shared_libs: [
"liblog",
"libutils"
]
}

cc_library_shared {
name: "libvsomeip3-cfg",
name: "libvsomeip_cfg",
vendor: true,

srcs: libvsomeip_cfg_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
],

shared_libs: [
"libvsomeip3",
"libboost_system",
Expand All @@ -117,112 +128,61 @@ cc_library_shared {
}

cc_library_shared {
name: "libvsomeip3-e2e",
name: "libvsomeip_e2e",
vendor: true,

srcs: libvsomeip_e2e_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
],

shared_libs: [
"libvsomeip3",
"liblog"
"libvsomeip3"
]
}

cc_library_shared {
name: "libvsomeip3-sd",
name: "libvsomeip_sd",
vendor: true,

srcs: libvsomeip_sd_srcs,

defaults: [
"vsomeip_defaults"
"vsomeip_defaults",
"vsomeip_lib_defaults"
],

rtti: true,

local_include_dirs: [
"interface",
"implementation/helper/1.70"
],

shared_libs: [
"libvsomeip3",
"liblog",
"libboost_thread"
"libboost_system"
]
}

cc_defaults {
name: "vsomeip_example_defaults",
cc_library_shared {
name: "libvsomeip",
vendor: true,
owner: "ts",

shared_libs: [
"libvsomeip3"
],
}

cc_binary {
name: "vsomeip-helloworld-client",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/hello_world/hello_world_client.cpp",
],
}

cc_binary {
name: "vsomeip-helloworld-service",
defaults: ["vsomeip_example_defaults"],
srcs: libvsomeip_compat_srcs,

srcs: [
"examples/hello_world/hello_world_service.cpp",
],
}

cc_binary {
name: "vsomeip-notify-sample",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/notify-sample.cpp",
],
}

cc_binary {
name: "vsomeip-request-sample",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/request-sample.cpp",
defaults: [
"vsomeip_defaults",
"vsomeip_lib_defaults"
],
}

cc_binary {
name: "vsomeip-response-sample",
defaults: ["vsomeip_example_defaults"],
rtti: true,

srcs: [
"examples/response-sample.cpp",
export_include_dirs: [
"interface"
],
}

cc_binary {
name: "vsomeip-subscribe-sample",
defaults: ["vsomeip_example_defaults"],

srcs: [
"examples/subscribe-sample.cpp",
],
shared_libs: [
"libvsomeip3",
"libboost_system"
]
}
Loading
Loading