Update building.md

This commit is contained in:
egiacomin 2019-07-17 12:09:59 -06:00 committed by Baudouin Chauviere
parent d6fc9c1c71
commit f9f3e290c0
1 changed files with 3 additions and 6 deletions

View File

@ -1,7 +1,6 @@
# How to build?
## Dependencies
OpenFPGA requires all the following dependencies:
- autoconf
- automake
@ -39,10 +38,9 @@ OpenFPGA requires all the following dependencies:
- qt5-default
## Docker
If all these dependancies are not installed on your machine, you can choose to use a Docker (the Docker tool needs to be installed). To ease customer first experience, a Dockerfile is provided in the OpenFPGA folder. A container ready to use can be created with the following command:
If some of these dependencies are not installed on your machine, you can choose to use a Docker (the Docker tool needs to be installed). For the ease of the customer first experience, a Dockerfile is provided in the OpenFPGA folder. A container ready to use can be created with the following command:
- docker run lnis/open_fpga:release <br />
*Warning: This command is for quick testing. If you want to conserve your work you should certainly use other options as "-v".*
*Warning: This command is for quick testing. If you want to conserve your work, you should certainly use other options, such as "-v".*
Otherwise, a container where you can build OpenFPGA yourself can be created with the following commands:
- docker build . -t open_fpga
@ -50,8 +48,7 @@ Otherwise, a container where you can build OpenFPGA yourself can be created with
[*docker download link*](https://www.docker.com/products/docker-desktop)
## Building
To build the tool you have to go in OpenFPGA folder and do:
To build the tool, go in the OpenFPGA folder and do:
- mkdir build && cd build
- cmake .. -DCMAKE_BUILD_TYPE=debug
- make (*WARNING using docker you cannot use "make -j", errors will happen*)