-
Notifications
You must be signed in to change notification settings - Fork 35
Add UMF_BUILD_OS_MEMORY_PROVIDER option to disable OS memory provider #112
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
Add UMF_BUILD_OS_MEMORY_PROVIDER option to disable OS memory provider #112
Conversation
9c4c5c7
to
47fecb0
Compare
test/CMakeLists.txt
Outdated
LIBS jemalloc_pool) | ||
endif() | ||
else() | ||
message(STATUS "The jemalloc_pool test is DISABLED, because UMF_BUILD_OS_MEMORY_PROVIDER is set to OFF") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jemalloc could use any memory provider to work - I would change this message to "The jemalloc_pool test is DISABLED, because it uses OS_MEMORY_PROVIDER, while UMF_BUILD_OS_MEMORY_PROVIDER flag is set to OFF" or similar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
build_type: Release | ||
compiler: {c: gcc, cxx: g++} | ||
shared_library: 'ON' | ||
os_provider: 'OFF' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the practical reason to test without the OS memory provider?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to test if the UMF_BUILD_OS_MEMORY_PROVIDER
option works correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vinser52 UR or oneCCL does not require an OS provider. oneCCL does not even have libnuma or hwloc installed on its CI systems.
Signed-off-by: Lukasz Dorau <[email protected]>
47fecb0
to
dc48e27
Compare
No description provided.