Giter Club home page Giter Club logo

ocarina-build's Introduction

build_ocarina.sh License: MIT

About GitHub release

The build_ocarina.sh script is a helper program to get source code, compile, package and test Ocarina on all supported platforms. It relies on shell constructs to coordinate various activities:

  • fetch Ocarina source, with its runtimes PolyORB-HI/Ada and PolyORB-HI/C, and the AADLib library
  • compile Ocarina, and install it in a local directory
  • run Ocarina testsuites, and eventually collect coverage metrics
  • package Ocarina and its runtime
  • upload archives

Shellcheck

Installation

The preferred way to install this script is simply to clone the repository:

git clone https://github.com/OpenAADL/ocarina-build.git

This will ensure future update of the script in a seamless way.

Demo

The script aims at automating everything, starting with a fresh-install

gif

Details

The following

./build_ocarina.sh --scenario=fresh-install --prefix=$PWD/ocarina_install

builds a fresh copy of Ocarina and install it in $PWD/ocarina_install. This is equivalent to

./build_ocarina.sh --reset --update --configure --build --prefix=$PWD/ocarina_install

Multiple scenarios exist for nightly builds, CI testings and others.

Usage

Usage: ./build_ocarina.sh [switches]

General commands
 -h | --help        : print usage
 --version          : return script version, as a git hash
 --self-update      : update this script
 --install_crontab  : install crontab, then exit
 --purge            : delete source and build directories
 --verbose          : return full log of each action

Script commands
 -c | --configure   : configure Ocarina source directory
 -u | --update      : update Ocarina source directory
 -b | --build       : configure, build and install Ocarina
 -t | --run-test    : run Ocarina testsuite, plus runtimes and AADLib
 -p | --package     : package ocarina distribution as tarball
 --upload           : upload archives, see source code for details
 --distclean        : distclean Ocarina build directory
 --remove-prefix    : remove prefix prior to installation
 --release          : release Ocarina on GitHub
 --force            : force build

Update-time options, options to be passed along with -u
 -s | --reset       : reset source directory prior to update
 --remote=<URL>     : Set URL of the Ocarina git repository

Build-time options, options to be passed along with -b
 --prefix=<dir>     : install ocarina in <dir>
 --enable-doc       : enable building the documentation
 --enable-gcov      : enable coverage during ocarina build
 --enable-debug     : enable debug during ocarina build
 --enable-python    : enable Python bindings
 --build-info       : display information on build environment

Scenarios, specific combination of parameters
 --scenario=<name>  : run a specific scenario

 Valid names are coverage fresh-install nightly-build taste github
 See source code for details.

 Note: a default scenario can be passed using the OCARINA_SCENARIO
 environment variable

Authors

  • Jerome Hugues, maintainer
  • Bechir Zalila, original version

ocarina-build's People

Contributors

yoogx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ocarina-build's Issues

Need a `--remote` flag

In its current form, the script fetches source from github, add a --remote flag to specify a remote server different from github

Build failure in Ubuntu 14.04

Hi everyone,

I am a newbie of AADL and I am trying to install Ocarina following this step

  1. git clone https://github.com/OpenAADL/ocarina-build.git
  2. ./build_ocarina.sh -s -u
  3. ./build_ocarina.sh -b

I have tried to use GNAT 2015 and GNAT but there are same errors :
anhph@anhph:~/ocarina-build$ ./build_ocarina.sh --scenario=fresh-install --prefix=$PWD/ocarina_install OS: Ubuntu 14.04.5 LTS x86_64 Compiler: GNATMAKE 4.6 autoconf: autoconf (GNU Autoconf) 2.69 automake: automake (GNU automake) 1.14.1 [2019-01-17-13:22] Checkout the Ocarina sources [PASSED] [2019-01-17-13:22] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib' [PASSED] [2019-01-17-13:22] Reconfiguring (Ocarina) [PASSED] [2019-01-17-13:22] First configure (Ocarina) [PASSED] [2019-01-17-13:22] Doing 'make' (Ocarina)[2019-01-17-13:22] Doing 'make' (Ocarina) [FAILED] Making all in support make[1]: Entering directory /home/anhph/ocarina-build/ocarina/support'
make[1]: Nothing to be done for all'. make[1]: Leaving directory /home/anhph/ocarina-build/ocarina/support'
Making all in tools
make[1]: Entering directory /home/anhph/ocarina-build/ocarina/tools' make[2]: Entering directory /home/anhph/ocarina-build/ocarina/tools'
make[2]: Nothing to be done for all-am'. make[2]: Leaving directory /home/anhph/ocarina-build/ocarina/tools'
make[1]: Leaving directory /home/anhph/ocarina-build/ocarina/tools' Making all in projects make[1]: Entering directory /home/anhph/ocarina-build/ocarina/projects'
Makefile:608: target gnatcheck' doesn't match the target pattern Makefile:614: target gnatmetric' doesn't match the target pattern
touch ../src/core/objects-stamp
touch ../src/config/objects-stamp
touch ../src/frontends/objects-stamp
touch ../src/backends/objects-stamp
touch ../src/transfo/objects-stamp
touch ../src/main/objects-stamp
touch ../src/python/objects-stamp
touch ../src/core/libs-stamp
touch ../src/frontends/libs-stamp
touch ../src/backends/libs-stamp
touch ../src/transfo/libs-stamp
touch ../src/config/libs-stamp
touch ../src/main/libs-stamp
touch ../src/python/libs-stamp
Creating directory: ../src/core/objects
mkdir -p ../src/core/objects
Creating directory: ../src/config/objects
mkdir -p ../src/config/objects
Creating directory: ../src/frontends/objects
mkdir -p ../src/frontends/objects
Creating directory: ../src/backends/objects
mkdir -p ../src/backends/objects
Creating directory: ../src/transfo/objects
mkdir -p ../src/transfo/objects
Creating directory: ../src/main/objects
mkdir -p ../src/main/objects
Creating directory: ../src/python/objects
mkdir -p ../src/python/objects
Creating directory: ../src/core/libs
mkdir -p ../src/core/libs
Creating directory: ../src/frontends/libs
mkdir -p ../src/frontends/libs
Creating directory: ../src/backends/libs
mkdir -p ../src/backends/libs
Creating directory: ../src/transfo/libs
mkdir -p ../src/transfo/libs
Creating directory: ../src/config/libs
mkdir -p ../src/config/libs
Creating directory: ../src/main/libs
mkdir -p ../src/main/libs
Creating directory: ../src/python/libs
mkdir -p ../src/python/libs
if [ -f ../tools/mknodes/mknodes.gpr ]; then
mkdir -p ../tools/mknodes/objects;

gnatmake -P ../tools/mknodes/mknodes.gpr
-XABS_SRC_DIR="/home/anhph/ocarina-build/ocarina/src"
-XABS_BUILD_DIR="/home/anhph/ocarina-build/ocarina/src"
-aP../projects -aP../projects
-XBUILD=release ;
fi
gcc-4.6 -c -gnatec=/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc -O2 -gnat12 -gnata -gnaty -gnatyu -gnatys -gnatpn -I- -gnatA /home/anhph/ocarina-build/ocarina/tools/mknodes/mknodes.adb
/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc:24:22: invalid restriction identifier "No_Access_Parameter_Allocators"
/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc:25:22: invalid restriction identifier "No_Coextensions"
/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc:30:22: invalid restriction identifier "No_Fixed_Io"
/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc:64:22: invalid restriction identifier "No_Implicit_Task_Allocations"
/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc:65:22: invalid restriction identifier "No_Implicit_Protected_Object_Allocations"
/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc:75:22: invalid restriction identifier "No_Task_At_Interrupt_Priority"
/home/anhph/ocarina-build/ocarina/src/../projects/restrictions.adc:80:22: invalid restriction identifier "Pure_Barriers"
gnatmake: "/home/anhph/ocarina-build/ocarina/tools/mknodes/mknodes.adb" compilation error
make[1]: *** [build-mknodes] Error 4
make[1]: Leaving directory /home/anhph/ocarina-build/ocarina/projects' make: *** [all-recursive] Error 1

Could you give some advices, please ?
Many thanks,

Building issue

Hi, when I run:

./build_ocarina.sh --scenario=fresh-install --prefix=$PWD/ocarina_install

I get the following logs:

ocarina-backends-c_common-ba.adb:2492:80: (style) this line is too long ocarina-backends-c_common-ba.adb:2591:06: (style) incorrect layout ocarina-backends-c_common-ba.adb:2602:03: missing "end if;" for "if" at line 2584 gnatmake: "/home/bouffies/Desktop/Ocarina/ocarina-build-2017.3/ocarina/src/backends/ocarina-backends-c_common-ba.adb" compilation error Makefile:615: recipe for target 'ocarina-backends.gpr-build' failed make[1]: *** [ocarina-backends.gpr-build] Error 4 make[1]: Leaving directory '/home/bouffies/Desktop/Ocarina/ocarina-build-2017.3/ocarina/projects' Makefile:419: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

I'm trying to install ocarina on Ubuntu.

Thanks

Issue with build

Hello, I am using Ubuntu 18.04 with VirtualBox VM.

Here I have an issue with building..

$ ./build_ocarina.sh --scenario=fresh-install

OS: Ubuntu 18.04.5 LTS x86_64
Compiler: GNATMAKE 8.4.0
autoconf: autoconf (GNU Autoconf) 2.69
automake: automake (GNU automake) 1.15.1
[2021-02-11-16:12] Checkout the Ocarina sources [PASSED]
[2021-02-11-16:12] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib' [PASSED]
[2021-02-11-16:12] Reconfiguring (Ocarina) [PASSED]
[2021-02-11-16:12] First configure (Ocarina)[2021-02-11-16:12] First configure (Ocarina) [FAILED]
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for mv... mv
checking for rm... rm
checking for cp... cp
checking for grep... grep
checking for chmod... chmod
checking for strip... strip
checking for ranlib... ranlib
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for gnatmake... gnatmake
checking for gnatmake... gnatmake
checking for gnatchop... gnatchop
checking if the Ada compiler works... yes
checking if the Ada compiler works... yes
checking whether gnatmake supports -aPdir... yes
checking for gnatclean... gnatclean
checking for gnatls... gnatls
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for gprbuild... /usr/bin/gprbuild
checking for gprinstall... /usr/bin/gprinstall
checking that your gnat compiler works with a simple example... Error: no native compiler found for language 'ada', default runtime
conftest.gpr:1:09: no languages defined for this project
gprbuild: "conftest.gpr" processing failed
no
configure: error: /usr/bin/gprbuild test failed at compile time! Check your configuration.

I tested gnatmake with hello_world example, but it did not have any issue with it.

Can I get any advice on this issue?

Build on Windows / Which GNAT version ?

