commit f1c1089705ceb33835fcaa67b930fc0de29f0d5f
parent 3404e665910c776b16379cff70c6cd786c47a29d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 16 Dec 2024 13:54:50 +0100
Add EDF build script
It automates the installation of the libraries needed to build SYRTHES,
the thermal simulation tool developed by EDF R&D.
Diffstat:
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -22,6 +22,7 @@ lint:
shellcheck -o all -x -P src src/city_generator2_0.3.1.sh
shellcheck -o all -x -P src src/clipper2_1.1.1.sh
shellcheck -o all -x -P src src/clipper2_1.4.sh
+ shellcheck -o all -x -P src src/edf_0.0.sh
shellcheck -o all -x -P src src/embree_4.0.1.sh
shellcheck -o all -x -P src src/gmsh_4.12.2.sh
shellcheck -o all -x -P src src/htcp_0.1.sh
diff --git a/src/edf_0.0.sh b/src/edf_0.0.sh
@@ -0,0 +1,25 @@
+#!/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 "${EDF}" ] && return
+export EDF=1
+
+. "star-gf_0.3.sh"
+. "star-uvm_0.3.1.sh"
+. "stardis-solver_0.16.1.sh"