Skip to content

Conversation

larryliu0820
Copy link
Contributor

executorch-config.cmake

Summary: As titled. This PR aligns the behavior of executorch-config.cmake (being used by building ET from source) and the behavior of executorch-wheel-config.cmake (being used by installing ET from pip), by exposing these variables:

  • EXECUTORCH_FOUND set to ON when required libraries are found
  • EXECUTORCH_LIBRARIES a list of targets for installed ET libraries
  • EXECUTORCH_INCLUDE_DIRS a list of directory paths to headers

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

executorch-config.cmake

Summary: As titled. This PR aligns the behavior of
`executorch-config.cmake` (being used by building ET from source) and
the behavior of `executorch-wheel-config.cmake` (being used by
installing ET from pip), by exposing these variables:
* `EXECUTORCH_FOUND` set to `ON` when required libraries are found
* `EXECUTORCH_LIBRARIES` a list of targets for installed ET libraries
* `EXECUTORCH_INCLUDE_DIRS` a list of directory paths to headers

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
Copy link

pytorch-bot bot commented Oct 14, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 42c8ef0 with merge base aa852cc (image):
💚 Looks good so far! There are no failures yet. 💚

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 Oct 14, 2024
@larryliu0820 larryliu0820 changed the title Populates EXECUTORCH_LIBRARIES and other variables in Populates EXECUTORCH_LIBRARIES and other variables in executorch-config.cmake Oct 14, 2024
@facebook-github-bot
Copy link
Contributor

@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@larryliu0820 merged this pull request in 9bd7f46.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants