atrstm_0.1.1.sh (1393B)
1 #!/bin/sh 2 3 # Copyright (C) 2023-2026 |Méso|Star> (contact@meso-star.com) 4 # 5 # This file is part of Star-Build. 6 # 7 # Star-Build is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 3 of the License, or 10 # (at your option) any later version. 11 # 12 # Star-Build is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with Star-Build. If not, see <http://www.gnu.org/licenses/>. 19 20 set -e 21 22 . "misc/build.sh" 23 24 . "cad-libs/star-mesh_0.2.sh" 25 . "rad-libs/atrri_0.1.sh" 26 . "rad-libs/atrtp_0.1.sh" 27 . "sci-libs/star-uvm_0.3.1.sh" 28 . "sci-libs/star-vx_0.3.1.sh" 29 . "sys-libs/rsys_0.15.sh" 30 31 # shellcheck disable=SC2310 32 if use_simd; then 33 . "sci-libs/rsimd_0.6.1.sh" 34 fi 35 36 name="atrstm" 37 tag="0.1.1" 38 39 if [ -n "${ATRSTM_SH}" ]; then 40 check_conflict "${name}" "${tag}" "${ATRSTM_SH}" 41 else 42 export ATRSTM_SH="${tag}" 43 44 url="$\(REPO\)/atrstm.git" 45 dep="atrri atrtp rsys star-mesh star-uvm star-vx" 46 opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" 47 48 # shellcheck disable=SC2310 49 if use_simd; then 50 dep="${dep} rsimd" 51 fi 52 53 git_repo 54 fi