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