star-build

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

commit ebe9f9c777e82b649ac6d80b01f651cef26cc675
parent f06e8ad9122e6cf5ef695379fee6189faea22038
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 23 May 2025 15:14:03 +0200

Add build script for Star-UVM 0.4

Diffstat:
Asrc/sci-libs/star-uvm_0.4.sh | 44++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+), 0 deletions(-)

diff --git a/src/sci-libs/star-uvm_0.4.sh b/src/sci-libs/star-uvm_0.4.sh @@ -0,0 +1,44 @@ +#!/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" + +# Build and install the suvm-voxelize utility +STAR_UVM_ADDON=utils + +if [ "${STAR_UVM_ADDON}" = "utils" ]; then + . "cad-libs/star-mesh_0.2.sh" +fi + +name="star-uvm" +tag="0.4" + +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\) ADDON=${STAR_UVM_ADDON}" + git_repo +fi