mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Synchronize training dependency versions between Docker image and wheel, update docs, refactor build scripts.
15 lines
432 B
Bash
Executable file
15 lines
432 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# install Open MPI
|
|
echo "Installing Open MPI"
|
|
MPI_SHA256_SUM=dca264f420411f540a496bdd131bffd83e325fc9006286b39dd19b62d7368233
|
|
curl -fsSL https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.4.tar.gz -O
|
|
echo "$MPI_SHA256_SUM openmpi-4.0.4.tar.gz" | sha256sum -c -
|
|
tar zxf openmpi-4.0.4.tar.gz
|
|
cd openmpi-4.0.4
|
|
./configure --enable-orterun-prefix-by-default
|
|
make -j $(nproc) all
|
|
make install
|
|
ldconfig
|