diff options
author | Ouyang Jun <ouyangj.fnst@cn.fujitsu.com> | 2019-07-24 04:33:26 -0700 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-07-25 21:52:15 +0000 |
commit | 0495ad804ec8b218e81d3ebb172dc1976cb287cb (patch) | |
tree | 55ec9cba45cb9518911b497f78573dabc4bebecc /autobuild/agl | |
parent | 33258140525123d6a38900811c2df3e14f4e8337 (diff) |
Minimal cluster demo gauges that can be used standalonehalibut_8.0.0halibut/8.0.08.0.0
Bug-AGL: SPEC-2487
Signed-off-by: Ouyang Jun <ouyangj.fnst@cn.fujitsu.com>
Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com>
Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
Change-Id: I4859ab9af2f5c3bbeff5ca6b14a7943797518908
(cherry picked from commit a61b0a9931e16a51fd819167cc597d84b52ad266)
Diffstat (limited to 'autobuild/agl')
-rwxr-xr-x | autobuild/agl/autobuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/autobuild/agl/autobuild b/autobuild/agl/autobuild new file mode 100755 index 0000000..883293d --- /dev/null +++ b/autobuild/agl/autobuild @@ -0,0 +1,22 @@ +#!/bin/bash + +SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../../../" +BUILD_DIR=$( echo "$2" | cut -d'=' -f2 ) + +# HACK: alias should be expanded in script for cmake to work properly +shopt -s expand_aliases +# HACK: source again the SDK because of the alias +source $SDKTARGETSYSROOT/../../environment-setup-* + +pushd $BUILD_DIR + + cmake $SOURCE_DIR + make + + if [ "$1" == "package" ]; then + make widget + cp *.wgt package/ + fi + +popd + |