Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

bratpiorka
Copy link
Contributor

TODO

@bratpiorka bratpiorka force-pushed the rrudnick_compat_wflow branch 3 times, most recently from b4226c3 to a341c50 Compare January 29, 2025 11:25
@@ -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) {
Copy link
Contributor

Choose a reason for hiding this comment

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

.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

name: Ubuntu
strategy:
matrix:
# TODO other systems?
Copy link
Contributor

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
Copy link
Contributor

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.

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;
Copy link
Contributor

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?

@bratpiorka bratpiorka force-pushed the rrudnick_compat_wflow branch 7 times, most recently from db03802 to bf8dea7 Compare January 30, 2025 16:40
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.

3 participants