[Build] Disable C++11 ABI when necessary for libtorch compatibility (#880)
With this change, `BUILD_TRANSDUCER=1 python setup.py build_ext` now sees `-D_GLIBCXX_USE_CXX11_ABI=` in the compilation command. (Note: sox is C-only so it is not relevant to sox build process) See also: - https://github.com/pytorch/text/pull/931 - https://stackoverflow.com/a/55406930
Showing
Please register or sign in to comment