commit cea31ccc07035595bed4f9259fcaefa508455aa5
parent 14c18f1159519668b46c1ee596fc6078e898b844
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 6 Sep 2023 11:38:21 +0200
Add the build script of the htgop library
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -20,6 +20,7 @@ lint:
shellcheck -o all -x -P src src/build.sh
shellcheck -o all -x -P src src/embree_4.0.1.sh
shellcheck -o all -x -P src src/htcp.sh
+ shellcheck -o all -x -P src src/htgop.sh
shellcheck -o all -x -P src src/mrumtl.sh
shellcheck -o all -x -P src src/noweb_2.13rc3.sh
shellcheck -o all -x -P src src/polygon.sh
diff --git a/src/htgop.sh b/src/htgop.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 "${HTGOP_SH}" ] && return
+export HTGOP_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+name="htgop"
+url="$\(REPO\)/htgop.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo