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

Added macos support for libcyphal_demo - UDP only transport. #36

Merged
merged 9 commits into from
Mar 4, 2025

Conversation

serges147
Copy link
Collaborator

  • libcyphal_demo now based on CMakePresets.
  • added (from cherry-pick of commit 3431d35) kqueue executor, and little bit fixed incorrect implementation:
    a) can't combine filters (like | EVFILT_VNODE)
    b) wrong EV_CLEAR usage
    c) wrong NOTE_xxx usage

Also cherry-pick of commit 54cee7d by Scott Dixon, plus some build fixes.

Simplifying Nunavut integration
Using Nunavut as a submodule now provides all dependencies including pydsdl, public_regulated_data_types, and cmake integration.

serges147 and others added 8 commits February 17, 2025 12:07
a) can't combine filters (like `| EVFILT_VNODE`)
b) wrong `EV_CLEAR` usage
c) wrong `NOTE_xxx` usage
plus some build fixes

Simplifying Nunavut integration

Using Nunavut as a submodule now provides all dependencies including pydsdl, public_regulated_data_types, and cmake integration.
@serges147 serges147 self-assigned this Feb 18, 2025
@serges147 serges147 marked this pull request as ready for review February 18, 2025 21:00
Copy link
Contributor

@thirtytwobits thirtytwobits left a comment

Choose a reason for hiding this comment

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

Some refinements suggested but otherwise good.

- name: get nunavut
run: >
pip install git+https://github.com/OpenCyphal/[email protected]
- name: Install Ninja
Copy link
Contributor

Choose a reason for hiding this comment

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

can we just use the toolshed container?

Copy link
Collaborator Author

@serges147 serges147 Mar 4, 2025

Choose a reason for hiding this comment

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

I'll try in the separate pr.
#37


- name: Configure CMake
run: cmake -B ${{github.workspace}}/libcyphal_demo/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{github.workspace}}/libcyphal_demo
run: cd ${{github.workspace}}/libcyphal_demo && cmake --preset Demo-Linux
Copy link
Contributor

Choose a reason for hiding this comment

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

      - name: Configure CMake
        working-directory: libcyphal_demo
        run: >
          cmake --workflow --preset Demo-Linux-Workflow

"configurePreset": "Demo-Linux",
"configuration": "Release"
}
]
Copy link
Contributor

Choose a reason for hiding this comment

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

Add workflows so we control the definition of CI builds here instead of in github actions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll try the workflows in separate pr. #38

@serges147 serges147 merged commit 69700a5 into main Mar 4, 2025
4 checks passed
@serges147 serges147 deleted the sshirokov/macos branch March 4, 2025 08:48
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.

3 participants