public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/
@ 2021-08-17 15:44 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-08-17 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     e25d5c441605f0c72e54150644cc4dabbb65a340
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 15:44:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 15:44:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25d5c44

sci-libs/symengine: fix build with Boost 1.77

Closes: https://bugs.gentoo.org/808057
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../symengine/files/symengine-0.7.0-boost-1.77.patch  | 19 +++++++++++++++++++
 sci-libs/symengine/symengine-0.7.0.ebuild             |  1 +
 2 files changed, 20 insertions(+)

diff --git a/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch
new file mode 100644
index 00000000000..c4d6dc28e8f
--- /dev/null
+++ b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch
@@ -0,0 +1,19 @@
+https://github.com/symengine/symengine/commit/ceae675dccd593f119f3010d46e133de74fc01bc
+https://bugs.gentoo.org/808057
+
+From: Liam Keegan <liam@keegan.ch>
+Date: Mon, 31 May 2021 21:31:02 +0200
+Subject: [PATCH] use list initialization for int parameter since type depends
+ on boost version
+
+--- a/symengine/mp_boost.cpp
++++ b/symengine/mp_boost.cpp
+@@ -279,7 +279,7 @@ unsigned long mp_scan1(const integer_class &i)
+     if (i == 0) {
+         return ULONG_MAX;
+     }
+-    return find_lsb(i, int_<0>());
++    return find_lsb(i, {});
+ }
+ 
+ // define simple 2x2 matrix with exponentiation by repeated squaring

diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild b/sci-libs/symengine/symengine-0.7.0.ebuild
index b06a7e49f07..91f658820bd 100644
--- a/sci-libs/symengine/symengine-0.7.0.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0.ebuild
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
 	"${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+	"${FILESDIR}/${PN}-0.7.0-boost-1.77.patch"
 )
 
 pkg_pretend() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/
@ 2022-06-11  7:13 Matthias Maier
  0 siblings, 0 replies; 5+ messages in thread
From: Matthias Maier @ 2022-06-11  7:13 UTC (permalink / raw
  To: gentoo-commits

commit:     56e069d09f091b00433c8f47680789b7aa297522
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 11 07:12:50 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 07:12:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e069d0

sci-libs/symengine: als fix user configuration for USE=llvm

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../symengine/files/symengine-0.8.1-fix_llvm.patch | 15 ++++
 ...e-0.8.1-r1.ebuild => symengine-0.8.1-r2.ebuild} |  0
 ...e-0.9.0-r1.ebuild => symengine-0.9.0-r2.ebuild} |  2 +-
 sci-libs/symengine/symengine-0.9.0.ebuild          | 99 ----------------------
 4 files changed, 16 insertions(+), 100 deletions(-)

diff --git a/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch b/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
index 3e39a9eda500..810e2ac766d7 100644
--- a/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
+++ b/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
@@ -48,6 +48,21 @@ index cf5ab3b..dfa6605 100644
      include_directories(SYSTEM ${LLVM_INCLUDE_DIRS})
      set(HAVE_SYMENGINE_LLVM yes)
      set(PKGS ${PKGS} "LLVM")
+diff --git a/cmake/SymEngineConfig.cmake.in b/cmake/SymEngineConfig.cmake.in
+index b01ef9b..6d82c10 100644
+--- a/cmake/SymEngineConfig.cmake.in
++++ b/cmake/SymEngineConfig.cmake.in
+@@ -67,9 +67,7 @@ set(SYMENGINE_LLVM_COMPONENTS @SYMENGINE_LLVM_COMPONENTS@)
+ 
+ if (NOT "${SYMENGINE_LLVM_COMPONENTS}" STREQUAL "")
+     find_package(LLVM REQUIRED ${SYMENGINE_LLVM_COMPONENTS} HINTS @LLVM_DIR@)
+-    llvm_map_components_to_libnames(llvm_libs_direct ${SYMENGINE_LLVM_COMPONENTS})
+-    llvm_expand_dependencies(llvm_libs ${llvm_libs_direct})
+-    set(SYMENGINE_LIBRARIES ${SYMENGINE_LIBRARIES} ${llvm_libs})
++    set(SYMENGINE_LIBRARIES ${SYMENGINE_LIBRARIES} LLVM)
+ else()
+     set(SYMENGINE_LLVM_INCLUDE_DIRS)
+ endif()
 -- 
 2.35.1
 

