We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4fa89 commit 7d45255Copy full SHA for 7d45255
check_binary.sh
@@ -435,7 +435,7 @@ fi
435
###############################################################################
436
# Check for C++ ABI compatibility between gcc7 and gcc9 compiled binaries
437
438
-if [[ "$(uname)" == 'Linux' && ("$PACKAGE_TYPE" == 'conda' || "$PACKAGE_TYPE" == 'manywheel') ]]; then
+if [[ "$(uname)" == 'Linux' && ("$PACKAGE_TYPE" == 'conda' || "$PACKAGE_TYPE" == 'manywheel') && GLIBCXX_USE_CXX11_ABI=0 ]]; then
439
pushd /tmp
440
python -c "import torch; exit(0 if torch._C._PYBIND11_BUILD_ABI == '_cxxabi1011' else 1)"
441
popd
0 commit comments