sci-libs/qd - 2.3.24 (gentoo)

Search

Package Information

Description:
Quad-double and double-double float arithmetics
Homepage:
https://www.davidhbailey.com/dhbsoftware/
License:
LBNLBSD

Ebuild Details

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

EAPI=8

FORTRAN_NEEDED=fortran

inherit fortran-2

DESCRIPTION="Quad-double and double-double float arithmetics"
HOMEPAGE="https://www.davidhbailey.com/dhbsoftware/"
SRC_URI="https://www.davidhbailey.com/dhbsoftware/${P}.tar.gz"
LICENSE="LBNLBSD"
SLOT="0"
KEYWORDS="amd64 ~riscv ~x86"
IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran"

src_configure() {
	econf \
		--disable-static \
		--enable-ieee-add \
		--disable-sloppy-mul \
		--disable-sloppy-div \
		--enable-inline \
		$(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \
		$(use_enable fortran)
}

src_install() {
	default

	dosym qd_real.h /usr/include/qd/qd.h
	dosym dd_real.h /usr/include/qd/dd.h

	if ! use doc; then
		rm "${ED}"/usr/share/doc/${PF}/*.pdf || die
	fi

	find "${D}" -name '*.la' -delete || die
}

USE Flags

doc

Manifest for 2.3.24

Type File Size Source URLs
DIST qd-2.3.24.tar.gz 812215 bytes https://www.davidhbailey.com/dhbsoftware/qd-2.3.24.tar.gz