From caa04f185ca8e661e863546c5262b50418d40a89 Mon Sep 17 00:00:00 2001 From: Alexander Georgievskiy Date: Sat, 27 Nov 2021 22:38:29 +0300 Subject: [PATCH] readme: parallel build fixes - ${nproc} subcommand notation does not work in bash, let's use $(nproc) - mingw32-make supports parallel build, let's use that --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a25a3da0..8d6b6573 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ You might require ffmpeg version >= 4.3. Check the troubleshooting section for m - `git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules` - `cd sunshine && mkdir build && cd build` - `cmake -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 ..` -- `make -j ${nproc}` +- `make -j $(nproc)` ### Setup: sunshine needs access to uinput to create mouse and gamepad events: @@ -120,7 +120,7 @@ First you need to install [MSYS2](https://www.msys2.org), then startup "MSYS2 Mi - `git clone https://github.com/loki-47-6F-64/sunshine.git --recursive` - `cd sunshine && mkdir build && cd build` - `cmake -G"Unix Makefiles" ..` -- `mingw32-make` +- `mingw32-make -j $(nproc)` ### Setup: - **OPTIONAL** Gamepad support: Download and run 'ViGEmBus_Setup_1.16.116.exe' from [https://github.com/ViGEm/ViGEmBus/releases]