Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
a2b72525
Commit
a2b72525
authored
Jun 07, 2017
by
Maxime Perrotin
Browse files
Update build script
parent
be811d75
Changes
2
Hide whitespace changes
Inline
Side-by-side
c/build_script.c
View file @
a2b72525
...
...
@@ -127,7 +127,7 @@ void Create_script()
fprintf
(
script
,
"if [ -z
\"
$DEPLOYMENTVIEW
\"
]
\n
"
"then
\n
"
" DEPLOYMENTVIEW=DeploymentView.aadl
\n
"
"fi
\n\n
"
"fi
\n\n
"
"# Detect models from Ellidiss tools v2, and convert them to 1.3
\n
"
"grep
\"
version =>
\\\"
2
\"
\"
$DEPLOYMENTVIEW
\"
>/dev/null && {
\n
"
" echo -e
\"
${INFO} Converting deployment view from V2 to V1.3
\"\n
"
...
...
@@ -138,8 +138,9 @@ void Create_script()
fprintf
(
script
,
"SKELS=
\"
%s
\"\n\n
"
,
OUTPUT_PATH
);
fprintf
(
script
,
"# Update the data view with local paths
\n
"
"taste-update-data-view
\n\n
"
);
fprintf
(
script
,
"# Check if Dataview references existing files
\n
"
"taste-extract-asn-from-design.exe -i
\"
$INTERFACEVIEW
\"
-j /tmp/dv.asn
\n\n
"
);
//"taste-update-data-view\n\n");
/* OpenGEODE-specific: call code generator on the fly */
FOREACH
(
fv
,
FV
,
get_system_ast
()
->
functions
,
{
...
...
c/preprocessing_backend.c
View file @
a2b72525
...
...
@@ -738,8 +738,8 @@ void Preprocess_FV (FV *fv)
* define as unprotected */
else
rcm
=
unprotected
;
/* Create a new FV (thread) if there is more than
* one PI in the function */
if
(
count_pro
+
count_
unpro
+
count_
thread
>
1
)
{
* one PI in the function
(unprotected don't count)
*/
if
(
count_pro
+
count_thread
>
1
)
{
ProcessArtificial_FV_Creation
(
i
,
rcm
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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