Skip to content
Snippets Groups Projects

Update README.md

Merged Jerome Hue requested to merge jeromeh/aidge_backend_cpu:readme into dev
1 file
+ 8
20
Compare changes
  • Side-by-side
  • Inline
+ 8
20
@@ -29,27 +29,15 @@ pip install . -v
### Standard C++ Compilation
You will need to compile first the Core library before compiling the CPU one.
The makefile is designed to do it for you.
You will need to compile and install the [Core Library](https://gitlab.eclipse.org/eclipse/aidge/aidge_core) before compiling the CPU one.
To only compile the CPU library, run
```
make cpu_only
```
Once this has been done, you'll need run CMake with the
`CMAKE_INSTALL_PREFIX:PATH` flag, in order to indicate to CMake where
`aidge_core` has been installed :
```sh
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(path_to_install_folder) $(CMAKE PARAMETERS) $(projet_root)
To compile the CPU library + the associated unitary tests, run
```
make cpu_tests
make all
```
To compile the CPU library with the python binding, run
```
make cpu_with_pybind
```
Important: this command can also be run with `make`.
To compile the CPU library with the python binding + the associated unitary tests, run
```
make cpu_with_pybind_tests
```
More detailed information is available in the [Aidge User Guide](https://eclipse.dev/aidge/source/GetStarted/install.html)
Loading