diff --git a/sci-libs/symengine/symengine-0.8.1-r1.ebuild b/sci-libs/symengine/symengine-0.8.1-r2.ebuild
similarity index 100%
rename from sci-libs/symengine/symengine-0.8.1-r1.ebuild
rename to sci-libs/symengine/symengine-0.8.1-r2.ebuild

diff --git a/sci-libs/symengine/symengine-0.9.0-r1.ebuild b/sci-libs/symengine/symengine-0.9.0-r2.ebuild
similarity index 97%
rename from sci-libs/symengine/symengine-0.9.0-r1.ebuild
rename to sci-libs/symengine/symengine-0.9.0-r2.ebuild
index ea34c5e94099..52ecab72e67c 100644
--- a/sci-libs/symengine/symengine-0.9.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0-r2.ebuild
@@ -12,7 +12,7 @@ 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 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads"
 RESTRICT="!test? ( test )"

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild b/sci-libs/symengine/symengine-0.9.0.ebuild
deleted file mode 100644
index ea34c5e94099..000000000000
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=13
-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 ~riscv x86"
-# BUILD_FOR_DISTRIBUTION enables threads by default so do it here
-IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-libs/gmp:=
-	sys-libs/binutils-libs:=
-	arb? ( sci-mathematics/arb:= )
-	boost? ( dev-libs/boost:= )
-	ecm? ( sci-mathematics/gmp-ecm )
-	flint? ( sci-mathematics/flint:= )
-	mpc? ( dev-libs/mpc:= )
-	llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
-	tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}
-	dev-libs/cereal"
-BDEPEND="doc? ( app-doc/doxygen[dot] )"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
-	"${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
-	"${FILESDIR}"/${PN}-0.9.0-pthread-cmake.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 arb || 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_ARB=$(usex arb)
-		-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
-	)
-
-	use arb && mycmakeargs+=( -DARB_INCLUDE_DIR="${ESYSROOT}"/usr/include )
-
-	cmake_src_configure
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/
@ 2023-12-22 16:43 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2023-12-22 16:43 UTC (permalink / raw
  To: gentoo-commits

commit:     e675ae12003e17698880d20cd159c7d515f54a4c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 16:22:21 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 16:43:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e675ae12

sci-libs/symengine: Remove old

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

 sci-libs/symengine/Manifest                        |   2 -
 .../files/symengine-0.9.0-pthread-cmake.patch      |  63 -------------
 sci-libs/symengine/symengine-0.10.1.ebuild         | 103 ---------------------
 sci-libs/symengine/symengine-0.9.0-r3.ebuild       |  99 --------------------
 4 files changed, 267 deletions(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index cf6f7942c9bd..b5add05ebc62 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,3 +1 @@
-DIST symengine-0.10.1.tar.gz 898206 BLAKE2B 88182a7facaf0d9ac90de8acaf549a3fd3cb65f0ae12e0ba3d9a1ae477d193b312cebfca99e626815789d8746822f0d1e256db6836a1ce265f65951880f486f3 SHA512 e73f62a87d20b676cac66ce82ac93308b688ed2ac18ebdb6884bae1ae66868e1033e33908e797f86a1906f91b975e8607a02e8932db8550a677f6b41373b7934
 DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac
-DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12 SHA512 dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch b/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch
deleted file mode 100644
index 0fa049dbf218..000000000000
--- a/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 6ad9620ffc578abdb920b84ea5e393c726389ac0 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Wed, 8 Jun 2022 06:02:25 +0100
-Subject: [PATCH] cmake: fix pthread detection
-
-The homebrew FindPTHREAD.cmake module was hardcoding the path to libpthread
-in the installed CMake config file which broke consumers when upgrading from
-< glibc-2.34 (e.g. glibc-2.33 -> glibc-2.34).
-
-CMake provides FindThreads which does the job fine for us. Tested with both
-glibc-2.33 (with a previously bad generated file, and then fixed) and glibc-2.35.
-
-This should be fine on musl and friends too. This brings symengine in line
-with most CMake packages.
-
-Bug: https://bugs.gentoo.org/849803
-Fixes: https://github.com/symengine/symengine/issues/1910
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -335,11 +335,10 @@ if (WITH_PIRANHA)
- endif()
- 
- if (WITH_PTHREAD)
--    find_package(PTHREAD REQUIRED)
--    include_directories(SYSTEM ${PTHREAD_INCLUDE_DIRS})
--    set(LIBS ${LIBS} ${PTHREAD_TARGETS})
-+    find_package(Threads)
-+    set(THREADS_PREFER_PTHREAD_FLAG ON)
-+    set(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT})
-     set(HAVE_SYMENGINE_PTHREAD yes)
--    set(PKGS ${PKGS} "PTHREAD")
- endif()
- 
- if (WITH_MPFR)
-@@ -761,10 +760,6 @@ if (WITH_BOOST)
- endif()
- 
- message("WITH_PTHREAD: ${WITH_PTHREAD}")
--if (WITH_PTHREAD)
--    message("PTHREAD_INCLUDE_DIRS: ${PTHREAD_INCLUDE_DIRS}")
--    message("PTHREAD_LIBRARIES: ${PTHREAD_LIBRARIES}")
--endif()
- 
- message("WITH_MPC: ${WITH_MPC}")
- if (WITH_MPC)
---- a/cmake/FindPTHREAD.cmake
-+++ /dev/null
-@@ -1,14 +0,0 @@
--include(LibFindMacros)
--
--libfind_include(pthread.h pthread)
--libfind_library(pthread pthread)
--
--set(PTHREAD_LIBRARIES ${PTHREAD_LIBRARY})
--set(PTHREAD_INCLUDE_DIRS ${PTHREAD_INCLUDE_DIR})
--set(PTHREAD_TARGETS pthread)
--
--include(FindPackageHandleStandardArgs)
--find_package_handle_standard_args(PTHREAD DEFAULT_MSG PTHREAD_LIBRARIES
--    PTHREAD_INCLUDE_DIRS)
--
--mark_as_advanced(PTHREAD_INCLUDE_DIR PTHEARD_LIBRARY)
-

diff --git a/sci-libs/symengine/symengine-0.10.1.ebuild b/sci-libs/symengine/symengine-0.10.1.ebuild
deleted file mode 100644
index eb06f3cc27bf..000000000000
--- a/sci-libs/symengine/symengine-0.10.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=16
-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="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	dev-libs/gmp:=
-	sys-libs/binutils-libs:=
-	arb? ( sci-mathematics/arb:= )
-	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-doc/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 arb || 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_ARB=$(usex arb)
-		-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
-	)
-
-	use arb && mycmakeargs+=( -DARB_INCLUDE_DIR="${ESYSROOT}"/usr/include )
-
-	cmake_src_configure
-}

