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

[DO NOT MERGE] Test Python limited API compilation #278

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

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Apr 26, 2024

This PR is leveraging the convenience of the devcontainer framework for having a long-lived test of this functionality exist in a reproducible fashion.

@trxcllnt
Copy link
Collaborator

cugraph-ops fix PR here: https://github.com/rapidsai/cugraph-ops/pull/637

@trxcllnt
Copy link
Collaborator

@vyasr is your intention to merge this into the repo, or just open this PR so you can validate the change in CI?

@vyasr
Copy link
Contributor Author

vyasr commented Apr 26, 2024

@trxcllnt this is just for testing, and to make it easier to track changes in a way that's visible to others (and also to help collaboration since setting up an environment for testing this is a bit nontrivial). Hope that's all right. I'll mark the PR as DO NOT MERGE to clearly indicate that this isn't just temporarily in draft, it'll never be opened.

@vyasr vyasr changed the title Test Python limited API compilation [DO NOT MERGE] Test Python limited API compilation Apr 26, 2024
@@ -15,7 +15,8 @@ repos:
- name: rmm
sub_dir: python/rmm
depends: [rmm]
args: {cmake: -DFIND_RMM_CPP=ON}
args: {cmake: -DFIND_RMM_CPP=ON -DCMAKE_CXX_FLAGS="'-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1'"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
args: {cmake: -DFIND_RMM_CPP=ON -DCMAKE_CXX_FLAGS="'-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1'"}
args: {cmake: -DFIND_RMM_CPP=ON -DCMAKE_CXX_FLAGS="-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1"}

@@ -84,11 +85,11 @@ repos:
- name: pylibraft
sub_dir: python/pylibraft
depends: [raft]
args: {cmake: -DFIND_RAFT_CPP=ON}
args: {cmake: -DFIND_RAFT_CPP=ON -DCMAKE_CXX_FLAGS="'-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1'"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
args: {cmake: -DFIND_RAFT_CPP=ON -DCMAKE_CXX_FLAGS="'-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1'"}
args: {cmake: -DFIND_RAFT_CPP=ON -DCMAKE_CXX_FLAGS="-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1"}

- name: raft-dask
sub_dir: python/raft-dask
depends: [raft]
args: {cmake: -DFIND_RAFT_CPP=ON}
args: {cmake: -DFIND_RAFT_CPP=ON -DCMAKE_CXX_FLAGS="'-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1'"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
args: {cmake: -DFIND_RAFT_CPP=ON -DCMAKE_CXX_FLAGS="'-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1'"}
args: {cmake: -DFIND_RAFT_CPP=ON -DCMAKE_CXX_FLAGS="-DPy_LIMITED_API=0x030B0000 -DCYTHON_LIMITED_API=1"}

Copy link

copy-pr-bot bot commented Sep 24, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@vyasr vyasr changed the base branch from branch-24.06 to branch-24.10 September 24, 2024 19:02
@vyasr
Copy link
Contributor Author

vyasr commented Sep 24, 2024

/ok to test

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