From 27f99cf08ea2fef804046ce36d77b5204b5c63c3 Mon Sep 17 00:00:00 2001 From: Rily Dunlap Date: Tue, 15 Feb 2022 01:41:29 +0000 Subject: [PATCH 1/3] Update .gitlab-ci.yml, README.md --- .gitlab-ci.yml | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 369dcf8a..a6d21342 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ build: - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Release .. - - make -j4 + - make -j($nproc) artifacts: untracked: true paths: diff --git a/README.md b/README.md index 3c5113fc..645c76f4 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,8 @@ git submodule update --init --recursive # If you want to build Mainnet node cmake -DCMAKE_BUILD_TYPE=Release # If you want to build Testnet node -cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 +cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET= +#Update -j flag depending on your current system specs; Recommended 4GB of RAM per 1 CPU core make -j$(nproc) make install # this can install the executable files under /usr/local -- 2.45.2 From 6dc76c70fe571bbb33323cdb12ee1412d3ccffa2 Mon Sep 17 00:00:00 2001 From: Rily Dunlap Date: Tue, 15 Feb 2022 02:33:37 +0000 Subject: [PATCH 2/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6d21342..e75502b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ build: - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Release .. - - make -j($nproc) + - make -j$(nproc) artifacts: untracked: true paths: -- 2.45.2 From eb4e913e48a8d52dd483efd5fc7f4745a8b2acf1 Mon Sep 17 00:00:00 2001 From: serkixenos Date: Wed, 16 Feb 2022 17:03:58 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 645c76f4..63b22746 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,18 @@ cd $HOME/src git clone https://gitlab.com/PBSA/peerplays.git cd peerplays git submodule update --init --recursive + # If you want to build Mainnet node cmake -DCMAKE_BUILD_TYPE=Release + # If you want to build Testnet node -cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET= -#Update -j flag depending on your current system specs; Recommended 4GB of RAM per 1 CPU core +cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 + +# Update -j flag depending on your current system specs; +# Recommended 4GB of RAM per 1 CPU core +# make -j2 for 8GB RAM +# make -j4 for 16GB RAM +# make -j8 for 32GB RAM make -j$(nproc) make install # this can install the executable files under /usr/local -- 2.45.2