diff --git a/sci-libs/symengine/symengine-0.9.0-r3.ebuild b/sci-libs/symengine/symengine-0.9.0-r3.ebuild
deleted file mode 100644
index 4613603523e6..000000000000
--- a/sci-libs/symengine/symengine-0.9.0-r3.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=15
-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 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
-# BUILD_FOR_DISTRIBUTION enables threads by default so do it here
-IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-libs/gmp:=
-	sys-libs/binutils-libs:=
-	arb? ( sci-mathematics/arb:= )
-	boost? ( dev-libs/boost:= )
-	ecm? ( sci-mathematics/gmp-ecm )
-	flint? ( sci-mathematics/flint:= )
-	mpc? ( dev-libs/mpc:= )
-	llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
-	tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}
-	dev-libs/cereal"
-BDEPEND="doc? ( app-doc/doxygen[dot] )"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
-	"${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
-	"${FILESDIR}"/${PN}-0.9.0-pthread-cmake.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 arb || 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_ARB=$(usex arb)
-		-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
-	)
-
-	use arb && mycmakeargs+=( -DARB_INCLUDE_DIR="${ESYSROOT}"/usr/include )
-
-	cmake_src_configure
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/
@ 2025-06-30 18:46 Andreas Sturmlechner
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2025-06-30 18:46 UTC (permalink / raw
  To: gentoo-commits

commit:     9f98bd691ff2e76bf53ac4a6c3d8be1cecbc0658
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 30 17:39:48 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 18:46:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f98bd69

sci-libs/symengine: Fix SymEngineConfig.cmake module w/ CMake-4

Only changes a cmake module used by revdeps, not dropping stable keywords.

Closes: https://bugs.gentoo.org/957803
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../symengine/files/symengine-0.14.0-cmake4.patch  |  44 +++++++++
 sci-libs/symengine/symengine-0.14.0-r1.ebuild      | 106 +++++++++++++++++++++
 2 files changed, 150 insertions(+)

diff --git a/sci-libs/symengine/files/symengine-0.14.0-cmake4.patch b/sci-libs/symengine/files/symengine-0.14.0-cmake4.patch
new file mode 100644
index 000000000000..bd50ace7a8f9
--- /dev/null
+++ b/sci-libs/symengine/files/symengine-0.14.0-cmake4.patch
@@ -0,0 +1,44 @@
+From 186f72e208220efd12362c336a49378076f63f30 Mon Sep 17 00:00:00 2001
+From: Isuru Fernando <isuruf@gmail.com>
+Date: Tue, 1 Apr 2025 10:30:43 -0500
+Subject: [PATCH 2/3] set cmake_minimum_required
+
+---
+ cmake/SymEngineConfig.cmake.in | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/cmake/SymEngineConfig.cmake.in b/cmake/SymEngineConfig.cmake.in
+index aaaa8d241..8465298a7 100644
+--- a/cmake/SymEngineConfig.cmake.in
++++ b/cmake/SymEngineConfig.cmake.in
+@@ -31,7 +31,9 @@
+ # target_link_libraries(example ${SYMENGINE_LIBRARIES})
+ #
+ 
+-cmake_minimum_required(VERSION 2.8.12)
++# We are compatible with 2.8.12, but also updated to support policies
++# in 4.0.0
++cmake_minimum_required(VERSION 2.8.12...4.0.0)
+ 
+ if (POLICY CMP0074)
+   cmake_policy(SET CMP0074 NEW)
+
+From 3818ef6b65e1d0da4f485ec8f64661719cbe547c Mon Sep 17 00:00:00 2001
+From: Isuru Fernando <isuruf@gmail.com>
+Date: Tue, 1 Apr 2025 19:40:18 -0500
+Subject: [PATCH 3/3] Update CMakeLists.txt
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 62c367f16..f13772b97 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.13)
++cmake_minimum_required(VERSION 2.8.12...4.0.0)
+ 
+ if (POLICY CMP0074)
+   cmake_policy(SET CMP0074 NEW)

