-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose C/C++ headers packaged in wheels
Summary: Some `.whl`s include C/C++ headers that are used by dependents to compile sources (e.g. numpy, torch). This diff adds a couple ways to expose these headers for C/C++ rules to consume, via a C/C++ preprocessor provider: - `cxx_header_dirs`: The use can specify the expected include dirs in the `.whl` - `infer_cxx_header_dirs`: We'll find `include` dirs and add automatically export them Reviewed By: christycylee Differential Revision: D59762091 fbshipit-source-id: cc300e726172ea28d58bf282cbaf88dfe54441a7
- Loading branch information
1 parent
6590d39
commit 27ce330
Showing
3 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters