fixed: building pypi release packages

This commit is contained in:
Arne Morten Kvarving
2024-11-07 11:45:03 +01:00
parent dd0fbbdede
commit 5085877d4e
2 changed files with 11 additions and 7 deletions

View File

@@ -2,8 +2,9 @@
set -e
VERSION_TAG=${1:-""}
BUILD_JOBS=$2
VERSION=${1:-"master"}
BUILD_JOBS=${2:-16}
VERSION_TAG=${3:-""}
export CMAKE_GENERATOR=Ninja
@@ -25,9 +26,9 @@ done
DIR=`pwd`
# Setup opm modules
git clone https://github.com/OPM/opm-common
git clone https://github.com/OPM/opm-grid
git clone https://github.com/OPM/opm-simulators
git clone https://github.com/OPM/opm-common -b $VERSION
git clone https://github.com/OPM/opm-grid -b $VERSION
git clone https://github.com/OPM/opm-simulators -b $VERSION
git clone https://github.com/OPM/opm-utilities
ln -sf opm-utilities/opm-super/CMakeLists.txt CMakeLists.txt