diff --git a/sci-libs/symengine/symengine-0.14.0-r1.ebuild b/sci-libs/symengine/symengine-0.14.0-r1.ebuild
new file mode 100644
index 000000000000..611e2f62519a
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.14.0-r1.ebuild
@@ -0,0 +1,106 @@
+# 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
+"
+
+PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # bug 957803, in git master
+
+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
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/
@ 2025-07-20 18:00 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2025-07-20 18:00 UTC (permalink / raw
  To: gentoo-commits

commit:     1b91c38569f00ef331e05e4925d42e4b2fd2fb4e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 20 17:59:17 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 20 18:00:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b91c385

sci-libs/symengine: Remove old

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

 sci-libs/symengine/Manifest                        |   1 -
 .../files/symengine-0.7.0-cmake-build-type.patch   |  25 -----
 .../symengine/files/symengine-0.8.1-fix_llvm.patch |  68 -------------
 sci-libs/symengine/symengine-0.13.0.ebuild         | 111 ---------------------
 4 files changed, 205 deletions(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index b1b6ae8fcacb..157d7b868070 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,2 +1 @@
-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/files/symengine-0.7.0-cmake-build-type.patch b/sci-libs/symengine/files/symengine-0.7.0-cmake-build-type.patch
deleted file mode 100644
index f490521f5c92..000000000000
--- a/sci-libs/symengine/files/symengine-0.7.0-cmake-build-type.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index cf1d213..3067481 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -17,11 +17,6 @@ if (NOT CMAKE_BUILD_TYPE)
-     set(CMAKE_BUILD_TYPE Release
-         CACHE STRING "Build type (Debug, Release)" FORCE)
- endif ()
--if (NOT (CMAKE_BUILD_TYPE STREQUAL "Debug" OR
--        CMAKE_BUILD_TYPE STREQUAL "Release"))
--    message("${CMAKE_BUILD_TYPE}")
--    message(FATAL_ERROR "CMAKE_BUILD_TYPE must be one of: Debug, Release (current value: '${CMAKE_BUILD_TYPE}')")
--endif ()
- 
- set(BUILD_FOR_DISTRIBUTION no
-     CACHE BOOL "Building SymEngine for a distribution")
-@@ -138,7 +133,7 @@ endif()
- try_compile(HAVE_SYMENGINE_STD_TO_STRING "${CMAKE_CURRENT_BINARY_DIR}/cxx" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/checkstdtostring.cpp"
- 	CMAKE_FLAGS "-DCOMPILE_DEFINITIONS=${CMAKE_CXX_FLAGS}")
- 
--if ((CMAKE_CXX_COMPILER_ID MATCHES Clang) AND (CMAKE_BUILD_TYPE STREQUAL "Release"))
-+if ((CMAKE_CXX_COMPILER_ID MATCHES Clang) AND (NOT(CMAKE_BUILD_TYPE STREQUAL "Debug")))
-     try_compile(CHECK_CLANG "${CMAKE_CURRENT_BINARY_DIR}/cxx" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/checkclang.cpp")
-     if (NOT ${CHECK_CLANG})
-         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__extern_always_inline=inline" )

diff --git a/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch b/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
deleted file mode 100644
index 810e2ac766d7..000000000000
--- a/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From: Matthias Maier <tamiko@43-1.org>
-Date: Sat, 11 Jun 2022 01:44:54 -0500
-Subject: [PATCH] Fix cmake configure for shared LLVM libraries
-
-Gentoo builds LLVM into a combined shared library. The CMake
-configuration shipped with LLVM is evidently broken in this case, see
-
-  https://github.com/llvm/llvm-project/issues/34593
-  https://bugs.gentoo.org/745915
-
-We work around this issue by simply linking against the monolithic
-"LLVM" target.
----
- CMakeLists.txt | 23 +----------------------
- 1 file changed, 1 insertion(+), 22 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index cf5ab3b..dfa6605 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -402,28 +402,7 @@ if (WITH_LLVM)
-     endforeach()
-     set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG")
- 
--    llvm_map_components_to_libnames(llvm_libs_direct ${SYMENGINE_LLVM_COMPONENTS})
--    llvm_expand_dependencies(llvm_libs ${llvm_libs_direct})
--
--    if (BUILD_SHARED_LIBS)
--        set(SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT False)
--        foreach(LLVM_LIB ${llvm_libs})
--            get_target_property(${LLVM_LIB}_IMPORT_LOCATION ${LLVM_LIB} LOCATION)
--            if (NOT "${${LLVM_LIB}_IMPORT_LOCATION}" MATCHES "NOTFOUND")
--                if (NOT "${${LLVM_LIB}_IMPORT_LOCATION}" MATCHES ".a$|.lib$")
--                    set(SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT True)
--                endif()
--            endif()
--        endforeach()
--    else()
--        set(SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT True)
--    endif()
--    set(SYMENGINE_LLVM_LINK_DOWNSTREAM ${SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT}
--        CACHE INTERNAL "Link to llvm in SymEngineConfig.cmake")
--    if (NOT SYMENGINE_LLVM_LINK_DOWNSTREAM)
--        unset(SYMENGINE_LLVM_COMPONENTS)
--    endif ()
--    set(LIBS ${LIBS} ${llvm_libs})
-+    set(LIBS ${LIBS} LLVM)
-     include_directories(SYSTEM ${LLVM_INCLUDE_DIRS})
-     set(HAVE_SYMENGINE_LLVM yes)
-     set(PKGS ${PKGS} "LLVM")
-diff --git a/cmake/SymEngineConfig.cmake.in b/cmake/SymEngineConfig.cmake.in
-index b01ef9b..6d82c10 100644
---- a/cmake/SymEngineConfig.cmake.in
-+++ b/cmake/SymEngineConfig.cmake.in
-@@ -67,9 +67,7 @@ set(SYMENGINE_LLVM_COMPONENTS @SYMENGINE_LLVM_COMPONENTS@)
- 
- if (NOT "${SYMENGINE_LLVM_COMPONENTS}" STREQUAL "")
-     find_package(LLVM REQUIRED ${SYMENGINE_LLVM_COMPONENTS} HINTS @LLVM_DIR@)
--    llvm_map_components_to_libnames(llvm_libs_direct ${SYMENGINE_LLVM_COMPONENTS})
--    llvm_expand_dependencies(llvm_libs ${llvm_libs_direct})
--    set(SYMENGINE_LIBRARIES ${SYMENGINE_LIBRARIES} ${llvm_libs})
-+    set(SYMENGINE_LIBRARIES ${SYMENGINE_LIBRARIES} LLVM)
- else()
-     set(SYMENGINE_LLVM_INCLUDE_DIRS)
- endif()
--- 
-2.35.1
-

diff --git a/sci-libs/symengine/symengine-0.13.0.ebuild b/sci-libs/symengine/symengine-0.13.0.ebuild
deleted file mode 100644
index 589a31fdb9af..000000000000
--- a/sci-libs/symengine/symengine-0.13.0.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# 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
-"
-
-PATCHES=(
-	# TODO: upstream
-	"${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
-	# TODO: make a proper patch for upstream
-	"${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
-}
-
-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
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-20 18:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-22 16:43 [gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2025-07-20 18:00 Michał Górny
2025-06-30 18:46 Andreas Sturmlechner
2022-06-11  7:13 Matthias Maier
2021-08-17 15:44 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox