Skip to content

Add optional libnuma / accel-config support#31

Open
byrnedj wants to merge 1 commit into
intel:cmake-build-systemfrom
byrnedj:cmake-numa-accel
Open

Add optional libnuma / accel-config support#31
byrnedj wants to merge 1 commit into
intel:cmake-build-systemfrom
byrnedj:cmake-numa-accel

Conversation

@byrnedj

@byrnedj byrnedj commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Stack 2/3 — stacked on cmake-build-system (#30).

Guards the accel-config and numa dependencies behind DTO_ACCEL_CONFIG_SUPPORT
and DTO_NUMA_SUPPORT #ifdefs in dto.c so the library can be built without
either. Adds matching CMake options (on by default, plus static-link variants)
and threads the -D defines through the Makefile.

Guard the accel-config and numa dependencies behind DTO_ACCEL_CONFIG_SUPPORT
and DTO_NUMA_SUPPORT #ifdefs in dto.c so the library can be built without
either. Add matching CMake options (on by default, plus static-link
variants) and thread the -D defines through the Makefile.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@jsydir jsydir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR is approved for merging.

Comment thread Makefile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it an error that -lnuma and -laccel-config still appear in the gcc command lines

Comment thread CMakeLists.txt

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be good to add some text to the readme describing these options and saying how to configure them.

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