-
Notifications
You must be signed in to change notification settings - Fork 649
Switch from print_exported_headers to CMake's installed headers in scripts/build_apple_frameworks.sh #13559
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
base: gh/swolchok/555/head
Are you sure you want to change the base?
Conversation
Stack from ghstack (oldest at bottom): |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13559
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit 7f0e6fc with merge base 335de46 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…ripts/build_apple_frameworks.sh This removes the need to use Buck in this script. The previous PR (#13485) adds enforcement that we don't install non-public headers from CMake. I built the frameworks before and after. Here is a diff of all headers present in the frameworks: https://gist.github.com/swolchok/70647b551da7827a9cbdb083fad1e209 Generally, we now include more headers than before. The only header we used to include that we no longer include is schema/extended_header.h. It looks like we are not including the rest of the headers for the PTE schema anyway, so I propose that we fix installation of the schema headers separately. ghstack-source-id: 626397b ghstack-comment-id: 3207551649 Pull-Request: #13559
There are a lot of headers for the code not shipped with the executorch runtime framework, so anyone using them by mistake will run into missing symbols error. |
This removes the need to use Buck in this script. The previous PR (#13485) adds enforcement that we don't install non-public headers from CMake.
I built the frameworks before and after. Here is a diff of all headers
present in the frameworks:
https://gist.github.com/swolchok/70647b551da7827a9cbdb083fad1e209
Generally, we now include more headers than before. The only header we
used to include that we no longer include is
schema/extended_header.h. It looks like we are not including the rest
of the headers for the PTE schema anyway, so I propose that we fix
installation of the schema headers separately.