Skip to content

Commit a1b3c53

Browse files
authored
Use devtoolset x11-abi for XPU builds validations. (#6078)
XPU are compiled with cxx11-abi hence set the correct flag before running the validations. Test failures are fixed by: #6079
1 parent d81a96f commit a1b3c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ else
7878

7979
pushd ${PWD}/.ci/pytorch/
8080

81-
if [[ ${MATRIX_GPU_ARCH_VERSION} == "12.6" ]]; then
81+
if [[ ${MATRIX_GPU_ARCH_VERSION} == "12.6" || ${MATRIX_GPU_ARCH_TYPE} == "xpu" ]]; then
8282
export DESIRED_DEVTOOLSET="cxx11-abi"
8383
fi
8484

0 commit comments

Comments
 (0)