Skip to content

Commit

Permalink
making //ros2/test:generic_publisher_tests pass without patching rmw_…
Browse files Browse the repository at this point in the history
…fastrtps
  • Loading branch information
henriksod committed Aug 1, 2023
1 parent d844193 commit 74256d6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion repositories/fastcdr.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ filegroup(
)

cache_entries = {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_POSITION_INDEPENDENT_CODE": "ON", # Must be set!
"BUILD_SHARED_LIBS": "OFF",
# FastCDR specific options.
Expand Down
1 change: 0 additions & 1 deletion repositories/fastrtps.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ filegroup(
)

cache_entries = {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_POSITION_INDEPENDENT_CODE": "ON", # Must be set!
"BUILD_SHARED_LIBS": "OFF",
# FastDDS specific options.
Expand Down
1 change: 0 additions & 1 deletion repositories/foonathan_memory.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ filegroup(
)

cache_entries = {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_POSITION_INDEPENDENT_CODE": "ON", # Must be set!
"BUILD_SHARED_LIBS": "OFF",
# foonathan_memory specific options.
Expand Down
4 changes: 2 additions & 2 deletions repositories/ros2_repositories_impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ def ros2_repositories_impl():
http_archive,
name = "ros2_rmw_fastrtps",
build_file = "@com_github_mvukov_rules_ros2//repositories:rmw_fastrtps.BUILD.bazel",
patch_args = ["-p1"],
patches = ["@com_github_mvukov_rules_ros2//repositories/patches:rmw_fastrtps-fix-typesupport-conditions-bug.patch"],
#patch_args = ["-p1"],
#patches = ["@com_github_mvukov_rules_ros2//repositories/patches:rmw_fastrtps-fix-typesupport-conditions-bug.patch"],
sha256 = "a0145b414207a2528fd56e98a56bd6d4c3f0353dcd58f4b3a65224af8bd52284",
strip_prefix = "rmw_fastrtps-6.2.3",
url = "https://github.com/ros2/rmw_fastrtps/archive/refs/tags/6.2.3.tar.gz",
Expand Down
1 change: 1 addition & 0 deletions ros2/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ ros2_cpp_test(
idl_deps = [
"@ros2_common_interfaces//:std_msgs",
],
linkstatic = False,
deps = [
"@com_google_googletest//:gtest",
"@ros2_rclcpp//:rclcpp",
Expand Down

0 comments on commit 74256d6

Please sign in to comment.