Skip to content

Turn on EXECUTORCH_BUILD_PYBIND when implicitly wanted#9611

Merged
jathu merged 1 commit intomainfrom
jathu/no-redefine-pybind
Mar 26, 2025
Merged

Turn on EXECUTORCH_BUILD_PYBIND when implicitly wanted#9611
jathu merged 1 commit intomainfrom
jathu/no-redefine-pybind

Conversation

@jathu
Copy link
Contributor

@jathu jathu commented Mar 25, 2025

Summary

We want EXECUTORCH_BUILD_PYBIND enabled if the user wants to build the bindings — so let's just do it. Unless of course, they explicitly choose not to by defining the arg themselves.

Test plan

CI

cc @larryliu0820 @lucylq

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 25, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9611

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 149e5bc with merge base 610f398 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 25, 2025
@jathu jathu force-pushed the jathu/no-redefine-pybind branch from c70d3fe to 2327924 Compare March 25, 2025 23:07
@jathu jathu added ciflow/trunk ciflow/binaries/all Release PRs with this label will build wheels for all python versions labels Mar 25, 2025
@jathu jathu force-pushed the jathu/no-redefine-pybind branch from 2327924 to d5ee210 Compare March 25, 2025 23:11
@jathu jathu force-pushed the jathu/no-redefine-pybind branch from d5ee210 to 149e5bc Compare March 25, 2025 23:12
@jathu jathu added module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch topic: not user facing labels Mar 25, 2025
@jathu jathu marked this pull request as ready for review March 25, 2025 23:15
@jathu jathu merged commit 0342bab into main Mar 26, 2025
164 of 167 checks passed
@jathu jathu deleted the jathu/no-redefine-pybind branch March 26, 2025 01:18
@jathu jathu mentioned this pull request Mar 31, 2025
jathu added a commit that referenced this pull request Mar 31, 2025
### Summary
After #9583 and
#9611, we don't rely on
environment variables to turn on pybindings.

### Test plan

Read + run example commands.
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
### Summary

We want `EXECUTORCH_BUILD_PYBIND` enabled if the user wants to build the
bindings — so let's just do it. Unless of course, they explicitly choose
not to by defining the arg themselves.

### Test plan

CI


cc @larryliu0820 @lucylq
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
### Summary
After #9583 and
#9611, we don't rely on
environment variables to turn on pybindings.

### Test plan

Read + run example commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries/all Release PRs with this label will build wheels for all python versions ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants