From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dsfmt/
Date: Thu, 8 Apr 2021 02:31:17 +0000 (UTC) [thread overview]
Message-ID: <1617847528.ac15ac48507f43efe4d1be38e13ca1a4b35efaa6.tamiko@gentoo> (raw)
commit: ac15ac48507f43efe4d1be38e13ca1a4b35efaa6
Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
AuthorDate: Sat Mar 27 20:28:03 2021 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Apr 8 02:05:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac15ac48
sci-mathematics/dsfmt: initial import
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-mathematics/dsfmt/Manifest | 1 +
sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild | 36 ++++++++++++++++++++++++++++++++
sci-mathematics/dsfmt/metadata.xml | 17 +++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/sci-mathematics/dsfmt/Manifest b/sci-mathematics/dsfmt/Manifest
new file mode 100644
index 00000000000..a3eb8fdb327
--- /dev/null
+++ b/sci-mathematics/dsfmt/Manifest
@@ -0,0 +1 @@
+DIST dsfmt-2.2.4.tar.gz 4984255 BLAKE2B 6119445d93cb45faab28dfb52a18c07cd5703b243b3cddde35fff7a5e948fa8788dfe8428ae8e0a52604f91ac07fe7b3bb0f6c438ef93b5257b42baee9dfdec5 SHA512 fe84e986cbf198172340adfac0436b08f087643eca3f1ceccacde146cbfd8c41e3eb0dfbb062f7ca5f462db13c386abd7c269bc0cbefc9a0ecf97a8a8870a2e4
diff --git a/sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild b/sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild
new file mode 100644
index 00000000000..5de399e78f8
--- /dev/null
+++ b/sci-mathematics/dsfmt/dsfmt-2.2.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MYPN=dSFMT
+MYP=${MYPN}-${PV}
+
+DESCRIPTION="Double precision SIMD-oriented Fast Mersenne Twister library"
+HOMEPAGE="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT"
+SRC_URI="https://github.com/MersenneTwister-Lab/dSFMT/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+S="${WORKDIR}/${MYP}"
+
+soname="lib${MYPN}.so"
+
+src_compile() {
+ emake CCFLAGS="${CFLAGS}"
+ $(tc-getCC) -fPIC -shared -DDSFMT_SHLIB -DDSFMT_DO_NOT_USE_OLD_NAMES ${LDFLAGS} ${CFLAGS} -Wl,-soname=${soname} -o ${soname} ${MYPN}.c || die
+}
+
+src_test() {
+ emake std-check
+}
+
+src_install() {
+ doheader dSFMT.c d*.h
+ dodoc README*txt CHANGE*
+ dolib.so ${soname}
+}
diff --git a/sci-mathematics/dsfmt/metadata.xml b/sci-mathematics/dsfmt/metadata.xml
new file mode 100644
index 00000000000..736cfc4dcf5
--- /dev/null
+++ b/sci-mathematics/dsfmt/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ The purpose of Double precision SIMD-oriented Fast Mersenne Twister (dSFMT)
+ is to speed up the generation by avoiding the expensive conversion
+ of integer to double (floating point). dSFMT directly generates
+ double precision floating point pseudorandom numbers which have the
+ IEEE Standard for Binary Floating-Point Arithmetic (ANSI/IEEE Std
+ 754-1985) format. dSFMT is only available on the CPUs which use IEEE
+ 754 format double precision floating point numbers.
+ </longdescription>
+</pkgmetadata>
next reply other threads:[~2021-04-08 2:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-08 2:31 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-08 2:31 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dsfmt/ Matthias Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1617847528.ac15ac48507f43efe4d1be38e13ca1a4b35efaa6.tamiko@gentoo \
--to=tamiko@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox