Open pgaufillet opened 8 years ago
Ocarina embeds both parser all the time ocarina -aadlv2 -> use v2 parser ocarina -aadlv1 -> use v1 parser ./configure --aadlv2 -> v2 parser default, no need to add -aadlv2 ./configure defaults to ocarina -aadlv1
Using AADLv2 as default requires an update of all scenario files for PolyORB-HI/C and PolyORB-HI/Ada, I'll keep this as enhancement request.
For your own usage, simple use configure with --with-aadl-version=v2
Thanks for these precisions. That's what I thought I had done (and ./config.status --config
confirmed it) but it seems something had gone wrong somewhere. make distclean; ./support/reconfig; ./configure --...; make install
solved the issue.
Autoconf should propose anyway AADLv2 by default as AADLv1 is almost not used anymore.
Nowadays, the active AADL version is 2.x and OCARINA should be aligned on it. It may be solved by a build configuration switch looking like:
or more simple, keep only the second argument:
and embedd systematically aadl v1 and aadl v2 parsers.