dev-libs/randomx - 1.2.1 (guru)

Search

Install

Install this version:

emerge -a =dev-libs/randomx-1.2.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/randomx-1.2.1

Or alternatively:

emerge --autounmask-write -a =dev-libs/randomx-1.2.1

Package Information

Description:
Proof of work algorithm based on random code execution
Homepage:
https://github.com/tevador/RandomX
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.2.1 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake flag-o-matic

DESCRIPTION="Proof of work algorithm based on random code execution"
HOMEPAGE="https://github.com/tevador/RandomX"
SRC_URI="https://github.com/tevador/RandomX/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/RandomX-${PV}

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

PATCHES=( "${FILESDIR}"/${PN}-1.2.1_remove-fPIE.patch )

src_configure() {
	append-ldflags -Wl,-z,noexecstack
	cmake_src_configure
}

Inherited Eclasses

Manifest for 1.2.1

Type File Size Source URLs
DIST randomx-1.2.1.tar.gz 181224 bytes https://github.com/tevador/RandomX/archive/v1.2.1.tar.gz