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

Iox #32 Mac OS fully supported #138

Merged

Conversation

elfenpiff
Copy link
Contributor

No description provided.

elfenpiff added 22 commits June 4, 2020 12:36
… needed ArgvInspector

Signed-off-by: Christian Eltzschig <[email protected]>
…me reimplementation

Signed-off-by: Christian Eltzschig <[email protected]>
…rouplist implementation

Signed-off-by: Christian Eltzschig <[email protected]>
…tible with the message queue

Signed-off-by: Christian Eltzschig <[email protected]>
…on mac os and adjusted unit tests

Signed-off-by: Christian Eltzschig <[email protected]>
…a central position for all of them

Signed-off-by: Christian Eltzschig <[email protected]>
…inux when sending message to destroyed socket - fixed

Signed-off-by: Christian Eltzschig <[email protected]>
…behavior instead

Signed-off-by: Christian Eltzschig <[email protected]>
…hores with empty name are not allowed

Signed-off-by: Christian Eltzschig <[email protected]>
…sing sockets and since mac os uses sockets they are commented out for apple

Signed-off-by: Christian Eltzschig <[email protected]>
Copy link
Contributor

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't compile for me:

--- stderr: iceoryx_utils
/Users/karsten/workspace/ros2/iceoryx_ws/osx/src/iceoryx/iceoryx_utils/source/posix_wrapper/timer.cpp:65:15: warning: result of comparison of constant 16777215 with expression of type 'unsigned char' is always false [-Wtautological-constant-out-of-range-compare]
    if (index >= Timer::OsTimerCallbackHandle::MAX_DESCRIPTOR_VALUE)
        ~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
-- Build files have been written to: /Users/karsten/workspace/ros2/iceoryx_ws/osx/build/icedelivery
CMake Error at CMakeLists.txt:30 (find_package):
  Could not find a package configuration file provided by
  "CycloneDDS_CXX_API" with any of the following names:

    CycloneDDS_CXX_APIConfig.cmake
    cyclonedds_cxx_api-config.cmake

  Add the installation prefix of "CycloneDDS_CXX_API" to CMAKE_PREFIX_PATH or
  set "CycloneDDS_CXX_API_DIR" to a directory containing one of the above
  files.  If "CycloneDDS_CXX_API" provides a separate development package or
  SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/Users/karsten/workspace/ros2/iceoryx_ws/osx/build/iceoryx_dds_gateway/CMakeFiles/CMakeOutput.log".
--- stderr: iceoryx_dds_gateway
-- Found Curses: /usr/lib/libcurses.dylib
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIB_TINFO
    linked by target "iceoryx_introspection" in directory /Users/karsten/workspace/ros2/iceoryx_ws/osx/src/iceoryx/tools/introspection

-- Configuring incomplete, errors occurred!
See also "/Users/karsten/workspace/ros2/iceoryx_ws/osx/build/iceoryx_introspection/CMakeFiles/CMakeOutput.log".
--- stderr: iceoryx_introspection
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIB_TINFO
    linked by target "iceoryx_introspection" in directory /Users/karsten/workspace/ros2/iceoryx_ws/osx/src/iceoryx/tools/introspection

---
Aborted  <<< iceoryx_introspection

Copy link
Contributor

@mossmaurice mossmaurice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the review findings

…edAlloc/alignedFree and fixed several review findings

Signed-off-by: Christian Eltzschig <[email protected]>
@@ -83,6 +115,8 @@ UnixDomainSocket& UnixDomainSocket::operator=(UnixDomainSocket&& other) noexcept
m_channelSide = std::move(other.m_channelSide);
m_sockfd = std::move(other.m_sockfd);
m_sockAddr = std::move(other.m_sockAddr);
m_isInitialized = std::move(other.m_isInitialized);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is addressed in #151, together with the destroy method

iceoryx_utils/test/moduletests/test_message_queue.cpp Outdated Show resolved Hide resolved
iceoryx_utils/test/moduletests/test_message_queue.cpp Outdated Show resolved Hide resolved
elfenpiff and others added 6 commits June 24, 2020 11:19
…ing test. created cpp file for timing tests

Signed-off-by: Christian Eltzschig <[email protected]>
… constructing from std::chrono

Signed-off-by: Christian Eltzschig <[email protected]>
Signed-off-by: Kraus Mathias (CC-AD/ESW1) <[email protected]>
@elfenpiff elfenpiff requested review from elBoberido and dkroenke June 25, 2020 11:57
… and added COLCON_IGNORE in dds gateway

Signed-off-by: Christian Eltzschig <[email protected]>
@elfenpiff elfenpiff requested a review from elBoberido June 25, 2020 12:28
elBoberido
elBoberido previously approved these changes Jun 25, 2020
…IX to not use iceoryx

Signed-off-by: Christian Eltzschig <[email protected]>
@mossmaurice mossmaurice merged commit 5dcc139 into eclipse-iceoryx:master Jun 25, 2020
MatthiasKillat pushed a commit to MatthiasKillat/iceoryx that referenced this pull request Jul 1, 2020
@elfenpiff elfenpiff deleted the iox-#32-unit-tests-for-mac branch September 11, 2020 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants