Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
regression-suites
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
regression-suites
Commits
48e693ac
Commit
48e693ac
authored
Sep 11, 2017
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build scripts not using mono
parent
2c2f33f2
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
75 additions
and
27 deletions
+75
-27
Demo_Crazyflie_Communication/build-script.sh
Demo_Crazyflie_Communication/build-script.sh
+1
-1
Demo_Crazyflie_IMU_Height/build-script.sh
Demo_Crazyflie_IMU_Height/build-script.sh
+1
-1
Demo_PeekPoke_Linux/build-script.sh
Demo_PeekPoke_Linux/build-script.sh
+1
-1
Demo_Sockets_RTEMS_Leon2/build-script.sh
Demo_Sockets_RTEMS_Leon2/build-script.sh
+68
-20
Demo_uPy_Basic/build-script.sh
Demo_uPy_Basic/build-script.sh
+1
-1
Demo_uPy_TypesPI/build-script.sh
Demo_uPy_TypesPI/build-script.sh
+1
-1
Demo_uPy_TypesRI/build-script.sh
Demo_uPy_TypesRI/build-script.sh
+1
-1
Demo_uPy_WithC/build-script.sh
Demo_uPy_WithC/build-script.sh
+1
-1
No files found.
Demo_Crazyflie_Communication/build-script.sh
View file @
48e693ac
...
...
@@ -56,7 +56,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS
=
"./"
# Check if Dataview references existing files
taste-extract-asn-from-design.exe
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
cd
"
$SKELS
"
&&
rm
-f
function1.zip
&&
zip function1 function1/
*
&&
cd
$OLDPWD
...
...
Demo_Crazyflie_IMU_Height/build-script.sh
View file @
48e693ac
...
...
@@ -57,7 +57,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS
=
"./"
# Check if Dataview references existing files
taste-extract-asn-from-design.exe
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
cd
"
$SKELS
"
&&
rm
-f
copter_imu.zip
&&
zip copter_imu copter_imu/
*
&&
cd
$OLDPWD
...
...
Demo_PeekPoke_Linux/build-script.sh
View file @
48e693ac
...
...
@@ -56,7 +56,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS
=
"./"
# Check if Dataview references existing files
taste-extract-asn-from-design.exe
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
cd
"
$SKELS
"
&&
rm
-f
function1.zip
&&
zip function1 function1/
*
&&
cd
$OLDPWD
...
...
Demo_Sockets_RTEMS_Leon2/build-script.sh
View file @
48e693ac
#!/bin/bash
#!/bin/bash
-e
# This script will build your TASTE system.
# You should check it before running it to make it fit with your context:
# 1) You may need to fix some paths and filenames (path to interface/deployment views)
# 2) You may need to specify additional paths for the compiler to find .h file
# (e.g. "export C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH")
# 3) You may need to link with pre-built libraries, using the -l option
# (e.g. -l /usr/lib/libanalogy.a,/usr/lib/librtdm.a)
# 4) You may need to change the runtime (add -p flag to select PolyORB-HI-C)
# etc.
# You should not change this file as it was automatically generated.
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
# If you need additional preprocessing, there are three hook files
# that you can provide and that are called dring the build:
# user_init_pre.sh, user_init_post.sh and user_init_last.sh
# These files will never get overwritten by TASTE.'
taste-update-data-view
||
exit
1
# Inside these files you may set some environment variables:
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
CWD
=
$(
pwd
)
if
[
-t
1
]
;
then
COLORON
=
"
\e
[1m
\e
[32m"
COLOROFF
=
"
\e
[0m"
else
COLORON
=
""
COLOROFF
=
""
fi
INFO
=
"
${
COLORON
}
[INFO]
${
COLOROFF
}
"
if
[
-f
user_init_pre.sh
]
then
echo
-e
"
${
INFO
}
Executing user-defined init script"
source
user_init_pre.sh
fi
# Use PolyORB-HI-C runtime
USE_POHIC
=
1
# Detect models from Ellidiss tools v2, and convert them to 1.3
INTERFACEVIEW
=
InterfaceView.aadl
grep
"version =>
\"
2"
InterfaceView.aadl
>
/dev/null
&&
{
echo
-e
"
${
INFO
}
Converting interface view from V2 to V1.3"
TASTE
--load-interface-view
InterfaceView.aadl
--export-interface-view-to-1_3
__iv_1_3.aadl
INTERFACEVIEW
=
__iv_1_3.aadl
}
;
if
[
-z
"
$DEPLOYMENTVIEW
"
]
then
DEPLOYMENTVIEW
=
DeploymentView.aadl
fi
# Detect models from Ellidiss tools v2, and convert them to 1.3
grep
"version =>
\"
2"
"
$DEPLOYMENTVIEW
"
>
/dev/null
&&
{
echo
-e
"
${
INFO
}
Converting deployment view from V2 to V1.3"
TASTE
--load-deployment-view
"
$DEPLOYMENTVIEW
"
--export-deployment-view-to-1_3
__dv_1_3.aadl
DEPLOYMENTVIEW
=
__dv_1_3.aadl
}
;
SKELS
=
"./"
cd
"
$SKELS
"
rm
-f
flight.zip
zip flight flight/
*
cd
"
$OLDPWD
"
# Check if Dataview references existing files
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
[
!
-z
"
$CLEANUP
"
]
&&
rm
-rf
binary
# Generate code for OpenGEODE function flight
cd
"
$SKELS
"
/flight
&&
opengeode
--toAda
flight.pr system_structure.pr
&&
cd
$OLDPWD
cd
"
$SKELS
"
&&
rm
-f
flight.zip
&&
zip flight flight/
*
&&
cd
$OLDPWD
[
!
-z
"
$CLEANUP
"
]
&&
rm
-rf
binary
*
if
[
-f
ConcurrencyView.pro
]
then
ORCHESTRATOR_OPTIONS+
=
" -w ConcurrencyView.pro "
fi
if
[
-f
user_init_post.sh
]
then
echo
-e
"
${
INFO
}
Executing user-defined post-init script"
source
user_init_post.sh
fi
if
[
!
-z
"
$USE_POHIC
"
]
then
OUTPUTDIR
=
binary.c
...
...
@@ -45,14 +86,21 @@ then
else
OUTPUTDIR
=
binary
fi
assert-builder-ocarina.py
\
-p
\
cd
"
$CWD
"
&&
assert-builder-ocarina.py
\
--fast
\
--debug
\
--aadlv2
\
--keep-case
\
--interfaceView
InterfaceView.aadl
\
--interfaceView
"
$INTERFACEVIEW
"
\
--deploymentView
"
$DEPLOYMENTVIEW
"
\
-o
"
$OUTPUTDIR
"
\
--subAda
flight:
"
$SKELS
"
/flight.zip
\
$ORCHESTRATOR_OPTIONS
if
[
-f
user_init_last.sh
]
then
echo
-e
"
${
INFO
}
Executing user-defined post-build script"
source
user_init_last.sh
fi
Demo_uPy_Basic/build-script.sh
View file @
48e693ac
...
...
@@ -56,7 +56,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS
=
"./"
# Check if Dataview references existing files
taste-extract-asn-from-design.exe
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
cd
"
$SKELS
"
&&
rm
-f
my_function.zip
&&
zip my_function my_function/
*
&&
cd
$OLDPWD
...
...
Demo_uPy_TypesPI/build-script.sh
View file @
48e693ac
...
...
@@ -56,7 +56,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS
=
"./"
# Check if Dataview references existing files
taste-extract-asn-from-design.exe
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
cd
"
$SKELS
"
&&
rm
-f
gnd.zip
&&
zip gnd gnd/
*
&&
cd
$OLDPWD
...
...
Demo_uPy_TypesRI/build-script.sh
View file @
48e693ac
...
...
@@ -56,7 +56,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS
=
"./"
# Check if Dataview references existing files
taste-extract-asn-from-design.exe
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
cd
"
$SKELS
"
&&
rm
-f
gnd.zip
&&
zip gnd gnd/
*
&&
cd
$OLDPWD
...
...
Demo_uPy_WithC/build-script.sh
View file @
48e693ac
...
...
@@ -56,7 +56,7 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS
=
"./"
# Check if Dataview references existing files
taste-extract-asn-from-design.exe
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
mono
$(
which taste-extract-asn-from-design.exe
)
-i
"
$INTERFACEVIEW
"
-j
/tmp/dv.asn
cd
"
$SKELS
"
&&
rm
-f
gnd.zip
&&
zip gnd gnd/
*
&&
cd
$OLDPWD
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment