Lunderberg commented on PR #16249: URL: https://github.com/apache/tvm/pull/16249#issuecomment-1894194074
Ooh boy, tracking down the CXXABI rabbit hole * gcc only provides Dual ABI support for pre-C++11 classes (e.g. `std::string`), and not for C++11 onward (e.g. `std::regex`). The Dual ABI is only intended for compatibility with C++ code that predates C++11. ([link](https://stackoverflow.com/a/51385122)) * Even though it should only be used for backwards compatibility, Pytorch defaults to being compiled with `USE_CXX11_ABI=0`. This is to make sure that the wheels can be compiled under the `manylinux` docker image, required by PyPI. ([link](https://github.com/pytorch/pytorch/issues/51039)) * The `manylinux` docker image is based on CentOS 7 ([link](https://github.com/pytorch/pytorch/issues/51039#issuecomment-767012101)) * The compiler recommended by PEP-513 for use in the `manylinux` container does not support the `USE_CXX11_ABI=1` flag. This is a CentOS 7 limitation, and is closed as cantfix ([link](https://bugzilla.redhat.com/show_bug.cgi?id=1546704)). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
