mirror of https://github.com/YosysHQ/yosys.git
README: simplify build instructions
This commit is contained in:
parent
7a50c1a2a3
commit
bac16eb1c4
10
README.md
10
README.md
|
|
@ -128,15 +128,13 @@ file which enables ccache and sets the default compiler to clang when calling
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Once generated, the build system can be run as follows:
|
Once generated, build yosys like this:
|
||||||
|
|
||||||
$ cmake --build build #..or..
|
$ cmake --build build
|
||||||
$ cd build
|
|
||||||
$ cmake --build .
|
|
||||||
|
|
||||||
To quickly install Yosys with the default settings:
|
To build and install a release build of Yosys:
|
||||||
|
|
||||||
$ cmake -B build . -DCMAKE_BUILD_TYPE=Release
|
$ cmake -B build -DCMAKE_BUILD_TYPE=Release
|
||||||
$ cmake --build build --config Release --parallel $(nproc)
|
$ cmake --build build --config Release --parallel $(nproc)
|
||||||
$ sudo cmake --install build --strip
|
$ sudo cmake --install build --strip
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue