cd /onnxruntime pip3 install -r requirements.txt # Add newer cmake to the path export PATH="/opt/cmake/bin:$PATH" export CXXFLAGS="-D__HIP_PLATFORM_HCC__=1 -w" ./build.sh --config Release --update --build --parallel --cmake_extra_defines ONNXRUNTIME_VERSION=$(cat ./VERSION_NUMBER) --use_migraphx # pip3 install /code/onnxruntime/build/Linux/Release/dist/*.whl