Skip to content

Feature/enable-standard-install#32

Closed
jeanbaptistelab wants to merge 26 commits into
masterfrom
feature/enable-standard-install
Closed

Feature/enable-standard-install#32
jeanbaptistelab wants to merge 26 commits into
masterfrom
feature/enable-standard-install

Conversation

@jeanbaptistelab
Copy link
Copy Markdown

Currently, installing CSP through meson does not allow other modules to use the installed version as it does not generate the required pkg-config files, this PR addresses this

Lykkeberg and others added 22 commits October 12, 2024 23:09
Although I dont know how exactly csp_connect() leaves fields on csp_id_t unitialized,
but Valgrind certainly seems to think that they are.
Previously, posix instances using CAN did not accept L2 and L3 broadcast due to HW filtering
The issue originates in the fact that L3 data is overriding L2 data in the csp_packet header.
This is resolved on the libcsp/libcsp/develop branch already, by removing the union.
…y_clone_bytes

Remove unnecessary clone of a few bytes in csp_buffer_clone
check timeout and close connection if timed out even if user space has it
We should consider actually returning an error.
Instead we still just override the last available route,
which seems to have been the previous intention.

Co-authored-by: edvard <edvard@space-inventor.com>
When it isn't exactly 40 characters long
Added `csp_zmqhub_<add/remove>_filters()` to change promisc settings after init
This is used for multicast-like operations, similar to the original concept of CAN
@jeanbaptistelab jeanbaptistelab self-assigned this Dec 4, 2025
@jeanbaptistelab jeanbaptistelab force-pushed the feature/enable-standard-install branch from 99d000b to 2fa48a1 Compare December 4, 2025 08:46
Currently, installing CSP through meson does not allow other
modules to use the installed version as it does not generate
the required pkg-config files.
@jeanbaptistelab jeanbaptistelab force-pushed the feature/enable-standard-install branch from 2fa48a1 to 289cbcd Compare December 4, 2025 08:48
"runtime" will install the shared library only,
"devel" will install the static library, headers and
pkg-config files
@troelsjessen
Copy link
Copy Markdown

I suppose that is fine...
Modules are building with this variant

@kivkiv12345
Copy link
Copy Markdown

With this branch I can successfully build libparam as a shared object, with Meson finding the installed libcsp dependency.

But it does point to our (perhaps incorrect) usage of .as_link_whole().
The .as_link_whole() method is only supported on declare_dependency() objects, which the following 'system installed' dependency doesn't appear to be:

csp_dep = dependency('csp', fallback: ['csp', 'csp_dep'], required: true)

So the following is not allowed:

csp_dep = dependency('csp', fallback: ['csp', 'csp_dep'], required: true).as_link_whole()

@johandc
Copy link
Copy Markdown

johandc commented Feb 16, 2026

Closing here, as its open upstream now too.

@johandc johandc closed this Feb 16, 2026
@johandc johandc deleted the feature/enable-standard-install branch February 16, 2026 18:25
@jeanbaptistelab jeanbaptistelab restored the feature/enable-standard-install branch March 3, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

8 participants