sci-physics/qcdloop - 2.1.0-r1 (science)

Search

Install

Install this version:

emerge -a =sci-physics/qcdloop-2.1.0-r1

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

autounmask =sci-physics/qcdloop-2.1.0-r1

Or alternatively:

emerge --autounmask-write -a =sci-physics/qcdloop-2.1.0-r1

Package Information

Description:
An object-oriented one-loop scalar Feynman integrals framework
Homepage:
https://qcdloop.web.cern.ch/ https://github.com/scarrazza/qcdloop
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
2.1.0-r1 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CMAKE_MAKEFILE_GENERATOR="emake"

inherit cmake fortran-2

DESCRIPTION="An object-oriented one-loop scalar Feynman integrals framework"
HOMEPAGE="
	https://qcdloop.web.cern.ch/
	https://github.com/scarrazza/qcdloop
"
if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/scarrazza/qcdloop"
	EGIT_BRANCH="master"
else
	SRC_URI="https://github.com/scarrazza/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="GPL-3+"
SLOT="0"
IUSE="static-libs"

PATCHES=(
	"${FILESDIR}"/${PN}-2.1.0-static.patch
)

src_prepare() {
	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DCMAKE_POSITION_INDEPENDENT_CODE=ON
		-DCMAKE_INSTALL_PREFIX="${ESYSROOT}"/usr
		-DENABLE_FORTRAN_WRAPPER=ON
		-DENABLE_STATIC_LIBRARY=$(usex static-libs ON OFF)
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-physics/qcdloop | euse -E <flag> -p sci-physics/qcdloop | euse -D <flag> -p sci-physics/qcdloop

Global/Standard Flags

Inherited Eclasses