When compile the v1.0 source code using gcc 5.4.0, the _GLIBCXX_USE_CXX11_ABI=1.
But when build the cpp extension, the BuildExtension set _GLIBCXX_USE_CXX11_ABI=0:
https://pytorch.org/docs/stable/_modules/torch/utils/cpp_extension.html
how can we set _GLIBCXX_USE_CXX11_ABI=0
when compiling pytorch 1.0 ?
BTW, when run torch.compiled_with_cxx11_abi()
, the official release whl package outputs False,
but the self-built binary outputs True.