Skip to content
Snippets Groups Projects
Forked from Eclipse Projects / aidge / aidge_core
1861 commits behind the upstream repository.
NAUD Maxence's avatar
Maxence Naud authored
- [Syntax] Stimulis -> Stimuli and Stimuli -> Stimulus
- [#define] Use standard Aidge syntax format
- [Licence] add where missing
- [#include] add what is used and remove what is not
- [class] uniformize class member definition order
- [types] change size_t for std::size_t from <stddef> for uniformazation
- [types] change integer types for exact-width integers from <cstddint>
- Remove end-of-line spaces
f83d454a
History

Pipeline status C++ coverage Python coverage

Aidge Core library

You can find here the C++ code of the Core library of Aidge.

Pip installation

To install aidge_core using pip, run the following command in your python environnement :

pip install . -v

Note: you can specify a custom install folder by setting an environment variable:

export AIDGE_INSTALL='<path_to_aidge>/install'

Standard C++ Compilation

Create two directories build and ìnstall.

Then inside build :


cmake -DCMAKE_INSTALL_PREFIX:PATH=$(path_to_install_folder) $(CMAKE PARAMETERS) $(projet_root)

make all install

Compilation options

Option Value type Description
-DCMAKE_INSTALL_PREFIX:PATH str Path to the install folder
-DCMAKE_BUILD_TYPE str If Debug, compile in debug mode, Release compile with highest optimisations, default= Release
-DWERROR bool If ON show warning as error during compilation phase, default=OFF
-DPYBIND bool If ON activate python binding, default=ON

If you have compiled with PyBind you can find at the root of the build file the python lib aidge_core.cpython*.so

Run tests

CPP

Inside of the build file run:


ctest --output-on-failure

Python