summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-28 07:59:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-28 07:59:59 +0100
commitb8325835c82367d22428eb41afa0f2d375338d3c (patch)
treec416b8853bd14fc346da5d0129843cc4a68a30a0 /sci-libs
parentd2ed973482fdd800013658e83a61709b29e0a80f (diff)
gentoo auto-resync : 28:06:2024 - 07:59:59
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin44154 -> 44145 bytes
-rw-r--r--sci-libs/rpp/Manifest2
-rw-r--r--sci-libs/rpp/rpp-6.1.1.ebuild10
-rw-r--r--sci-libs/symengine/Manifest2
-rw-r--r--sci-libs/symengine/symengine-0.12.0.ebuild99
5 files changed, 110 insertions, 3 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 693cb9f0df50..d900c7763595 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/rpp/Manifest b/sci-libs/rpp/Manifest
index 87c4ef72363a..a2677e21b155 100644
--- a/sci-libs/rpp/Manifest
+++ b/sci-libs/rpp/Manifest
@@ -1,4 +1,4 @@
AUX rpp-6.1.1-skip-install-license.patch 1046 BLAKE2B 3000d90e9d2ccb3191e18cba7b74c4318ded903103cc31a998cca9591297bd3203c578bac2a1415db7980dcd7db0c5678f9f5dbdce66bc0112b4fdbe6405909d SHA512 5b2818a151dd3dd27c1af9ae19a73cbdf3c1bb69ad16d51ad075f50e2488742792bd1ec6f00b38392660e765911942fb41fdea2c5f31bc76998d5f9b5c9fd2db
DIST rpp-6.1.1.tar.gz 37016755 BLAKE2B 884090ab50e0a4a3aed4e52c5bbd934a8c5b62eca310471c30cf4c5a7cafdd36fed7894320b4d5246620b3c47e90fafd0f8160a7d4ed0295c7668c8d147f4b18 SHA512 a7c10bdd08739eba08209783decf0f4fd7c12194b9ebc63bd16e4cb998645110c089833efb83a77d4bed7f8599cf3a320608be28633f0dc956079f9d70e765f8
-EBUILD rpp-6.1.1.ebuild 2071 BLAKE2B 8be3e4ff071215995b4b0ac07b9d9e2e8f9ad01ebe8d3b7e97ff20861ffae46e0e79cc84f486e33e871fda39159fe5e40b1201d1c2ebc0bdb9c6b07127445cdb SHA512 c617d733d2ab79e6e838a721cf437d0dc187bbf5c3883256cf1a3a29831b777e32be6fcc71d64de266cd9316663717a1c34b8261f4d69f8d97c69e879ee0450c
+EBUILD rpp-6.1.1.ebuild 2127 BLAKE2B ee7e07eab9440959df1123a23d1112905e7af4763d9a2ca636424d9a4d60492f509016e4004808a90680410cc2d42bafd968117fb355e0759f4cdc306682e1d2 SHA512 90191804e681c39aa9c7059976436fabb7efab91f947cc04930fdd9d444429b222fc8c01fafd9ac5b53b78caaba6738b24bbdc379834b7d8b83e8dd76f4fc5a1
MISC metadata.xml 410 BLAKE2B 196192c40a427e78cfb88efe5ba4cd77399a2945bc1c8bb8728f0c43cab51f95ecf992e832c95e6607b48043a04f0680b21cd059cdfca3def9286530a4899e7b SHA512 a66340c6c4d62c10a5fdada9b63cab9784f75973a5132be56e52233341796c93423ed766a58733e3f22091057488aed9e0731e7cedd55caa0721e703df137d31
diff --git a/sci-libs/rpp/rpp-6.1.1.ebuild b/sci-libs/rpp/rpp-6.1.1.ebuild
index d38645f9ff56..dc7d12f41604 100644
--- a/sci-libs/rpp/rpp-6.1.1.ebuild
+++ b/sci-libs/rpp/rpp-6.1.1.ebuild
@@ -29,7 +29,10 @@ DEPEND="${RDEPEND}"
BDEPEND="
>=dev-build/cmake-3.22
>=dev-libs/half-1.12.0-r1
- test? ( dev-cpp/gtest )
+ test? (
+ dev-cpp/gtest
+ media-libs/opencv:=
+ )
"
IUSE="cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c test"
@@ -54,7 +57,10 @@ src_prepare() {
-i CMakeLists.txt || die
cmake_src_prepare
- use test && rcc_test_wrapper cmake_src_prepare
+ if use test; then
+ local PATCHES=()
+ rcc_test_wrapper cmake_src_prepare
+ fi
}
src_configure() {
diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 1b9406b697ed..cdfbd8e96db2 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -2,5 +2,7 @@ AUX symengine-0.11.1-flint-3.patch 1191 BLAKE2B 123ac0c424b0bb1c7ecbf4c35acc3394
AUX symengine-0.7.0-cmake-build-type.patch 1234 BLAKE2B b416e9b83db5eb6689bb9e18682d8f36f6ec13a4fe368004d2c3f961945cb0d1ec94081cb2c99bb16656439214cfd127a21cad2844a4752cd5c2fa6f40f3a3dc SHA512 d5e09a9603fab4caa9d9b091a0636be5ab8eddea6cb5b37b184ff7a65ac9707536f1a71e1893e0b5f795efb33396ae653d2745487aa863f7a239c63e42d22032
AUX symengine-0.8.1-fix_llvm.patch 2674 BLAKE2B f7d493318389f63a8b61f47ee2ba6429d205e91fec3f94a5c45a062622fa7b6c29ab410fb04a260d98f983402e4e74103ca591ea3aa035c68bd4e431dfde371f SHA512 683e9acac3f6304e2ac1d2c67304d1e6a2fc6915115a201a870e29253c804e378b39d8d00298a70ac5a4e1456a153febe69d63cfbab821b31cda46fc94782131
DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac
+DIST symengine-0.12.0.tar.gz 898768 BLAKE2B 81bca3f59e864d2e37598a058cb4db97b1f9c8536ee841c10df6f01c6322fa744281ecdeb338e5bf33bf599ead66adcaaa724650535df9b3d4bd7f07e22a3ad2 SHA512 fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf
EBUILD symengine-0.11.1.ebuild 2714 BLAKE2B 0d8f638d1ea0be177f79b7571d4d433fc12b48ed6d812d762fc9465e2c9c727840dc572f2026ef66c8b0ff87d2e86ab356de0964b60cdd9d1ff0d4dddf10b86e SHA512 08c697e06469b082e9a3cde4209b6daf4903fc67a7dd66d0cbbf55f7de4ec78b1c3bbd630bcec7644022785664e6ce3279c1605936d54038108ac232e60cb8eb
+EBUILD symengine-0.12.0.ebuild 2476 BLAKE2B be2f9f4b3fc05ff9ecfc64f1ae1fcbf73a153efc31577fd4e795fe4551cba51408aebae38c27096536dec91c5bc2769f1a6b0bc5cbfbfeb84d10365f2bbc2168 SHA512 de3a9f5ad25f9b2b889bc908340d1048d6df212081dd031bf34bedeacda47d6617acc60a0a390c2f89c5787773655399aaac54347704c42ea3667f702f94dbdf
MISC metadata.xml 1270 BLAKE2B e52ff12980457252a05195ef47bd90e52816794948169473a597e263d744d163cbe42d35e995243daf6b8664f1ed7d41879b63927606187277cdf503fc7bf846 SHA512 4fd6f340d1d4952774eb0fcd47d9ed6e9f145bd83ba7bd04fe428faa96ec63b6cd62173b6ead116a649471fe9b6466be7bbb48c8e534b3203f232f9a7bae12b9
diff --git a/sci-libs/symengine/symengine-0.12.0.ebuild b/sci-libs/symengine/symengine-0.12.0.ebuild
new file mode 100644
index 000000000000..8511224ebba8
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.12.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=18
+inherit cmake llvm 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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+# BUILD_FOR_DISTRIBUTION enables threads by default so do it here
+IUSE="benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/gmp:=
+ sys-libs/binutils-libs:=
+ boost? ( dev-libs/boost:= )
+ ecm? ( sci-mathematics/gmp-ecm )
+ flint? ( sci-mathematics/flint:= )
+ mpc? ( dev-libs/mpc:= )
+ mpfr? ( dev-libs/mpfr:= )
+ llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
+ tcmalloc? ( dev-util/google-perftools )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/cereal
+"
+BDEPEND="doc? ( app-text/doxygen[dot] )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
+ "${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+ use llvm && llvm_pkg_setup
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -e "s|DESTINATION doc| DESTINATION share/doc/${PF}/html|" \
+ -e "s|/lib|/$(get_libdir)|g" \
+ -e "s|lib/|$(get_libdir)/|g" \
+ -e "/DESTINATION/s|lib|$(get_libdir)|g" \
+ -i CMakeLists.txt symengine/CMakeLists.txt \
+ symengine/utilities/teuchos/CMakeLists.txt || die
+}
+
+src_configure() {
+ # not in portage yet: piranha
+ 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=(
+ -DINTEGER_CLASS=${int_class}
+ -DBUILD_BENCHMARKS=$(usex benchmarks)
+ -DBUILD_DOXYGEN=$(usex doc)
+ -DBUILD_TESTS=$(usex test)
+ -DWITH_BFD=$(usex debug)
+ -DWITH_SYMENGINE_ASSERT=$(usex debug)
+ -DWITH_SYMENGINE_THREAD_SAFE=$(usex threads)
+ -DWITH_FLINT=$(usex flint)
+ -DWITH_OPENMP=$(usex openmp)
+ -DWITH_MPFR=$(usex mpfr)
+ -DWITH_MPC=$(usex mpc)
+ -DWITH_LLVM=$(usex llvm)
+ -DWITH_PTHREAD=$(usex threads)
+ -DWITH_TCMALLOC=$(usex tcmalloc)
+ -DWITH_ECM=$(usex ecm)
+ -DWITH_SYSTEM_CEREAL=ON
+ )
+
+ cmake_src_configure
+}