commit 435a9399672e087052a95adb625b4bf2976b7ce4
parent 71ac7785ffc7daf8169fcddb6669762649846a08
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 28 May 2025 15:32:55 +0200
Add build script for Star-Engine 0.16
It adds several programs such as Star-BlackBody, Star-WoSFunction,
Star-Uniq, Star-Camera or htpp. Some are updated with new versions, and
others are not updated but now rely on newer versions of their
dependencies, such as Star-Sampling 0.15 or RSys 0.15.
These programs, even if their version has not been updated, can no
longer be compatible with Star-Engine 0.15, which explicitly depends on
Star-SamPling 0.14 and not Star-SamPling 0.15. Even if the two versions
are compatible at API level, the updates introduced by the version 0.15
are sufficiently important not to blindly replace version 0.14 with this
one: RNG proxies consume more memory and can therefore lead to memory
errors when created from a highly constrained memory allocator.
As a result, Star-Engine 0.15 itself can no longer be installed. It is
replaced by this new version.
Diffstat:
5 files changed, 30 insertions(+), 70 deletions(-)
diff --git a/config.mk b/config.mk
@@ -18,7 +18,7 @@
#
# find src/ -name "*.sh" ! -name "build.sh" | sort
#
-BUILD = src/dev-libs/star-engine_0.15.sh
+BUILD = src/dev-libs/star-engine_0.16.sh
# Installation path
PREFIX = ./local
diff --git a/src/dev-libs/star-engine_0.15.sh b/src/dev-libs/star-engine_0.15.sh
@@ -1,49 +0,0 @@
-#!/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"
-
-version="0.15"
-
-if [ -n "${STAR_ENGINE_SH}" ]; then
- check_conflict "Star-Engine" "${version}" "${STAR_ENGINE_SH}"
- return
-fi
-
-export STAR_ENGINE_SH="${version}"
-
-. "cad-libs/aw_2.1.sh"
-. "cad-libs/star-3dut_0.4.sh"
-. "cad-libs/star-stl_0.5.1.sh"
-. "rad-libs/star-sf_0.9.sh"
-. "sci-libs/star-2d_0.7.sh"
-. "sci-libs/star-3d_0.10.sh"
-. "sci-libs/star-3daw_0.5.sh"
-. "sci-libs/star-3dstl_0.4.sh"
-. "sci-libs/star-mc_0.6.sh"
-. "sci-libs/star-sp_0.14.sh"
-. "sci-libs/star-uvm_0.3.1.sh"
-. "sci-libs/star-vx_0.3.1.sh"
-
-# shellcheck disable=SC2310
-if use_simd; then
- . "sci-libs/rsimd_0.6.sh"
-fi
-
-profile star-engine.profile
diff --git a/src/dev-libs/star-engine_0.16.sh b/src/dev-libs/star-engine_0.16.sh
@@ -20,26 +20,35 @@ set -e
version="0.16"
if [ -n "${STAR_ENGINE_SH}" ]; then
- check_conflict "Star-Engine" "0.15" "${STAR_ENGINE_SH}"
+ check_conflict "Star-Engine" "${version}" "${STAR_ENGINE_SH}"
return
fi
export STAR_ENGINE_SH="${version}"
-[ -z "${USE_SIMD}" ] && USE_SIMD="0"
-
-#. "star-2d_0.7.sh"
-#. "star-3d_0.10.sh"
-#. "star-3daw_0.5.sh"
-#. "star-3dstl_0.4.sh"
-#. "star-3dut_0.4.sh"
-#. "star-sf_0.9.sh"
-#. "star-sp_0.15.sh"
-#. "star-stl_0.5.1.sh"
-#. "star-mc_0.6.sh"
-#. "star-uvm_0.3.1.sh"
-#. "star-vx_0.3.sh"
-#
-#[ "${USE_SIMD}" != "0" ] && . "rsimd_0.5.sh"
-#
-#profile star-engine.profile
+. "cad-libs/aw_2.1.sh"
+. "cad-libs/star-3dut_0.4.sh"
+. "cad-libs/star-stl_0.6.sh"
+. "rad-libs/star-blackbody_0.0.sh"
+. "rad-libs/star-sf_0.10.sh"
+. "sci-apps/htpp_0.5.sh"
+. "sci-apps/star-4v_s_0.6.sh"
+. "sci-libs/star-2d_0.7.sh"
+. "sci-libs/star-3d_0.10.sh"
+. "sci-libs/star-3daw_0.5.sh"
+. "sci-libs/star-3dstl_0.5.sh"
+. "sci-libs/star-camera_0.2.sh"
+. "sci-libs/star-cmap_0.1.sh"
+. "sci-libs/star-mc_0.6.sh"
+. "sci-libs/star-sp_0.15.sh"
+. "sci-libs/star-uniq_0.0.sh"
+. "sci-libs/star-uvm_0.4.sh"
+. "sci-libs/star-vx_0.3.1.sh"
+. "sci-libs/star-wf_0.0.sh"
+
+# shellcheck disable=SC2310
+if use_simd; then
+ . "sci-libs/rsimd_0.6.sh"
+fi
+
+profile profile
diff --git a/src/sci-apps/star-4v_s_0.6.sh b/src/sci-apps/star-4v_s_0.6.sh
@@ -22,7 +22,7 @@ set -e
. "sci-libs/star-3d_0.10.sh"
. "sci-libs/star-3daw_0.5.sh"
. "sci-libs/star-mc_0.6.sh"
-. "sci-libs/star-sp_0.14.sh"
+. "sci-libs/star-sp_0.15.sh"
. "sys-libs/rsys_0.15.sh"
name="star-4v_s"
diff --git a/src/sci-libs/star-mc_0.6.sh b/src/sci-libs/star-mc_0.6.sh
@@ -19,7 +19,7 @@ set -e
. "misc/build.sh"
-. "sci-libs/star-sp_0.14.sh"
+. "sci-libs/star-sp_0.15.sh"
. "sys-libs/rsys_0.15.sh"
name="star-mc"