star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit 1a2ac457d0f2e81afb52baf6d6bd6fc5a36138e1
parent 93248563aaff43bb3d5e1180dc098f92cd3878a6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 14 Nov 2025 15:00:50 +0100

Add Stardis 0.12

Make star-meteo dependent on this version rather than version 0.11.1,
like stardis-green 0.5.1.

Diffstat:
Msrc/therm-apps/stardis-green_0.5.1.sh | 2+-
Asrc/therm-apps/stardis_0.12.sh | 47+++++++++++++++++++++++++++++++++++++++++++++++
Msrc/therm-libs/star-meteo_0.0.sh | 2+-
3 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/src/therm-apps/stardis-green_0.5.1.sh b/src/therm-apps/stardis-green_0.5.1.sh @@ -20,7 +20,7 @@ set -e . "misc/build.sh" . "sys-libs/rsys_0.15.sh" -. "therm-apps/stardis_0.11.1.sh" +. "therm-apps/stardis_0.12.sh" name="stardis-green" tag="0.5.1" diff --git a/src/therm-apps/stardis_0.12.sh b/src/therm-apps/stardis_0.12.sh @@ -0,0 +1,47 @@ +#!/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" + +. "cad-libs/star-stl_0.7.sh" +. "sci-libs/star-geometry-3d_0.2.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sci-libs/star-sp_0.15.sh" +. "sys-libs/rsys_0.15.sh" +. "therm-libs/stardis-solver_0.16.2.sh" + +[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI + +name="stardis" +tag="0.12" + +if [ -n "${STARDIS_SH}" ]; then + check_conflict "${name}" "${tag}" "${STARDIS_SH}" +else + export STARDIS_SH="${tag}" + + url="$\(REPO\)/stardis.git" + dep="rsys star-3d star-enclosures-3d star-geometry-3d star-sp star-stl stardis-solver" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + opt="${opt} DISTRIB_PARALLELISM=${DISTRIB_PARALLELISM}" + git_repo + + profile profile +fi diff --git a/src/therm-libs/star-meteo_0.0.sh b/src/therm-libs/star-meteo_0.0.sh @@ -21,7 +21,7 @@ set -e . "sci-libs/star-cem_0.0.sh" . "sys-libs/rsys_0.15.sh" -. "therm-apps/stardis_0.11.1.sh" +. "therm-apps/stardis_0.12.sh" name="star-meteo" tag="0.0"