commit a864465f36eb274f450379bc8b6a1964407d7374 parent ec2efcc5524281ac86e1936d55d79fc6ee303172 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Thu, 13 Nov 2025 16:59:20 +0100 Add Stardis-Solver 0.16.2 Diffstat:
| A | src/therm-libs/stardis-solver_0.16.2.sh | | | 45 | +++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 45 insertions(+), 0 deletions(-)
diff --git a/src/therm-libs/stardis-solver_0.16.2.sh b/src/therm-libs/stardis-solver_0.16.2.sh @@ -0,0 +1,45 @@ +#!/bin/sh + +# Copyright (C) 2023-2025 |Méso|Star> (contact@meso-star.com) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +set -e + +. "misc/build.sh" + +. "sci-libs/star-2d_0.7.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-enclosures-2d_0.6.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sci-libs/star-sp_0.14.sh" +. "sci-libs/star-wf_0.0.sh" +. "sys-libs/rsys_0.15.sh" + +[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI + +name="stardis-solver" +tag="0.16.2" + +if [ -n "${STARDIS_SOLVER_SH}" ]; then + check_conflict "${name}" "${tag}" "${STARDIS_SOLVER_SH}" +else + export STARDIS_SOLVER_SH="${tag}" + + url="$\(REPO\)/stardis-solver.git" + dep="rsys star-2d star-3d star-enclosures-2d star-enclosures-3d star-sp star-wf" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + opt="${opt} DISTRIB_PARALLELISM=${DISTRIB_PARALLELISM}" + git_repo +fi