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

Update python.cc #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mooresethmoore
Copy link
Contributor

@mooresethmoore mooresethmoore commented Jan 28, 2022

Missing surrounding parenthesis for if statement on PyTuple_Check for python 3.9 or some versions of DCMAKE or CUDA_ARCH causes a build error.

Signed-off-by: Seth Moore [email protected]

Missing surrounding parenthesis for if statement on PyTuple_Check for python 3.9 or some versions of DCMAKE or CUDA_ARCH causes a build error.
@vmarkovtsev
Copy link
Collaborator

Thanks, @mooresethmoore! Would you kindly sign the DCO.

Copy link
Contributor Author

@mooresethmoore mooresethmoore left a comment

Choose a reason for hiding this comment

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

Missing surrounding parenthesis for if statement on PyTuple_Check for python 3.9 or some versions of DCMAKE or CUDA_ARCH causes a build error.

Signed-off-by: Seth Moore [email protected]

@lvyilin
Copy link

lvyilin commented Feb 7, 2022

Compiled successfully with this patch. Thank you!

@vincent-mayer
Copy link

@vmarkovtsev are there any plans on merging this? It solved my compilation problem under python 3.9.

@vmarkovtsev
Copy link
Collaborator

@vincentmaye If you could copy this fix in another PR and accept DCO, I will immediately merge it 🙏 You see, I've got a strong requirement for license purity and cannot accept patches without signed-off-by.

@kilianyp kilianyp mentioned this pull request Oct 5, 2022
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.

4 participants