mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[Build] Remove pre-CXX11 ABI logic from build script (#149888)
Only keep one in check_binary_symbols to make sure there are no pre-CXX11 ABI symbols in the library Pull Request resolved: https://github.com/pytorch/pytorch/pull/149888 Approved by: https://github.com/atalman, https://github.com/seemethere ghstack dependencies: #149887
This commit is contained in:
committed by
PyTorch MergeBot
parent
280e48739a
commit
5a7588f183
@ -2232,7 +2232,7 @@ del _torch_docs, _tensor_docs, _storage_docs, _size_docs
|
||||
|
||||
def compiled_with_cxx11_abi() -> builtins.bool:
|
||||
r"""Returns whether PyTorch was built with _GLIBCXX_USE_CXX11_ABI=1"""
|
||||
return _C._GLIBCXX_USE_CXX11_ABI
|
||||
return True
|
||||
|
||||
|
||||
from torch import _library as _library, _ops as _ops
|
||||
|
Reference in New Issue
Block a user