Add xmrig-cuda
This commit is contained in:
parent
6ba51b34f3
commit
212aacfd20
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
15
metadata/md5-cache/net-misc/xmrig-6.21.1
Normal file
15
metadata/md5-cache/net-misc/xmrig-6.21.1
Normal file
@ -0,0 +1,15 @@
|
||||
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5 virtual/pkgconfig
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-libs/libuv:= hwloc? ( >=sys-apps/hwloc-2.5.0:= ) opencl? ( virtual/opencl ) ssl? ( dev-libs/openssl:= )
|
||||
DESCRIPTION=RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner
|
||||
EAPI=8
|
||||
HOMEPAGE=https://xmrig.com https://github.com/xmrig/xmrig
|
||||
INHERIT=cmake systemd
|
||||
IUSE=cpu_flags_x86_sse4_1 donate hwloc opencl +ssl
|
||||
KEYWORDS=~amd64 ~arm64
|
||||
LICENSE=Apache-2.0 GPL-3+ MIT
|
||||
RDEPEND=dev-libs/libuv:= hwloc? ( >=sys-apps/hwloc-2.5.0:= ) opencl? ( virtual/opencl ) ssl? ( dev-libs/openssl:= ) !arm64? ( sys-apps/msr-tools )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/xmrig/xmrig/archive/v6.21.1.tar.gz -> xmrig-6.21.1.tar.gz
|
||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic d309b9713dfc18e754cba88d3ba69653 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils baea6080dd821f5562d715887954c9d3 cmake c7c9a62d6232cac66d4ea32d575c3e7c systemd c8b03e8df84486aa991d4396686e8942
|
||||
_md5_=625d61ca85ad2557a13aa02e104d5d8d
|
15
metadata/md5-cache/net-misc/xmrig-6.21.3
Normal file
15
metadata/md5-cache/net-misc/xmrig-6.21.3
Normal file
@ -0,0 +1,15 @@
|
||||
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5 virtual/pkgconfig
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-libs/libuv:= hwloc? ( >=sys-apps/hwloc-2.5.0:= ) opencl? ( virtual/opencl ) ssl? ( dev-libs/openssl:= )
|
||||
DESCRIPTION=RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner
|
||||
EAPI=8
|
||||
HOMEPAGE=https://xmrig.com https://github.com/xmrig/xmrig
|
||||
INHERIT=cmake systemd
|
||||
IUSE=cpu_flags_x86_sse4_1 donate hwloc opencl +ssl
|
||||
KEYWORDS=~amd64 ~arm64
|
||||
LICENSE=Apache-2.0 GPL-3+ MIT
|
||||
RDEPEND=dev-libs/libuv:= hwloc? ( >=sys-apps/hwloc-2.5.0:= ) opencl? ( virtual/opencl ) ssl? ( dev-libs/openssl:= ) !arm64? ( sys-apps/msr-tools )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/xmrig/xmrig/archive/v6.21.3.tar.gz -> xmrig-6.21.3.tar.gz
|
||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic d309b9713dfc18e754cba88d3ba69653 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils baea6080dd821f5562d715887954c9d3 cmake c7c9a62d6232cac66d4ea32d575c3e7c systemd c8b03e8df84486aa991d4396686e8942
|
||||
_md5_=625d61ca85ad2557a13aa02e104d5d8d
|
14
metadata/md5-cache/net-misc/xmrig-cuda-6.21.1
Normal file
14
metadata/md5-cache/net-misc/xmrig-cuda-6.21.1
Normal file
@ -0,0 +1,14 @@
|
||||
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5 virtual/pkgconfig
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=
|
||||
DESCRIPTION=CUDA Plugin for XMRig
|
||||
EAPI=8
|
||||
HOMEPAGE=https://xmrig.com https://github.com/xmrig/xmrig-cuda
|
||||
INHERIT=cmake systemd
|
||||
KEYWORDS=~amd64 ~arm64
|
||||
LICENSE=Apache-2.0 GPL-3+ MIT
|
||||
RDEPEND=
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/xmrig/xmrig-cuda/archive/v6.21.1.tar.gz -> xmrig-cuda-6.21.1.tar.gz
|
||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic d309b9713dfc18e754cba88d3ba69653 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils baea6080dd821f5562d715887954c9d3 cmake c7c9a62d6232cac66d4ea32d575c3e7c systemd c8b03e8df84486aa991d4396686e8942
|
||||
_md5_=bd28099e490059c55fdc4ef65bd45162
|
2
net-misc/xmrig-cuda/Manifest
Normal file
2
net-misc/xmrig-cuda/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST xmrig-cuda-6.21.1.tar.gz 256859 BLAKE2B 18061d378cd5730a88db87d21ebe7a8340c30744b73fc987f1f4cde103cc45d5f8bbfef4ad86650490aec776be604b82e725e10f5691d408155a8db6e13a1237 SHA512 efbff1a35d39303405b4ef2a765e844e2da79884fa9db0c4796404f40321086f45a261dad99380fa8eae45027b0135129b37b05b81bf39e30c9bdeb82a9d3ff5
|
||||
EBUILD xmrig-cuda-6.21.1.ebuild 820 BLAKE2B 337678fbd9c984a8c5770cd80cc2c99a512495836ca6dc9948bd7a66ca69d211bcc1035b39fef165e710d1be60227ec671617ea141716cec706d006a48f6f023 SHA512 a23ed413ae1a32295f7ba9455fd0a8922a80593a0f1f1580100e08b15e7d6f1abcbe80f14e4eb2e2f3c28574fa5371faedb309e38575c0ea06dc37e692ffd822
|
49
net-misc/xmrig-cuda/xmrig-cuda-6.21.1.ebuild
Normal file
49
net-misc/xmrig-cuda/xmrig-cuda-6.21.1.ebuild
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake systemd
|
||||
|
||||
DESCRIPTION="CUDA Plugin for XMRig"
|
||||
HOMEPAGE="https://xmrig.com https://github.com/xmrig/xmrig-cuda"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/xmrig/xmrig-cuda/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0 GPL-3+ MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.12.2-nonotls.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
keepdir /etc/xmrig
|
||||
systemd_dounit "${FILESDIR}"/xmrig.service
|
||||
doblib.so libxmrig-cuda.so
|
||||
}
|
2
net-misc/xmrig/Manifest
Normal file
2
net-misc/xmrig/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST xmrig-6.21.1.tar.gz 2416545 BLAKE2B 72ecdfc8c999aee91aef4f540211c5d5a6f1992c76211162a623e89391cedfcc2d5540f291d9915ee4180b83f58ef7f2eb1e3aff8dee49c72f41f90878d7ef62 SHA512 a9267708e61084db7116381adb2256a04c30eba0c84b571764cc73ccafc9276f55b6665529eb7b9c1785d582d0d280ced6ee7ca88a5e98f9bbdef2a9176a9794
|
||||
EBUILD xmrig-6.21.1.ebuild 1341 BLAKE2B d2f8d0871564e00c9def07f57444aab0ad456abbad57d4f4669f12a84704c7905b23f085926eaffed7bc2ebbbcd54b8468f30e95bb441544a27dba0395bd03b4 SHA512 35aff6ef111de16ecfe59add1ecb5685e8c48c3e06e2319911a3c3d97428b0187167dfd6f802dd73c20877ba1ab17923486aa13c2901f5535a2f4cf760672d81
|
65
net-misc/xmrig/xmrig-6.21.1.ebuild
Normal file
65
net-misc/xmrig/xmrig-6.21.1.ebuild
Normal file
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake systemd
|
||||
|
||||
DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner"
|
||||
HOMEPAGE="https://xmrig.com https://github.com/xmrig/xmrig"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/xmrig/xmrig/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0 GPL-3+ MIT"
|
||||
SLOT="0"
|
||||
IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libuv:=
|
||||
hwloc? ( >=sys-apps/hwloc-2.5.0:= )
|
||||
opencl? ( virtual/opencl )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!arm64? ( sys-apps/msr-tools )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.12.2-nonotls.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if ! use donate ; then
|
||||
sed -i 's/1;/0;/g' src/donate.h || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1)
|
||||
-DWITH_HWLOC=$(usex hwloc)
|
||||
-DWITH_TLS=$(usex ssl)
|
||||
-DWITH_OPENCL=$(usex opencl)
|
||||
-DWITH_CUDA=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
keepdir /etc/xmrig
|
||||
systemd_dounit "${FILESDIR}"/xmrig.service
|
||||
dobin "${BUILD_DIR}/xmrig"
|
||||
dobin "${S}/scripts/enable_1gb_pages.sh"
|
||||
dobin "${S}/scripts/randomx_boost.sh"
|
||||
}
|
Loading…
Reference in New Issue
Block a user