File: setup-docker-image.sh

package info (click to toggle)
opm-simulators 2025.10%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,460 kB
  • sloc: cpp: 193,029; sh: 1,807; python: 1,704; lisp: 1,108; makefile: 31; awk: 10
file content (14 lines) | stat: -rwxr-xr-x 370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# This script is used to setup a manylinux docker image for OPM usage. It is called from
#   docker/Dockerfile

LIBTYPE=${1:-"static"}

dnf install -y almalinux-release-devel ninja-build

if [ "$LIBTYPE" == "static" ]; then
    dnf install -y blas-static lapack-static suitesparse-static
else
    dnf install -y blas-devel lapack-devel suitesparse-devel
fi