pytorch
6bb448a2 - [inductor][fbcode] Add -D C10_DISABLE_TENSORIMPL_EXTENSIBILITY to cpp_compile_command (#110122)

Commit
1 year ago
[inductor][fbcode] Add -D C10_DISABLE_TENSORIMPL_EXTENSIBILITY to cpp_compile_command (#110122) Summary: ## Why? The .so and .h files are compiled seperately with different flags. The .so is compiled by AOTInductor and .h files (eg. c10/core/TensorImpl.h) are compiled by buck2. Let's make sure the .so is also compiled with this macro in fbcode. Differential Revision: D49664078 Pull Request resolved: https://github.com/pytorch/pytorch/pull/110122 Approved by: https://github.com/chenyang78, https://github.com/khabinov
Author
Committer
Parents
Loading