From fed7c9497e86ce7141c9fe3b187470e8bcd5faa3 Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Tue, 14 Jul 2026 12:33:14 +0200 Subject: [PATCH 1/3] README: fix preset name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7dc02522e..284ffbef3 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ file which enables ccache and sets the default compiler to clang when calling "version": 1, "configurePresets": [ { - "name": "default", + "name": "clang", "binaryDir": "build", "generator": "Unix Makefiles", "cacheVariables": { From 7a50c1a2a325cf28ced2e491ca19fad9f30030a2 Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Tue, 14 Jul 2026 12:44:56 +0200 Subject: [PATCH 2/3] README: remove ninja mention --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 284ffbef3..c8626c96b 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,7 @@ sure to call e.g. $ git submodule update --init A C++ compiler with C++20 support is required as well as some standard tools -such as GNU Flex, GNU Bison (>=3.8), CMake (>=3.28), Make (or other CMake -generator such as Ninja), and Python (>=3.11). Some additional tools: readline, +such as GNU Flex, GNU Bison (>=3.8), CMake (>=3.28), GNU Make, and Python (>=3.11). Some additional tools: readline, libffi, Tcl and zlib; will be used if available but are optional. Graphviz and Xdot are used by the `show` command to display schematics. From bac16eb1c4d58d63969575b7f5e5176dad8f2f1b Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Tue, 14 Jul 2026 13:02:52 +0200 Subject: [PATCH 3/3] README: simplify build instructions --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c8626c96b..334f14429 100644 --- a/README.md +++ b/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.. - $ cd build - $ cmake --build . + $ cmake --build 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) $ sudo cmake --install build --strip