Add build instructions for randomx-stress

This commit is contained in:
jw
2020-05-12 12:47:12 -07:00
committed by GitHub
parent 7fd3f67f62
commit e125f63537
+22 -1
View File
@@ -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.