public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/
Date: Tue, 18 Feb 2025 07:35:59 +0000 (UTC)	[thread overview]
Message-ID: <1739864143.296994775de31644d68dbec732b4f8fa4b5b20d3.mgorny@gentoo> (raw)

commit:     296994775de31644d68dbec732b4f8fa4b5b20d3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 06:17:07 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 07:35:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29699477

sci-libs/symengine: Bump to 0.14.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sci-libs/symengine/Manifest                |   1 +
 sci-libs/symengine/symengine-0.14.0.ebuild | 104 +++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 5c834af22348..00ef758860ea 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,3 +1,4 @@
 DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac
 DIST symengine-0.12.0.tar.gz 898768 BLAKE2B 81bca3f59e864d2e37598a058cb4db97b1f9c8536ee841c10df6f01c6322fa744281ecdeb338e5bf33bf599ead66adcaaa724650535df9b3d4bd7f07e22a3ad2 SHA512 fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf
 DIST symengine-0.13.0.gh.tar.gz 942757 BLAKE2B 9c7e1a067fd2baff0c6fc360b1512f04ee0c77c1f408180c2384b29aac1feecc56bcd0453afce402c6963c2fc638202f623592eb5c0bcdf0a1715056e8fec425 SHA512 3d64149b507be586daabad4b9a99436b0d329b16b89db756c9a72812b37049199c0be1ed77b18d55063a6445d04bf44120e7afd90a961aebbc89df815e52ed5d
+DIST symengine-0.14.0.gh.tar.gz 944589 BLAKE2B f5c52080153f548e866aa98afee6296888b020b633b7738109fa839b7fd70cda5059c079ba119604571060639b33d46692818d99d8c7b9a371a59efd14eb9dce SHA512 2b6012ed65064ff81c8828032c5a3148340582274e3604db2a43797ddbaa191520ed97da41efc2e842ba4a25326f53becc51f1e98935e8c34625bc5eaac8397f

diff --git a/sci-libs/symengine/symengine-0.14.0.ebuild b/sci-libs/symengine/symengine-0.14.0.ebuild
new file mode 100644
index 000000000000..a2416c83476b
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.14.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {18..20} )
+LLVM_OPTIONAL=1
+
+inherit cmake llvm-r2 toolchain-funcs
+
+DESCRIPTION="Fast symbolic manipulation library, written in C++"
+HOMEPAGE="https://github.com/symengine/symengine/"
+SRC_URI="
+	https://github.com/symengine/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="
+	boost debug ecm +flint llvm +mpc +mpfr openmp primesieve tcmalloc
+	test
+"
+REQUIRED_USE="
+	boost? ( !flint !mpc !mpfr )
+	llvm? ( ${LLVM_REQUIRED_USE} )
+	mpc? ( mpfr )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	boost? ( dev-libs/boost:= )
+	!boost? ( dev-libs/gmp:= )
+	debug? ( sys-libs/binutils-libs:= )
+	ecm? ( sci-mathematics/gmp-ecm:= )
+	flint? ( sci-mathematics/flint:= )
+	mpc? ( dev-libs/mpc:= )
+	mpfr? ( dev-libs/mpfr:= )
+	llvm? ( $(llvm_gen_dep 'llvm-core/llvm:${LLVM_SLOT}=') )
+	primesieve? ( sci-mathematics/primesieve:= )
+	tcmalloc? ( dev-util/google-perftools )
+"
+DEPEND="
+	${RDEPEND}
+	dev-libs/cereal
+"
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+	local int_class
+
+	if use flint; then
+		int_class=flint
+	elif use mpfr; then
+		int_class=gmpxx
+	elif use boost; then
+		int_class=boostmp
+	else
+		int_class=gmp
+	fi
+
+	einfo "Building with integer class: ${int_class}"
+
+	local mycmakeargs=(
+		-DINSTALL_CMAKE_DIR="${EPREFIX}/usr/$(get_libdir)/cmake/symengine"
+		-DINTEGER_CLASS=${int_class}
+		# not installed
+		-DBUILD_BENCHMARKS=OFF
+		# broken with out-of-tree builds
+		-DBUILD_DOXYGEN=OFF
+		-DBUILD_TESTS=$(usex test)
+		# -DWITH_ARB provided by flint >= 2
+		-DWITH_BFD=$(usex debug)
+		-DWITH_ECM=$(usex ecm)
+		-DWITH_FLINT=$(usex flint)
+		-DWITH_LLVM=$(usex llvm)
+		-DWITH_MPC=$(usex mpc)
+		-DWITH_MPFR=$(usex mpfr)
+		-DWITH_OPENMP=$(usex openmp)
+		-DWITH_PRIMESIEVE=$(usex primesieve)
+		-DWITH_PTHREAD=ON
+		-DWITH_SYMENGINE_ASSERT=$(usex debug)
+		-DWITH_SYMENGINE_THREAD_SAFE=ON
+		-DWITH_SYSTEM_CEREAL=ON
+		# TODO: package it
+		# -DWITH_SYSTEM_FASTFLOAT=ON
+		-DWITH_TCMALLOC=$(usex tcmalloc)
+	)
+	if use llvm; then
+		mycmakeargs+=(
+			-DLLVM_ROOT="$(get_llvm_prefix -d)"
+		)
+	fi
+
+	cmake_src_configure
+}


             reply	other threads:[~2025-02-18  7:36 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18  7:35 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 11:57 [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/ Arthur Zamarin
2025-01-18 10:32 Arthur Zamarin
2025-01-06  7:08 WANG Xuerui
2025-01-04 16:35 Sam James
2025-01-04 16:17 Sam James
2025-01-01  8:56 Joonas Niilola
2024-12-31  8:15 Sam James
2024-12-31  8:07 Michał Górny
2024-12-31  8:07 Michał Górny
2024-07-15  1:39 Sam James
2024-07-15  0:05 Sam James
2024-06-27 12:18 Michael Orlitzky
2023-11-29 18:38 Arthur Zamarin
2023-11-29 18:06 Michał Górny
2023-11-25  6:12 Sam James
2023-10-03 23:53 Sam James
2023-06-12  8:24 Arthur Zamarin
2023-04-16 12:11 WANG Xuerui
2023-03-24  2:57 Sam James
2023-03-22  9:20 Sam James
2022-11-18 17:29 Arthur Zamarin
2022-09-11 18:13 Sam James
2022-09-11 18:13 Sam James
2022-06-11  6:57 Matthias Maier
2022-06-11  6:50 Matthias Maier
2022-05-16  8:12 David Seifert
2022-03-29  8:49 Yixun Lan
2022-03-09  9:19 Agostino Sarubbo
2022-03-07 16:20 Agostino Sarubbo
2022-02-22  5:40 Yixun Lan
2022-02-21  3:17 Sam James
2022-02-21  2:49 Sam James
2021-12-30 19:10 Arthur Zamarin
2021-12-30 19:04 Arthur Zamarin
2021-12-14 19:52 Andrew Ammerlaan
2021-11-22  3:07 Yixun Lan
2021-05-04  7:03 Agostino Sarubbo
2021-04-30 15:23 Agostino Sarubbo
2020-10-27 19:58 Sam James
2020-10-27  5:11 Sam James
2020-08-31 14:15 Sam James
2020-08-31 13:49 Sam James
2020-08-30 23:18 Sam James
2020-05-02 20:15 Matthias Maier
2020-03-09 12:48 Agostino Sarubbo
2020-03-09 12:39 Agostino Sarubbo
2020-03-08 17:46 Andreas Sturmlechner
2020-03-08 17:46 Andreas Sturmlechner
2020-03-08 16:16 Andreas Sturmlechner
2020-03-08 16:02 Andreas Sturmlechner
2019-12-28 11:57 罗百科
2019-04-09  3:16 Matthias Maier
2017-08-16 18:12 Sebastien Fabbro
2017-08-03 17:33 Sebastien Fabbro
2017-07-26 20:07 Sebastien Fabbro

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=1739864143.296994775de31644d68dbec732b4f8fa4b5b20d3.mgorny@gentoo \
    --to=mgorny@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