-
Notifications
You must be signed in to change notification settings - Fork 33
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
[DRAFT] compat #1063
base: main
Are you sure you want to change the base?
[DRAFT] compat #1063
Conversation
b4226c3
to
a341c50
Compare
src/memory_provider.c
Outdated
@@ -173,7 +173,11 @@ umf_result_t umfMemoryProviderCreate(const umf_memory_provider_ops_t *ops, | |||
return UMF_RESULT_ERROR_OUT_OF_HOST_MEMORY; | |||
} | |||
|
|||
assert(ops->version == UMF_VERSION_CURRENT); | |||
if (ops->version == UMF_VERSION_CURRENT) { |
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.
.
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
b4edc5c
to
6baaa70
Compare
name: Ubuntu | ||
strategy: | ||
matrix: | ||
# TODO other systems? |
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.
I think that one Ubuntu and one Windows job is needed.
- name: Set ptrace value for IPC test | ||
run: sudo bash -c "echo 0 > /proc/sys/kernel/yama/ptrace_scope" | ||
|
||
- name: Run "tag" UMF tests |
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.
I'm not sure if we need to test the tag, it was surely already tested before the merge of a commit. I think we could just build it here for the latest version tests run.
src/memory_provider.c
Outdated
umf_memory_provider_ops_10_0_t ops_10_0; | ||
memcpy(&ops_10_0, ops, sizeof(ops_10_0)); | ||
|
||
provider->ops.version = UMF_PROVIDER_OPS_VERSION_CURRENT; |
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.
Why not leaving it to 0.10
?
db03802
to
bf8dea7
Compare
TODO