commit e3a80ed94974da5e502bfb8d0a443700c6a47b52
parent 31072ff18b99c7a0a69a4ac109676da854e2dfe1
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 31 Aug 2023 09:16:57 +0200
Add the build script of the atrri library
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -14,6 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
lint:
+ shellcheck -o all -x -P src src/atrri.sh
shellcheck -o all -x -P src src/aw.sh
shellcheck -o all -x -P src src/build.sh
shellcheck -o all -x -P src src/embree_4.0.1.sh
diff --git a/src/atrri.sh b/src/atrri.sh
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+
+# Copyright (C) 2023 |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/>.
+
+[ -n "${ATRRI_SH}" ] && return
+export ATRRI_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+name="atrri"
+url="$\(REPO\)/atrri.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo