From e125f635371021d92c7dd906e065785f3adebb47 Mon Sep 17 00:00:00 2001 From: jw Date: Tue, 12 May 2020 12:47:12 -0700 Subject: [PATCH] Add build instructions for randomx-stress --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b69a87d..35df05c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#RandomXStressGUI +# RandomXStressGUI This program provides an easy to use GUI interface for the RandomX benchmarking tool developed by 00-matt here https://github.com/00-matt/randomx-stress. @@ -9,3 +9,24 @@ Checking Hugepages causes it to crash on my computer, but I think it's just caus ![Not running](https://i.imgur.com/oeRk2vA.png?1) ![Running](https://i.imgur.com/KVHnpTM.png?1) + + +If you want to build [randomx-stress](https://github.com/00-matt/randomx-stress) yourself, here are instructions: +# Install gcc, g++, cmake, and git through your package manager + +```git clone https://github.com/tevador/randomx.git +mkdir randomx/build +pushd $_ +cmake .. -DCMAKE_BUILD_TYPE=Release +make -j$(nproc) +cp librandomx.a /usr/local/lib/ +cp ../src/randomx.h /usr/local/include/ +popd + +git clone https://github.com/00-matt/randomx-stress.git +mkdir randomx-stress/build +cd $_ +cmake .. -DCMAKE_BUILD_TYPE=Release +make -j$(nproc) +./randomx-stress --args --here``` +If you want to build an exe you can use Visual Studio on Windows (somehow...) or use mingw on Windows or as a cross compiler.