Skip to content

Commit 86df051

Browse files
authored
Merge pull request #1325 from ApexAI/iox-#1323-remove-cpptoml-patch-release-2.0
iox-#1323 Remove cpptoml patch and directly add missing include for release_2.0
2 parents ebdfcc5 + 418d929 commit 86df051

File tree

8 files changed

+13
-68
lines changed

8 files changed

+13
-68
lines changed

doc/website/release-notes/.pages

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
nav:
2+
- iceoryx-v2-0-2.md
3+
- iceoryx-v2-0-1.md
24
- iceoryx-v2-0-0.md
35
- iceoryx-v1-0-2.md
46
- iceoryx-v1-0-1.md
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# iceoryx v2.0.2
2+
3+
## [v2.0.2](https://github.com/eclipse-iceoryx/iceoryx/tree/v2.0.2) (2022-04-08)
4+
5+
[Full Changelog](https://github.com/eclipse-iceoryx/iceoryx/compare/v2.0.1...v2.0.2)
6+
7+
**Bugfixes:**
8+
9+
- Double build issue in ROS2 build farm [\#1323](https://github.com/eclipse-iceoryx/iceoryx/issues/1323)

iceoryx_dds/cmake/cpptoml/0001-Add-include-limits-to-port-to-GCC-11.patch

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

iceoryx_dds/cmake/cpptoml/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,6 @@ endif()
6363

6464
file(MAKE_DIRECTORY ${BUILD_DIR})
6565

66-
execute_process(
67-
COMMAND git apply -p1 --ignore-space-change --whitespace=nowarn
68-
INPUT_FILE "${CMAKE_CURRENT_LIST_DIR}/0001-Add-include-limits-to-port-to-GCC-11.patch"
69-
WORKING_DIRECTORY "${SOURCE_DIR}"
70-
RESULT_VARIABLE result)
71-
if(result)
72-
message(WARNING "CMake step [patch] for cpptoml failed: ${result}! Build of cpptoml might fail")
73-
endif()
74-
7566
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" "-DENABLE_LIBCXX=off" "-DCPPTOML_BUILD_EXAMPLES=off" "-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}" "${TOOLCHAIN_FILE}" "${SOURCE_DIR}"
7667
"-DCMAKE_C_FLAGS_INIT=${CMAKE_C_FLAGS_INIT}"
7768
"-DCMAKE_CXX_FLAGS_INIT=${CMAKE_CXX_FLAGS_INIT}"

iceoryx_posh/cmake/cpptoml/0001-Add-include-limits-to-port-to-GCC-11.patch

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

iceoryx_posh/cmake/cpptoml/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,6 @@ endif()
5757

5858
file(MAKE_DIRECTORY ${BUILD_DIR})
5959

60-
execute_process(
61-
COMMAND git apply -p1 --ignore-space-change --whitespace=nowarn
62-
INPUT_FILE "${CMAKE_CURRENT_LIST_DIR}/0001-Add-include-limits-to-port-to-GCC-11.patch"
63-
WORKING_DIRECTORY "${SOURCE_DIR}"
64-
RESULT_VARIABLE result)
65-
if(result)
66-
message(WARNING "CMake step [patch] for cpptoml failed: ${result}! Build of cpptoml might fail")
67-
endif()
68-
6960
set(CMAKE_ADDITIONAL_OPTIONS
7061
"-DCMAKE_C_FLAGS_INIT=${CMAKE_C_FLAGS_INIT}"
7162
"-DCMAKE_CXX_FLAGS_INIT=${CMAKE_CXX_FLAGS_INIT}"

iceoryx_posh/include/iceoryx_posh/gateway/toml_gateway_config_parser.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "iceoryx_posh/iceoryx_posh_types.hpp"
2424

2525
#include <cpptoml.h>
26+
#include <limits> // workaround for missing include in cpptoml.h
2627

2728
namespace iox
2829
{

iceoryx_posh/source/roudi/roudi_config_toml_file_provider.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "iceoryx_posh/roudi/roudi_cmd_line_parser.hpp"
2525

2626
#include <cpptoml.h>
27+
#include <limits> // workaround for missing include in cpptoml.h
2728
#include <string>
2829

2930
namespace iox

0 commit comments

Comments
 (0)