I tried a new installation using git clone first. The scripts keep showing this message. I tried this solution {https://learningintheopen.org/2013/03/07/microsoft-windows-cygwin-error-r-command-not-found/} for the initial script: "./build-ocarina.sh" and it worked but I can't change the next one "./get_runtimes.sh" if I'm running the initial script (cause it fetches it again). Should I run all the scripts manually after changing the format?
Oh, I'm still trying the build in Windows/cygwin64.
Thank you

Add flag to install GNAT GPL and others

For docker build, a good option would be a flag to setup GNAT and other tools directly from the command line, so that the docker file could be reduced to the installation of distribution-specific packages.

building issue

I run the following command, and the issue occurred.

$ ./build_ocarina.sh --scenario=fresh-install --prefix=$PWD/ocarina_install

The logs are as follows:

$ ./build_ocarina.sh --scenario=fresh-install --prefix=$PWD/ocarina_install
OS:        MINGW64_NT-10.0 2.9.0(0.318/5/3) x86_64
Compiler:  GNATMAKE 6.3.0
autoconf:  autoconf (GNU Autoconf) 2.68
automake:  automake (GNU automake) 1.11.1
[2019-04-04-12:19] Checkout the Ocarina sources         [PASSED]
[2019-04-04-12:53] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib'[PASSED]
[2019-04-04-13:04] Reconfiguring (Ocarina)[2019-04-04-13:04] Reconfiguring (Ocarina)              [FAILED]
Running aclocal
main::scan_file() called too early to check prototype at /e/ProgramFiles/mingw/msys/1.0/bin/aclocal line 618.
autom4te: m4sugar/m4sugar.m4: no such file or directory
aclocal: autom4te failed with exit status: 1
Running autoconf
autom4te-2.68: m4sugar/m4sugar.m4: no such file or directory
Running automake
autom4te-2.68: m4sugar/m4sugar.m4: no such file or directory
automake: autoconf failed with exit status: 1

However, the file m4sugar/m4sugar.m4 does exist in path E:\ProgramFiles\mingw\msys\1.0\share\autoconf\m4sugar

failure to build, gprbuild is not installed

Hi,
I am using Msys2 to install Ocarina, I installed everything before trying to install Ocarina, but still says that it can not find gprbuild
I could not find it anywhere at all, no package contains this tool
Kindly, could anybody help with that
P.S. I am installing it on windows 10
I wrote the failed attempt down

moonl@DESKTOP-OB8NGKC MINGW64 /c/AADL/Tools/Ocarina/ocarina-build
$ ./build_ocarina.sh --scenario=fresh-install --prefix=$PWD/ocarina_install
OS: MINGW64_NT-10.0-18362 3.0.7-338.x86_64 x86_64
Compiler: GNATMAKE 9.2.0
autoconf: autoconf (GNU Autoconf) 2.69
automake: automake (GNU automake) 1.16.1
[2019-10-24-02:59] Checkout the Ocarina sources [PASSED]
[2019-10-24-02:59] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib' [PASSED]
[2019-10-24-02:59] Reconfiguring (Ocarina) [PASSED]
[2019-10-24-02:59] First configure (Ocarina)[2019-10-24-03:00] First configure (Ocarina) [FAILED]
configure: loading site script /mingw64/etc/config.site
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/c/AADL/Tools/Ocarina/ocarina-build/ocarina/support/missing: Unknown --is-lightweight' option Try /c/AADL/Tools/Ocarina/ocarina-build/ocarina/support/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for mv... mv
checking for rm... rm
checking for cp... cp
checking for grep... grep
checking for chmod... chmod
checking for strip... strip
checking for ranlib... ranlib
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for gnatmake... gnatmake
checking for gnatmake... gnatmake
checking for gnatchop... gnatchop
checking if the Ada compiler works... yes
checking if the Ada compiler works... yes
checking whether gnatmake supports -aPdir... yes
checking for gnatclean... gnatclean
checking for gnatls... gnatls
checking for python... /mingw64/bin/python
checking for python version... 3.7
checking for python platform... win32
checking for python script directory... ${prefix}/lib/python3.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.7/site-packages
checking for gprbuild... no
checking for gprinstall... no
configure: error: I could not find gprbuild. .

Verbose mode and travis-ci

travis-ci has a limit of 4MiB for its log file, one needs to adjust the build for travis so that it is not verbose, and reduce the log display to the last 500 lines

Build failure in Ubuntu 15.04

I run:

./build_ocarina.sh -s -u
./build_ocarina.sh -b

I get the following:

[2016-08-10-21:29] Reconfiguring (Ocarina): PASSED
[2016-08-10-21:29] First configure (Ocarina): PASSED
[2016-08-10-21:29] Doing 'make' (Ocarina): FAILED
...
...
...
gcc-4.9 -c -gnatec=/home/jason/Desktop/ocarina-build/ocarina/src/../projects/restrictions.adc -O2 -gnat12 -gnata -gnaty -gnatyu -gnatys -gnatpn -I- -gnatA /home/jason/Desktop/ocarina-build/ocarina/src/main/ocarina_cmd.adb
ocarina_cmd.adb:580:07: "Try_Help" is undefined
gnatmake: "/home/jason/Desktop/ocarina-build/ocarina/src/main/ocarina_cmd.adb" compilation error
Makefile:611: recipe for target 'ocarina-main.gpr-build' failed
make[1]: *** [ocarina-main.gpr-build] Error 4
make[1]: Leaving directory '/home/jason/Desktop/ocarina-build/ocarina/projects'
Makefile:414: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Add a verbose mode

Add a --verbose switch to display full log, to debug travis ci builds

Extend script to support Windows as target

In the case of Windows, we need to

  • use Cygwin
  • install gcc + ada support for compiling mknodes
  • install x86_64-w64-mingw32-gcc + ada for compiling Ocarina

The later requires some adaptation of build_ocarina.sh to add cross-compilation parameters

Default scenario

Selection of a default scenario (e.g. through env. variable) should be implemented, e.g. to select a maintainer-mode scenario

Ocarina in Osate2: Building Issue

Hi.
I have downloaded the AADLib for the bus packages. (https://github.com/OpenAADL/AADLib)
My aim was to simulate a small 1553 setup. But to simulate the above mentioned library ocarina was needed. So I followed this doc (https://readthedocs.org/projects/ocarina/downloads/pdf/latest/). But every time when I'm trying to build_ocarina.sh I face the following
`
Think..!@DESKTOP-REMOI3U /cygdrive/c/users/Think..!/Desktop/ocarina_build_master
$ ./build_ocarina.sh -s -u
Guessing OS
windows
[2020-07-23-09:58] Checkout the Ocarina sources [PASSED]
[2020-07-23-09:59] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib'[PASSED]

Think..!@DESKTOP-REMOI3U /cygdrive/c/users/Think..!/Desktop/ocarina_build_master
$ ./build_ocarina.sh -b
Guessing OS
windows
[2020-07-23-10:13] Reconfiguring (Ocarina) [PASSED]
[2020-07-23-10:14] First configure (Ocarina)[2020-07-23-10:14] First configure (Ocarina) [FAILED]
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/cygdrive/c/users/Think..!/Desktop/ocarina_build_master/ocarina/support/missing: Unknown --is-lightweight' option Try /cygdrive/c/users/Think..!/Desktop/ocarina_build_master/ocarina/support/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking how to create a pax tar archive... gnutar
checking for mv... mv
checking for rm... rm
checking for cp... cp
checking for grep... grep
checking for chmod... chmod
checking for strip... strip
checking for ranlib... ranlib
checking whether make supports the include directive... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for gnatmake... no
checking for gnatgcc... no
checking for adagcc... no
checking for gcc... gcc
checking for gnatmake... no
Tentatively using gcc as an Ada compiler
checking for gnatchop... no
checking if the Ada compiler works... no
configure: error: Ada compiler is not working
`

Also tried this './build_ocarina.sh --scenario=fresh-install --prefix=/Users/DESKTOP-REMOI3U/local/ocarina' but same issue. Well I have all GNAT packages i.e. libgnat5 ,libgnat6, libgnat7 but still this.
Im using Osate2 2.7.1 & Cygwin on windows 10.
And one more thing kindly, Is it possible to simulate a small 1553 setup with 2 to 3 RTs and analyze the output using the AADLib?

Thanks in advance

./build_ocarina.sh: line 180: git: command not found

I get this error message as I try to install Ocarina into WIndows 10 through cygwin64

[2018-01-13-01:25] Checkout the Ocarina sources
./build_ocarina.sh: line 180: git: command not found

Please, can you help?

Reconfiguring FAILED

Hello,
I met the reconfiguring error when I tried to build ocarina on my Mac. I list the code below:


sudo ./build_ocarina.sh --reset --update --configure --build --prefix=$PWD/ocarina_install
Password:
[2020-08-05-10:25] Checkout the Ocarina sources [PASSED]
[2020-08-05-10:40] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib' [PASSED]
[2020-08-05-10:48] Reconfiguring (Ocarina)[2020-08-05-10:48] Reconfiguring (Ocarina) [FAILED]
Running aclocal
./support/reconfig: line 6: aclocal: command not found
Running autoconf
./support/reconfig: line 9: autoconf: command not found
Running automake
./support/reconfig: line 12: automake: command not found


Any advice?
Thank you in advance.

Issue with step Reconfiguring

Hello,

i try to install ocarina for windows 10, but am facing the following issues during Reconfiguring (Ocarina). It seems something is missing? Could anybody help with that? Thanks

$ ./build_ocarina.sh --scenario=fresh-install --prefix=$PWD/ocarina_install
OS: MINGW64_NT-10.0-19043 3.1.7-340.x86_64 x86_64
Compiler: GNATMAKE Community 2021 (20210519-103)
autoconf: autoconf (GNU Autoconf) 2.68
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/${ <-- HERE ([^ \t=:+{}]+)}/ at /c/MinGW/bin/automake-1.11 line 4113.
automake: automake (GNU automake) 1.11.1
[2021-07-12-18:28] Checkout the Ocarina sources [PASSED]
[2021-07-12-18:28] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib'[PASSED]
[2021-07-12-18:28] Reconfiguring (Ocarina)[2021-07-12-18:28] Reconfiguring (Ocarina) [FAILED]
Running aclocal
main::scan_file() called too early to check prototype at /c/MinGW/bin/aclocal-1.11 line 618.
support/ada.m4:255: warning: underquoted definition of AM_GPRBUILD
support/ada.m4:255: run info '(automake)Extending aclocal'
support/ada.m4:255: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Running autoconf
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:32: error: possibly undefined macro: AM_PATH_PYTHON
configure.ac:100: error: possibly undefined macro: AM_CONDITIONAL
Running automake
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/${ <-- HERE ([^ \t=:+{}]+)}/ at /c/MinGW/bin/automake-1.11 line 4113.
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL
projects/Makefile.am:1: Makefile.common' included from here Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL projects/Makefile.am:1: Makefile.common' included from here
Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL
projects/Makefile.am:1: Makefile.common' included from here resources/runtime/python/Makefile.am:10: INSTALL_PYTHON does not appear in AM_CONDITIONAL Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL src/backends/Makefile.am:1: Makefile.common' included from here
Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL
src/backends/Makefile.am:1: Makefile.common' included from here Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL src/backends/Makefile.am:1: Makefile.common' included from here
Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL
src/config/Makefile.am:1: Makefile.common' included from here Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL src/config/Makefile.am:1: Makefile.common' included from here
Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL
src/config/Makefile.am:1: Makefile.common' included from here Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL src/core/Makefile.am:1: Makefile.common' included from here
Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL
src/core/Makefile.am:1: Makefile.common' included from here Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL src/core/Makefile.am:1: Makefile.common' included from here
Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL
src/frontends/Makefile.am:1: Makefile.common' included from here Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL src/frontends/Makefile.am:1: Makefile.common' included from here
Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL
src/frontends/Makefile.am:1: Makefile.common' included from here Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL src/main/Makefile.am:1: Makefile.common' included from here
Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL
src/main/Makefile.am:1: Makefile.common' included from here Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL src/main/Makefile.am:1: Makefile.common' included from here
Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL
src/python/Makefile.am:1: Makefile.common' included from here Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL src/python/Makefile.am:1: Makefile.common' included from here
Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL
src/python/Makefile.am:1: Makefile.common' included from here Makefile.common:4: HAS_GNATMAKE_APDIR does not appear in AM_CONDITIONAL src/transfo/Makefile.am:1: Makefile.common' included from here
Makefile.common:6: HAS_XMLADA does not appear in AM_CONDITIONAL
src/transfo/Makefile.am:1: Makefile.common' included from here Makefile.common:12: HAS_XMLADA does not appear in AM_CONDITIONAL src/transfo/Makefile.am:1: Makefile.common' included from here

How to describe a algorithm with AADL ??

Hi everybody,

I am learning about AADL and i am running some examples of control (car control, robot control...).
But I still don't really understand how we can describe control algorithms (like PID, backstepping....) with AADL. What is the main purpose of AADL? What are the advantages while having a lot of problems with the generated code?

Could you please give me some advices?

Many thanks,
Hoang Anh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.