mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
1. Update SDLNativeRules from v2 to v3. The new one allows us setting excluded paths. 2. Update TSAUpload from v1 to v2. And add a config file ".gdn/.gdntsa" for it. 3. Fix some parentheses warnings 4. Update cmake to the latest. 5. Remove "--x86" build option from pipeline yaml files. Now we can auto-detect cpu architecture from python. So we don't need to ask user to specify it.
24 lines
778 B
Bash
24 lines
778 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
|
|
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
|