All Projects → DocDrydenn → xmrig-build

DocDrydenn / xmrig-build

Licence: GPL-3.0 license
Simple automated script to build XMRig (dynamic or static) from source on x86-64, ARMv7, and ARMv8 devices.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to xmrig-build

Rappel
A linux-based assembly REPL for x86, amd64, armv7, and armv8
Stars: ✭ 818 (+5742.86%)
Mutual labels:  x86-64, armv7, armv8
Sixtyfour
How fast can we brute force a 64-bit comparison?
Stars: ✭ 41 (+192.86%)
Mutual labels:  x86-64, armv8
Opensmalltalk Vm
Cross-platform virtual machine for Squeak, Pharo, Cuis, and Newspeak.
Stars: ✭ 345 (+2364.29%)
Mutual labels:  x86-64, armv7
simonpi
A quick & dirty script to emulate Raspberry PI family devices on your laptop.
Stars: ✭ 61 (+335.71%)
Mutual labels:  armv7, armv8
Arm Assembly Cheat
MOVED TO: https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly SEE README. ARMv7 and ARMv8 assembly userland minimal examples tutorial. Runnable asserts on x86 hosts with QEMU user mode or natively on ARM targets. Nice GDB step debug setup. Tested on Ubuntu 18.04 host and Raspberry Pi 2 and 3 targets.
Stars: ✭ 159 (+1035.71%)
Mutual labels:  armv7, armv8
Computelibrary
The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.
Stars: ✭ 2,123 (+15064.29%)
Mutual labels:  armv7, armv8
Reverse Engineering
This repository contains some of the executables that I've cracked.
Stars: ✭ 29 (+107.14%)
Mutual labels:  x86-64, armv7
alpine-qbittorrent-openvpn
qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
Stars: ✭ 230 (+1542.86%)
Mutual labels:  armv7, armv8
discolix
distroless arm docker images
Stars: ✭ 22 (+57.14%)
Mutual labels:  armv7, armv8
lsp-dsp-lib
DSP library for signal processing
Stars: ✭ 37 (+164.29%)
Mutual labels:  x86-64, armv7
Synestiaos
The Synestia Operating System
Stars: ✭ 159 (+1035.71%)
Mutual labels:  armv7, armv8
tensorflow-serving-arm
TensorFlow Serving ARM - A project for cross-compiling TensorFlow Serving targeting popular ARM cores
Stars: ✭ 75 (+435.71%)
Mutual labels:  armv7, armv8
Swift On Balena
Docker images for Swift on Raspberry Pi and other ARM devices from balena's base images.
Stars: ✭ 153 (+992.86%)
Mutual labels:  armv7, armv8
nordvpn
NordVpn Docker Client
Stars: ✭ 475 (+3292.86%)
Mutual labels:  x86-64, armv7
Pieman
Script for creating custom OS images for single-board computers
Stars: ✭ 149 (+964.29%)
Mutual labels:  armv7, armv8
Compute Engine
Highly optimized inference engine for Binarized Neural Networks
Stars: ✭ 138 (+885.71%)
Mutual labels:  armv7, armv8
Rpi23 Gen Image
Advanced Debian "stretch" and "buster" bootstrap script for RPi 0/1/2/3 and QEMU
Stars: ✭ 300 (+2042.86%)
Mutual labels:  armv7, armv8
Archstrike
An Arch Linux repository for security professionals and enthusiasts. Done the Arch Way and optimized for i686, x86_64, ARMv6, ARMv7 and ARMv8.
Stars: ✭ 401 (+2764.29%)
Mutual labels:  armv7, armv8
Unisimd Assembler
SIMD macro assembler unified for ARM, MIPS, PPC and x86
Stars: ✭ 63 (+350%)
Mutual labels:  x86-64, armv7
Capstone.NET
.NET Core and .NET Framework binding for the Capstone Disassembly Framework
Stars: ✭ 108 (+671.43%)
Mutual labels:  x86-64, armv8

xmrig-build.sh

Simple automated script to build XMRig (dynamic or static) from source on x86-64, ARMv7, and ARMv8 devices.

Note: Builds are for CPU's. No GPU libraries are built.

I made it to speed up my process for installing and updating XMRig on multiple devices.

Should work for just about any device running a Debian-based Linux.

I've tested on the following with success:

  • Ubuntu 18.04 (Bionic) [x86-64] [ARMv7] [ARMv8]
  • Ubuntu 20.04 (Focal) [x86-64] [ARMv7] [ARMv8]
  • Debian 9 (Stretch) [x86-64]
  • Debian 10 (Buster) [x86-64]
  • Raspbian (Stretch) [ARMv7] [ARMv8]
  • Armbian (Stretch) [ARMv7] [ARMv8]
  • Fails on Raspbian (Buster) and Raspberry Pi OS... I am unable to determine exactly why.

Issues:

Feel free to raise issues you might find with my script, however, it must be noted that failures during the actual xmrig build process are outside of this script's control.

This script uses the exact build processes documented by XMRig. All build failure issues should be directed to the XMRig's Git.

I have seen times where a dynamic build fails, but a static build will pass (and vice versa). I've seen builds pass for one XMRig version and fail for another... it all depends on what's going on over at the XMRig repo.

Requirements:

This script will check for and install (via apt) the following packages/tools:

build-essential, cmake, ibuv1-dev, libssl-dev, libhwloc-dev, screen, p7zip-full

Not checked or installed via script:

Git (needed for the install and self-update process to work.)

Install:

This script is self-updating. The self-update routine uses git commands to make the update.

git clone https://github.com/DocDrydenn/svr_fans.git

(Future update will allow the user to skip the self-update function... allowing the script to be "installed" and/or run from outside of a git clone.)

Usage:

 ./xmrig-build [-dhs] -<0|7|8>

    -0 | 0 | <blank>      - x86-64
    -7 | 7                - ARMv7
    -8 | 8                - ARMv8

    -s | s                - Build Static

    -h | h                - Display (this) Usage Output
    -d | d                - Enable Debug Output (Simulation-Only)

Examples

x86-64 (Default)

./xmrig-build.sh (No argument or anything other than 7 and 8)

ARMv7

./xmrig-build.sh 7

ARMv8 Static Binary

./xmrig-build.sh 8 -s

Result:

Upon completion, this script will create a directory ./$scriptpath/xmrig and will have the following files inside:

  • xmrig - XMRig binary
  • start-example.sh - Example XMRig startup script
  • xmrig-build.7z - 7zip archive of above files for easy "transport" to a new machine/location.

If this script has been run in the past, prior to building a new binary, it will make backups of the previous XMRig build files resulting in two additional files inside the xmrig directory, just incase one might need to revert to a previous build (see Issues section above).

  • xmrig.bak - previous XMRig binary
  • xmrig-build.7z.bak - previous XMRig backup archive

Note: This "backup" function is rolling... meaning each run of the script will push off the last. If you wish to keep the backups, I suggest you copy them to another location prior to re-running the script.

Screenshot:

Screenshot 2022-01-24 202425

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].