Commit a2b72525 authored by Maxime Perrotin's avatar Maxime Perrotin

Update build script

parent be811d75
......@@ -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, {
......
......@@ -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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment