commit c7158a8e44da00ea12e3aeb887e7e15c2237f368 parent 9ff08618fb92e2c163c2457fd6367ed69a4e40d0 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Fri, 2 May 2025 14:29:45 +0200 Sort build scripts into subfolders and check conflicts Add subfolders in which build scripts are sorted according to their categories. Update build scripts to manage the new file hierarchy. Build scripts check build conflicts. The same build in different versions is prohibited. The build construction scripts were checked with shellcheck but not in depth. So bugs should survive. However, some were removed as for htrdr whose list of prerequisites was incorrect. Diffstat:
| M | .gitignore | | | 5 | +++-- |
| M | Makefile | | | 15 | +++++++++------ |
| M | config.mk | | | 2 | +- |
| R | src/noweb.mk.in -> src/app-text/noweb.mk.in | | | 0 | |
| A | src/app-text/noweb_2.13rc3.sh | | | 29 | +++++++++++++++++++++++++++++ |
| R | src/scdoc.mk.in -> src/app-text/scdoc.mk.in | | | 0 | |
| A | src/app-text/scdoc_1.11.3.sh | | | 34 | ++++++++++++++++++++++++++++++++++ |
| D | src/atrri_0.1.sh | | | 31 | ------------------------------- |
| D | src/atrstm_0.1.1.sh | | | 44 | -------------------------------------------- |
| D | src/atrtp_0.1.sh | | | 31 | ------------------------------- |
| D | src/aw_2.1.sh | | | 31 | ------------------------------- |
| D | src/build.sh | | | 113 | ------------------------------------------------------------------------------- |
| A | src/cad-apps/city_generator2_0.3.1.sh | | | 42 | ++++++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-apps/city_generator2_0.4.1.sh | | | 45 | +++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-apps/star-meshtool_0.2.sh | | | 39 | +++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/aw_2.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| R | src/clipper2.mk.in -> src/cad-libs/clipper2.mk.in | | | 0 | |
| A | src/cad-libs/clipper2_1.1.1.sh | | | 34 | ++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/clipper2_1.4.sh | | | 34 | ++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/clipper2_1.5.2.sh | | | 34 | ++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/gmsh_4.12.2.sh | | | 32 | ++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/polygon_0.2.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/star-3dut_0.4.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/star-cad_0.5.1.sh | | | 39 | +++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/star-cad_0.5.2.sh | | | 39 | +++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/star-cpr_0.5.1.sh | | | 38 | ++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/star-cpr_0.5.sh | | | 38 | ++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/star-cpr_0.6.sh | | | 38 | ++++++++++++++++++++++++++++++++++++++ |
| A | src/cad-libs/star-stl_0.5.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| D | src/city_generator2_0.3.1.sh | | | 37 | ------------------------------------- |
| D | src/city_generator2_0.4.1.sh | | | 37 | ------------------------------------- |
| D | src/city_generator2_0.4.sh | | | 37 | ------------------------------------- |
| D | src/clipper2_1.1.1.sh | | | 28 | ---------------------------- |
| D | src/clipper2_1.4.sh | | | 28 | ---------------------------- |
| D | src/clipper2_1.5.2.sh | | | 28 | ---------------------------- |
| A | src/dev-libs/edf_0.0.sh | | | 33 | +++++++++++++++++++++++++++++++++ |
| R | src/libcyaml.mk.in -> src/dev-libs/libcyaml.mk.in | | | 0 | |
| A | src/dev-libs/libcyaml_1.3.1.sh | | | 36 | ++++++++++++++++++++++++++++++++++++ |
| A | src/dev-libs/libcyaml_1.4.1.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/dev-libs/rnsl_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/dev-libs/sgs.sh | | | 40 | ++++++++++++++++++++++++++++++++++++++++ |
| A | src/dev-libs/star-buffer_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/dev-libs/star-engine_0.15.sh | | | 48 | ++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/dev-libs/star-engine_0.16.sh | | | 45 | +++++++++++++++++++++++++++++++++++++++++++++ |
| D | src/edf_0.0.sh | | | 25 | ------------------------- |
| D | src/embree_4.0.1.sh | | | 44 | -------------------------------------------- |
| D | src/gmsh_4.12.2.sh | | | 27 | --------------------------- |
| D | src/htcp_0.1.sh | | | 31 | ------------------------------- |
| D | src/htgop_0.2.sh | | | 31 | ------------------------------- |
| D | src/htmie_0.1.sh | | | 31 | ------------------------------- |
| D | src/htpp_0.5.sh | | | 32 | -------------------------------- |
| D | src/htrdr_0.10.sh | | | 62 | -------------------------------------------------------------- |
| D | src/htrdr_0.11.sh | | | 62 | -------------------------------------------------------------- |
| D | src/htsky_0.3.1.sh | | | 35 | ----------------------------------- |
| D | src/libcyaml_1.3.1.sh | | | 29 | ----------------------------- |
| D | src/libcyaml_1.4.1.sh | | | 29 | ----------------------------- |
| R | src/build.profile.in -> src/misc/build.profile.in | | | 0 | |
| A | src/misc/build.sh | | | 113 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| R | src/git.mk.in -> src/misc/git.mk.in | | | 0 | |
| A | src/misc/profile.mk.in | | | 18 | ++++++++++++++++++ |
| A | src/misc/profile.sh | | | 26 | ++++++++++++++++++++++++++ |
| R | src/spkg.mk.in -> src/misc/spkg.mk.in | | | 0 | |
| D | src/mrumtl_0.2.sh | | | 31 | ------------------------------- |
| D | src/noweb_2.13rc3.sh | | | 25 | ------------------------- |
| D | src/polygon_0.2.sh | | | 31 | ------------------------------- |
| D | src/profile.mk.in | | | 18 | ------------------ |
| D | src/profile.sh | | | 26 | -------------------------- |
| A | src/rad-apps/htrdr_0.10.sh | | | 67 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/rad-apps/htrdr_0.11.sh | | | 69 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/atrri_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/atrstm_0.1.1.sh | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/atrtp_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/htcp_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/htgop_0.2.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/htmie_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/htsky_0.3.1.sh | | | 40 | ++++++++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/mrumtl_0.2.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/rnatm_0.1.sh | | | 46 | ++++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/rngrd_0.1.sh | | | 42 | ++++++++++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/rnsf_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/star-aerosol_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/star-blackbody_0.0.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/star-ck_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/star-gf_0.3.sh | | | 39 | +++++++++++++++++++++++++++++++++++++++ |
| A | src/rad-libs/star-sf_0.9.sh | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
| D | src/random123_1.14.0.sh | | | 28 | ---------------------------- |
| D | src/rnatm_0.1.sh | | | 41 | ----------------------------------------- |
| D | src/rngrd_0.1.sh | | | 37 | ------------------------------------- |
| D | src/rnsf_0.1.sh | | | 31 | ------------------------------- |
| D | src/rnsl_0.1.sh | | | 31 | ------------------------------- |
| D | src/rsimd_0.5.sh | | | 32 | -------------------------------- |
| D | src/rsys_0.14.sh | | | 32 | -------------------------------- |
| D | src/rsys_0.15.sh | | | 32 | -------------------------------- |
| D | src/scdoc_1.11.2-r1.sh | | | 29 | ----------------------------- |
| A | src/sci-apps/htpp_0.5.sh | | | 36 | ++++++++++++++++++++++++++++++++++++ |
| A | src/sci-apps/star-4v_s_0.6.sh | | | 40 | ++++++++++++++++++++++++++++++++++++++++ |
| R | src/embree4.mk.in -> src/sci-libs/embree4.mk.in | | | 0 | |
| A | src/sci-libs/embree_4.0.1.sh | | | 52 | ++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| R | src/random123.mk.in -> src/sci-libs/random123.mk.in | | | 0 | |
| A | src/sci-libs/random123_1.14.0.sh | | | 33 | +++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/rsimd_0.5.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| R | src/sleef.mk.in -> src/sci-libs/sleef.mk.in | | | 0 | |
| R | src/sleef_3.5.2-r0.sh -> src/sci-libs/sleef_3.5.2-r0.sh | | | 0 | |
| A | src/sci-libs/star-2d_0.7.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-3d_0.10.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-3daw_0.5.sh | | | 39 | +++++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-3dstl_0.4.sh | | | 38 | ++++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-camera_0.2.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-cmap_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-enclosures-2d_0.6.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-enclosures-3d_0.7.2.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-geometry-3d_0.2.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-mc_0.6.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-mesh_0.1.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-sp_0.14.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-sp_0.15.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-uvm_0.3.1.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-vx_0.3.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| A | src/sci-libs/star-wf_0.0.sh | | | 35 | +++++++++++++++++++++++++++++++++++ |
| D | src/sgs.sh | | | 34 | ---------------------------------- |
| D | src/star-2d_0.7.sh | | | 32 | -------------------------------- |
| D | src/star-3d_0.10.sh | | | 32 | -------------------------------- |
| D | src/star-3daw_0.5.sh | | | 34 | ---------------------------------- |
| D | src/star-3dstl_0.4.sh | | | 34 | ---------------------------------- |
| D | src/star-3dut_0.4.sh | | | 31 | ------------------------------- |
| D | src/star-4v_s_0.6.sh | | | 35 | ----------------------------------- |
| D | src/star-aerosol_0.1.sh | | | 31 | ------------------------------- |
| D | src/star-blackbody.sh | | | 31 | ------------------------------- |
| D | src/star-buffer_0.1.sh | | | 31 | ------------------------------- |
| D | src/star-cad_0.5.1.sh | | | 34 | ---------------------------------- |
| D | src/star-cad_0.5.2.sh | | | 34 | ---------------------------------- |
| D | src/star-camera_0.2.sh | | | 31 | ------------------------------- |
| D | src/star-ck_0.1.sh | | | 31 | ------------------------------- |
| D | src/star-cmap_0.1.sh | | | 31 | ------------------------------- |
| D | src/star-cpr_0.5.1.sh | | | 33 | --------------------------------- |
| D | src/star-cpr_0.5.sh | | | 33 | --------------------------------- |
| D | src/star-cpr_0.6.sh | | | 33 | --------------------------------- |
| D | src/star-enclosures-2d_0.6.sh | | | 32 | -------------------------------- |
| D | src/star-enclosures-3d_0.7.2.sh | | | 32 | -------------------------------- |
| D | src/star-engine_0.15.sh | | | 42 | ------------------------------------------ |
| D | src/star-geometry-3d_0.2.sh | | | 31 | ------------------------------- |
| D | src/star-gf_0.3.sh | | | 34 | ---------------------------------- |
| D | src/star-mc_0.6.sh | | | 32 | -------------------------------- |
| D | src/star-mesh_0.1.sh | | | 31 | ------------------------------- |
| D | src/star-meshtool_0.2.sh | | | 35 | ----------------------------------- |
| D | src/star-sf_0.9.sh | | | 42 | ------------------------------------------ |
| D | src/star-sp_0.14.sh | | | 32 | -------------------------------- |
| D | src/star-stl_0.5.1.sh | | | 31 | ------------------------------- |
| D | src/star-uvm_0.3.1.sh | | | 32 | -------------------------------- |
| D | src/star-vx_0.3.sh | | | 31 | ------------------------------- |
| D | src/star-wf_0.0.sh | | | 31 | ------------------------------- |
| D | src/stardis-green_0.5.1.sh | | | 32 | -------------------------------- |
| D | src/stardis-solver_0.15.2.sh | | | 40 | ---------------------------------------- |
| D | src/stardis-solver_0.16.1.sh | | | 40 | ---------------------------------------- |
| D | src/stardis_0.10.1.sh | | | 42 | ------------------------------------------ |
| D | src/stardis_0.11.1.sh | | | 42 | ------------------------------------------ |
| A | src/sys-libs/rsys_0.14.sh | | | 33 | +++++++++++++++++++++++++++++++++ |
| A | src/sys-libs/rsys_0.15.sh | | | 32 | ++++++++++++++++++++++++++++++++ |
| R | src/tbb.mk.in -> src/sys-libs/tbb.mk.in | | | 0 | |
| A | src/sys-libs/tbb_2021.13.0.sh | | | 29 | +++++++++++++++++++++++++++++ |
| A | src/tags | | | 0 | |
| D | src/tbb_2021.13.0.sh | | | 26 | -------------------------- |
| A | src/therm-apps/stardis-green_0.5.1.sh | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | src/therm-apps/stardis_0.10.1.sh | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/therm-apps/stardis_0.11.1.sh | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/therm-libs/stardis-solver_0.15.2.sh | | | 45 | +++++++++++++++++++++++++++++++++++++++++++++ |
| A | src/therm-libs/stardis-solver_0.16.1.sh | | | 45 | +++++++++++++++++++++++++++++++++++++++++++++ |
167 files changed, 2977 insertions(+), 2591 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -7,7 +7,8 @@ build.mk local profile -*/ -!src/ +/* +!/src +tags *.sh.mk *.sh.d diff --git a/Makefile b/Makefile @@ -33,7 +33,8 @@ clean: makefile rm -rf .prefix $(MK) purge: - rm -rf "$(CACHE)" .prefix src/*.sh.mk + rm -rf "$(CACHE)" .prefix + find src -name "*.sh.mk" -exec rm {} +; uninstall: makefile @$(MAKE) -f Makefile -f $(MK) uninstall_all @@ -47,11 +48,13 @@ makefile: cache @echo "Setup $(MK)" @rm -f $(MK) @{ \ - PATH="src:$${PATH}" \ - USE_SIMD=$(USE_SIMD) \ - MAKE=$(MAKE) \ - $(SHELL) "$(BUILD)"; \ - } > "$(MK)" + build="$${PWD}/$(BUILD)"; \ + cd src; \ + PATH=$${PATH} \ + USE_SIMD=$(USE_SIMD) \ + MAKE=$(MAKE) \ + $(SHELL) "$${build}"; \ + } > "$(MK)" prefix: @# store in .prefix the absolute prefix path diff --git a/config.mk b/config.mk @@ -18,7 +18,7 @@ # # find src/ -name "*.sh" ! -name "build.sh" | sort # -BUILD = src/star-engine_0.15.sh +BUILD = src/dev-libs/star-engine_0.15.sh # Installation path PREFIX = ./local diff --git a/src/noweb.mk.in b/src/app-text/noweb.mk.in diff --git a/src/app-text/noweb_2.13rc3.sh b/src/app-text/noweb_2.13rc3.sh @@ -0,0 +1,29 @@ +#!/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" + +tag=v2_13rc3 + +if [ -n "${NOWEB_SH}" ]; then + check_conflict "noweb" "${tag}" "${NOWEB_SH}" +else + export NOWEB_SH="${tag}" + sed "s/@TAG@/${tag}/" "app-text/noweb.mk.in" +fi diff --git a/src/scdoc.mk.in b/src/app-text/scdoc.mk.in diff --git a/src/app-text/scdoc_1.11.3.sh b/src/app-text/scdoc_1.11.3.sh @@ -0,0 +1,34 @@ +#!/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" + +tag=1.11.3 + +if [ -n "${SCDOC_SH}" ]; then + check_conflict "scdoc" "${tag}" "${SCDOC_SH}" +else + export SCDOC_SH="${tag}" + + sed "s/@TAG@/${tag}/" "app-text/scdoc.mk.in" + + # Add the template file as a prerequisite for the script invoked + # i.e. the build file + printf '%s: src/app-text/scdoc.mk.in\n' "$0" +fi diff --git a/src/atrri_0.1.sh b/src/atrri_0.1.sh @@ -1,31 +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 - -[ -n "${ATRRI_SH}" ] && return -export ATRRI_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="atrri" -url="$\(REPO\)/atrri.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/atrstm_0.1.1.sh b/src/atrstm_0.1.1.sh @@ -1,44 +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 - -[ -n "${ATRSTM_SH}" ] && return -export ATRSTM_SH=1 - -. "build.sh" -. "atrri_0.1.sh" -. "atrtp_0.1.sh" -. "rsys_0.14.sh" -. "star-mesh_0.1.sh" -. "star-uvm_0.3.1.sh" -. "star-vx_0.3.sh" - -[ -z "${USE_SIMD}" ] && USE_SIMD="0" -[ "${USE_SIMD}" != 0 ] && . "rsimd_0.5.sh" - -name="atrstm" -url="$\(REPO\)/atrstm.git" -tag="0.1.1" -dep="atrri atrtp rsys star-mesh star-uvm star-vx" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" - -if [ "${USE_SIMD}" != "0" ]; then - dep="${dep} rsimd" -fi - -git_repo diff --git a/src/atrtp_0.1.sh b/src/atrtp_0.1.sh @@ -1,31 +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 - -[ -n "${ATRTP_SH}" ] && return -export ATRTP_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="atrtp" -url="$\(REPO\)/atrtp.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/aw_2.1.sh b/src/aw_2.1.sh @@ -1,31 +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 - -[ -n "${AW_SH}" ] && return -export AW_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="aw" -url="$\(REPO_VAPLV\)/loader_aw.git" -tag="2.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/build.sh b/src/build.sh @@ -1,113 +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 - -[ -n "${BUILD_SH}" ] && return -export BUILD_SH=1 - -# Check for conflicts between script versions of the same build -# Return 0 if version do not conflicts, and >0 otherwise -check_conflict() # name, version0, version 1 -{ - # Do not define local variables to avoid risk of updating variables - # defined in the calling's environment - - if [ $# -lt 3 ]; then - >&2 printf 'usage: check_conflict name version0 version1\n' - return 1 - fi - - if [ "$2" != "$3" ]; then - >&2 printf '%s %s conflicts with %s %s\n' "$1" "$2" "$1" "$3" - return 1 - fi - - return 0 -} - -# Generate the targets for a git repository. The input variables are: -# - name : the name of the target (required) -# - url : the URL of the git repository (required) -# - tag : the tag/branch/commit to use (required) -# - dep : name of the targets on which this build depends (optional) -# - opt : the options passed when invoking make (optional) -git_repo() -{ - sed \ - -e "s#@NAME@#${name}#g" \ - -e "s#@URL@#${url}#g" \ - -e "s#@TAG@#${tag}#g" \ - -e "s#@DEP@#${dep}#g" \ - -e "s#@OPT@#${opt}#g" \ - "src/git.mk.in" - - # Reset variables - name="" - url="" - tag="" - dep="" - opt="" -} - -# Generate the targets for a Star-PKG binary. The input variables are: -# - name: the name of the target (required) -# - url: the URL of the package (required) -bin_spkg() -{ - arch="${url##*/}" - arch="${arch%.*}" - path="${url%/*}" - - sed \ - -e "s#@NAME@#${name}#g" \ - -e "s#@ARCH@#${arch}#g" \ - -e "s#@PATH@#${path}#g" \ - "src/spkg.mk.in" - - # Reset variables - name="" - url="" -} - -# Generate the targets of a profile -profile() -{ - sed -e "s#@NAME@#$1#g" "src/profile.mk.in" -} - -# Print the value of a variable in config.mk -showvar() -{ - # To avoid messages from Make being displayed instead of the value of - # the queried variable, we redirect its output to /dev/null and open a - # new file descriptor to stdout to print the variable. - # - # The MAKEFLAGS environment variable is cleared to prevent make - # defining options which reserve the file descriptor used to print the - # variable, which would result in a ‘wrong file descriptor’ error. - # This can be the case with certain versions of GNU make which, when - # run in parallel, use pipe file descriptors to synchronise with the - # jobserver. -<< EOF MAKEFLAGS="" ${MAKE:-make} -f 3>&1 1>/dev/null 2>&1 - || kill -HUP $$ -.POSIX: -include config.mk -showvar: - @1>&3 echo \$(${1}) -EOF - exec 3<&- # Close file descriptor 3 -} diff --git a/src/cad-apps/city_generator2_0.3.1.sh b/src/cad-apps/city_generator2_0.3.1.sh @@ -0,0 +1,42 @@ +#!/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-cad_0.5.1.sh" +. "cad-libs/star-cpr_0.5.1.sh" +. "cad-libs/star-stl_0.5.1.sh" +. "dev-libs/libcyaml_1.4.1.sh" +. "sys-libs/rsys_0.14.sh" + +name="city_generator2" +tag="0.3.1" + +if [ -n "${CITY_GENERATOR2_SH}" ]; then + check_conflict "${name}" "${tag}" "${CITY_GENERATOR2_SH}" +else + export CITY_GENERATOR2_SH="${tag}" + + url="$\(REPO\)/city_generator2.git" + dep="rsys libcyaml star-stl star-cad star-cpr" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo + + profile city_generator2.profile +fi diff --git a/src/cad-apps/city_generator2_0.4.1.sh b/src/cad-apps/city_generator2_0.4.1.sh @@ -0,0 +1,45 @@ +#!/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 + +[ -n "${CITY_GENERATOR2}" ] && return +export CITY_GENERATOR2=1 + +. "misc/build.sh" + +. "cad-libs/star-cad_0.5.2.sh" +. "cad-libs/star-cpr_0.6.sh" +. "cad-libs/star-stl_0.5.1.sh" +. "dev-libs/libcyaml_1.4.1.sh" +. "sys-libs/rsys_0.15.sh" + +name="city_generator2" +tag="0.4.1" + +if [ -n "${CITY_GENERATOR2_SH}" ]; then + check_conflict "${name}" "${tag}" "${CITY_GENERATOR2_SH}" +else + export CITY_GENERATOR2_SH="${tag}" + + url="$\(REPO\)/city_generator2.git" + dep="rsys libcyaml star-stl star-cad star-cpr" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo + + profile city_generator2.profile +fi diff --git a/src/cad-apps/star-meshtool_0.2.sh b/src/cad-apps/star-meshtool_0.2.sh @@ -0,0 +1,39 @@ +#!/bin/sh + +# Copyright (C) 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.5.1.sh" +. "sys-libs/rsys_0.14.sh" + +name="star-meshtool" +tag="0.2" + +if [ -n "${STAR_MESHTOOL_SH}" ]; then + check_conflict "${name}" "${tag}" "${RSYS_SH}" +else + export STAR_MESHTOOL_SH="${tag}" + + url="$\(REPO\)/star-meshtool.git" + dep="rsys star-stl" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo + + profile star-meshtool.profile +fi diff --git a/src/cad-libs/aw_2.1.sh b/src/cad-libs/aw_2.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="aw" +tag="2.1" + +if [ -n "${AW_SH}" ]; then + check_conflict "${name}" "${tag}" "${AW_SH}" +else + export AW_SH="${tag}" + + url="$\(REPO_VAPLV\)/loader_aw.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/clipper2.mk.in b/src/cad-libs/clipper2.mk.in diff --git a/src/cad-libs/clipper2_1.1.1.sh b/src/cad-libs/clipper2_1.1.1.sh @@ -0,0 +1,34 @@ +#!/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" + +tag="Clipper2_1.1.1" + +if [ -n "${CLIPPER2_SH}" ]; then + check_conflict "Clipper2" "${tag}" "${CLIPPER2_SH}" +else + export CLIPPER2_SH="${tag}" + + m4 -D TAG="${tag}" "cad-libs/clipper2.mk.in" + + # Add the template file as a prerequisite for the script invoked + # i.e. the build file + printf '%s: src/cad-libs/clipper.mk.in\n' "$0" +fi diff --git a/src/cad-libs/clipper2_1.4.sh b/src/cad-libs/clipper2_1.4.sh @@ -0,0 +1,34 @@ +#!/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" + +tag="Clipper2_1.4.0" + +if [ -n "${CLIPPER2_SH}" ]; then + check_conflict "Clipper2" "${tag}" "${CLIPPER2_SH}" +else + export CLIPPER2_SH="${tag}" + + m4 -D TAG="${tag}" "cad-libs/clipper2.mk.in" + + # Add the template file as a prerequisite for the script invoked + # i.e. the build file + printf '%s: src/cad-libs/clipper.mk.in\n' "$0" +fi diff --git a/src/cad-libs/clipper2_1.5.2.sh b/src/cad-libs/clipper2_1.5.2.sh @@ -0,0 +1,34 @@ +#!/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" + +tag="Clipper2_1.5.2" + +if [ -n "${CLIPPER2_SH}" ]; then + check_conflict "Clipper2" "${tag}" "${CLIPPER2_SH}" +else + export CLIPPER2_SH="${tag}" + + m4 -D TAG="${tag}" "cad-libs/clipper2.mk.in" + + # Add the template file as a prerequisite for the script invoked + # i.e. the build file + printf '%s: src/cad-libs/clipper.mk.in\n' "$0" +fi diff --git a/src/cad-libs/gmsh_4.12.2.sh b/src/cad-libs/gmsh_4.12.2.sh @@ -0,0 +1,32 @@ +#!/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=4.12.2 + +if [ -n "${GMSH_SH}" ]; then + check_conflict "Gmsh" "${version}" "${GMSH_SH}" +else + export GMSH_SH="${version}" + + name="gmsh" + url="$\(REPO_BIN\)/gmsh_${version}_gnu_linux64.tgz" + bin_spkg +fi diff --git a/src/cad-libs/polygon_0.2.sh b/src/cad-libs/polygon_0.2.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="polygon" +tag="0.2" + +if [ -n "${POLYGON_SH}" ]; then + check_conflict "${name}" "${tag}" "${POLYGON_SH}" +else + export POLYGON_SH="${tag}" + + url="$\(REPO_VAPLV\)/polygon.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/cad-libs/star-3dut_0.4.sh b/src/cad-libs/star-3dut_0.4.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-3dut" +tag="0.4" + +if [ -n "${STAR_3DUT_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_3DUT_SH}" +else + export STAR_3DUT_SH="${tag}" + + url="$\(REPO\)/star-3dut.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/cad-libs/star-cad_0.5.1.sh b/src/cad-libs/star-cad_0.5.1.sh @@ -0,0 +1,39 @@ +#!/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/gmsh_4.12.2.sh" +. "sci-libs/star-geometry-3d_0.2.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-cad" +tag="0.5.1" + +if [ -n "${STAR_CAD_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CAD_SH}" +else + export STAR_CAD_SH="${tag}" + + url="$\(REPO\)/star-cad.git" + dep="gmsh rsys star-enclosures-3d star-geometry-3d" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/cad-libs/star-cad_0.5.2.sh b/src/cad-libs/star-cad_0.5.2.sh @@ -0,0 +1,39 @@ +#!/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/gmsh_4.12.2.sh" +. "sci-libs/star-geometry-3d_0.2.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-cad" +tag="0.5.2" + +if [ -n "${STAR_CAD_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CAD_SH}" +else + export STAR_CAD_SH="${tag}" + + url="$\(REPO\)/star-cad.git" + dep="gmsh rsys star-enclosures-3d star-geometry-3d" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/cad-libs/star-cpr_0.5.1.sh b/src/cad-libs/star-cpr_0.5.1.sh @@ -0,0 +1,38 @@ +#!/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/clipper2_1.4.sh" +. "cad-libs/polygon_0.2.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-cpr" +tag="0.5.1" + +if [ -n "${STAR_CPR_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CPR_SH}" +else + export STAR_CPR_SH="${tag}" + + url="$\(REPO\)/star-cpr.git" + dep="clipper2 polygon rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/cad-libs/star-cpr_0.5.sh b/src/cad-libs/star-cpr_0.5.sh @@ -0,0 +1,38 @@ +#!/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/clipper2_1.1.1.sh" +. "cad-libs/polygon_0.2.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-cpr" +tag="0.5" + +if [ -n "${STAR_CPR_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CPR_SH}" +else + export STAR_CPR_SH="${tag}" + + url="$\(REPO\)/star-cpr.git" + dep="clipper2 polygon rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/cad-libs/star-cpr_0.6.sh b/src/cad-libs/star-cpr_0.6.sh @@ -0,0 +1,38 @@ +#!/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/clipper2_1.5.2.sh" +. "cad-libs/polygon_0.2.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-cpr" +tag="0.6" + +if [ -n "${STAR_CPR_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CPR_SH}" +else + export STAR_CPR_SH="${tag}" + + url="$\(REPO\)/star-cpr.git" + dep="clipper2 polygon rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/cad-libs/star-stl_0.5.1.sh b/src/cad-libs/star-stl_0.5.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-stl" +tag="0.5.1" + +if [ -n "${STAR_STL_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_STL_SH}" +else + export STAR_STL_SH="${tag}" + + url="$\(REPO\)/star-stl.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/city_generator2_0.3.1.sh b/src/city_generator2_0.3.1.sh @@ -1,37 +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 - -[ -n "${CITY_GENERATOR2}" ] && return -export CITY_GENERATOR2=1 - -. "build.sh" -. "rsys_0.14.sh" -. "libcyaml_1.4.1.sh" -. "star-stl_0.5.1.sh" -. "star-cad_0.5.1.sh" -. "star-cpr_0.5.1.sh" - -name="city_generator2" -url="$\(REPO\)/city_generator2.git" -tag="0.3.1" -dep="rsys libcyaml star-stl star-cad star-cpr" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo - -profile city_generator2.profile diff --git a/src/city_generator2_0.4.1.sh b/src/city_generator2_0.4.1.sh @@ -1,37 +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 - -[ -n "${CITY_GENERATOR2}" ] && return -export CITY_GENERATOR2=1 - -. "build.sh" -. "rsys_0.14.sh" -. "libcyaml_1.4.1.sh" -. "star-stl_0.5.1.sh" -. "star-cad_0.5.2.sh" -. "star-cpr_0.6.sh" - -name="city_generator2" -url="$\(REPO\)/city_generator2.git" -tag="0.4.1" -dep="rsys libcyaml star-stl star-cad star-cpr" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo - -profile city_generator2.profile diff --git a/src/city_generator2_0.4.sh b/src/city_generator2_0.4.sh @@ -1,37 +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 - -[ -n "${CITY_GENERATOR2}" ] && return -export CITY_GENERATOR2=1 - -. "build.sh" -. "rsys_0.14.sh" -. "libcyaml_1.4.1.sh" -. "star-stl_0.5.1.sh" -. "star-cad_0.5.1.sh" -. "star-cpr_0.5.1.sh" - -name="city_generator2" -url="$\(REPO\)/city_generator2.git" -tag="0.4" -dep="rsys libcyaml star-stl star-cad star-cpr" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo - -profile city_generator2.profile diff --git a/src/clipper2_1.1.1.sh b/src/clipper2_1.1.1.sh @@ -1,28 +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 - -[ -n "${CLIPPER2_SH}" ] && return -export CLIPPER2_SH=1 - -tag="Clipper2_1.1.1" -m4 -D TAG="${tag}" "src/clipper2.mk.in" - -# Add the template file as a prerequisite for the script invoked -# i.e. the build file -printf "%s: src/clipper.mk.in\n" "$0" diff --git a/src/clipper2_1.4.sh b/src/clipper2_1.4.sh @@ -1,28 +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 - -[ -n "${CLIPPER2_SH}" ] && return -export CLIPPER2_SH=1 - -tag="Clipper2_1.4.0" -m4 -D TAG="${tag}" "src/clipper2.mk.in" - -# Add the template file as a prerequisite for the script invoked -# i.e. the build file -printf "%s: src/clipper.mk.in\n" "$0" diff --git a/src/clipper2_1.5.2.sh b/src/clipper2_1.5.2.sh @@ -1,28 +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 - -[ -n "${CLIPPER2_SH}" ] && return -export CLIPPER2_SH=1 - -tag="Clipper2_1.5.2" -m4 -D TAG="${tag}" "src/clipper2.mk.in" - -# Add the template file as a prerequisite for the script invoked -# i.e. the build file -printf "%s: src/clipper.mk.in\n" "$0" diff --git a/src/dev-libs/edf_0.0.sh b/src/dev-libs/edf_0.0.sh @@ -0,0 +1,33 @@ +#!/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" + +. "rad-libs/star-gf_0.3.sh" +. "sci-libs/star-uvm_0.3.1.sh" +. "therm-libs/stardis-solver_0.16.1.sh" + +name="EDF" +version="0.0" + +if [ -n "${EDF_SH}" ]; then + check_conflict "${name}" "${version}" "${EDF_SH}" +else + export EDF_SH="${version}" +fi diff --git a/src/libcyaml.mk.in b/src/dev-libs/libcyaml.mk.in diff --git a/src/dev-libs/libcyaml_1.3.1.sh b/src/dev-libs/libcyaml_1.3.1.sh @@ -0,0 +1,36 @@ +#!/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=1.3.1 + +if [ -n "${LIBCYAML_SH}" ]; then + check_conflict "libcyaml" "${version}" "${LIBCYAML_SH}" +else + export LIBCYAML_SH="${version}" + + tag="v${version}" + + sed "s/@TAG@/${tag}/" "dev-libs/libcyaml.mk.in" + + # Add the template file as a prerequisite for the script invoked + # i.e. the build file + printf '%s: src/dev-libs/libcyaml.mk.in\n' "$0" +fi diff --git a/src/dev-libs/libcyaml_1.4.1.sh b/src/dev-libs/libcyaml_1.4.1.sh @@ -0,0 +1,37 @@ +#!/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=1.4.1 + +if [ -n "${LIBCYAML_SH}" ]; then + check_conflict "libcyaml" "${version}" "${LIBCYAML_SH}" + return +else + export LIBCYAML_SH="${version}" + + tag="v${version}" + + sed "s/@TAG@/${tag}/" "dev-libs/libcyaml.mk.in" + + # Add the template file as a prerequisite for the script invoked + # i.e. the build file + printf '%s: src/dev-libs/libcyaml.mk.in\n' "$0" +fi diff --git a/src/dev-libs/rnsl_0.1.sh b/src/dev-libs/rnsl_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="rnsl" +tag="0.1" + +if [ -n "${RNSL_SH}" ]; then + check_conflict "${name}" "${tag}" "${RNSL_SH}" +else + export RNSL_SH="${tag}" + + url="$\(REPO\)/rnsl.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/dev-libs/sgs.sh b/src/dev-libs/sgs.sh @@ -0,0 +1,40 @@ +#!/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 + +# Build for the dependencies of the Star Geometric Sensitivity project + +. "misc/build.sh" + +. "app-text/noweb_2.13rc3.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-mc_0.6.sh" +. "sci-libs/star-sp_0.14.sh" +. "sys-libs/rsys_0.15.sh" + +name="sgs" +version="0" + +if [ -n "${SGS_SH}" ]; then + check_conflict "${name}" "${version}" "${SGS_SH}" +else + export SGS_SH="${version}" + + # Setup make directives for the profile file + profile sgs.profile +fi diff --git a/src/dev-libs/star-buffer_0.1.sh b/src/dev-libs/star-buffer_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-buffer" +tag="0.1" + +if [ -n "${STAR_BUFFER_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_BUFFER_SH}" +else + export STAR_BUFFER_SH="${tag}" + + url="$\(REPO\)/star-buffer.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/dev-libs/star-engine_0.15.sh b/src/dev-libs/star-engine_0.15.sh @@ -0,0 +1,48 @@ +#!/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" "0.15" "${STAR_ENGINE_SH}" + return +fi + +export STAR_ENGINE_SH="${version}" + +[ -z "${USE_SIMD}" ] && USE_SIMD="0" + +. "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.sh" + +[ "${USE_SIMD}" != "0" ] && . "sci-libs/rsimd_0.5.sh" + +profile star-engine.profile diff --git a/src/dev-libs/star-engine_0.16.sh b/src/dev-libs/star-engine_0.16.sh @@ -0,0 +1,45 @@ +#!/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 + +version="0.16" + +if [ -n "${STAR_ENGINE_SH}" ]; then + check_conflict "Star-Engine" "0.15" "${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 diff --git a/src/edf_0.0.sh b/src/edf_0.0.sh @@ -1,25 +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 - -[ -n "${EDF}" ] && return -export EDF=1 - -. "star-gf_0.3.sh" -. "star-uvm_0.3.1.sh" -. "stardis-solver_0.16.1.sh" diff --git a/src/embree_4.0.1.sh b/src/embree_4.0.1.sh @@ -1,44 +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 - -[ -n "${EMBREE_SH}" ] && return -export EMBREE_SH=1 - -. "build.sh" - -if [ -z "${EMBREE_BINDIST}" ]; then - EMBREE_BINDIST="$(MAKE="${MAKE}" showvar EMBREE_BINDIST)" -fi - -# Install from sources -if [ -z "${EMBREE_BINDIST}" ] || [ "${EMBREE_BINDIST}" -eq 0 ]; then - . "tbb_2021.13.0.sh" - - version=4.0.1 - tag="v${version}" - sed -e "s/@TAG@/${tag}/" \ - -e "s/@VERSION/${version}/" \ - "src/embree4.mk.in" - -# Install from precompiled binaries -else - name="embree4" - url="$\(REPO_BIN\)/embree_4.0.1_gnu_linux64.tgz" - bin_spkg -fi diff --git a/src/gmsh_4.12.2.sh b/src/gmsh_4.12.2.sh @@ -1,27 +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 - -[ -n "${GMSH_SH}" ] && return -export GMSH_SH=1 - -. "build.sh" - -name="gmsh" -url="$\(REPO_BIN\)/gmsh_4.12.2_gnu_linux64.tgz" -bin_spkg diff --git a/src/htcp_0.1.sh b/src/htcp_0.1.sh @@ -1,31 +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 - -[ -n "${HTCP_SH}" ] && return -export HTCP_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="htcp" -url="$\(REPO\)/htcp.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/htgop_0.2.sh b/src/htgop_0.2.sh @@ -1,31 +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 - -[ -n "${HTGOP_SH}" ] && return -export HTGOP_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="htgop" -url="$\(REPO\)/htgop.git" -tag="0.2" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/htmie_0.1.sh b/src/htmie_0.1.sh @@ -1,31 +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 - -[ -n "${HTMIE_SH}" ] && return -export HTMIE_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="htmie" -url="$\(REPO\)/htmie.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/htpp_0.5.sh b/src/htpp_0.5.sh @@ -1,32 +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 - -[ -n "${HTPP_SH}" ] && return -export HTPP_SH=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-cmap_0.1.sh" - -name="htpp" -url="$\(REPO\)/htpp.git" -tag="0.5" -dep="rsys star-cmap" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/htrdr_0.10.sh b/src/htrdr_0.10.sh @@ -1,62 +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 - -[ -n "${HTRDR_SH}" ] && return -export HTRDR_SH=1 - -[ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE -[ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE -[ -z "${PLANETO}" ] && PLANETO=ENABLE - -. "build.sh" -. "aw_2.1.sh" -. "htpp_0.5.sh" -. "mrumtl_0.2.sh" -. "rsys_0.14.sh" -. "star-3d_0.10.sh" -. "star-camera_0.2.sh" -. "star-sf_0.9.sh" -. "star-sp_0.14.sh" -. "star-vx_0.3.sh" - -if [ "${ATMOSPHERE}" = "ENABLE" ]; then - . "htsky_0.3.1.sh" - dep="${dep} htsky" -fi -if [ "${COMBUSTION}" = "ENABLE" ]; then - . "atrstm_0.1.1.sh" - dep="${dep} atrstm" -fi -if [ "${PLANETO}" = "ENABLE" ]; then - . "rnatm_0.1.sh" - . "rngrd_0.1.sh" - . "star-buffer_0.1.sh" - dep="${dep} rnatm rngrd star-buffer" -fi - -opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETO=${PLANETO}" - -name="htrdr" -url="$\(REPO\)/htrdr.git" -tag="0.10" -dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" -opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo - -profile htrdr.profile diff --git a/src/htrdr_0.11.sh b/src/htrdr_0.11.sh @@ -1,62 +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 - -[ -n "${HTRDR_SH}" ] && return -export HTRDR_SH=1 - -[ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE -[ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE -[ -z "${PLANETS}" ] && PLANETS=ENABLE - -. "build.sh" -. "aw_2.1.sh" -. "htpp_0.5.sh" -. "mrumtl_0.2.sh" -. "rsys_0.14.sh" -. "star-3d_0.10.sh" -. "star-camera_0.2.sh" -. "star-sf_0.9.sh" -. "star-sp_0.14.sh" -. "star-vx_0.3.sh" - -if [ "${ATMOSPHERE}" = "ENABLE" ]; then - . "htsky_0.3.1.sh" - dep="${dep} htsky" -fi -if [ "${COMBUSTION}" = "ENABLE" ]; then - . "atrstm_0.1.1.sh" - dep="${dep} atrstm" -fi -if [ "${PLANETS}" = "ENABLE" ]; then - . "rnatm_0.1.sh" - . "rngrd_0.1.sh" - . "star-buffer_0.1.sh" - dep="${dep} rnatm rngrd star-buffer" -fi - -opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETS=${PLANETS}" - -name="htrdr" -url="$\(REPO\)/htrdr.git" -tag="0.11" -dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" -opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo - -profile htrdr.profile diff --git a/src/htsky_0.3.1.sh b/src/htsky_0.3.1.sh @@ -1,35 +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 - -[ -n "${HTSKY_SH}" ] && return -export HTSKY_SH=1 - -. "build.sh" -. "htcp_0.1.sh" -. "htgop_0.2.sh" -. "htmie_0.1.sh" -. "rsys_0.14.sh" -. "star-vx_0.3.sh" - -name="htsky" -url="$\(REPO\)/htsky.git" -tag="0.3.1" -dep="htcp htgop htmie rsys star-vx" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/libcyaml_1.3.1.sh b/src/libcyaml_1.3.1.sh @@ -1,29 +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 - -[ -n "${LIBCYAML_SH}" ] && return -export LIBCYAML_SH=1 - -tag="v1.3.1" - -sed "s/@TAG@/${tag}/" "src/libcyaml.mk.in" - -# Add the template file as a prerequisite for the script invoked -# i.e. the build file -printf "%s: src/libcyaml.mk.in\n" "$0" diff --git a/src/libcyaml_1.4.1.sh b/src/libcyaml_1.4.1.sh @@ -1,29 +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 - -[ -n "${LIBCYAML_SH}" ] && return -export LIBCYAML_SH=1 - -tag="v1.4.1" - -sed "s/@TAG@/${tag}/" "src/libcyaml.mk.in" - -# Add the template file as a prerequisite for the script invoked -# i.e. the build file -printf "%s: src/libcyaml.mk.in\n" "$0" diff --git a/src/build.profile.in b/src/misc/build.profile.in diff --git a/src/misc/build.sh b/src/misc/build.sh @@ -0,0 +1,113 @@ +#!/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 + +[ -n "${BUILD_SH}" ] && return +export BUILD_SH=1 + +# Check for conflicts between script versions of the same build +# Return 0 if version do not conflicts, and >0 otherwise +check_conflict() # name, version0, version 1 +{ + # Do not define local variables to avoid risk of updating variables + # defined in the calling's environment + + if [ $# -lt 3 ]; then + >&2 printf 'usage: check_conflict name version0 version1\n' + return 1 + fi + + if [ "$2" != "$3" ]; then + >&2 printf '%s %s conflicts with %s %s\n' "$1" "$2" "$1" "$3" + return 1 + fi + + return 0 +} + +# Generate the targets for a git repository. The input variables are: +# - name : the name of the target (required) +# - url : the URL of the git repository (required) +# - tag : the tag/branch/commit to use (required) +# - dep : name of the targets on which this build depends (optional) +# - opt : the options passed when invoking make (optional) +git_repo() +{ + sed \ + -e "s#@NAME@#${name}#g" \ + -e "s#@URL@#${url}#g" \ + -e "s#@TAG@#${tag}#g" \ + -e "s#@DEP@#${dep}#g" \ + -e "s#@OPT@#${opt}#g" \ + "misc/git.mk.in" + + # Reset variables + name="" + url="" + tag="" + dep="" + opt="" +} + +# Generate the targets for a Star-PKG binary. The input variables are: +# - name: the name of the target (required) +# - url: the URL of the package (required) +bin_spkg() +{ + arch="${url##*/}" + arch="${arch%.*}" + path="${url%/*}" + + sed \ + -e "s#@NAME@#${name}#g" \ + -e "s#@ARCH@#${arch}#g" \ + -e "s#@PATH@#${path}#g" \ + "misc/spkg.mk.in" + + # Reset variables + name="" + url="" +} + +# Generate the targets of a profile +profile() +{ + sed -e "s#@NAME@#$1#g" "misc/profile.mk.in" +} + +# Print the value of a variable in config.mk +showvar() +{ + # To avoid messages from Make being displayed instead of the value of + # the queried variable, we redirect its output to /dev/null and open a + # new file descriptor to stdout to print the variable. + # + # The MAKEFLAGS environment variable is cleared to prevent make + # defining options which reserve the file descriptor used to print the + # variable, which would result in a ‘wrong file descriptor’ error. + # This can be the case with certain versions of GNU make which, when + # run in parallel, use pipe file descriptors to synchronise with the + # jobserver. +<< EOF MAKEFLAGS="" ${MAKE:-make} -f 3>&1 1>/dev/null 2>&1 - || kill -HUP $$ +.POSIX: +include ../config.mk +showvar: + @1>&3 echo \$(${1}) +EOF + exec 3<&- # Close file descriptor 3 +} diff --git a/src/git.mk.in b/src/misc/git.mk.in diff --git a/src/misc/profile.mk.in b/src/misc/profile.mk.in @@ -0,0 +1,18 @@ +@NAME@: $(CACHE)/@NAME@ + +$(CACHE)/@NAME@: src/misc/build.profile.in prefix + sed "s#@PREFIX@#$$(cat .prefix)#g" src/misc/build.profile.in > $@ + +install_@NAME@: @NAME@ + mkdir -p "$$(cat .prefix)/etc" + cp $(CACHE)/@NAME@ "$$(cat .prefix)/etc" + +uninstall_@NAME@: prefix + rm -f "$$(cat .prefix)/etc/@NAME@" + +clean_@NAME@: + rm -f @NAME@ + +clean_all: clean_@NAME@ +install_all: install_@NAME@ +uninstall_all: uninstall_@NAME@ diff --git a/src/misc/profile.sh b/src/misc/profile.sh @@ -0,0 +1,26 @@ +#!/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 + +[ -n "${PROFILE}" ] && return +export PROFILE=1 + +. "misc/build.sh" + +# Generate a generic profile file simply named "profile" +profile profile diff --git a/src/spkg.mk.in b/src/misc/spkg.mk.in diff --git a/src/mrumtl_0.2.sh b/src/mrumtl_0.2.sh @@ -1,31 +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 - -[ -n "${MRUMTL_SH}" ] && return -export MRUMTL_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="mrumtl" -url="$\(REPO\)/mrumtl.git" -tag="0.2" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/noweb_2.13rc3.sh b/src/noweb_2.13rc3.sh @@ -1,25 +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 - -[ -n "${NOWEB_SH}" ] && return -export NOWEB_SH=1 - -tag=v2_13rc3 - -sed "s/@TAG@/${tag}/" "src/noweb.mk.in" diff --git a/src/polygon_0.2.sh b/src/polygon_0.2.sh @@ -1,31 +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 - -[ -n "${POLYGON_SH}" ] && return -export POLYGON_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="polygon" -url="$\(REPO_VAPLV\)/polygon.git" -tag="0.2" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/profile.mk.in b/src/profile.mk.in @@ -1,18 +0,0 @@ -@NAME@: $(CACHE)/@NAME@ - -$(CACHE)/@NAME@: src/build.profile.in prefix - sed "s#@PREFIX@#$$(cat .prefix)#g" src/build.profile.in > $@ - -install_@NAME@: @NAME@ - mkdir -p "$$(cat .prefix)/etc" - cp $(CACHE)/@NAME@ "$$(cat .prefix)/etc" - -uninstall_@NAME@: prefix - rm -f "$$(cat .prefix)/etc/@NAME@" - -clean_@NAME@: - rm -f @NAME@ - -clean_all: clean_@NAME@ -install_all: install_@NAME@ -uninstall_all: uninstall_@NAME@ diff --git a/src/profile.sh b/src/profile.sh @@ -1,26 +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 - -[ -n "${PROFILE}" ] && return -export PROFILE=1 - -. "build.sh" - -# Generate a generic profile file simply named "profile" -profile profile diff --git a/src/rad-apps/htrdr_0.10.sh b/src/rad-apps/htrdr_0.10.sh @@ -0,0 +1,67 @@ +#!/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/aw_2.1.sh" +. "rad-libs/mrumtl_0.2.sh" +. "rad-libs/star-sf_0.9.sh" +. "sci-apps/htpp_0.5.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-camera_0.2.sh" +. "sci-libs/star-sp_0.14.sh" +. "sci-libs/star-vx_0.3.sh" +. "sys-libs/rsys_0.15.sh" + +[ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE +[ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE +[ -z "${PLANETO}" ] && PLANETO=ENABLE + +if [ "${ATMOSPHERE}" = "ENABLE" ]; then + . "rad-libs/htsky_0.3.1.sh" +fi +if [ "${COMBUSTION}" = "ENABLE" ]; then + . "rad-libs/atrstm_0.1.1.sh" +fi +if [ "${PLANETO}" = "ENABLE" ]; then + . "rad-libs/rnatm_0.1.sh" + . "rad-libs/rngrd_0.1.sh" + . "dev-libs/star-buffer_0.1.sh" +fi + +name="htrdr" +tag="0.10" + +if [ -n "${HTRDR_SH}" ]; then + check_conflict "${name}" "${tag}" "${HTRDR_SH}" +else + export HTRDR_SH="${tag}" + + [ "${ATMOSPHERE}" = "ENABLE" ] && dep="${dep} htsky" + [ "${COMBUSTION}" = "ENABLE" ] && dep="${dep} atrstm" + [ "${PLANETO}" = "ENABLE" ] && dep="${dep} rnatm rngrd star-buffer" + + url="$\(REPO\)/htrdr.git" + dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" + opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETO=${PLANETO}" + opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo + + profile htrdr.profile +fi diff --git a/src/rad-apps/htrdr_0.11.sh b/src/rad-apps/htrdr_0.11.sh @@ -0,0 +1,69 @@ +#!/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/aw_2.1.sh" +. "rad-libs/mrumtl_0.2.sh" +. "rad-libs/star-sf_0.9.sh" +. "sci-apps/htpp_0.5.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-camera_0.2.sh" +. "sci-libs/star-sp_0.14.sh" +. "sci-libs/star-vx_0.3.sh" +. "sys-libs/rsys_0.15.sh" + +[ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE +[ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE +[ -z "${PLANETS}" ] && PLANETS=ENABLE + +if [ "${ATMOSPHERE}" = "ENABLE" ]; then + . "rad-libs/htsky_0.3.1.sh" +fi + +if [ "${COMBUSTION}" = "ENABLE" ]; then + . "rad-libs/atrstm_0.1.1.sh" +fi + +if [ "${PLANETS}" = "ENABLE" ]; then + . "rad-libs/rnatm_0.1.sh" + . "rad-libs/rngrd_0.1.sh" + . "dev-libs/star-buffer_0.1.sh" +fi + +name="htrdr" +tag="0.11" + +if [ -n "${HTRDR_SH}" ]; then + check_conflict "${name}" "${tag}" "${HTRDR_SH}" +else + export HTRDR_SH="${tag}" + + [ "${ATMOSPHERE}" = "ENABLE" ] && dep="${dep} htsky" + [ "${COMBUSTION}" = "ENABLE" ] && dep="${dep} atrstm" + [ "${PLANETS}" = "ENABLE" ] && dep="${dep} rnatm rngrd star-buffer" + + url="$\(REPO\)/htrdr.git" + dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" + opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETS=${PLANETS}" + opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo + + profile htrdr.profile +fi diff --git a/src/rad-libs/atrri_0.1.sh b/src/rad-libs/atrri_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="atrri" +tag="0.1" + +if [ -n "${ATRRI_SH}" ]; then + check_conflict "${name}" "${tag}" "${ATRRI_SH}" +else + export ATRRI_SH="${tag}" + + url="$\(REPO\)/atrri.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/atrstm_0.1.1.sh b/src/rad-libs/atrstm_0.1.1.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" + +. "sci-libs/star-mesh_0.1.sh" +. "rad-libs/atrri_0.1.sh" +. "rad-libs/atrtp_0.1.sh" +. "sci-libs/star-uvm_0.3.1.sh" +. "sci-libs/star-vx_0.3.sh" +. "sys-libs/rsys_0.15.sh" + +[ -z "${USE_SIMD}" ] && USE_SIMD="0" + +[ "${USE_SIMD}" != 0 ] && . "sci-libs/rsimd_0.5.sh" + +name="atrstm" +tag="0.1.1" + +if [ -n "${ATRSTM_SH}" ]; then + check_conflict "${name}" "${tag}" "${ATRSTM_SH}" +else + export ATRSTM_SH="${tag}" + + [ "${USE_SIMD}" != "0" ] && dep="${dep} rsimd" + + url="$\(REPO\)/atrstm.git" + dep="${dep} atrri atrtp rsys star-mesh star-uvm star-vx" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/atrtp_0.1.sh b/src/rad-libs/atrtp_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="atrtp" +tag="0.1" + +if [ -n "${ATRTP_SH}" ]; then + check_conflict "${name}" "${tag}" "${ATRTP_SH}" +else + export ATRTP_SH="${tag}" + + url="$\(REPO\)/atrtp.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/htcp_0.1.sh b/src/rad-libs/htcp_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="htcp" +tag="0.1" + +if [ -n "${HTCP_SH}" ]; then + check_conflict "${name}" "${tag}" "${HTCP_SH}" +else + export HTCP_SH="${tag}" + + url="$\(REPO\)/htcp.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/htgop_0.2.sh b/src/rad-libs/htgop_0.2.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="htgop" +tag="0.2" + +if [ -n "${HTGOP_SH}" ]; then + check_conflict "${name}" "${tag}" "${HTGOP_SH}" +else + export HTGOP_SH="${tag}" + + url="$\(REPO\)/htgop.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/htmie_0.1.sh b/src/rad-libs/htmie_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="htmie" +tag="0.1" + +if [ -n "${HTMIE_SH}" ]; then + check_conflict "${name}" "${tag}" "${HTMIE_SH}" +else + export HTMIE_SH="${tag}" + + url="$\(REPO\)/htmie.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/htsky_0.3.1.sh b/src/rad-libs/htsky_0.3.1.sh @@ -0,0 +1,40 @@ +#!/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" + +. "rad-libs/htcp_0.1.sh" +. "rad-libs/htgop_0.2.sh" +. "rad-libs/htmie_0.1.sh" +. "sci-libs/star-vx_0.3.sh" +. "sys-libs/rsys_0.15.sh" + +name="htsky" +tag="0.3.1" + +if [ -n "${HTSKY_SH}" ]; then + check_conflict "${name}" "${tag}" "${HTSKY_SH}" +else + export HTSKY_SH="${tag}" + + url="$\(REPO\)/htsky.git" + dep="htcp htgop htmie rsys star-vx" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/mrumtl_0.2.sh b/src/rad-libs/mrumtl_0.2.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="mrumtl" +tag="0.2" + +if [ -n "${MRUMTL_SH}" ]; then + check_conflict "${name}" "${tag}" "${MRUMTL_SH}" +else + export MRUMTL_SH="${tag}" + + url="$\(REPO\)/mrumtl.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/rnatm_0.1.sh b/src/rad-libs/rnatm_0.1.sh @@ -0,0 +1,46 @@ +#!/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" + +. "dev-libs/rnsl_0.1.sh" +. "dev-libs/star-buffer_0.1.sh" +. "sci-libs/star-mesh_0.1.sh" +. "rad-libs/rnsf_0.1.sh" +. "rad-libs/star-aerosol_0.1.sh" +. "rad-libs/star-ck_0.1.sh" +. "rad-libs/star-sf_0.9.sh" +. "sci-libs/star-uvm_0.3.1.sh" +. "sci-libs/star-vx_0.3.sh" +. "sys-libs/rsys_0.15.sh" + +name="rnatm" +tag="0.1" + +if [ -n "${RNATM_SH}" ]; then + check_conflict "${name}" "${tag}" "${RNATM_SH}" +else + export RNATM_SH="${tag}" + + url="$\(REPO\)/rnatm.git" + dep="rnsf rnsl rsys star-aerosol star-buffer star-ck star-mesh" + dep="${dep} star-sf star-uvm star-vx" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/rngrd_0.1.sh b/src/rad-libs/rngrd_0.1.sh @@ -0,0 +1,42 @@ +#!/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" + +. "dev-libs/rnsl_0.1.sh" +. "dev-libs/star-buffer_0.1.sh" +. "sci-libs/star-mesh_0.1.sh" +. "rad-libs/mrumtl_0.2.sh" +. "rad-libs/star-sf_0.9.sh" +. "sci-libs/star-3d_0.10.sh" +. "sys-libs/rsys_0.15.sh" + +name="rngrd" +tag="0.1" + +if [ -n "${RNGRD_SH}" ]; then + check_conflict "${name}" "${tag}" "${RNGRD_SH}" +else + export RNGRD_SH="${tag}" + + url="$\(REPO\)/rngrd.git" + dep="mrumtl rnsl rsys star-3d star-buffer star-mesh star-sf" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/rnsf_0.1.sh b/src/rad-libs/rnsf_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="rnsf" +tag="0.1" + +if [ -n "${RNSF_SH}" ]; then + check_conflict "${name}" "${tag}" "${RNSF_SH}" +else + export RNSF_SH="${tag}" + + url="$\(REPO\)/rnsf.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/star-aerosol_0.1.sh b/src/rad-libs/star-aerosol_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-aerosol" +tag="0.1" + +if [ -n "${STAR_AEROSOL_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_AEROSOL_SH}" +else + export STAR_AEROSOL_SH="${tag}" + + url="$\(REPO\)/star-aerosol.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/star-blackbody_0.0.sh b/src/rad-libs/star-blackbody_0.0.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-blackbody" +tag="0.0" + +if [ -n "${STAR_BLACKBODY_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_BLACKBODY_SH}" +else + export STAR_BLACKBODY_SH="${tag}" + + url="$\(REPO\)/star-blackbody.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/star-ck_0.1.sh b/src/rad-libs/star-ck_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-ck" +tag="0.1" + +if [ -n "${STAR_CK_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CK_SH}" +else + export STAR_CK_SH="${tag}" + + url="$\(REPO\)/star-ck.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/star-gf_0.3.sh b/src/rad-libs/star-gf_0.3.sh @@ -0,0 +1,39 @@ +#!/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" + +. "sci-libs/star-2d_0.7.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-sp_0.14.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-gf" +tag="0.3" + +if [ -n "${STAR_GF_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_GF_SH}" +else + export STAR_GF_SH="${tag}" + + url="$\(REPO\)/star-gf.git" + dep="rsys star-2d star-3d star-sp" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/rad-libs/star-sf_0.9.sh b/src/rad-libs/star-sf_0.9.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" +. "sci-libs/star-sp_0.14.sh" +. "sys-libs/rsys_0.15.sh" + +[ -z "${USE_SIMD}" ] && USE_SIMD="0" + +[ "${USE_SIMD}" != 0 ] && . "sci-libs/rsimd_0.5.sh" + +name="star-sf" +tag="0.9" + +if [ -n "${STAR_SF_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_SF_SH}" +else + export STAR_SF_SH="${tag}" + + url="$\(REPO\)/star-sf.git" + dep="rsys star-sp" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + + if [ "${USE_SIMD}" = "0" ]; then + opt="${opt} SIMD_WIDTH=NONE" + else + dep="${dep} rsimd" + fi + + git_repo +fi diff --git a/src/random123_1.14.0.sh b/src/random123_1.14.0.sh @@ -1,28 +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 - -[ -n "${RANDOM1233_SH}" ] && return -export RANDOM123_SH=1 - -version="1.14.0" -tag="v${version}" - -sed -e "s/@TAG@/${tag}/" \ - -e "s/@VERSION@/${version}/" \ - "src/random123.mk.in" diff --git a/src/rnatm_0.1.sh b/src/rnatm_0.1.sh @@ -1,41 +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 - -[ -n "${RNATM_SH}" ] && return -export RNATM_SH=1 - -. "build.sh" -. "rnsf_0.1.sh" -. "rnsl_0.1.sh" -. "rsys_0.14.sh" -. "star-aerosol_0.1.sh" -. "star-buffer_0.1.sh" -. "star-ck_0.1.sh" -. "star-mesh_0.1.sh" -. "star-sf_0.9.sh" -. "star-uvm_0.3.1.sh" -. "star-vx_0.3.sh" - -name="rnatm" -url="$\(REPO\)/rnatm.git" -tag="0.1" -dep="rnsf rnsl rsys star-aerosol star-buffer star-ck star-mesh star-sf \ - star-uvm star-vx" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/rngrd_0.1.sh b/src/rngrd_0.1.sh @@ -1,37 +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 - -[ -n "${RNGRD_SH}" ] && return -export RNGRD_SH=1 - -. "build.sh" -. "mrumtl_0.2.sh" -. "rnsl_0.1.sh" -. "rsys_0.14.sh" -. "star-3d_0.10.sh" -. "star-buffer_0.1.sh" -. "star-mesh_0.1.sh" -. "star-sf_0.9.sh" - -name="rngrd" -url="$\(REPO\)/rngrd.git" -tag="0.1" -dep="mrumtl rnsl rsys star-3d star-buffer star-mesh star-sf" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/rnsf_0.1.sh b/src/rnsf_0.1.sh @@ -1,31 +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 - -[ -n "${RNSF_SH}" ] && return -export RNSF_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="rnsf" -url="$\(REPO\)/rnsf.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/rnsl_0.1.sh b/src/rnsl_0.1.sh @@ -1,31 +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 - -[ -n "${RNSL_SH}" ] && return -export RNSL_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="rnsl" -url="$\(REPO\)/rnsl.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/rsimd_0.5.sh b/src/rsimd_0.5.sh @@ -1,32 +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 - -[ -n "${RSIMD_SH}" ] && return -export RSIMD_SH=1 - -. "build.sh" -. "rsys_0.14.sh" -. "sleef_3.5.2-r0.sh" - -name="rsimd" -url="$\(REPO_VAPLV\)/rsimd.git" -tag="0.5" -dep="rsys sleef" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/rsys_0.14.sh b/src/rsys_0.14.sh @@ -1,32 +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 - -. "build.sh" - -name="rsys" -tag="0.14" -url="$\(REPO_VAPLV\)/rsys.git" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" - -if [ -n "${RSYS_SH}" ]; then - check_conflict "${name}" "${tag}" "${RSYS_SH}" -else - export RSYS_SH="${tag}" - git_repo -fi diff --git a/src/rsys_0.15.sh b/src/rsys_0.15.sh @@ -1,32 +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 - -. "build.sh" - -name="rsys" -tag="0.15" -url="$\(REPO_VAPLV\)/rsys.git" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" - -if [ -n "${RSYS_SH}" ]; then - check_conflict "${name}" "${tag}" "${RSYS_SH}" -else - export RSYS_SH="${tag}" - git_repo -fi diff --git a/src/scdoc_1.11.2-r1.sh b/src/scdoc_1.11.2-r1.sh @@ -1,29 +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 - -[ -n "${NOWEB_SH}" ] && return -export NOWEB_SH=1 - -tag=afeda24 - -sed "s/@TAG@/${tag}/" "src/scdoc.mk.in" - -# Add the template file as a prerequisite for the script invoked -# i.e. the build file -printf "%s: src/scdoc.mk.in\n" "$0" diff --git a/src/sci-apps/htpp_0.5.sh b/src/sci-apps/htpp_0.5.sh @@ -0,0 +1,36 @@ +#!/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" +. "sci-libs/star-cmap_0.1.sh" +. "sys-libs/rsys_0.15.sh" + +name="htpp" +tag="0.5" + +if [ -n "${HTPP_SH}" ]; then + check_conflict "${name}" "${tag}" "${HTPP_SH}" +else + export HTPP_SH="${tag}" + + url="$\(REPO\)/htpp.git" + dep="rsys star-cmap" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-apps/star-4v_s_0.6.sh b/src/sci-apps/star-4v_s_0.6.sh @@ -0,0 +1,40 @@ +#!/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" + +. "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" +. "sys-libs/rsys_0.15.sh" + +name="star-4v_s" +tag="0.6" + +if [ -n "${STAR_4V_S_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_4V_S_SH}" +else + export STAR_4V_S_SH="${tag}" + + url="$\(REPO\)/star-4v_s.git" + dep="rsys star-3d star-3daw star-sp star-mc" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/embree4.mk.in b/src/sci-libs/embree4.mk.in diff --git a/src/sci-libs/embree_4.0.1.sh b/src/sci-libs/embree_4.0.1.sh @@ -0,0 +1,52 @@ +#!/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" + +if [ -z "${EMBREE_BINDIST}" ]; then + EMBREE_BINDIST="$(MAKE="${MAKE}" showvar EMBREE_BINDIST)" +fi + + +embree_build_from_src=0 +if [ -z "${EMBREE_BINDIST}" ] || [ "${EMBREE_BINDIST}" -eq 0 ]; then + . "sys-libs/tbb_2021.13.0.sh" + embree_build_from_src=1 +fi + +name="embree4" +version="4.0.1" + +if [ -n "${EMBREE_SH}" ]; then + check_conflict "${name}" "${version}" "${EMBREE_SH}" +else + export EMBREE_SH="${version}" + + # Install from sources + if [ "${embree_build_from_src}" -eq 1 ]; then + sed -e "s/@TAG@/v${version}/" \ + -e "s/@VERSION/${version}/" \ + "sci-libs/embree4.mk.in" + + # Install from precompiled binaries + else + url="$\(REPO_BIN\)/embree_4.0.1_gnu_linux64.tgz" + bin_spkg + fi +fi diff --git a/src/random123.mk.in b/src/sci-libs/random123.mk.in diff --git a/src/sci-libs/random123_1.14.0.sh b/src/sci-libs/random123_1.14.0.sh @@ -0,0 +1,33 @@ +#!/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" + +name="random123" +version="1.14.0" + +if [ -n "${RANDOM123_SH}" ]; then + check_conflict "${name}" "${version}" "${RANDOM123_SH}" +else + export RANDOM123_SH="${version}" + + sed -e "s/@TAG@/v${version}/" \ + -e "s/@VERSION@/${version}/" \ + "sci-libs/random123.mk.in" +fi diff --git a/src/sci-libs/rsimd_0.5.sh b/src/sci-libs/rsimd_0.5.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/sleef_3.5.2-r0.sh" +. "sys-libs/rsys_0.15.sh" + +name="rsimd" +tag="0.5" + +if [ -n "${RSIMD_SH}" ]; then + check_conflict "${name}" "${tag}" "${RSIMD_SH}" +else + export RSIMD_SH="${tag}" + + url="$\(REPO_VAPLV\)/rsimd.git" + dep="rsys sleef" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sleef.mk.in b/src/sci-libs/sleef.mk.in diff --git a/src/sleef_3.5.2-r0.sh b/src/sci-libs/sleef_3.5.2-r0.sh diff --git a/src/sci-libs/star-2d_0.7.sh b/src/sci-libs/star-2d_0.7.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/embree_4.0.1.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-2d" +tag="0.7" + +if [ -n "${STAR_2D_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_2D_SH}" +else + export STAR_2D_SH="${tag}" + + url="$\(REPO\)/star-2d.git" + dep="rsys embree4" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-3d_0.10.sh b/src/sci-libs/star-3d_0.10.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/embree_4.0.1.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-3d" +tag="0.10" + +if [ -n "${STAR_3D_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_3D_SH}" +else + export STAR_3D_SH="${tag}" + + url="$\(REPO\)/star-3d.git" + dep="rsys embree4" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-3daw_0.5.sh b/src/sci-libs/star-3daw_0.5.sh @@ -0,0 +1,39 @@ +#!/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/aw_2.1.sh" +. "cad-libs/polygon_0.2.sh" +. "sci-libs/star-3d_0.10.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-3daw" +tag="0.5" + +if [ -n "${STAR_3DAW_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_3DAW_SH}" +else + export STAR_3DAW_SH=1 + + url="$\(REPO\)/star-3daw.git" + dep="aw polygon rsys star-3d" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-3dstl_0.4.sh b/src/sci-libs/star-3dstl_0.4.sh @@ -0,0 +1,38 @@ +#!/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.5.1.sh" +. "sci-libs/star-3d_0.10.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-3dstl" +tag="0.4" + +if [ -n "${STAR_3DSTL_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_3DSTL_SH}" +else + export STAR_3DSTL_SH="${tag}" + + url="$\(REPO\)/star-3dstl.git" + dep="rsys star-3d star-stl" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-camera_0.2.sh b/src/sci-libs/star-camera_0.2.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-camera" +tag="0.2" + +if [ -n "${STAR_CAMERA_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CAMERA_SH}" +else + export STAR_CAMERA_SH="${tag}" + + url="$\(REPO\)/star-camera.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-cmap_0.1.sh b/src/sci-libs/star-cmap_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-cmap" +tag="0.1" + +if [ -n "${STAR_CMAP_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_CMAP_SH}" +else + export STAR_CMAP_SH="${tag}" + + url="$\(REPO\)/star-cmap.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-enclosures-2d_0.6.sh b/src/sci-libs/star-enclosures-2d_0.6.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/star-2d_0.7.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-enclosures-2d" +tag="0.6" + +if [ -n "${STAR_ENCLOSURES_2D_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_ENCLOSURES_2D_SH}" +else + export STAR_ENCLOSURES_2D_SH="${tag}" + + url="$\(REPO\)/star-enclosures-2d.git" + dep="rsys star-2d" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-enclosures-3d_0.7.2.sh b/src/sci-libs/star-enclosures-3d_0.7.2.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/star-3d_0.10.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-enclosures-3d" +tag="0.7.2" + +if [ -n "${STAR_ENCLOSURES_3D_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_ENCLOSURES_3D_SH}" +else + export STAR_ENCLOSURES_3D_SH="${tag}" + + url="$\(REPO\)/star-enclosures-3d.git" + dep="rsys star-3d" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-geometry-3d_0.2.sh b/src/sci-libs/star-geometry-3d_0.2.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-geometry-3d" +tag="0.2" + +if [ -n "${STAR_GEOMETRY_3D_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_GEOMETRY_3D_SH}" +else + export STAR_GEOMETRY_3D_SH="${tag}" + + url="$\(REPO\)/star-geometry-3d.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-mc_0.6.sh b/src/sci-libs/star-mc_0.6.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/star-sp_0.14.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-mc" +tag="0.6" + +if [ -n "${STAR_MC_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_MC_SH}" +else + export STAR_MC_SH="${tag}" + + url="$\(REPO\)/star-mc.git" + dep="star-sp rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-mesh_0.1.sh b/src/sci-libs/star-mesh_0.1.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-mesh" +tag="0.1" + +if [ -n "${STAR_MESH_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_MESH_SH}" +else + export STAR_MESH_SH="${tag}" + + url="$\(REPO\)/star-mesh.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-sp_0.14.sh b/src/sci-libs/star-sp_0.14.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/random123_1.14.0.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-sp" +tag="0.14" + +if [ -n "${STAR_SP_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_SP_SH}" +else + export STAR_SP_SH="${tag}" + + url="$\(REPO\)/star-sp.git" + dep="random123 rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-sp_0.15.sh b/src/sci-libs/star-sp_0.15.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/random123_1.14.0.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-sp" +tag="0.15" + +if [ -n "${STAR_SP_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_SP_SH}" +else + export STAR_SP_SH="${tag}" + + url="$\(REPO\)/star-sp.git" + dep="random123 rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-uvm_0.3.1.sh b/src/sci-libs/star-uvm_0.3.1.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sci-libs/embree_4.0.1.sh" +. "sys-libs/rsys_0.15.sh" + +name="star-uvm" +tag="0.3.1" + +if [ -n "${STAR_UVM_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_UVM_SH}" +else + export STAR_UVM_SH="${tag}" + + url="$\(REPO\)/star-uvm.git" + dep="embree4 rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-vx_0.3.sh b/src/sci-libs/star-vx_0.3.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-vx" +tag="0.3" + +if [ -n "${STAR_VX_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_VX_SH}" +else + export STAR_VX_SH="${tag}" + + url="$\(REPO\)/star-vx.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sci-libs/star-wf_0.0.sh b/src/sci-libs/star-wf_0.0.sh @@ -0,0 +1,35 @@ +#!/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" +. "sys-libs/rsys_0.15.sh" + +name="star-wf" +tag="0.0" + +if [ -n "${STAR_WF_SH}" ]; then + check_conflict "${name}" "${tag}" "${STAR_WF_SH}" +else + export STAR_WF_SH="${tag}" + + url="$\(REPO\)/star-wf.git" + dep="rsys" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sgs.sh b/src/sgs.sh @@ -1,34 +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 - -# Build for the dependencies of the Star Geometric Sensitivity project - -[ -n "${SGS_SH}" ] && return -export SGS_SH=1 - -. "build.sh" - -. "noweb_2.13rc3.sh" -. "rsys_0.14.sh" -. "star-3d_0.10.sh" -. "star-sp_0.14.sh" -. "star-mc_0.6.sh" - -# Setup make directives for the profile file -profile sgs.profile diff --git a/src/star-2d_0.7.sh b/src/star-2d_0.7.sh @@ -1,32 +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 - -[ -n "${STAR_2D_SH}" ] && return -export STAR_2D_SH=1 - -. "build.sh" -. "embree_4.0.1.sh" -. "rsys_0.14.sh" - -name="star-2d" -url="$\(REPO\)/star-2d.git" -tag="0.7" -dep="rsys embree4" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-3d_0.10.sh b/src/star-3d_0.10.sh @@ -1,32 +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 - -[ -n "${STAR_3D_SH}" ] && return -export STAR_3D_SH=1 - -. "build.sh" -. "embree_4.0.1.sh" -. "rsys_0.14.sh" - -name="star-3d" -url="$\(REPO\)/star-3d.git" -tag="0.10" -dep="rsys embree4" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-3daw_0.5.sh b/src/star-3daw_0.5.sh @@ -1,34 +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 - -[ -n "${STAR_3DAW_SH}" ] && return -export STAR_3DAW_SH=1 - -. "build.sh" -. "aw_2.1.sh" -. "polygon_0.2.sh" -. "rsys_0.14.sh" -. "star-3d_0.10.sh" - -name="star-3daw" -url="$\(REPO\)/star-3daw.git" -tag="0.5" -dep="aw polygon rsys star-3d" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-3dstl_0.4.sh b/src/star-3dstl_0.4.sh @@ -1,34 +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 - -[ -n "${STAR_3DSTL_SH}" ] && return -export STAR_3DSTL_SH=1 - -. "build.sh" - -. "rsys_0.14.sh" -. "star-3d_0.10.sh" -. "star-stl_0.5.1.sh" - -name="star-3dstl" -url="$\(REPO\)/star-3dstl.git" -tag="0.4" -dep="rsys star-3d star-stl" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-3dut_0.4.sh b/src/star-3dut_0.4.sh @@ -1,31 +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 - -[ -n "${STAR_3DUT}" ] && return -export STAR_3DUT_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-3dut" -url="$\(REPO\)/star-3dut.git" -tag="0.4" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-4v_s_0.6.sh b/src/star-4v_s_0.6.sh @@ -1,35 +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 - -[ -n "${STAR_4V_S_SH}" ] && return -export STAR_4V_S_SH=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-3d_0.10.sh" -. "star-3daw_0.5.sh" -. "star-sp_0.14.sh" -. "star-mc_0.6.sh" - -name="star-4v_s" -url="$\(REPO\)/star-4v_s.git" -tag="0.6" -dep="rsys star-3d star-3daw star-sp star-mc" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-aerosol_0.1.sh b/src/star-aerosol_0.1.sh @@ -1,31 +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 - -[ -n "${STAR_AEROSOL_SH}" ] && return -export STAR_AEROSOL_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-aerosol" -url="$\(REPO\)/star-aerosol.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-blackbody.sh b/src/star-blackbody.sh @@ -1,31 +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 - -[ -n "${STAR_BLACKBODY_SH}" ] && return -export STAR_BLACKBODY_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-blackbody" -url="$\(REPO\)/star-blackbody.git" -tag="origin/master" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-buffer_0.1.sh b/src/star-buffer_0.1.sh @@ -1,31 +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 - -[ -n "${STAR_BUFFER_SH}" ] && return -export STAR_BUFFER_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-buffer" -url="$\(REPO\)/star-buffer.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-cad_0.5.1.sh b/src/star-cad_0.5.1.sh @@ -1,34 +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 - -[ -n "${STAR_CAD_SH}" ] && return -export STAR_CAD_SH=1 - -. "build.sh" -. "gmsh_4.12.2.sh" -. "rsys_0.14.sh" -. "star-enclosures-3d_0.7.2.sh" -. "star-geometry-3d_0.2.sh" - -name="star-cad" -url="$\(REPO\)/star-cad.git" -tag="0.5.1" -dep="gmsh rsys star-enclosures-3d star-geometry-3d" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-cad_0.5.2.sh b/src/star-cad_0.5.2.sh @@ -1,34 +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 - -[ -n "${STAR_CAD_SH}" ] && return -export STAR_CAD_SH=1 - -. "build.sh" -. "gmsh_4.12.2.sh" -. "rsys_0.14.sh" -. "star-enclosures-3d_0.7.2.sh" -. "star-geometry-3d_0.2.sh" - -name="star-cad" -url="$\(REPO\)/star-cad.git" -tag="0.5.2" -dep="gmsh rsys star-enclosures-3d star-geometry-3d" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-camera_0.2.sh b/src/star-camera_0.2.sh @@ -1,31 +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 - -[ -n "${STAR_CAMERA_SH}" ] && return -export STAR_CAMERA_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-camera" -url="$\(REPO\)/star-camera.git" -tag="0.2" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-ck_0.1.sh b/src/star-ck_0.1.sh @@ -1,31 +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 - -[ -n "${STAR_CK_SH}" ] && return -export STAR_CK_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-ck" -url="$\(REPO\)/star-ck.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-cmap_0.1.sh b/src/star-cmap_0.1.sh @@ -1,31 +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 - -[ -n "${STAR_CMAP_SH}" ] && return -export STAR_CMAP_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-cmap" -url="$\(REPO\)/star-cmap.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-cpr_0.5.1.sh b/src/star-cpr_0.5.1.sh @@ -1,33 +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 - -[ -n "${STAR_CPR_SH}" ] && return -export STAR_CPR_SH=1 - -. "build.sh" -. "clipper2_1.4.sh" -. "polygon_0.2.sh" -. "rsys_0.14.sh" - -name="star-cpr" -url="$\(REPO\)/star-cpr.git" -tag="0.5.1" -dep="clipper2 polygon rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-cpr_0.5.sh b/src/star-cpr_0.5.sh @@ -1,33 +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 - -[ -n "${STAR_CPR_SH}" ] && return -export STAR_CPR_SH=1 - -. "build.sh" -. "clipper2_1.1.1.sh" -. "polygon_0.2.sh" -. "rsys_0.14.sh" - -name="star-cpr" -url="$\(REPO\)/star-cpr.git" -tag="0.5" -dep="clipper2 polygon rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-cpr_0.6.sh b/src/star-cpr_0.6.sh @@ -1,33 +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 - -[ -n "${STAR_CPR_SH}" ] && return -export STAR_CPR_SH=1 - -. "build.sh" -. "clipper2_1.5.2.sh" -. "polygon_0.2.sh" -. "rsys_0.14.sh" - -name="star-cpr" -url="$\(REPO\)/star-cpr.git" -tag="0.6" -dep="clipper2 polygon rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-enclosures-2d_0.6.sh b/src/star-enclosures-2d_0.6.sh @@ -1,32 +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 - -[ -n "${STAR_ENCLOSURES_2D}" ] && return -export STAR_ENCLOSURES_2D=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-2d_0.7.sh" - -name="star-enclosures-2d" -url="$\(REPO\)/star-enclosures-2d.git" -tag="0.6" -dep="rsys star-2d" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-enclosures-3d_0.7.2.sh b/src/star-enclosures-3d_0.7.2.sh @@ -1,32 +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 - -[ -n "${STAR_ENCLOSURES_3D}" ] && return -export STAR_ENCLOSURES_3D=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-3d_0.10.sh" - -name="star-enclosures-3d" -url="$\(REPO\)/star-enclosures-3d.git" -tag="0.7.2" -dep="rsys star-3d" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-engine_0.15.sh b/src/star-engine_0.15.sh @@ -1,42 +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 - -[ -n "${STAR_ENGINE_SH}" ] && return -export STAR_ENGINE_SH=1 - -[ -z "${USE_SIMD}" ] && USE_SIMD="0" - -. "aw_2.1.sh" -. "polygon_0.2.sh" -. "rsys_0.14.sh" -. "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.14.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 diff --git a/src/star-geometry-3d_0.2.sh b/src/star-geometry-3d_0.2.sh @@ -1,31 +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 - -[ -n "${STAR_GEOMETRY_3D}" ] && return -export STAR_GEOMETRY_3D=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-geometry-3d" -url="$\(REPO\)/star-geometry-3d.git" -tag="0.2" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-gf_0.3.sh b/src/star-gf_0.3.sh @@ -1,34 +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 - -[ -n "${STAR_GF_SH}" ] && return -export STAR_GF_SH=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-2d_0.7.sh" -. "star-3d_0.10.sh" -. "star-sp_0.14.sh" - -name="star-gf" -url="$\(REPO\)/star-gf.git" -tag="0.3" -dep="rsys star-2d star-3d star-sp" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-mc_0.6.sh b/src/star-mc_0.6.sh @@ -1,32 +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 - -[ -n "${STAR_MC_SH}" ] && return -export STAR_MC_SH=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-sp_0.14.sh" - -name="star-mc" -url="$\(REPO\)/star-mc.git" -tag="0.6" -dep="star-sp rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-mesh_0.1.sh b/src/star-mesh_0.1.sh @@ -1,31 +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 - -[ -n "${STAR_MESH_SH}" ] && return -export STAR_MESH_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-mesh" -url="$\(REPO\)/star-mesh.git" -tag="0.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-meshtool_0.2.sh b/src/star-meshtool_0.2.sh @@ -1,35 +0,0 @@ -#!/bin/sh - -# Copyright (C) 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 - -[ -n "${STAR_MESHTOOL_SH}" ] && return -export STAR_MESHTOOL_SH=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-stl_0.5.1.sh" - -name="star-meshtool" -url="$\(REPO\)/star-meshtool.git" -tag="0.2" -dep="rsys star-stl" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo - -profile star-meshtool.profile - diff --git a/src/star-sf_0.9.sh b/src/star-sf_0.9.sh @@ -1,42 +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 - -[ -n "${STAR_SF_SH}" ] && return -export STAR_SF_SH=1 - -. "build.sh" -. "rsys_0.14.sh" -. "star-sp_0.14.sh" - -[ -z "${USE_SIMD}" ] && USE_SIMD="0" -[ "${USE_SIMD}" != 0 ] && . "rsimd_0.5.sh" - -name="star-sf" -url="$\(REPO\)/star-sf.git" -tag="0.9" -dep="rsys star-sp" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" - -if [ "${USE_SIMD}" = "0" ]; then - opt="${opt} SIMD_WIDTH=NONE" -else - dep="${dep} rsimd" -fi - -git_repo diff --git a/src/star-sp_0.14.sh b/src/star-sp_0.14.sh @@ -1,32 +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 - -[ -n "${STAR_SP_SH}" ] && return -export STAR_SP_SH=1 - -. "build.sh" -. "random123_1.14.0.sh" -. "rsys_0.14.sh" - -name="star-sp" -url="$\(REPO\)/star-sp.git" -tag="0.14" -dep="random123 rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-stl_0.5.1.sh b/src/star-stl_0.5.1.sh @@ -1,31 +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 - -[ -n "${STAR_STL_SH}" ] && return -export STAR_STL_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-stl" -url="$\(REPO\)/star-stl.git" -tag="0.5.1" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-uvm_0.3.1.sh b/src/star-uvm_0.3.1.sh @@ -1,32 +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 - -[ -n "${STAR_UVM_SH}" ] && return -export STAR_UVM_SH=1 - -. "build.sh" -. "embree_4.0.1.sh" -. "rsys_0.14.sh" - -name="star-uvm" -url="$\(REPO\)/star-uvm.git" -tag="0.3.1" -dep="embree4 rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-vx_0.3.sh b/src/star-vx_0.3.sh @@ -1,31 +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 - -[ -n "${STAR_VX_SH}" ] && return -export STAR_VX_SH=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-vx" -url="$\(REPO\)/star-vx.git" -tag="0.3" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/star-wf_0.0.sh b/src/star-wf_0.0.sh @@ -1,31 +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 - -[ -n "${STAR_WF}" ] && return -export STAR_WF=1 - -. "build.sh" -. "rsys_0.14.sh" - -name="star-wf" -url="$\(REPO\)/star-wf.git" -tag="0.0" -dep="rsys" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/stardis-green_0.5.1.sh b/src/stardis-green_0.5.1.sh @@ -1,32 +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 - -[ -n "${STARDIS_GREEN}" ] && return -export STARDIS_GREEN=1 - -. "build.sh" -. "rsys_0.14.sh" -. "stardis_0.11.1.sh" - -name="stardis-green" -url="$\(REPO\)/stardis-green.git" -tag="0.5.1" -dep="rsys stardis" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -git_repo diff --git a/src/stardis-solver_0.15.2.sh b/src/stardis-solver_0.15.2.sh @@ -1,40 +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 - -[ -n "${STARDIS_SOLVER}" ] && return -export STARDIS_SOLVER=1 - -[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI - -. "build.sh" -. "rsys_0.14.sh" -. "star-2d_0.7.sh" -. "star-3d_0.10.sh" -. "star-enclosures-2d_0.6.sh" -. "star-enclosures-3d_0.7.2.sh" -. "star-sp_0.14.sh" -. "star-wf_0.0.sh" - -name="stardis-solver" -url="$\(REPO\)/stardis-solver.git" -tag="0.15.2" -dep="rsys star-2d star-3d star-enclosures-2d star-enclosures-3d star-sp star-wf" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -opt="${opt} DISTRIB_PARALLELISM=${DISTRIB_PARALLELISM}" -git_repo diff --git a/src/stardis-solver_0.16.1.sh b/src/stardis-solver_0.16.1.sh @@ -1,40 +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 - -[ -n "${STARDIS_SOLVER}" ] && return -export STARDIS_SOLVER=1 - -[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI - -. "build.sh" -. "rsys_0.14.sh" -. "star-2d_0.7.sh" -. "star-3d_0.10.sh" -. "star-enclosures-2d_0.6.sh" -. "star-enclosures-3d_0.7.2.sh" -. "star-sp_0.14.sh" -. "star-wf_0.0.sh" - -name="stardis-solver" -url="$\(REPO\)/stardis-solver.git" -tag="0.16.1" -dep="rsys star-2d star-3d star-enclosures-2d star-enclosures-3d star-sp star-wf" -opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" -opt="${opt} DISTRIB_PARALLELISM=${DISTRIB_PARALLELISM}" -git_repo diff --git a/src/stardis_0.10.1.sh b/src/stardis_0.10.1.sh @@ -1,42 +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 - -[ -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.1.sh" -. "stardis-solver_0.15.2.sh" - -name="stardis" -url="$\(REPO\)/stardis.git" -tag="0.10.1" -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 diff --git a/src/stardis_0.11.1.sh b/src/stardis_0.11.1.sh @@ -1,42 +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 - -[ -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.1.sh" -. "stardis-solver_0.16.1.sh" - -name="stardis" -url="$\(REPO\)/stardis.git" -tag="0.11.1" -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 diff --git a/src/sys-libs/rsys_0.14.sh b/src/sys-libs/rsys_0.14.sh @@ -0,0 +1,33 @@ +#!/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" + +name="rsys" +tag="0.14" + +if [ -n "${RSYS_SH}" ]; then + check_conflict "${name}" "${tag}" "${RSYS_SH}" +else + export RSYS_SH="${tag}" + + url="$\(REPO_VAPLV\)/rsys.git" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/sys-libs/rsys_0.15.sh b/src/sys-libs/rsys_0.15.sh @@ -0,0 +1,32 @@ +#!/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" + +name="rsys" +tag="0.15" +url="$\(REPO_VAPLV\)/rsys.git" +opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + +if [ -n "${RSYS_SH}" ]; then + check_conflict "${name}" "${tag}" "${RSYS_SH}" +else + export RSYS_SH="${tag}" + git_repo +fi diff --git a/src/tbb.mk.in b/src/sys-libs/tbb.mk.in diff --git a/src/sys-libs/tbb_2021.13.0.sh b/src/sys-libs/tbb_2021.13.0.sh @@ -0,0 +1,29 @@ +#!/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" + +tag="v2021.13.0" + +if [ -n "${TBB_SH}" ]; then + check_conflict "${name}" "${tag}" "${TBB_SH}" +else + export TBB_SH="${tag}" + sed -e "s/@TAG@/${tag}/" sys-libs/tbb.mk.in +fi diff --git a/src/tags b/src/tags diff --git a/src/tbb_2021.13.0.sh b/src/tbb_2021.13.0.sh @@ -1,26 +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 - -[ -n "${TBB_SH}" ] && return -export TBB_SH=1 - -. "build.sh" - -tag="v2021.13.0" -sed -e "s/@TAG@/${tag}/" src/tbb.mk.in diff --git a/src/therm-apps/stardis-green_0.5.1.sh b/src/therm-apps/stardis-green_0.5.1.sh @@ -0,0 +1,37 @@ +#!/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" + +. "sys-libs/rsys_0.15.sh" +. "therm-apps/stardis_0.11.1.sh" + +name="stardis-green" +tag="0.5.1" + +if [ -n "${STARDIS_GREEN_SH}" ]; then + check_conflict "${name}" "${tag}" "${STARDIS_GREEN_SH}" +else + export STARDIS_GREEN="${tag}" + + url="$\(REPO\)/stardis-green.git" + dep="rsys stardis" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + git_repo +fi diff --git a/src/therm-apps/stardis_0.10.1.sh b/src/therm-apps/stardis_0.10.1.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.5.1.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sci-libs/star-geometry-3d_0.2.sh" +. "sci-libs/star-sp_0.14.sh" +. "sys-libs/rsys_0.15.sh" +. "therm-libs/stardis-solver_0.15.2.sh" + +[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI + +name="stardis" +tag="0.10.1" + +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 stardis.profile +fi diff --git a/src/therm-apps/stardis_0.11.1.sh b/src/therm-apps/stardis_0.11.1.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.5.1.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.14.sh" +. "sys-libs/rsys_0.15.sh" +. "therm-libs/stardis-solver_0.16.1.sh" + +[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI + +name="stardis" +tag="0.11.1" + +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 stardis.profile +fi diff --git a/src/therm-libs/stardis-solver_0.15.2.sh b/src/therm-libs/stardis-solver_0.15.2.sh @@ -0,0 +1,45 @@ +#!/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" + +. "sci-libs/star-2d_0.7.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-enclosures-2d_0.6.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sci-libs/star-sp_0.14.sh" +. "sci-libs/star-wf_0.0.sh" +. "sys-libs/rsys_0.15.sh" + +[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI + +name="stardis-solver" +tag="0.15.2" + +if [ -n "${STARDIS_SOLVER_SH}" ]; then + check_conflict "${name}" "${tag}" "${STARDIS_SOLVER_SH}" +else + export STARDIS_SOLVER_SH="${tag}" + + url="$\(REPO\)/stardis-solver.git" + dep="rsys star-2d star-3d star-enclosures-2d star-enclosures-3d star-sp star-wf" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + opt="${opt} DISTRIB_PARALLELISM=${DISTRIB_PARALLELISM}" + git_repo +fi diff --git a/src/therm-libs/stardis-solver_0.16.1.sh b/src/therm-libs/stardis-solver_0.16.1.sh @@ -0,0 +1,45 @@ +#!/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" + +. "sci-libs/star-2d_0.7.sh" +. "sci-libs/star-3d_0.10.sh" +. "sci-libs/star-enclosures-2d_0.6.sh" +. "sci-libs/star-enclosures-3d_0.7.2.sh" +. "sci-libs/star-sp_0.14.sh" +. "sci-libs/star-wf_0.0.sh" +. "sys-libs/rsys_0.15.sh" + +[ -z "${DISTRIB_PARALLELISM}" ] && DISTRIB_PARALLELISM=MPI + +name="stardis-solver" +tag="0.16.1" + +if [ -n "${STARDIS_SOLVER_SH}" ]; then + check_conflict "${name}" "${tag}" "${STARDIS_SOLVER_SH}" +else + export STARDIS_SOLVER_SH="${tag}" + + url="$\(REPO\)/stardis-solver.git" + dep="rsys star-2d star-3d star-enclosures-2d star-enclosures-3d star-sp star-wf" + opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" + opt="${opt} DISTRIB_PARALLELISM=${DISTRIB_PARALLELISM}" + git_repo +fi