commit 489841a884e6f6802d5a2906275b7c1ba2b12998
parent 7eebfb46f86f50464f8aa6ce256b582e6c498095
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 25 Apr 2024 16:43:52 +0200
Add the build script of stardis 0.10
Diffstat:
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -61,4 +61,5 @@ lint:
shellcheck -o all -x -P src src/star-uvm_0.3.1.sh
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.sh
shellcheck -o all -x -P src src/stardis-solver_0.15.1.sh
diff --git a/src/stardis_0.10.sh b/src/stardis_0.10.sh
@@ -0,0 +1,40 @@
+#!/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.sh"
+. "star-geometry-3d_0.2.sh"
+. "star-sp_0.14.sh"
+. "star-stl_0.5.sh"
+. "stardis-solver_0.15.1.sh"
+
+name="stardis"
+url="$\(REPO\)/stardis.git"
+tag="0.10"
+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