readme: use $HOME and ../release folder (#158)

This commit is contained in:
nahuhh
2025-04-19 03:14:22 +00:00
committed by Lee *!* Clagett
parent b1421f55ad
commit e20dc2133d

View File

@@ -102,10 +102,14 @@ invokes cmake commands as needed.
cd monero-lws cd monero-lws
git checkout develop git checkout develop
mkdir build && cd build mkdir build && cd build
cmake -DMONERO_SOURCE_DIR=~/monero -DMONERO_BUILD_DIR=~/monero/build .. cmake -DMONERO_SOURCE_DIR=$HOME/monero -DMONERO_BUILD_DIR=$HOME/monero/build/release ..
make make
``` ```
The `-DMONERO_BUILD_DIR` flag assumes that Monero was built with the environment
variable `USE_SINGLE_BUILDDIR=1` set. If this is not the case, adjust the path
as necessary.
*Optional*: If your machine has several cores and enough memory, enable *Optional*: If your machine has several cores and enough memory, enable
parallel build by running `make -j<number of threads>` instead of `make`. For parallel build by running `make -j<number of threads>` instead of `make`. For
this to be worthwhile, the machine should have one core and about 2GB of RAM this to be worthwhile, the machine should have one core and about 2GB of RAM