mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
### Description 1. Update docker files and their build instructions. ARM64 and x86_64 can use the same docker file. 2. Upgrade Linux CUDA pipeline's base docker image from CentOS7 to UBI8 AB#18990
11 lines
354 B
Bash
Executable file
11 lines
354 B
Bash
Executable file
#!/bin/bash
|
|
set -e -x
|
|
mkdir -p /tmp/src
|
|
cd /tmp/src
|
|
|
|
echo "Installing cmake"
|
|
CPU_ARCH=`uname -m`
|
|
CMAKE_VERSION='3.27.3'
|
|
curl https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-$CPU_ARCH.tar.gz -sSL --retry 5 -o /tmp/src/cmake.tar.gz
|
|
tar -zxf /tmp/src/cmake.tar.gz --strip=1 -C /usr
|
|
rm -f /tmp/src/cmake.tar.gz
|