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
kazoo
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
kazoo
Commits
44269ae4
Commit
44269ae4
authored
Jul 17, 2019
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify build script
parent
7cbca5a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
40 deletions
+7
-40
templates/build-script.tmplt
templates/build-script.tmplt
+7
-40
No files found.
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
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