diff --git a/manywheel/build_common.sh b/manywheel/build_common.sh index 08ca92466..231989cf1 100644 --- a/manywheel/build_common.sh +++ b/manywheel/build_common.sh @@ -133,7 +133,7 @@ case ${DESIRED_PYTHON} in ;; esac -if [[ "$DESIRED_DEVTOOLSET" == *"cxx11-abi"* ]]; then +if [[ "$DESIRED_DEVTOOLSET" == *"cxx11-abi"* || "$DESIRED_CUDA" == *"rocm"* ]]; then export _GLIBCXX_USE_CXX11_ABI=1 else export _GLIBCXX_USE_CXX11_ABI=0