From 5d97436c7d7474981fc3b509249e7a65d13f0769 Mon Sep 17 00:00:00 2001 From: yuannan Date: Mon, 18 Oct 2021 02:18:42 +0100 Subject: [PATCH 1/3] multithreading make --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index e1bd91be3..c1f216712 100755 --- a/run.sh +++ b/run.sh @@ -2,5 +2,5 @@ mkdir -p build/ cd build/ cmake .. -cmake --build . +make -j$(nproc) ./fastfetch "$@" From dbc4a815c5a27f72a5ab86c7faf6db764a0b80c8 Mon Sep 17 00:00:00 2001 From: yuannan Date: Mon, 18 Oct 2021 02:23:02 +0100 Subject: [PATCH 2/3] updated building instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eada0629c..267ee850d 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ fastfetch uses [`cmake`](https://cmake.org/) for building. The simplest steps to mkdir -p build cd build cmake .. -cmake --build . +make -j$(nproc) ``` This will produce `build/fastfetch` and `build/flashfetch`, both standalone executables. From 914cd9219d4530602e98a36408e95057857031e1 Mon Sep 17 00:00:00 2001 From: yuannan Date: Mon, 18 Oct 2021 02:40:33 +0100 Subject: [PATCH 3/3] tests multithreading --- README.md | 2 +- run.sh | 2 +- tests/performance.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 267ee850d..7a689a91d 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ fastfetch uses [`cmake`](https://cmake.org/) for building. The simplest steps to mkdir -p build cd build cmake .. -make -j$(nproc) +cmake --build . -j$(nproc) ``` This will produce `build/fastfetch` and `build/flashfetch`, both standalone executables. diff --git a/run.sh b/run.sh index c1f216712..baf04dc7f 100755 --- a/run.sh +++ b/run.sh @@ -2,5 +2,5 @@ mkdir -p build/ cd build/ cmake .. -make -j$(nproc) +cmake --build . -j$(nproc) ./fastfetch "$@" diff --git a/tests/performance.sh b/tests/performance.sh index 93e57af3b..17d926825 100755 --- a/tests/performance.sh +++ b/tests/performance.sh @@ -3,5 +3,5 @@ rm -rf tests/build/ mkdir -p tests/build/ cd tests/build/ cmake ../.. -DBUILD_TESTS=ON -cmake --build . --target fastfetch-test-performance +cmake --build . -j$(nproc) --target fastfetch-test-performance ./fastfetch-test-performance "$@"