From 43ede55190cb9167fc3a278ca6e94987fd6655d2 Mon Sep 17 00:00:00 2001 From: Jithun Nair Date: Thu, 21 Nov 2024 21:37:01 +0000 Subject: [PATCH] Expect GCC_ABI=1 for ROCm --- check_binary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_binary.sh b/check_binary.sh index e5bd58e02..e191448a2 100755 --- a/check_binary.sh +++ b/check_binary.sh @@ -80,7 +80,7 @@ fi echo "Checking that the gcc ABI is what we expect" if [[ "$(uname)" != 'Darwin' ]]; then function is_expected() { - if [[ "$DESIRED_DEVTOOLSET" == *"cxx11-abi"* ]]; then + if [[ "$DESIRED_DEVTOOLSET" == *"cxx11-abi"* || "$DESIRED_CUDA" == *"rocm"* ]]; then if [[ "$1" -gt 0 || "$1" == "ON " ]]; then echo 1 fi