diff --git a/.ci/docker/manywheel/Dockerfile_s390x b/.ci/docker/manywheel/Dockerfile_s390x index 46ec7f77ae8..1cf83acb1c7 100644 --- a/.ci/docker/manywheel/Dockerfile_s390x +++ b/.ci/docker/manywheel/Dockerfile_s390x @@ -115,6 +115,9 @@ RUN env GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True pip3 install grpcio # cmake-3.28.0 from pip for onnxruntime RUN python3 -mpip install cmake==3.28.0 +ADD ./common/patch_libstdc.sh patch_libstdc.sh +RUN bash ./patch_libstdc.sh && rm patch_libstdc.sh + # build onnxruntime 1.21.0 from sources. # it is not possible to build it from sources using pip, # so just build it from upstream repository. diff --git a/.ci/pytorch/check_binary.sh b/.ci/pytorch/check_binary.sh index cca289ac146..0f632f8006c 100755 --- a/.ci/pytorch/check_binary.sh +++ b/.ci/pytorch/check_binary.sh @@ -67,7 +67,7 @@ fi # wheels with cxx11-abi echo "Checking that the gcc ABI is what we expect" -if [[ "$(uname)" != 'Darwin' && "$(uname -m)" != "s390x" ]]; then +if [[ "$(uname)" != 'Darwin' ]]; then # We also check that there are cxx11 symbols in libtorch # echo "Checking that symbols in libtorch.so have the right gcc abi"