mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-09 00:30:53 +00:00
### Description <!-- Describe your changes. --> This is the round 2 of cherry-pick into 1.13 ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com> Co-authored-by: Scott McKay <skottmckay@gmail.com> Co-authored-by: sfatimar <sahar.fatima@intel.com> Co-authored-by: shamaksx <shamax.kshirsagar@intel.com> Co-authored-by: mayavijx <mayax.vijayan@intel.com> Co-authored-by: pratiksha <pratikshax.bapusaheb.vanse@intel.com> Co-authored-by: pratiksha <mohsinx.mohammad@intel.com> Co-authored-by: Sahar Fatima <sfatima.3001@gmail.com> Co-authored-by: Preetha Veeramalai <preetha.veeramalai@intel.com> Co-authored-by: nmaajidk <n.maajid.khan@intel.com> Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com> Co-authored-by: Baiju Meswani <bmeswani@microsoft.com> Co-authored-by: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Co-authored-by: Yufeng Li <liyufeng1987@gmail.com> Co-authored-by: Ye Wang <52801275+wangyems@users.noreply.github.com> Co-authored-by: Adam Pocock <adam.pocock@oracle.com> Co-authored-by: Changming Sun <chasun@microsoft.com> Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
26 lines
828 B
Bash
26 lines
828 B
Bash
#!/bin/bash
|
|
DEBIAN_FRONTEND=noninteractive
|
|
apt-get update && apt-get install -y --no-install-recommends \
|
|
wget \
|
|
zip \
|
|
ca-certificates \
|
|
build-essential \
|
|
curl \
|
|
libcurl4-openssl-dev \
|
|
libssl-dev \
|
|
python3-dev
|
|
|
|
# Dependencies: conda
|
|
wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O ~/miniconda.sh --no-check-certificate && /bin/bash ~/miniconda.sh -b -p /opt/miniconda
|
|
rm ~/miniconda.sh
|
|
/opt/miniconda/bin/conda clean -ya
|
|
|
|
pip install numpy
|
|
pip install packaging
|
|
pip install "wheel>=0.35.1"
|
|
rm -rf /opt/miniconda/pkgs
|
|
|
|
# Dependencies: cmake
|
|
wget --quiet https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0-linux-x86_64.tar.gz
|
|
tar zxf cmake-3.21.0-linux-x86_64.tar.gz
|
|
rm -rf cmake-3.21.0-linux-x86_64.tar.gz
|