#!/bin/bash mkdir -p so cp baidu_third-party_mklml/so/* so rm -rf baidu_third-party_mklml cp baidu_third-party_openmpi/so/* so ln -s libmpi.so so/libmpi.so.0 ln -s libmpi_cxx.so so/libmpi_cxx.so.0 ln -s libopen-pal.so so/libopen-pal.so.0 ln -s libopen-rte.so so/libopen-rte.so.0 rm -rf baidu_third-party_openmpi rm lib/libfake_paddle_proto.a rmdir lib 2>/dev/null || :