Skip to content

Conversation

@ryanolson
Copy link

I updated the V2 PR and made a few build.rs changes to use locally installed ucx picked up from pkg-config.

I also made WorkerAddress be detachable form the Worker so it can be communicated between workers.

I can't for the life of me figure out why CI is broken.

Li Kaiwei and others added 9 commits September 24, 2025 13:47
Merges v0.2 branch introducing significant improvements:

- Add AsyncRead/AsyncWrite support for Tag and Stream (utils feature)
- Add Worker::connect_addr_vec for raw address connections
- Update UCX to 1.18.1 for latest API compatibility
- Introduce RequestParam builder pattern for request handling
- Add stream wrapper types (WriteStream, ReadStream, etc.)
- Migrate to Rust 2021 edition
- Update dependencies and fix various bugs

Signed-off-by: Ryan Olson <rolson@nvidia.com>
Add intelligent build system that prefers system UCX installation:

- Try pkg-config first with version constraints (>= 1.19, < 2.0)
- Use system installation if version requirements are met
- Fall back to building from source if not found or incompatible
- Support UCX_NO_PKG_CONFIG env var to force source build

Benefits:
- Faster builds when system UCX is available
- Better integration with system package managers
- Still maintains portability via source fallback

Add pkg-config 0.3 as build dependency for UCX detection.

Signed-off-by: Ryan Olson <rolson@nvidia.com>
Update UCX submodule from 1.18.1 to v1.19.0 release tag for latest
stable version with bug fixes and improvements.

Signed-off-by: Ryan Olson <rolson@nvidia.com>
When building UCX from source, the libraries are built as static archives
that depend on each other. Must link all libraries explicitly:
- libucp: main UCP API
- libuct: UCX transport layer
- libucs: UCX services and utilities
- libucm: UCX memory management

This fixes linker errors in CI where pkg-config is not available and
the build falls back to building from source.

Fixes undefined symbol errors for functions like ucp_config_read,
ucp_init_version, ucp_worker_create, etc.

Signed-off-by: Ryan Olson <rolson@nvidia.com>
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