René's URL Explorer Experiment


Title: Refactor cuda-bindings setup.py to defer CUDA_HOME check to build time by kkraus14 · Pull Request #1652 · NVIDIA/cuda-python · GitHub

Open Graph Title: Refactor cuda-bindings setup.py to defer CUDA_HOME check to build time by kkraus14 · Pull Request #1652 · NVIDIA/cuda-python

X Title: Refactor cuda-bindings setup.py to defer CUDA_HOME check to build time by kkraus14 · Pull Request #1652 · NVIDIA/cuda-python

Description: CUDA Python: Performance meets Productivity. Contribute to NVIDIA/cuda-python development by creating an account on GitHub.

Open Graph Description: Summary Introduces cuda_bindings/build_hooks.py as a custom PEP 517 build backend that defers all CUDA-dependent logic (header parsing, code generation, cythonization) to build_wheel/build_editabl...

X Description: Summary Introduces cuda_bindings/build_hooks.py as a custom PEP 517 build backend that defers all CUDA-dependent logic (header parsing, code generation, cythonization) to build_wheel/build_editabl...

Opengraph URL: https://github.com/NVIDIA/cuda-python/pull/1652

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:faaf314b-e415-c4e8-2d60-d9d06d54c938
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE09A:121AA2:57F81B:738CF8:6AF83632
html-safe-nonce0ce0d9482468590adaeb165db091dcc95f250180e5dd4de9c4ea4bdba79127ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDlBOjEyMUFBMjo1N0Y4MUI6NzM4Q0Y4OjZBRjgzNjMyIiwidmlzaXRvcl9pZCI6IjUzMzI0MjQ5NzE3OTAwNzEzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8a9918f63127b584e99a2c47c244383f1cdb0febf98a096322a1f1fd3e287b30
hovercard-subject-tagpull_request:3301472649
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/NVIDIA/cuda-python/1652/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eecfc15ff146d364e683ce8639dcbe3fd914a5ed9d250ff8d702b022b89411a9/NVIDIA/cuda-python/pull/1652
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eecfc15ff146d364e683ce8639dcbe3fd914a5ed9d250ff8d702b022b89411a9/NVIDIA/cuda-python/pull/1652
og:image:altSummary Introduces cuda_bindings/build_hooks.py as a custom PEP 517 build backend that defers all CUDA-dependent logic (header parsing, code generation, cythonization) to build_wheel/build_editabl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekkraus14
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-cache
go-importgithub.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git
octolytics-dimension-user_id1728152
octolytics-dimension-user_loginNVIDIA
octolytics-dimension-repository_id381173759
octolytics-dimension-repository_nwoNVIDIA/cuda-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id381173759
octolytics-dimension-repository_network_root_nwoNVIDIA/cuda-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NVIDIA/cuda-python/pull/1652#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F1652
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F1652
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=NVIDIA%2Fcuda-python
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1652
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1652
Reloadhttps://github.com/NVIDIA/cuda-python/pull/1652
NVIDIAhttps://github.com/NVIDIA
cuda-pythonhttps://github.com/NVIDIA/cuda-python
Codehttps://github.com/NVIDIA/cuda-python
Issues219 (219)https://github.com/NVIDIA/cuda-python/issues
Pull requests92 (92)https://github.com/NVIDIA/cuda-python/pulls
Discussionshttps://github.com/NVIDIA/cuda-python/discussions
Actionshttps://github.com/NVIDIA/cuda-python/actions
Projectshttps://github.com/NVIDIA/cuda-python/projects
Wikihttps://github.com/NVIDIA/cuda-python/wiki
Security and qualityhttps://github.com/NVIDIA/cuda-python/security
Insightshttps://github.com/NVIDIA/cuda-python/pulse
https://github.com/NVIDIA/cuda-python
kkraus14https://github.com/kkraus14
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
kkraus14:kkraus14/defer-cuda-home-to-build-timehttps://github.com/kkraus14/cuda-python/tree/kkraus14/defer-cuda-home-to-build-time
Conversationhttps://github.com/NVIDIA/cuda-python/pull/1652
Commits4 (4)https://github.com/NVIDIA/cuda-python/pull/1652/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/1652/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/1652/files
Refactor cuda-bindings setup.py to defer CUDA_HOME check to build timehttps://github.com/NVIDIA/cuda-python/pull/1652#top
kkraus14https://github.com/kkraus14
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
kkraus14:kkraus14/defer-cuda-home-to-build-timehttps://github.com/kkraus14/cuda-python/tree/kkraus14/defer-cuda-home-to-build-time
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issue-3961077946
#1635https://github.com/NVIDIA/cuda-python/issues/1635
Cursorhttps://cursor.com
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3924789408
herehttps://docs.gha-runners.nvidia.com/cpr/auto-sync
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
February 19, 2026 05:38https://github.com/NVIDIA/cuda-python/pull/1652#event-22904346131
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3924798774
herehttps://docs.gha-runners.nvidia.com/cpr/auto-sync
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
https://github.com/cursoragent
Refactor cuda-bindings setup.py to defer CUDA_HOME check to build timehttps://github.com/NVIDIA/cuda-python/pull/1652/commits/dc8be9be11566ff6cf0b761419b3938e2f587661
dc8be9bhttps://github.com/NVIDIA/cuda-python/pull/1652/commits/dc8be9be11566ff6cf0b761419b3938e2f587661
NVIDIA#1635https://github.com/NVIDIA/cuda-python/issues/1635
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
force-pushedhttps://github.com/NVIDIA/cuda-python/compare/30954a91bb32976fc72670ad04c1b181c9e756dd..dc8be9be11566ff6cf0b761419b3938e2f587661
30954a9https://github.com/NVIDIA/cuda-python/commit/30954a91bb32976fc72670ad04c1b181c9e756dd
dc8be9bhttps://github.com/NVIDIA/cuda-python/commit/dc8be9be11566ff6cf0b761419b3938e2f587661
Compare https://github.com/NVIDIA/cuda-python/compare/30954a91bb32976fc72670ad04c1b181c9e756dd..dc8be9be11566ff6cf0b761419b3938e2f587661
February 19, 2026 05:46https://github.com/NVIDIA/cuda-python/pull/1652#event-22904454855
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3924822732
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
to-be-backported https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Ato-be-backported
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#event-22904627044
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F1652
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
February 19, 2026 17:26https://github.com/NVIDIA/cuda-python/pull/1652#event-22923137456
https://github.com/mdboom
mdboomhttps://github.com/mdboom
cuda.bindings https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.bindings
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#event-22923649248
https://github.com/mdboom
mdboomhttps://github.com/mdboom
Feb 19, 2026 https://github.com/NVIDIA/cuda-python/pull/1652#pullrequestreview-3827510677
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/1652/files/dc8be9be11566ff6cf0b761419b3938e2f587661
mdboomhttps://github.com/mdboom
https://github.com/NVIDIA/cuda-python/pull/1652#pullrequestreview-3827510677
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
cuda_bindings/build_hooks.pyhttps://github.com/NVIDIA/cuda-python/pull/1652/files/dc8be9be11566ff6cf0b761419b3938e2f587661#diff-350c63fc4eac1f2777fb8f5e1153ee4e082b7b65788ce7d43de64f772c294caf
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
cuda_bindings/build_hooks.pyhttps://github.com/NVIDIA/cuda-python/pull/1652/files/dc8be9be11566ff6cf0b761419b3938e2f587661#diff-350c63fc4eac1f2777fb8f5e1153ee4e082b7b65788ce7d43de64f772c294caf
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
https://github.com/cursoragent
Address review feedback and restore PARALLEL_LEVEL compathttps://github.com/NVIDIA/cuda-python/pull/1652/commits/be4dedc422108400f414968dbb4d018c80714383
be4dedchttps://github.com/NVIDIA/cuda-python/pull/1652/commits/be4dedc422108400f414968dbb4d018c80714383
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3929023264
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
Merge remote-tracking branch 'origin/main' into kkraus14/defer-cuda-h…https://github.com/NVIDIA/cuda-python/pull/1652/commits/cadd2f27c88de7761bb116faae05b0a6cca3ab6d
cadd2f2https://github.com/NVIDIA/cuda-python/pull/1652/commits/cadd2f27c88de7761bb116faae05b0a6cca3ab6d
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3929985947
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
https://github.com/cursoragent
Move clang detection to build_extensions for single checkhttps://github.com/NVIDIA/cuda-python/pull/1652/commits/a8e3a991253c69e7ec6ebd45fd369fa777d40cd3
a8e3a99https://github.com/NVIDIA/cuda-python/pull/1652/commits/a8e3a991253c69e7ec6ebd45fd369fa777d40cd3
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3930004138
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Feb 19, 2026 https://github.com/NVIDIA/cuda-python/pull/1652#pullrequestreview-3828671361
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/1652/files/a8e3a991253c69e7ec6ebd45fd369fa777d40cd3
cuda_bindings/setup.pyhttps://github.com/NVIDIA/cuda-python/pull/1652/files/a8e3a991253c69e7ec6ebd45fd369fa777d40cd3#diff-63ab8ef61fa9166f93e85817395ebdcb1add9d3ae4b9953df76ccbc4c827034d
kkraus14https://github.com/kkraus14
Feb 19, 2026https://github.com/NVIDIA/cuda-python/pull/1652#discussion_r2830278088
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@mdboomhttps://github.com/mdboom
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
mdboomhttps://github.com/mdboom
Feb 20, 2026https://github.com/NVIDIA/cuda-python/pull/1652#discussion_r2833285960
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/rparolin
rparolinhttps://github.com/rparolin
kkraus14https://github.com/kkraus14
Feb 20, 2026https://github.com/NVIDIA/cuda-python/pull/1652#event-22948535835
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
9e60c6fhttps://github.com/NVIDIA/cuda-python/commit/9e60c6fcff8ba2e44b7f54994db4a803d45e35f7
Feb 20, 2026https://github.com/NVIDIA/cuda-python/pull/1652#event-22949583401
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 20, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3934948261
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 20, 2026https://github.com/NVIDIA/cuda-python/pull/1652#issuecomment-3935083376
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
kkraus14https://github.com/kkraus14
Feb 20, 2026 https://github.com/NVIDIA/cuda-python/pull/1652#ref-commit-4da1fa6
https://github.com/kkraus14
https://github.com/cursoragent
Refactor cuda-bindings setup.py to defer CUDA_HOME check to build time (https://github.com/kkraus14/cuda-python/commit/4da1fa6ed283eb52b44da982b04a8374d5a6ea3b
4da1fa6https://github.com/kkraus14/cuda-python/commit/4da1fa6ed283eb52b44da982b04a8374d5a6ea3b
NVIDIA#1652https://github.com/NVIDIA/cuda-python/pull/1652
NVIDIA#1635https://github.com/NVIDIA/cuda-python/issues/1635
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
Feb 20, 2026 https://github.com/NVIDIA/cuda-python/pull/1652#ref-pullrequest-3968965342
[12.9.x backport] Refactor cuda-bindings setup.py to defer CUDA_HOME check to build time #1666 https://github.com/NVIDIA/cuda-python/pull/1666
kkraus14https://github.com/kkraus14
Feb 20, 2026 https://github.com/NVIDIA/cuda-python/pull/1652#ref-commit-20c54cc
https://github.com/kkraus14
https://github.com/cursoragent
Refactor cuda-bindings setup.py to defer CUDA_HOME check to build time (https://github.com/NVIDIA/cuda-python/commit/20c54cc15b0f55665ee853bcbdd00311c0feef24
20c54cchttps://github.com/NVIDIA/cuda-python/commit/20c54cc15b0f55665ee853bcbdd00311c0feef24
#1652https://github.com/NVIDIA/cuda-python/pull/1652
#1666https://github.com/NVIDIA/cuda-python/pull/1666
#1635https://github.com/NVIDIA/cuda-python/issues/1635
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F1652
https://github.com/mdboom
mdboom https://github.com/mdboom
https://github.com/NVIDIA/cuda-python/pull/1652/files/a8e3a991253c69e7ec6ebd45fd369fa777d40cd3
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
kkraus14 https://github.com/kkraus14
cuda.bindings https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.bindings
to-be-backported https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Ato-be-backported
Refactor cuda-bindings setup.py to defer CUDA_HOME check to build time https://github.com/NVIDIA/cuda-python/issues/1635
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/1652
https://github.com/kkraus14
https://github.com/mdboom
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.