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

Fix cyclonedds build for darwin #192

Closed
wants to merge 1 commit into from

Conversation

tanshihaj
Copy link

Currently it is impossible to build https://github.com/lopsided98/nix-ros-overlay/blob/master/distros/foxy/cyclonedds/default.nix since it is CMake project which is configured with -DCMAKE_SKIP_BUILD_RPATH=ON. It breaks this calls: https://github.com/ros2-gbp/cyclonedds-release/blob/release/foxy/cyclonedds/docs/CMakeLists.txt#L22-L25 (This issue describes why it happens: NixOS/nixpkgs#22060) and thus package build at least on darwin with new CMake.

Suggested changes fixes build for darwin and maybe for linux (didn't test it).

@lopsided98
Copy link
Owner

-DCMAKE_SKIP_BUILD_RPATH=ON isn't set anymore since NixOS/nixpkgs@f7414e2, so this will become unnecessary soon, right?

Also, cyclonedds already builds fine on Linux, so it is not necessary to set LD_LIBRARY_PATH.

@tanshihaj
Copy link
Author

Yes, it seems that this PR now is pointless

@tanshihaj tanshihaj closed this Jul 17, 2022
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.

2 participants