star-build

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

commit d375c2ffc162a8cb5d9803cdbcd4d114e7d8b121
parent dfcc04b8ef39457a8f51dd658e14837d26d64f71
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 17 Jul 2024 11:37:44 +0200

Add the build script for stardis 0.11

Diffstat:
Mlint.mk | 1+
Asrc/stardis_0.11.sh | 42++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/lint.mk b/lint.mk @@ -68,6 +68,7 @@ lint: shellcheck -o all -x -P src src/star-vx_0.3.sh shellcheck -o all -x -P src src/star-wf_0.0.sh shellcheck -o all -x -P src src/stardis_0.10.1.sh + shellcheck -o all -x -P src src/stardis_0.11.sh shellcheck -o all -x -P src src/stardis-green_0.5.1.sh shellcheck -o all -x -P src src/stardis-solver_0.15.2.sh shellcheck -o all -x -P src src/stardis-solver_0.16.sh diff --git a/src/stardis_0.11.sh b/src/stardis_0.11.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +# Copyright (C) 2023, 2024 |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 + +[ -n "${STARDIS}" ] && return +export STARDIS=1 + +[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI + +. "build.sh" +. "rsys_0.14.sh" +. "star-3d_0.10.sh" +. "star-enclosures-3d_0.7.2.sh" +. "star-geometry-3d_0.2.sh" +. "star-sp_0.14.sh" +. "star-stl_0.5.sh" +. "stardis-solver_0.16.sh" + +name="stardis" +url="$\(REPO\)/stardis.git" +tag="0.11" +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 stardis.profile