Advanced build - successful
This commit is contained in:
parent
1c84850a35
commit
738b549e6b
1 changed files with 20 additions and 7 deletions
|
@ -3,8 +3,14 @@ adopt-info: xmrig
|
||||||
summary: XMRig is a high performance, open source, cross platform CPU/GPU miner
|
summary: XMRig is a high performance, open source, cross platform CPU/GPU miner
|
||||||
description: |
|
description: |
|
||||||
XMRig is a high performance, open source, cross platform RandomX, KawPow,
|
XMRig is a high performance, open source, cross platform RandomX, KawPow,
|
||||||
CryptoNight and AstroBWT unified CPU/GPU miner and RandomX benchmark. Official
|
CryptoNight and AstroBWT unified CPU/GPU miner and RandomX benchmark.
|
||||||
binaries are available for Windows, Linux, macOS and FreeBSD.
|
|
||||||
|
To run, open a terminal:
|
||||||
|
- Ensure you've identified the options you'd like to run
|
||||||
|
- Identify the pool (and port) desired
|
||||||
|
- Use your wallet address
|
||||||
|
- Example: `xmrig -o example.pool.com:4444 -u [wallet address]`
|
||||||
|
- Hit enter and profit
|
||||||
|
|
||||||
license: GPL-3.0
|
license: GPL-3.0
|
||||||
|
|
||||||
|
@ -15,7 +21,7 @@ compression: lzo
|
||||||
|
|
||||||
architectures:
|
architectures:
|
||||||
- build-on: amd64
|
- build-on: amd64
|
||||||
run-on: [amd64, armhf, arm64, ppc64el]
|
run-on: [amd64, armhf, arm64, ppc64el, s390x]
|
||||||
|
|
||||||
assumes:
|
assumes:
|
||||||
- command-chain
|
- command-chain
|
||||||
|
@ -39,8 +45,9 @@ parts:
|
||||||
|
|
||||||
override-build: |
|
override-build: |
|
||||||
git clone https://github.com/xmrig/xmrig.git
|
git clone https://github.com/xmrig/xmrig.git
|
||||||
mkdir -p build && cd build
|
cd xmrig/scripts
|
||||||
cmake ..
|
./build_deps.sh
|
||||||
|
cmake .. -DXMRIG_DEPS=scripts/deps
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/bin/
|
mkdir -p $SNAPCRAFT_PART_INSTALL/bin/
|
||||||
cp xmrig $SNAPCRAFT_PART_INSTALL/bin/
|
cp xmrig $SNAPCRAFT_PART_INSTALL/bin/
|
||||||
|
@ -53,10 +60,13 @@ parts:
|
||||||
- build-essential
|
- build-essential
|
||||||
- git
|
- git
|
||||||
- cmake
|
- cmake
|
||||||
|
- automake
|
||||||
|
- libtool
|
||||||
|
- autoconf
|
||||||
- libuv1-dev
|
- libuv1-dev
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libhwloc-dev
|
- libhwloc-dev
|
||||||
|
- wget
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libuv1-dev
|
- libuv1-dev
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
|
@ -67,3 +77,6 @@ parts:
|
||||||
stage-snaps:
|
stage-snaps:
|
||||||
- homeishome-launch
|
- homeishome-launch
|
||||||
|
|
||||||
|
files:
|
||||||
|
plugin: dump
|
||||||
|
source: files #files such as "config.json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue