Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
629d131
BUILD: Change default buildtype from debug to release
michal-shalev Oct 6, 2025
0ca1dc5
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Oct 15, 2025
abf8cd7
PR fixes
michal-shalev Oct 15, 2025
6ef2dea
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Oct 15, 2025
f1a9592
PR fixes 2.0
michal-shalev Oct 15, 2025
9704852
Merge branch 'main' into change-default-buildtype-to-release
ovidiusm Nov 4, 2025
f438b37
Fix typo
michal-shalev Nov 4, 2025
3c86c83
Make AWS S3 Tests buildtype debug
michal-shalev Nov 4, 2025
8d853a4
Make AWS Test buildtype debug
michal-shalev Nov 4, 2025
9f3e26a
Make AWS S3 Tests buildtype debug
michal-shalev Nov 4, 2025
008ae6c
Fix build.sh to run with --buildtype=debug
michal-shalev Nov 4, 2025
f787af0
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Nov 4, 2025
8d73df8
Make Docker build type configurable via BUILD_TYPE arg
michal-shalev Nov 4, 2025
a1c3126
Fix Docker build to pass BUILD_TYPE parameter
michal-shalev Nov 4, 2025
14ac5d5
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Nov 4, 2025
f7f99e6
Fix Dockerfile.manylinux as well
michal-shalev Nov 4, 2025
b433b33
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Nov 6, 2025
20d5cc3
tmp add tests to release build to make CI pass
michal-shalev Nov 10, 2025
1799036
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Nov 10, 2025
d2faca6
tmp add serdes_test.cpp to release build to make CI pass
michal-shalev Nov 10, 2025
c4164de
tmp add ucx_worker_test.cpp to release build to make CI pass
michal-shalev Nov 10, 2025
da00efa
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Nov 11, 2025
ab7d2d4
Mark nixl_mem_type as [[maybe_unused]] to fix -Werror=unused-but-set-…
michal-shalev Nov 11, 2025
19eb162
Mark ret as [[maybe_unused]] to fix -Werror=unused-but-set-variable
michal-shalev Nov 11, 2025
28759f5
Revert "Mark ret as [[maybe_unused]] to fix -Werror=unused-but-set-va…
michal-shalev Nov 11, 2025
dada4aa
Revert "Mark nixl_mem_type as [[maybe_unused]] to fix -Werror=unused-…
michal-shalev Nov 11, 2025
d75e2a3
Revert "tmp add serdes_test.cpp to release build to make CI pass"
michal-shalev Nov 11, 2025
7e2db80
Revert "tmp add ucx_worker_test.cpp to release build to make CI pass"
michal-shalev Nov 11, 2025
f9333e2
Revert "tmp add tests to release build to make CI pass"
michal-shalev Nov 11, 2025
bc2706c
Detect CI environment and use debug mode for tests
michal-shalev Nov 11, 2025
0425c61
PR fixes
michal-shalev Nov 11, 2025
57e8df9
Merge branch 'main' into change-default-buildtype-to-release
michal-shalev Nov 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export CMAKE_PREFIX_PATH="${INSTALL_DIR}:${CMAKE_PREFIX_PATH}"
export UCX_TLS=^cuda_ipc

# shellcheck disable=SC2086
meson setup nixl_build --prefix=${INSTALL_DIR} -Ducx_path=${UCX_INSTALL_DIR} -Dbuild_docs=true -Drust=false ${EXTRA_BUILD_ARGS} -Dlibfabric_path="${LIBFABRIC_INSTALL_DIR}"
meson setup nixl_build --prefix=${INSTALL_DIR} -Ducx_path=${UCX_INSTALL_DIR} -Dbuild_docs=true -Drust=false ${EXTRA_BUILD_ARGS} -Dlibfabric_path="${LIBFABRIC_INSTALL_DIR}" --buildtype=debug
ninja -j"$NPROC" -C nixl_build && ninja -j"$NPROC" -C nixl_build install
mkdir -p dist && cp nixl_build/src/bindings/python/nixl-meta/nixl-*.whl dist/

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ $ ninja install

### Build Options

#### Release build
#### Release build (default)

```bash
$ meson setup <name_of_build_dir> --buildtype=release
```

#### Debug build (default)
#### Debug build

```bash
$ meson setup <name_of_build_dir>
$ meson setup <name_of_build_dir> --buildtype=debug
```

#### NIXL-specific build options
Expand Down Expand Up @@ -170,7 +170,7 @@ For Python examples, see [examples/python/](examples/python/).
### Rust Bindings
#### Build
- Use `-Drust=true` meson option to build rust bindings.
- Use `-Ddebug=false` for a release build.
- Use `--buildtype=debug` for a debug build (default is release).
- Or build manually:
```bash
$ cargo build --release
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.

project('nixl', 'CPP', version: '0.7.1',
default_options: ['buildtype=debug',
default_options: ['buildtype=release',
'werror=true',
'cpp_std=c++17',
'prefix=/opt/nvidia/nvda_nixl'],
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/gpunetio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ NIXL bench also has the option to specify the DOCA GPUNetIO backend. An example

## Caveats

By default NIXL is built with `buildtype=debug` option. This is ok for correctness and debugging.
To run for performace (e.g. with NIXL bench) t's hightly recommended to build NIXL with `buildtype=release`.
To run for performance (e.g. with NIXL bench) it's highly recommended to build NIXL with `buildtype=release`.
For debugging purposes, NIXL can be built with `buildtype=debug`.