README: simplify build instructions

This commit is contained in:
Emil J. Tywoniak 2026-07-14 13:02:52 +02:00
parent 7a50c1a2a3
commit bac16eb1c4
1 changed files with 4 additions and 6 deletions

View File

@ -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