Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
44269ae4
Commit
44269ae4
authored
Jul 17, 2019
by
Maxime Perrotin
Browse files
Simplify build script
parent
7cbca5a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/build-script.tmplt
View file @
44269ae4
...
...
@@ -2,7 +2,7 @@
# This script will build your system
# DO NOT EDIT THIS FILE
# Generated by
TASTE
on @_Now_@
# Generated by
kazoo
on @_Now_@
# If you need additional pre-processing, there are three hook files
# that you can provide and that are called dring the build:
...
...
@@ -30,29 +30,12 @@ then
source
user_init_pre.sh
fi
# By default, use PolyORB-HI-C runtime
USE_POHIC
=
1
# Set Debug mode by default
DEBUG_MODE
=
--debug
INTERFACEVIEW
=
@_Interface_View_Path_@
# Output path were the user code was generated
SKELS
=
@_Output_Path_@
@@TABLE@@
@_Generate_Code_@
@@END_TABLE@@
@@TABLE@@
@_Zip_Code_@
@@END_TABLE@@
if
[
-f
ConcurrencyView.pro
]
then
ORCHESTRATOR_OPTIONS+
=
" -w ConcurrencyView.pro "
elif
[
-f
ConcurrencyView_Properties.aadl
]
elif
[
-f
../
ConcurrencyView_Properties.aadl
]
then
ORCHESTRATOR_OPTIONS+
=
" -w ConcurrencyView_Properties.aadl "
fi
...
...
@@ -68,28 +51,12 @@ then
source
additionalCommands.sh
fi
if
[
!
-z
"
$USE_POHIC
"
]
then
OUTPUTDIR
=
binary.c
ORCHESTRATOR_OPTIONS+
=
" --with-polyorb-hi-c "
else
OUTPUTDIR
=
binary.ada
fi
# Execute the makefile to update dataviews, if needed, then call ocarina and build everything
make
&&
\
cd
concurrency_view
&&
\
ocarina
-x
main.aadl
&&
make
-f
Makefile.taste
cd
"
$CWD
"
&&
\
assert-builder-ocarina.py
\
--fast
\
--aadlv2
\
--keep-case
\
$DEBUG_MODE
\
--interfaceView
"
$INTERFACEVIEW
"
\
--deploymentView
"
$DEPLOYMENTVIEW
"
\
-o
"
$OUTPUTDIR
"
\
@@TABLE@@
@_REPLACE
((
\n
)
/
)
:Functions_@
@@END_TABLE@@
@_CodeCoverage_@
\
$ORCHESTRATOR_OPTIONS
if
[
-f
user_init_last.sh
]
then
...
...
Write
Preview
Supports
Markdown
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