diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /sci-libs | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'sci-libs')
1385 files changed, 0 insertions, 73442 deletions
diff --git a/sci-libs/adolc/Manifest b/sci-libs/adolc/Manifest deleted file mode 100644 index 2fa163cefb08..000000000000 --- a/sci-libs/adolc/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST adolc-2.7.2-patches.tar.bz2 6227 BLAKE2B 6ed9ca3c3128233308b6f4a57d839ac668a031a4d48e612b79929541b496dff67e463197c3c5233bda459fba17422827df6c81fba986ea7fe2affbee2cb8cbf0 SHA512 b468753efbde773c5c7d7f0211abee049193d9b64405ae57a4a902a93a4c06e4f205f531aeee9f30d7dddef19243e1a76b77a8e8727d8e36ee3867f5990e2fbb -DIST adolc-2.7.2.tar.gz 2447479 BLAKE2B 0f871ce1dcb50bb14684e45e265cf45807f514dd3ca0dbaaedede2c7117d34cc5a34b0096a34c8ec37023e50aec7fd4be6561819d6297771e7f7fcaa7ba0e507 SHA512 b896650077367fd7388a6c5a40e5d8bb3f19af9e3bc5b067fd1d9a769809b77ccdfb5ef11ef481ab791c0f040401aaed0053cba55d4c2a3383c0d056122280f6 diff --git a/sci-libs/adolc/adolc-2.7.2-r1.ebuild b/sci-libs/adolc/adolc-2.7.2-r1.ebuild deleted file mode 100644 index e1c099270f28..000000000000 --- a/sci-libs/adolc/adolc-2.7.2-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Automatic differentiation system for C/C++" -HOMEPAGE="https://projects.coin-or.org/ADOL-C/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/coin-or/ADOL-C" -else - SRC_URI=" - https://github.com/coin-or/ADOL-C/archive/releases/${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7.2-patches.tar.bz2 - " - S="${WORKDIR}/ADOL-C-releases-${PV}" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~x86" -fi - -LICENSE="|| ( EPL-1.0 GPL-2 )" -SLOT="0/$(ver_cut 1)" -IUSE="+boost mpi sparse" - -RDEPEND=" - mpi? ( sys-cluster/ampi:0= ) - sparse? ( sci-libs/colpack ) -" -DEPEND="${RDEPEND} - boost? ( dev-libs/boost:= ) -" - -PATCHES=( - "${WORKDIR}/${PN}-2.5.0-no-colpack.patch" - "${WORKDIR}/${PN}-2.5.0-pkgconfig-no-ldflags.patch" - "${WORKDIR}/${PN}-2.6.2-dash.patch" - "${WORKDIR}/${P}-swig-python-configure.patch" -) - -src_prepare() { - sed \ - -e 's/${D\[@\]}/"${DIR[[@]]}"/g' \ - -i "${WORKDIR}/adolc-2.5.0-no-colpack.patch" || die - - default - - sed \ - -e 's/D\[\[/DIR[[/g' \ - -i "${S}/autoconf/colpack.m4" || die - - eautoreconf -} - -src_configure() { - # Disabling Python for now because swig build - # needs work. Revisit with >=2.7.3. - # https://bugs.gentoo.org/730750 - # https://github.com/coin-or/ADOL-C/issues/20 - # Can drop CONFIG_SHELL once fixed up dash/bashisms patch - local myeconfargs=( - --disable-python - --disable-static - --enable-advanced-branching - --enable-atrig-erf - $(use_enable mpi ampi) - $(use_enable sparse) - $(use_with boost) - $(use_with sparse colpack "${EPREFIX}"/usr) - ) - - CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}" -} - -src_test() { - # 'check' target is unrelated to checking lib works - # ('check' is more like distcheck) - emake test -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/adolc/adolc-2.7.2-r2.ebuild b/sci-libs/adolc/adolc-2.7.2-r2.ebuild deleted file mode 100644 index bc25bcd8fbe3..000000000000 --- a/sci-libs/adolc/adolc-2.7.2-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Automatic differentiation system for C/C++" -HOMEPAGE="https://projects.coin-or.org/ADOL-C/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/coin-or/ADOL-C" -else - SRC_URI=" - https://github.com/coin-or/ADOL-C/archive/releases/${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7.2-patches.tar.bz2 - " - S="${WORKDIR}/ADOL-C-releases-${PV}" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" -fi - -LICENSE="LGPL-3" -SLOT="0/$(ver_cut 1)" - -IUSE="+boost mpi sparse" - -# requires colpack build with cmake -RDEPEND=" - mpi? ( sys-cluster/ampi:0= ) - sparse? ( sci-libs/colpack ) -" -DEPEND="${RDEPEND} - boost? ( dev-libs/boost:= ) -" - -PATCHES=( - "${WORKDIR}/${PN}-2.5.0-no-colpack.patch" - "${WORKDIR}/${PN}-2.5.0-pkgconfig-no-ldflags.patch" - "${WORKDIR}/${PN}-2.6.2-dash.patch" - "${WORKDIR}/${P}-swig-python-configure.patch" - "${FILESDIR}/${PN}-2.7.2-boost-1.70.patch" -) - -src_prepare() { - sed \ - -e 's/${D\[@\]}/"${DIR[[@]]}"/g' \ - -i "${WORKDIR}/adolc-2.5.0-no-colpack.patch" || die - - default - - sed \ - -e 's/D\[\[/DIR[[/g' \ - -i "autoconf/colpack.m4" || die - - eautoreconf -} - -src_configure() { - # Disabling Python for now because swig build - # needs work. Revisit with >=2.7.3. - # https://bugs.gentoo.org/730750 - # https://github.com/coin-or/ADOL-C/issues/20 - # Can drop CONFIG_SHELL once fixed up dash/bashisms patch - local myeconfargs=( - --disable-python - --disable-static - --enable-advanced-branching - --enable-atrig-erf - --with-boost-system=header-only - $(use_enable mpi ampi) - $(use_enable sparse) - $(use_with boost) - $(use_with sparse colpack "${ESYSROOT}"/usr) - --prefix="${EPREFIX}/usr" - ) - - CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}" -} - -src_test() { - # 'check' target is unrelated to checking lib works - # ('check' is more like distcheck) - emake test -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/adolc/adolc-9999.ebuild b/sci-libs/adolc/adolc-9999.ebuild deleted file mode 100644 index 80823aac5c8b..000000000000 --- a/sci-libs/adolc/adolc-9999.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Automatic differentiation system for C/C++" -HOMEPAGE="https://projects.coin-or.org/ADOL-C/ https://github.com/coin-or/ADOL-C" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/coin-or/ADOL-C.git" -else - SRC_URI=" - https://github.com/coin-or/ADOL-C/archive/releases/${PV}.tar.gz -> ${P}.tar.gz - " - S="${WORKDIR}/ADOL-C-releases-${PV}" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" -fi - -LICENSE="|| ( EPL-1.0 GPL-2 )" -SLOT="0/$(ver_cut 1)" - -IUSE="+boost doc mpi openmp sparse test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - sparse? ( openmp ) -" - -RDEPEND=" - mpi? ( - sys-cluster/medipack:= - ) - sparse? ( - >=sci-libs/colpack-1.0.10_p20190621[openmp?] - ) -" -DEPEND="${RDEPEND} - boost? ( - dev-libs/boost:= - ) -" -BDEPEND=" - doc? ( - app-text/doxygen - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-9999-boost-1.90.patch" -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -src_prepare() { - cmake_src_prepare - - sed -e 's/...<1.2//' -i CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_INTERFACE="yes" # build the C interface library and headers for foreign language bindings - -DBUILD_TESTS="$(usex test)" - -DBUILD_TESTS_WITH_COV="$(usex test no)" - - $(cmake_use_find_package doc Doxygen) - $(cmake_use_find_package openmp OpenMP) - - -DENABLE_BOOST_POOL="$(usex boost)" # Enable the use of boost pool" - -DENABLE_MEDIPACK="$(usex mpi)" # MeDiPack: MPI wrapper for Algorithmic Differentiation tools. - -DENABLE_SPARSE="$(usex sparse)" # build sparse drivers (colpack required!) - ) - - if use sparse; then - mycmakeargs+=( - -DColPack_DIR="${ESYSROOT}/usr" - ) - fi - - cmake_src_configure -} diff --git a/sci-libs/adolc/files/adolc-2.7.2-boost-1.70.patch b/sci-libs/adolc/files/adolc-2.7.2-boost-1.70.patch deleted file mode 100644 index 550b2918a30a..000000000000 --- a/sci-libs/adolc/files/adolc-2.7.2-boost-1.70.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9b2bf1a6d17c2d39a4709afe3f3174e04a7e0fc3 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Fri, 13 Mar 2026 11:48:08 +0100 -Subject: [PATCH] boost-1.70 - -support boost::system header-only - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/autoconf/ax_boost_system.m4 b/autoconf/ax_boost_system.m4 -index 4d1c92b..c7cafd4 100644 ---- a/autoconf/ax_boost_system.m4 -+++ b/autoconf/ax_boost_system.m4 -@@ -78,6 +78,9 @@ AC_DEFUN([AX_BOOST_SYSTEM], - if test "x$ax_cv_boost_system" = "xyes"; then - AC_SUBST(BOOST_CPPFLAGS) - -+ if test "x$ax_boost_user_system_lib" = "xheader-only"; then -+ AC_DEFINE(HAVE_BOOST_SYSTEM,,[define if the Boost::System header is available]) -+ else - AC_DEFINE(HAVE_BOOST_SYSTEM,,[define if the Boost::System library is available]) - BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` - -@@ -112,6 +115,7 @@ AC_DEFUN([AX_BOOST_SYSTEM], - if test "x$link_system" = "xno"; then - AC_MSG_ERROR(Could not link against $ax_lib !) - fi -+ fi - fi - - CPPFLAGS="$CPPFLAGS_SAVED" --- -2.53.0 - diff --git a/sci-libs/adolc/files/adolc-9999-boost-1.90.patch b/sci-libs/adolc/files/adolc-9999-boost-1.90.patch deleted file mode 100644 index f2e83cad2b1b..000000000000 --- a/sci-libs/adolc/files/adolc-9999-boost-1.90.patch +++ /dev/null @@ -1,70 +0,0 @@ -From bc0263fb87e5e14c0b31b912c66b0895778654f0 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Fri, 13 Mar 2026 12:05:56 +0100 -Subject: [PATCH] boost 1.90 - -use BoostConfig.cmake (CMP0167) -boost::system is header only since boost 1.70, so require at least that - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/ADOL-C/boost-test/CMakeLists.txt b/ADOL-C/boost-test/CMakeLists.txt -index 4061a36..89a7635 100644 ---- a/ADOL-C/boost-test/CMakeLists.txt -+++ b/ADOL-C/boost-test/CMakeLists.txt -@@ -4,13 +4,13 @@ if(3RDPARTY_BOOST_DIR) - set(BOOST_ROOT ${3RDPARTY_BOOST_DIR}) - endif() - --set(BOOST_MIN_VERSION "1.59.0") -+set(BOOST_MIN_VERSION "1.70.0") - set(Boost_NO_BOOST_CMAKE ON) - --find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS unit_test_framework system) -+find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS unit_test_framework CONFIG) - - if(NOT Boost_FOUND) -- message(FATAL_ERROR "Fatal error: Boost (version >= 1.69.0) required.") -+ message(FATAL_ERROR "Fatal error: Boost (version >= 1.70.0) required.") - endif() - - find_package(OpenMP) -@@ -58,8 +58,7 @@ add_executable(boost-test-adolc ${SOURCE_FILES}) - target_include_directories(boost-test-adolc PRIVATE "${ADOLC_INCLUDE_DIR}") - target_link_libraries(boost-test-adolc PRIVATE - adolc -- Boost::system -- Boost::unit_test_framework) -+ ${Boost_LIBRARIES}) - - if(TARGET ADOLCInterface) - target_sources(boost-test-adolc PRIVATE c_interface_tape_loc.cpp) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 21063c1..138e842 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -179,7 +179,7 @@ endif (ENABLE_HARDDEBUG) - - - if (ENABLE_BOOST_POOL) -- find_package(Boost 1.54 REQUIRED COMPONENTS) -+ find_package(Boost 1.70 REQUIRED COMPONENTS CONFIG) - target_link_libraries(adolc PUBLIC Boost::boost) - set(USE_BOOST_POOL "#define USE_BOOST_POOL 1") - endif() -diff --git a/adolc-config.cmake.in b/adolc-config.cmake.in -index 4f89149..999dc16 100644 ---- a/adolc-config.cmake.in -+++ b/adolc-config.cmake.in -@@ -20,7 +20,7 @@ endif() - - set(WITH_BOOST @WITH_BOOST@) - if(WITH_BOOST) -- find_dependency(Boost 1.54 REQUIRED COMPONENTS system) -+ find_dependency(Boost 1.70 REQUIRED CONFIG) - endif() - - # Add the targets file --- -2.53.0 - diff --git a/sci-libs/adolc/metadata.xml b/sci-libs/adolc/metadata.xml deleted file mode 100644 index f3c691c62d82..000000000000 --- a/sci-libs/adolc/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The ADOLC system automatically calculates exact derivatives of a C/C++ function. It uses C++ overloading to record arithmetic operations, which it plays back later in various ways to calculate the requested values. - </longdescription> - <use> - <flag name="boost">Use the boost allocator from <pkg>dev-libs/boost</pkg></flag> - <flag name="sparse">Add support for sparse matrix algebra with <pkg>sci-libs/colpack</pkg></flag> - </use> - <upstream> - <remote-id type="github">coin-or/ADOL-C</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/alglib/Manifest b/sci-libs/alglib/Manifest deleted file mode 100644 index 2a62d08eccfb..000000000000 --- a/sci-libs/alglib/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST alglib-3.20.0.cpp.gpl.tgz 3325551 BLAKE2B bfc62cada202ed6becfd01a62cd6e9b46f500e0e4670e30422581880b825cdf3fcdc1b4b3197c0ce3a5a28c580eab83889b0c70769a38a78d9ed7e116e7cd013 SHA512 badd8789ab561d3345d7b3d75aa95732f5d0e1e44125ee4d8c2b3f89ef2ec44137206b9e869a89daeafd1e1f8efbd8240ad1cbde7ba8002748de9d8f525b970e -DIST alglib-4.07.0.cpp.gpl.tgz 4194757 BLAKE2B a8aba75f09218e0de63a080933feb1b36d240a1ca728fe97c2acda8eba0a533dd68fd52f0fc82a5bba7ab27d896109bdd36db6778c2237f2f287ed5beb9b8716 SHA512 abc0a5aecec019eb4fcb5b3a5a95e88ed1154a52f7348f944dee4ebc8079cddfc00de30b45c6a846a201d4064e55dbcad2afe09df5e74d51120f83277704d733 diff --git a/sci-libs/alglib/alglib-3.20.0.ebuild b/sci-libs/alglib/alglib-3.20.0.ebuild deleted file mode 100644 index 5bf267741364..000000000000 --- a/sci-libs/alglib/alglib-3.20.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ALGLIB_SOVER=$(ver_cut 1-2) -inherit cmake flag-o-matic - -DESCRIPTION="Numerical analysis and data processing library" -HOMEPAGE="https://www.alglib.net/" -SRC_URI="https://www.alglib.net/translator/re/${P}.cpp.gpl.tgz" -S="${WORKDIR}"/${PN}-cpp - -LICENSE="GPL-2+" -SLOT="0/${ALGLIB_SOVER}" -KEYWORDS="amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=">=dev-build/cmake-3.31" - -src_prepare() { - cp "${FILESDIR}"/CMakeLists.txt-3.20.0 CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # bug #862666 - append-flags -fno-strict-aliasing - filter-lto - - use x86 && append-cflags -ffloat-store - - local mycmakeargs=( - -DALGLIB_VERSION=${PV} - -DALGLIB_SOVERSION=${ALGLIB_SOVER} - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/sci-libs/alglib/alglib-4.07.0.ebuild b/sci-libs/alglib/alglib-4.07.0.ebuild deleted file mode 100644 index a86d0aa06ce7..000000000000 --- a/sci-libs/alglib/alglib-4.07.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ALGLIB_SOVER=$(ver_cut 1-2) -inherit cmake flag-o-matic - -DESCRIPTION="Numerical analysis and data processing library" -HOMEPAGE="https://www.alglib.net/" -SRC_URI="https://www.alglib.net/translator/re/${P}.cpp.gpl.tgz" -S="${WORKDIR}"/${PN}-cpp - -LICENSE="GPL-2+" -SLOT="0/${ALGLIB_SOVER}" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=">=dev-build/cmake-3.31" - -src_prepare() { - cp "${FILESDIR}"/CMakeLists.txt-3.20.0 CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # bug #862666 - append-flags -fno-strict-aliasing - filter-lto - - use x86 && append-cflags -ffloat-store - - local mycmakeargs=( - -DALGLIB_VERSION=${PV} - -DALGLIB_SOVERSION=${ALGLIB_SOVER} - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/sci-libs/alglib/files/CMakeLists.txt-3.20.0 b/sci-libs/alglib/files/CMakeLists.txt-3.20.0 deleted file mode 100644 index 6435fd57b1f3..000000000000 --- a/sci-libs/alglib/files/CMakeLists.txt-3.20.0 +++ /dev/null @@ -1,47 +0,0 @@ -cmake_minimum_required(VERSION 3.31) - -# Based on: https://src.fedoraproject.org/rpms/alglib/blob/rawhide/f/CMakeLists.txt - -set(ALGLIB_VERSION "" CACHE STRING "Package version") -set(ALGLIB_SOVERSION "" CACHE STRING "Shared library target ABI version") - -project(alglib - VERSION ${ALGLIB_VERSION} - LANGUAGES CXX -) - -include(GNUInstallDirs) -include(CTest) - -file(GLOB_RECURSE HDR RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/*.h) -file(GLOB_RECURSE SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/*.cpp) - -add_library(alglib SHARED ${SRC}) -set_target_properties(alglib PROPERTIES - SOVERSION ${ALGLIB_SOVERSION} - VERSION ${PROJECT_VERSION} -) -target_include_directories(alglib PUBLIC - $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src> -) - -install(TARGETS alglib) -install(FILES ${HDR} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alglib) - -if (BUILD_TESTING) - foreach(test IN ITEMS - test_c - test_i - # test_x - ) - add_executable(${test} tests/${test}.cpp) - target_compile_definitions(${test} PRIVATE - AE_USE_ALLOC_COUNTER - AE_DEBUG4POSIX - ) - target_link_libraries(${test} PRIVATE alglib) - add_test(NAME ${test} - COMMAND ${test} - ) - endforeach() -endif() diff --git a/sci-libs/alglib/metadata.xml b/sci-libs/alglib/metadata.xml deleted file mode 100644 index 176cf7661da8..000000000000 --- a/sci-libs/alglib/metadata.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - ALGLIB is a cross-platform numerical analysis and data processing library. It - supports several programming languages (C++, C#, Pascal, VBA) and several - operating systems (Windows, Linux, Solaris). ALGLIB features include: - - * Linear algebra (direct algorithms, EVD/SVD) - * Solvers (linear and nonlinear) - * Interpolation - * Optimization - * Fast Fourier transforms - * Numerical integration - * Linear and nonlinear least-squares fitting - * Ordinary differential equations - * Special functions - * Statistics (descriptive statistics, hypothesis testing) - * Data analysis (classification/regression, including neural networks) - * Multiple precision versions of linear algebra, interpolation optimization and - * others algorithms (using MPFR for floating point computations) - - Why to choose ALGLIB? Because it is: - - * portable. It can be compiled almost anywhere using almost any compiler - (see compatibility matrix for more info). - * easy to use. It supports many programming languages. If you use one language, - you don't need to study another (FORTRAN, for example) to compile and link an - external library. - * open source. It can be used for free under GPL 2+. - * suited for commercial users too. Those who want to use ALGLIB in commercial - applications can buy commercial license without copyleft requirement. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/amd/Manifest b/sci-libs/amd/Manifest deleted file mode 100644 index 3d4d04ce95ce..000000000000 --- a/sci-libs/amd/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST amd-2.4.6.tar.bz2 343925 BLAKE2B 296579d888b61e84ec798206fbb6f89fd923f0d762e84e7a1e2e2a5fb502f4822f89a2a4b631dc42fa829e845bf3980886185650e8de28774400e0c351805061 SHA512 6960a557e6c2f82ca2e68e48ddcb502e1527235a3ca34df2f5f7f63f0f12afacedb15fefe4a39768fe7a2c70308793544b5b24b6f2be2c6b934b0c0e0e796d57 diff --git a/sci-libs/amd/amd-2.4.6-r1.ebuild b/sci-libs/amd/amd-2.4.6-r1.ebuild deleted file mode 100644 index cf0c10f13189..000000000000 --- a/sci-libs/amd/amd-2.4.6-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED=fortran -inherit autotools fortran-2 - -DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="doc fortran" - -BDEPEND="virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND=">=sci-libs/suitesparseconfig-5.4.0" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-2.4.6-dash_doc.patch ) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable fortran) \ - $(use_with doc) -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/amd/amd-3.0.3.ebuild b/sci-libs/amd/amd-3.0.3.ebuild deleted file mode 100644 index 07bbb79d35b4..000000000000 --- a/sci-libs/amd/amd-3.0.3.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="fortran" -inherit cmake-multilib fortran-2 - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc fortran test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DNFORTRAN=$(usex fortran OFF ON) - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run demo files - local demofiles=( - amd_demo - amd_l_demo - amd_demo2 - amd_simple - ) - if use fortran; then - demofiles+=( - amd_f77simple - amd_f77demo - ) - fi - for i in ${demofiles[@]}; do - ./"${i}" > "${i}.out" || die "failed to run test ${i}" - diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}" - done - einfo "All tests passed" -} - -multilib_src_install() { - if use doc; then - pushd "${S}/Doc" - emake clean - rm -rf *.pdf - emake - popd - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/amd/amd-3.3.4.ebuild b/sci-libs/amd/amd-3.3.4.ebuild deleted file mode 100644 index 273c2031b99f..000000000000 --- a/sci-libs/amd/amd-3.3.4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="fortran" -inherit cmake fortran-2 - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc fortran test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_USE_FORTRAN=$(usex fortran ON OFF) - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Run demo files - local demofiles=( - amd_demo - amd_l_demo - amd_demo2 - amd_simple - ) - if use fortran; then - demofiles+=( - amd_f77simple - amd_f77demo - ) - fi - local i - for i in ${demofiles[@]}; do - ./"${i}" > "${i}.out" || die "${i} failed to run" - diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}" - done - einfo "All tests passed" -} - -src_install() { - if use doc; then - pushd "${S}/Doc" || die - emake clean - rm -rf *.pdf || die - emake - popd || die - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/amd/files/amd-2.4.6-dash_doc.patch b/sci-libs/amd/files/amd-2.4.6-dash_doc.patch deleted file mode 100644 index 62d9071422ce..000000000000 --- a/sci-libs/amd/files/amd-2.4.6-dash_doc.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/Doc/Makefile.am b/Doc/Makefile.am -index 44361ff..039b02f 100644 ---- a/Doc/Makefile.am -+++ b/Doc/Makefile.am -@@ -1,9 +1,8 @@ - - AMD_UserGuide.pdf: -- echo '\begin{verbatim}' > amd_h.tex -+ printf '\\begin{verbatim}\n' > amd_h.tex - expand -8 $(top_srcdir)/Include/amd.h >> amd_h.tex -- echo '\end{verbatim}' >> amd_h.tex -- -ln -s $(srcdir)/*.{tex,bib} . -+ printf '\\end{verbatim}\n' >> amd_h.tex - $(PDFLATEX) AMD_UserGuide - $(BIBTEX) AMD_UserGuide - $(PDFLATEX) AMD_UserGuide diff --git a/sci-libs/amd/metadata.xml b/sci-libs/amd/metadata.xml deleted file mode 100644 index 1ecd509a217e..000000000000 --- a/sci-libs/amd/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - AMD is a set of routines for ordering a sparse matrix prior to Cholesky - factorization (or for LU factorization with diagonal pivoting). There - are versions in both C and Fortran. - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/aotriton-bin/Manifest b/sci-libs/aotriton-bin/Manifest deleted file mode 100644 index cd3c6c51203e..000000000000 --- a/sci-libs/aotriton-bin/Manifest +++ /dev/null @@ -1,29 +0,0 @@ -DIST aotriton-0.11.1b-images-amd-gfx11xx.tar.gz 474328593 BLAKE2B ee2278bc7587f05ad5937574228081ebaade19f329da338b23aa87d5787ea31033e881ad4fbd9547e9ac2edff3289f60d068a556910853d9246d35c05155cdb8 SHA512 6768dbaf4befe62062949c78aeb206b398cf9f18a2555c0e761376f19466ca4ff7f8c812f3e9be5e24484d28bfcb0551de990f02271d07b410152fb48bebe296 -DIST aotriton-0.11.1b-images-amd-gfx120x.tar.gz 113221043 BLAKE2B b771381592b442d17b7d41aaf8e00dfa09a983a5b65f1d79f581bb4def3a1b6a890d7236d23c33cec6bfbfee9f4958dd29e735ff1a7a74fd81418ee4633dacd4 SHA512 7af0d9e83b889d27b77471dbf9e8640cc201b9c71e3035a1a97346ea52943a7dd1df36658809dada4effa5aa764f994c13167ca66fd2f659034027477dbedcc0 -DIST aotriton-0.11.1b-images-amd-gfx90a.tar.gz 98251299 BLAKE2B b6b3a46cbdacbf5402c9676fb514c0102bb1e0d62fe24cafbea9cb2f12dc58e688df3fa4bec0afdbcc62c69499c09da5570e09167bcd6f91d0a7aa37439cfa96 SHA512 d270c7e81f85bd1aa237e333062afdcc964250a20bdc77fd73264f9bba1989adada701b239c8a9786b12eeead78890ca003da343757c74b46ec60b49eeeef5d4 -DIST aotriton-0.11.1b-images-amd-gfx942.tar.gz 110229904 BLAKE2B 55ff800f2d412695a0cd59bae3cf95ceba12f6d6f3c58f51e9a3b9bd3de0b1c60bb3292bc06bb76a3b3d6ec8798b9ccfa49399aff7b280277f7fd07367f2d49b SHA512 7a9a9cc4d62363f8ea9328e9b9fe91bb2f7b1280af753a7604f6a5065cd6a3c9b4c92481dade691aee8d8b812dbd95e1839d28c230c6caf8a8ab6a841256e1eb -DIST aotriton-0.11.1b-images-amd-gfx950.tar.gz 118175665 BLAKE2B ecb651d899c8d6726233b2a630da00df618145746894f7da73ad8821d294cdbdbb1ca00ec6820ea4ed7e5c62d97ca4f22951349d72a8d525bc244e41f5173874 SHA512 f40063f17856e9ae53fa284ffba9e5572a5d3f127e741ce0e4bf2c38aadf44ee01fdb7f637715e7da6f3276165faa3ca28385ab521b04614a561c0fcda4f9894 -DIST aotriton-0.11.1b-manylinux_2_28_x86_64-rocm6.3-shared.tar.gz 4161334 BLAKE2B bdc7231471eb781a74b7d40514254045676e4313ab340c9bb26a83e7cbd7bce6ba5a26658b2c01bd4865eaa07409340c3be5820bd2bce4fbe5c34dce8d8c147d SHA512 792f301b4f379a378024ab6392901885f955c0af53ee46d95db79c14f9abff32f72a31b2f1590a731f57107c823463184a69605dfe38e1dfb794e4dc163cb644 -DIST aotriton-0.11.1b-manylinux_2_28_x86_64-rocm6.4-shared.tar.gz 4161126 BLAKE2B 8619c04296aabed8b47c0d4730249c1e658ea1bb12e8af38d450044541a7866f846a7bdae544f97b8626044d26db3b39b8da195d511bf3e143a2e802c5ac8929 SHA512 d22bbce9ae5368075ae4efe4c0209968296ef5fab43c009419716353958f1d4217ae99d12c5b549eb3979748d7564a5caf02d6b336bcbfa5f1619736c665d32d -DIST aotriton-0.11.1b-manylinux_2_28_x86_64-rocm7.0-shared.tar.gz 4162593 BLAKE2B 01fafe4627989ec7767ec6e533d13f3726d42a977ce29c7a047d22e39f8caef60bf04c0043e5bae73d2ae3941c1ecc69896c82b7f3e25ecc2a555ea6c25e506c SHA512 6fc660784ede5aa07b90873dc845b1a14edb5b3762af26d028271052e866245cbd5a81ada937addb60b1202d51fd0ba3c9218707c6024f40eed4f74f83707726 -DIST aotriton-0.11.1b-manylinux_2_28_x86_64-rocm7.1-shared.tar.gz 4209568 BLAKE2B d53dddb8452b0833dc6ca5cd9f3d2d2fd2050384efe4a5eb48ccfaed5d5dccae7202a9e1e58ae229a02aa4a41dddd9286cef10bdb9c979d6e4580f4dfc795d82 SHA512 518c6ec31344fc3047769260faa6b5dbb2785eac898af12a9bca6b32f7f4836ea61e631d6a79de75a94272dba4fd492c20fead95e40694aa07132d5a86deedd4 -DIST aotriton-0.11.2b-images-amd-gfx11xx.tar.gz 475390993 BLAKE2B b126d6fbc6073725bbb51f917b46c387b2e9ac59943b28d498962b429d02c9829206c032b2b98ba76f22ab1c778c8f2c2f7491493ae3a51b377667988fb113b3 SHA512 2ff54ae64be7979efcf8c3cc53e74b9f8c7c42c268ef936cc11f1919e1877e9618befbda9cdcfc245144ab5d3ba208f29be8da4ef268fbce73b45828f6ea4042 -DIST aotriton-0.11.2b-images-amd-gfx120x.tar.gz 113221043 BLAKE2B b771381592b442d17b7d41aaf8e00dfa09a983a5b65f1d79f581bb4def3a1b6a890d7236d23c33cec6bfbfee9f4958dd29e735ff1a7a74fd81418ee4633dacd4 SHA512 7af0d9e83b889d27b77471dbf9e8640cc201b9c71e3035a1a97346ea52943a7dd1df36658809dada4effa5aa764f994c13167ca66fd2f659034027477dbedcc0 -DIST aotriton-0.11.2b-images-amd-gfx90a.tar.gz 98251299 BLAKE2B b6b3a46cbdacbf5402c9676fb514c0102bb1e0d62fe24cafbea9cb2f12dc58e688df3fa4bec0afdbcc62c69499c09da5570e09167bcd6f91d0a7aa37439cfa96 SHA512 d270c7e81f85bd1aa237e333062afdcc964250a20bdc77fd73264f9bba1989adada701b239c8a9786b12eeead78890ca003da343757c74b46ec60b49eeeef5d4 -DIST aotriton-0.11.2b-images-amd-gfx942.tar.gz 110229904 BLAKE2B 55ff800f2d412695a0cd59bae3cf95ceba12f6d6f3c58f51e9a3b9bd3de0b1c60bb3292bc06bb76a3b3d6ec8798b9ccfa49399aff7b280277f7fd07367f2d49b SHA512 7a9a9cc4d62363f8ea9328e9b9fe91bb2f7b1280af753a7604f6a5065cd6a3c9b4c92481dade691aee8d8b812dbd95e1839d28c230c6caf8a8ab6a841256e1eb -DIST aotriton-0.11.2b-images-amd-gfx950.tar.gz 118175665 BLAKE2B ecb651d899c8d6726233b2a630da00df618145746894f7da73ad8821d294cdbdbb1ca00ec6820ea4ed7e5c62d97ca4f22951349d72a8d525bc244e41f5173874 SHA512 f40063f17856e9ae53fa284ffba9e5572a5d3f127e741ce0e4bf2c38aadf44ee01fdb7f637715e7da6f3276165faa3ca28385ab521b04614a561c0fcda4f9894 -DIST aotriton-0.11.2b-manylinux_2_28_x86_64-rocm6.3-shared.tar.gz 4882179 BLAKE2B 40b06604015cb71415025278afa547eee39bf3a025b7382020498e7f9926a31316c0a1f08f2661737b2df1464655655669aa48fe3e7bc04dec73ef7578bb2e62 SHA512 26b93052f12f0d8f896e08fd3a764fbe2157c7606943a94a8eb0b080c20be67b58860792f3381beaf010f20c9510b48e410b9f8f6d846fb007927b2c1d17dc64 -DIST aotriton-0.11.2b-manylinux_2_28_x86_64-rocm6.4-shared.tar.gz 4879740 BLAKE2B b4f822344a893d59eba0ddd17faa831ece1aef85bd6f9bf983b8a4946d99336d68e9fdd33c74f4064fb15f4d51775193fbef417c7e7c7ae8c0ed66276bf61e2b SHA512 ceabc1fc8af2bef2aa210dab23cb2a132914e5c340d918ba9e3041e6c9383151cff6632fc52654e46956c28fa2a2e0d5304c91108873b3ad6647d5b6db86957d -DIST aotriton-0.11.2b-manylinux_2_28_x86_64-rocm7.0-shared.tar.gz 4884827 BLAKE2B 1d096205459d27329c0221ab95c509e4cb49092887cacf97a5a43e18e51eb995367cf9e688353373e02b113fc647f73f188c8ad3062f85761375fa6c3316af81 SHA512 94c9533804f60b0f67419057dddc568985cc4b93c2fdc6aae39f6cca6f25362aeccb7df4ba8141a3703d42f84854a2827da53e23d46fde7a62e897426f6aae4e -DIST aotriton-0.11.2b-manylinux_2_28_x86_64-rocm7.1-shared.tar.gz 4929689 BLAKE2B 5e9993554a2ad107d7b398cc0a9b79ed427b569f4b9af0a885c4ddfa7616e1532af86379e5fadbdc13f2af1a69236d0e414f15fdb022e659a56d848e3fa3e05b SHA512 2afe6fa42b9cdd664667ba930c14db42393b911123f933dafc0f3fc7abb9ba2fbcd9e866274d544e91993d358cfcf90573919b0ac6b290380045e1cd0d88bbba -DIST aotriton-0.11.2b-manylinux_2_28_x86_64-rocm7.2-shared.tar.gz 4928919 BLAKE2B e8e271d8aa2f2701583473b4c7aaa6cbe606b4c5f8f6ba0b0456f72a72953936cc2087bff3c6d0dd795cc4238d8339aa1ff078b3bc779c31aa1d8a019043c744 SHA512 67ef80a47a00817ea11f7626ce2adcb11e0e4de18b89844f6301394e1424f5ad084c3274699db9192f8639e01d7c90480d21f350c7cdcb3ba68ee5d5352ec1c8 -DIST aotriton-0.11b-images-amd-gfx11xx.tar.gz 384412088 BLAKE2B 224345d8cd45ac7e8757b26a05fb42b4a831d154736109df2ea2a748dacefada4bb4763b31095dfbd16e049e85f12d3e9790603edd69bbe4ab7741ce1e6116a3 SHA512 06ea4231431e2868d401065a0d6d24e50065e235dd21795bd5365d15feb44d3b07d3c3c1439259381472285b79d1f39ce3f096196a6a8b524d73f2827ab5fb75 -DIST aotriton-0.11b-images-amd-gfx120x.tar.gz 113219528 BLAKE2B 138e88677e967e8e2d0bdfbffe9017ae39c91e7fe5d4e3c3e09e51bb431a2558eae520906cf54742982352fb6d738eb95281c4a8ef343a0da75166595424e1c9 SHA512 d5e8f9e60e9d2a6a8545c48e9ed5f5be88a0b31e79b4109cd49bc58e564a35df5d2bf2825bccfc907d150c383fa266225f6c19a3c2ee897609f1db283416177e -DIST aotriton-0.11b-images-amd-gfx90a.tar.gz 98251729 BLAKE2B b5b62845a17e8e5975698a1d2779ff0b1b7547d2b6fb0258e98d3d110d8995caf8837bfa2051ba2f3e91f1006871658ea0f5f04f8a570f35a02b2daa6642e6b2 SHA512 ef8415216fcc5c4d0d0b8ed44ffd73c5a4710384e04640aad7abfba091fb2150f17570bddab453ef7a0a8c7529dada8651f317b10cc749da3f4bef9cfc76b5eb -DIST aotriton-0.11b-images-amd-gfx942.tar.gz 110229134 BLAKE2B 2b3ff118ed511b72722b9b8c86668d3513b3a0e53d7ddbd15a1de1462d63f91e726fd46611a455893d55d28de289772e12e13de4dce1df76f49f88d6a052ad81 SHA512 d968d845522a281fa0210e43a02e787bbef495d2a2e58396ecbb0dae7d96e0bb51fc9d9c9e263eeefb50c064ed5f2c6300e5bab0a101d1eb32f76462852b1168 -DIST aotriton-0.11b-images-amd-gfx950.tar.gz 118174108 BLAKE2B 3058d9d45630a21ad7275bd36d98b0f802890ac64b8393a2e86500e088e6f4a41ba1602519e1583f8a9edd0ef62295de20949e5a33df11728c1155f9dc2b0e4f SHA512 6a8f24f94b144a2a5e9f81a4bdec1cdc1a829d18f4240c23d33445af843d9c8d36d115ec0362b4c78b60e43ac014302b1439bc6cff1c48a0981bd7834e37fe9a -DIST aotriton-0.11b-manylinux_2_28_x86_64-rocm6.3-shared.tar.gz 3820239 BLAKE2B c9c98f51999c5b9a4c03496e60d599ad7832e15547cfe53ac6e63613257e2d738cac915be6d279cae99de112442ab2697b416a0e30bc9d2e39f8a04145ef9aa8 SHA512 4b900b6991bbf84961d7a2f25cc56b84f2738472daa26f863123271ce9f1d0af0bcd30c01b1595428a8d93c543d497f46b4ab54326eb37c2300f6ea425e6a1a5 -DIST aotriton-0.11b-manylinux_2_28_x86_64-rocm6.4-shared.tar.gz 3820222 BLAKE2B d7ae6d7aacb72b8e54ed35810214a42cbe29fcb876c338767455180fcde48639f8150a48a6301fd0f1bfb0d250c5272299c3a7839ed62b2f1cf919794190e935 SHA512 9c9f163be9db26aa3221c54eff63f72d6d66bb658b9416ed4ba383194e40579dc0484b78aca93147a165fae1cd09d6f72301e2e5a9ff77f2b56ef763952af98f -DIST aotriton-0.11b-manylinux_2_28_x86_64-rocm7.0-shared.tar.gz 3826186 BLAKE2B 7ea9f191f9a7217551f3eca2acee6e04f059e4544d44452c904481f1845e432b6f7de0ca7019344fd6cd348edde18672eb4f2a25d4dd3d1f36c4fe2df97f34b4 SHA512 bbe88a0d65f0dc145db95fc3eb6ee35ec72bec7f194993f93e46bb52331212be18187b5eab3d364863d66e53836ba55e805602e6464fba396a77ab927d45c799 -DIST aotriton-0.11b-manylinux_2_28_x86_64-rocm7.1-shared.tar.gz 3867807 BLAKE2B b0e8e3c6d2b1f09969d50306c4e27cc879f866f8a4012082e0da320a2f6acd34651ecf17d94fc10d6611b11d252095c89b4d3a660923a9842c6817a0255e7cc8 SHA512 1f34156f5c8f396e76a2dff4270a8a953962c602048fa3890cac7887be7d316515995643139396bc5e318dc0ec8802b29a7256082ab870927ee7d663d4a1a8fc -DIST aotriton-0.9.2b-manylinux_2_28_x86_64-rocm6.4-shared.tar.gz 444787060 BLAKE2B 26cc079073919266c635e4ee3e7f69fa275fd1351b90cf472c639cd514be09187932868103e4c958f94cfb66e9cf74f6d8f9aac536868ec32272546d80180872 SHA512 b7e14e45e584795470a729a8fcfd6130886bbe772bb201b0afcb1786dc09c58bfae1d8e6e9024919dce93b90d2208271da5716b36a01bfaf1633c177fa1853e5 diff --git a/sci-libs/aotriton-bin/aotriton-bin-0.11.1b-r1.ebuild b/sci-libs/aotriton-bin/aotriton-bin-0.11.1b-r1.ebuild deleted file mode 100644 index 3ae4d4e242d0..000000000000 --- a/sci-libs/aotriton-bin/aotriton-bin-0.11.1b-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=${PN%*-bin} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Ahead of Time (AOT) Triton Math Library (binary package)" -HOMEPAGE="https://github.com/ROCm/aotriton" - -URI_PREFIX="https://github.com/ROCm/${MY_PN}/releases/download/${PV}" -SHIM_URI_PREFIX="${URI_PREFIX}/${MY_P}-manylinux_2_28_x86_64" -IMAGES_URI_PREFIX="${URI_PREFIX}/${MY_P}-images-amd" - -# Download libs for all rocm releases (4mb each), but unpack only one. -SRC_URI=" - ${SHIM_URI_PREFIX}-rocm6.3-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm6.4-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm7.0-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm7.1-shared.tar.gz - - amdgpu_targets_gfx90a? ( ${IMAGES_URI_PREFIX}-gfx90a.tar.gz ) - amdgpu_targets_gfx942? ( ${IMAGES_URI_PREFIX}-gfx942.tar.gz ) - amdgpu_targets_gfx950? ( ${IMAGES_URI_PREFIX}-gfx950.tar.gz ) - - amdgpu_targets_gfx1100? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1101? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1102? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1103? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1150? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1151? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - - amdgpu_targets_gfx1200? ( ${IMAGES_URI_PREFIX}-gfx120x.tar.gz ) - amdgpu_targets_gfx1201? ( ${IMAGES_URI_PREFIX}-gfx120x.tar.gz ) -" -S="${WORKDIR}/${MY_PN}" - -LICENSE="MIT" -SLOT="0/${PV%b}" - -KEYWORDS="-* ~amd64" - -IUSE_TARGETS=( - gfx90a - gfx942 - gfx950 - gfx1100 - gfx1101 - gfx1102 - gfx1103 - gfx1150 - gfx1151 - gfx1200 - gfx1201 -) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+}" - -RESTRICT="strip" -QA_PREBUILT="usr/lib*/libaotriton_v2.so.*" - -# glibc & gcc: linked with manylinux version, no rebuild required -# xz-utils: used to decompress lzma blobs with kernels in runtime -# dev-util/hip: must be in sync with SRC_URI -# and trigger reinstall on sub-slot change. -RDEPEND=" - sys-libs/glibc - sys-devel/gcc - app-arch/xz-utils - >=dev-util/hip-6.3:= - <dev-util/hip-7.2:= -" - -src_unpack() { - # *-rocmX.X-shared.tar.gz archives with host code have the same structure, - # so decompression of all of them would overwrite files of each other. - # Instead we decompress only one version for current dev-util/hip. - local hippkg=$(best_version dev-util/hip) - local rocmver="$(ver_cut 1-2 "${hippkg#*hip-}")" - local file - for file in ${A}; do - [[ $file == *-rocm${rocmver}-*.tar.gz || $file == *-gfx*.tar.gz ]] && - unpack "${file}" - done -} - -src_install() { - doheader -r include/* - - insinto /usr/$(get_libdir) - doins -r lib/* -} diff --git a/sci-libs/aotriton-bin/aotriton-bin-0.11.2b.ebuild b/sci-libs/aotriton-bin/aotriton-bin-0.11.2b.ebuild deleted file mode 100644 index bd4520eb28fe..000000000000 --- a/sci-libs/aotriton-bin/aotriton-bin-0.11.2b.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=${PN%*-bin} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Ahead of Time (AOT) Triton Math Library (binary package)" -HOMEPAGE="https://github.com/ROCm/aotriton" - -URI_PREFIX="https://github.com/ROCm/${MY_PN}/releases/download/${PV}" -SHIM_URI_PREFIX="${URI_PREFIX}/${MY_P}-manylinux_2_28_x86_64" -IMAGES_URI_PREFIX="${URI_PREFIX}/${MY_P}-images-amd" - -# Download libs for all rocm releases (4mb each), but unpack only one. -SRC_URI=" - ${SHIM_URI_PREFIX}-rocm6.3-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm6.4-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm7.0-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm7.1-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm7.2-shared.tar.gz - - amdgpu_targets_gfx90a? ( ${IMAGES_URI_PREFIX}-gfx90a.tar.gz ) - amdgpu_targets_gfx942? ( ${IMAGES_URI_PREFIX}-gfx942.tar.gz ) - amdgpu_targets_gfx950? ( ${IMAGES_URI_PREFIX}-gfx950.tar.gz ) - - amdgpu_targets_gfx1100? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1101? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1102? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1103? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1150? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1151? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - - amdgpu_targets_gfx1200? ( ${IMAGES_URI_PREFIX}-gfx120x.tar.gz ) - amdgpu_targets_gfx1201? ( ${IMAGES_URI_PREFIX}-gfx120x.tar.gz ) -" -S="${WORKDIR}/${MY_PN}" - -LICENSE="MIT" -SLOT="0/${PV%b}" - -KEYWORDS="-* ~amd64" - -IUSE_TARGETS=( - gfx90a - gfx942 - gfx950 - gfx1100 - gfx1101 - gfx1102 - gfx1103 - gfx1150 - gfx1151 - gfx1200 - gfx1201 -) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+}" - -RESTRICT="strip" -QA_PREBUILT="usr/lib*/libaotriton_v2.so.*" - -# glibc & gcc: linked with manylinux version, no rebuild required -# xz-utils: used to decompress lzma blobs with kernels in runtime -# dev-util/hip: must be in sync with SRC_URI -# and trigger reinstall on sub-slot change. -RDEPEND=" - sys-libs/glibc - sys-devel/gcc - app-arch/xz-utils - >=dev-util/hip-6.3:= - <dev-util/hip-7.3:= -" - -src_unpack() { - # *-rocmX.X-shared.tar.gz archives with host code have the same structure, - # so decompression of all of them would overwrite files of each other. - # Instead we decompress only one version for current dev-util/hip. - local hippkg=$(best_version dev-util/hip) - local rocmver="$(ver_cut 1-2 "${hippkg#*hip-}")" - local file - for file in ${A}; do - [[ $file == *-rocm${rocmver}-*.tar.gz || $file == *-gfx*.tar.gz ]] && - unpack "${file}" - done -} - -src_install() { - doheader -r include/* - - insinto /usr/$(get_libdir) - doins -r lib/* -} diff --git a/sci-libs/aotriton-bin/aotriton-bin-0.11b-r1.ebuild b/sci-libs/aotriton-bin/aotriton-bin-0.11b-r1.ebuild deleted file mode 100644 index fdd8b10b75f1..000000000000 --- a/sci-libs/aotriton-bin/aotriton-bin-0.11b-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=${PN%*-bin} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Ahead of Time (AOT) Triton Math Library (binary package)" -HOMEPAGE="https://github.com/ROCm/aotriton" - -URI_PREFIX="https://github.com/ROCm/${MY_PN}/releases/download/${PV}" -SHIM_URI_PREFIX="${URI_PREFIX}/${MY_P}-manylinux_2_28_x86_64" -IMAGES_URI_PREFIX="${URI_PREFIX}/${MY_P}-images-amd" - -# Download libs for all rocm releases (3mb each), but unpack only one. -SRC_URI=" - ${SHIM_URI_PREFIX}-rocm6.3-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm6.4-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm7.0-shared.tar.gz - ${SHIM_URI_PREFIX}-rocm7.1-shared.tar.gz - - amdgpu_targets_gfx90a? ( ${IMAGES_URI_PREFIX}-gfx90a.tar.gz ) - amdgpu_targets_gfx942? ( ${IMAGES_URI_PREFIX}-gfx942.tar.gz ) - amdgpu_targets_gfx950? ( ${IMAGES_URI_PREFIX}-gfx950.tar.gz ) - - amdgpu_targets_gfx1100? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1101? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1102? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1150? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - amdgpu_targets_gfx1151? ( ${IMAGES_URI_PREFIX}-gfx11xx.tar.gz ) - - amdgpu_targets_gfx1200? ( ${IMAGES_URI_PREFIX}-gfx120x.tar.gz ) - amdgpu_targets_gfx1201? ( ${IMAGES_URI_PREFIX}-gfx120x.tar.gz ) -" -S="${WORKDIR}/${MY_PN}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" - -KEYWORDS="-* ~amd64" - -IUSE_TARGETS=( - gfx90a - gfx942 - gfx950 - gfx1100 - gfx1101 - gfx1102 - gfx1150 - gfx1151 - gfx1200 - gfx1201 -) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+}" - -RESTRICT="strip" -QA_PREBUILT="usr/lib*/libaotriton_v2.so.*" - -# glibc & gcc: linked with manylinux version, no rebuild required -# xz-utils: used to decompress lzma blobs with kernels in runtime -# dev-util/hip: must be in sync with SRC_URI -# and trigger reinstall on sub-slot change. -RDEPEND=" - sys-libs/glibc - sys-devel/gcc - app-arch/xz-utils - >=dev-util/hip-6.3:= - <dev-util/hip-7.2:= -" - -src_unpack() { - # *-rocmX.X-shared.tar.gz archives with host code have the same structure, - # so decompression of all of them would overwrite files of each other. - # Instead we decompress only one version for current dev-util/hip. - local hippkg=$(best_version dev-util/hip) - local rocmver="$(ver_cut 1-2 "${hippkg#*hip-}")" - local file - for file in ${A}; do - [[ $file == *-rocm${rocmver}-*.tar.gz || $file == *-gfx*.tar.gz ]] && - unpack "${file}" - done -} - -src_install() { - doheader -r include/* - - insinto /usr/$(get_libdir) - doins -r lib/* -} diff --git a/sci-libs/aotriton-bin/aotriton-bin-0.9.2b.ebuild b/sci-libs/aotriton-bin/aotriton-bin-0.9.2b.ebuild deleted file mode 100644 index 84e53cbf5d3c..000000000000 --- a/sci-libs/aotriton-bin/aotriton-bin-0.9.2b.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=6.4 - -MY_PN=${PN%*-bin} -MY_P=${MY_PN}-${PV} -MY_tar=${MY_P}-manylinux_2_28_x86_64-rocm${ROCM_VERSION}-shared.tar.gz - -DESCRIPTION="Ahead of Time (AOT) Triton Math Library (binary package)" -HOMEPAGE="https://github.com/ROCm/aotriton" -SRC_URI="https://github.com/ROCm/${MY_PN}/releases/download/${PV}/${MY_tar}" -S="${WORKDIR}/${MY_PN}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" - -KEYWORDS="-* ~amd64" - -RESTRICT="strip" -QA_PREBUILT="*" - -RDEPEND=" - sys-libs/glibc - sys-devel/gcc - app-arch/xz-utils - dev-util/hip:0/${ROCM_VERSION} -" - -src_install() { - doheader -r include/* - - insinto /usr/$(get_libdir) - doins -r lib/* -} diff --git a/sci-libs/aotriton-bin/metadata.xml b/sci-libs/aotriton-bin/metadata.xml deleted file mode 100644 index 6e9ec61373db..000000000000 --- a/sci-libs/aotriton-bin/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/aotriton</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/arborx/Manifest b/sci-libs/arborx/Manifest deleted file mode 100644 index 7f88fff2f4fd..000000000000 --- a/sci-libs/arborx/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST arborx-1.4.1.tar.gz 408999 BLAKE2B 83e172f89ac8ff82d4add40fd036457d9c563b44c11b15d86aa884dc03742f3e22a13cc4b6f068ef377fcd8e63d239f704dd1821772079d2f9f8c169b1f31fae SHA512 3799deed5eae1e6092c19a62894207ac0ccd81ba84c8d42734fa3d0e5a3fc9d6a8f7b1442d2203b06f4e251970569f67506d419fb6695039c11e78dfd740e565 -DIST arborx-1.6.tar.gz 437155 BLAKE2B a49d91eb629c51550440f88f679a10b83b6421294beb467011a3f3f8c88b1b9691b8d09dfca1703334dc43813bb03d93f48967dcc50e265d5be893712a771e86 SHA512 f493a4e545fcd92dc47301dd77fdfa1a779a8b211480371055dc22e051ccc78dc54486c0477bed110d3b1fecc3edbcb211eeea88dbe335b010970c150eca3a19 -DIST arborx-2.0.tar.gz 450551 BLAKE2B e5b778e43acfcc9e0bb272fc9ff32efd02303621bdaf22586e8d55815d2fc0b7b5a54a8093f117aa40433e9cb43453914cded1d4708aaffc4be757435637af16 SHA512 27e7b7bf1f60b6363ae2855f78549bcb5a56e5b31da686d47b7bedb486707e74b91d16deb0f29584f62b875878cf9fe0299b7467040325a52ee70371cc45878b diff --git a/sci-libs/arborx/arborx-1.4.1-r1.ebuild b/sci-libs/arborx/arborx-1.4.1-r1.ebuild deleted file mode 100644 index 062b94eb159d..000000000000 --- a/sci-libs/arborx/arborx-1.4.1-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for performance portable algorithms for geometric search" -HOMEPAGE="https://github.com/arborx/ArborX" - -SRC_URI="https://github.com/${PN}/ArborX/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64 ~x86" - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="mpi" - -RDEPEND="dev-libs/boost:= - mpi? ( virtual/mpi ) - sci-libs/trilinos" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/ArborX-${PV} - -src_prepare() { - cmake_src_prepare - - # replace hardcoded "lib/" directory: - sed -i -e "s#lib/#$(get_libdir)/#g" CMakeLists.txt || die "sed failed" -} - -src_configure() { - local mycmakeargs=( - -DARBORX_ENABLE_MPI="$(usex mpi)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/arborx/arborx-1.6.ebuild b/sci-libs/arborx/arborx-1.6.ebuild deleted file mode 100644 index 062b94eb159d..000000000000 --- a/sci-libs/arborx/arborx-1.6.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for performance portable algorithms for geometric search" -HOMEPAGE="https://github.com/arborx/ArborX" - -SRC_URI="https://github.com/${PN}/ArborX/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64 ~x86" - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="mpi" - -RDEPEND="dev-libs/boost:= - mpi? ( virtual/mpi ) - sci-libs/trilinos" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/ArborX-${PV} - -src_prepare() { - cmake_src_prepare - - # replace hardcoded "lib/" directory: - sed -i -e "s#lib/#$(get_libdir)/#g" CMakeLists.txt || die "sed failed" -} - -src_configure() { - local mycmakeargs=( - -DARBORX_ENABLE_MPI="$(usex mpi)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/arborx/arborx-2.0.ebuild b/sci-libs/arborx/arborx-2.0.ebuild deleted file mode 100644 index 062b94eb159d..000000000000 --- a/sci-libs/arborx/arborx-2.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for performance portable algorithms for geometric search" -HOMEPAGE="https://github.com/arborx/ArborX" - -SRC_URI="https://github.com/${PN}/ArborX/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64 ~x86" - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="mpi" - -RDEPEND="dev-libs/boost:= - mpi? ( virtual/mpi ) - sci-libs/trilinos" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/ArborX-${PV} - -src_prepare() { - cmake_src_prepare - - # replace hardcoded "lib/" directory: - sed -i -e "s#lib/#$(get_libdir)/#g" CMakeLists.txt || die "sed failed" -} - -src_configure() { - local mycmakeargs=( - -DARBORX_ENABLE_MPI="$(usex mpi)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/arborx/metadata.xml b/sci-libs/arborx/metadata.xml deleted file mode 100644 index 0a701dff0e71..000000000000 --- a/sci-libs/arborx/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - ArborX is an open-source library designed to provide performance - portable algorithms for geometric search, similarly to nanoflann - and Boost Geometry. - </longdescription> - <upstream> - <remote-id type="github">arborx/ArborX</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/armadillo/Manifest b/sci-libs/armadillo/Manifest deleted file mode 100644 index cdc609756258..000000000000 --- a/sci-libs/armadillo/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST armadillo-14.6.1.tar.xz 7159088 BLAKE2B 538d709bb67cf0e5b76b48b230496dfe67065c429c7656af14e73821669e5688d66e0626045a8671b4225e2c733035aaf3ea58b39a9e447e3ba4df3a78db0c98 SHA512 d78b8a04ff7688bcc0d23ae32107186a68464fe5c66b79142cd84bf088f2cfaac38b0f0119acc02ab472ed1463f1e63241408c787dee0403929d0adf6cfdcb45 -DIST armadillo-15.0.3.tar.xz 7175076 BLAKE2B ba0bfcc0ef909f6cd407cd21b884a83115a1b53d7c8914b815b01054849c56c7f98fa30a75bf1d94be24876c2ef121191d519481845b0db1cd83a0833f7a8cfc SHA512 52416b08690592c5b591f06b3d481d70e9d12529fd83bd7d0643435d5f66744be464c23e6e908f65148ede617be77c113fd7c0779fb802916fce6ce177de27db diff --git a/sci-libs/armadillo/armadillo-14.6.1.ebuild b/sci-libs/armadillo/armadillo-14.6.1.ebuild deleted file mode 100644 index 47618e4259ef..000000000000 --- a/sci-libs/armadillo/armadillo-14.6.1.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Streamlined C++ linear algebra library" -HOMEPAGE="https://arma.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/arma/${P}.tar.xz" - -LICENSE="Apache-2.0" -SLOT="0/14" -KEYWORDS="amd64 ~arm ppc64 ~riscv ~x86" -IUSE="arpack blas doc examples lapack mkl superlu test" -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( arpack lapack superlu )" - -# atlas? ( sci-libs/atlas[lapack] ) -RDEPEND=" - dev-libs/boost - arpack? ( sci-libs/arpack ) - blas? ( virtual/blas ) - lapack? ( virtual/lapack ) - mkl? ( sci-libs/mkl ) - superlu? ( >=sci-libs/superlu-5.2:= ) -" -DEPEND="${RDEPEND} - arpack? ( virtual/pkgconfig ) - blas? ( virtual/pkgconfig ) - lapack? ( virtual/pkgconfig ) -" - -src_prepare() { - # avoid the automagic cmake macros... - sed -i -e 's/^ *include(ARMA_Find/# No automagic include(ARMA_Find/g' CMakeLists.txt || die - - # ... except for mkl, since without a license it's hard to figure out what to do there - if use mkl; then - sed -i -e 's/^# No automagic include(ARMA_FindMKL)/include(ARMA_FindMKL)/g' CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - # odr violations - filter-lto - - # Similar case to https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1361 - # spmat.cpp:1137: FAILED: - # REQUIRE( c(1, 0) == d(1, 0) ) - #with expansion: - # 0 == -0.0 - append-flags -ffp-contract=on - - local mycmakeargs=( - -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" - ) - if use arpack; then - mycmakeargs+=( - -DARPACK_FOUND=ON - -DARPACK_LIBRARY="$($(tc-getPKG_CONFIG) --libs arpack)" - ) - # bug #902451 - # config.hpp is supposed to define -DARMA_USE_*. but this header isnt included consistently... - append-cppflags -DARMA_USE_ARPACK - else - mycmakeargs+=( - -DARPACK_FOUND=OFF - ) - fi -# if use atlas; then -# local c=atlas-cblas l=atlas-clapack -# $(tc-getPKG_CONFIG) --exists ${c}-threads && c+=-threads -# $(tc-getPKG_CONFIG) --exists ${l}-threads && l+=-threads -# mycmakeargs+=( -# -DCBLAS_FOUND=ON -# -DCBLAS_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${c} | sed 's/-I//')" -# -DCBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${c})" -# -DCLAPACK_FOUND=ON -# -DCLAPACK_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${l} | sed 's/-I//')" -# -DCLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${l})" -# ) -# fi - if use blas; then - mycmakeargs+=( - -DBLAS_FOUND=ON - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" - ) - # bug #902451 - append-cppflags -DARMA_USE_BLAS - else - mycmakeargs+=( - -DBLAS_FOUND=OFF - ) - fi - if use lapack; then - mycmakeargs+=( - -DLAPACK_FOUND=ON - -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)" - ) - # bug #902451 - append-cppflags -DARMA_USE_LAPACK - else - mycmakeargs+=( - -DLAPACK_FOUND=OFF - ) - fi - if use superlu; then - mycmakeargs+=( - -DSuperLU_FOUND=ON - -DSuperLU_LIBRARY="$($(tc-getPKG_CONFIG) --libs superlu)" - -DSuperLU_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I superlu | awk '{print $1}' | sed 's/-I//')" - ) - # bug #902451 - append-cppflags -DARMA_USE_SUPERLU - else - mycmakeargs+=( - -DSuperLU_FOUND=OFF - ) - fi - - cmake_src_configure -} - -src_test() { - cmake_src_test || die - - pushd tests2 > /dev/null - emake \ - CXX="$(tc-getCXX)" \ - CXX_FLAGS="-I../include ${CXXFLAGS} ${CPPFLAGS}" \ - LIB_FLAGS="-L${BUILD_DIR} -larmadillo $($(tc-getPKG_CONFIG) --libs blas lapack) $($(tc-getPKG_CONFIG) --libs superlu) $($(tc-getPKG_CONFIG) --libs arpack)" - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" ./main || die - emake clean - popd > /dev/null -} - -src_install() { - cmake_src_install - - dodoc README.md - use doc && dodoc *pdf *html - - if use examples; then - docinto examples - dodoc -r examples/* - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/sci-libs/armadillo/armadillo-15.0.3.ebuild b/sci-libs/armadillo/armadillo-15.0.3.ebuild deleted file mode 100644 index 044b73afdad0..000000000000 --- a/sci-libs/armadillo/armadillo-15.0.3.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Streamlined C++ linear algebra library" -HOMEPAGE="https://arma.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/arma/${P}.tar.xz" - -LICENSE="Apache-2.0" -SLOT="0/15" -KEYWORDS="amd64 ~arm ppc64 ~riscv ~x86" -IUSE="arpack blas doc examples lapack mkl superlu test" -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( arpack lapack superlu )" - -# atlas? ( sci-libs/atlas[lapack] ) -RDEPEND=" - dev-libs/boost - arpack? ( sci-libs/arpack ) - blas? ( virtual/blas ) - lapack? ( virtual/lapack ) - mkl? ( sci-libs/mkl ) - superlu? ( >=sci-libs/superlu-5.2:= ) -" -DEPEND="${RDEPEND} - arpack? ( virtual/pkgconfig ) - blas? ( virtual/pkgconfig ) - lapack? ( virtual/pkgconfig ) -" - -src_prepare() { - # avoid the automagic cmake macros... - sed -i -e 's/^ *include(ARMA_Find/# No automagic include(ARMA_Find/g' CMakeLists.txt || die - - # ... except for mkl, since without a license it's hard to figure out what to do there - if use mkl; then - sed -i -e 's/^# No automagic include(ARMA_FindMKL)/include(ARMA_FindMKL)/g' CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - # odr violations - filter-lto - - # Similar case to https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1361 - # spmat.cpp:1137: FAILED: - # REQUIRE( c(1, 0) == d(1, 0) ) - #with expansion: - # 0 == -0.0 - append-flags -ffp-contract=on - - local mycmakeargs=( - -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" - ) - if use arpack; then - mycmakeargs+=( - -DARPACK_FOUND=ON - -DARPACK_LIBRARY="$($(tc-getPKG_CONFIG) --libs arpack)" - ) - # bug #902451 - # config.hpp is supposed to define -DARMA_USE_*. but this header isnt included consistently... - append-cppflags -DARMA_USE_ARPACK - else - mycmakeargs+=( - -DARPACK_FOUND=OFF - ) - fi -# if use atlas; then -# local c=atlas-cblas l=atlas-clapack -# $(tc-getPKG_CONFIG) --exists ${c}-threads && c+=-threads -# $(tc-getPKG_CONFIG) --exists ${l}-threads && l+=-threads -# mycmakeargs+=( -# -DCBLAS_FOUND=ON -# -DCBLAS_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${c} | sed 's/-I//')" -# -DCBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${c})" -# -DCLAPACK_FOUND=ON -# -DCLAPACK_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${l} | sed 's/-I//')" -# -DCLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${l})" -# ) -# fi - if use blas; then - mycmakeargs+=( - -DBLAS_FOUND=ON - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" - ) - # bug #902451 - append-cppflags -DARMA_USE_BLAS - else - mycmakeargs+=( - -DBLAS_FOUND=OFF - ) - fi - if use lapack; then - mycmakeargs+=( - -DLAPACK_FOUND=ON - -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)" - ) - # bug #902451 - append-cppflags -DARMA_USE_LAPACK - else - mycmakeargs+=( - -DLAPACK_FOUND=OFF - ) - fi - if use superlu; then - mycmakeargs+=( - -DSuperLU_FOUND=ON - -DSuperLU_LIBRARY="$($(tc-getPKG_CONFIG) --libs superlu)" - -DSuperLU_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I superlu | awk '{print $1}' | sed 's/-I//')" - ) - # bug #902451 - append-cppflags -DARMA_USE_SUPERLU - else - mycmakeargs+=( - -DSuperLU_FOUND=OFF - ) - fi - - cmake_src_configure -} - -src_test() { - cmake_src_test || die - - pushd tests2 > /dev/null - emake \ - CXX="$(tc-getCXX)" \ - CXX_FLAGS="-I../include ${CXXFLAGS} ${CPPFLAGS}" \ - LIB_FLAGS="-L${BUILD_DIR} -larmadillo $($(tc-getPKG_CONFIG) --libs blas lapack) $($(tc-getPKG_CONFIG) --libs superlu) $($(tc-getPKG_CONFIG) --libs arpack)" - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" ./main || die - emake clean - popd > /dev/null -} - -src_install() { - cmake_src_install - - dodoc README.md - use doc && dodoc *pdf *html - - if use examples; then - docinto examples - dodoc -r examples/* - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/sci-libs/armadillo/metadata.xml b/sci-libs/armadillo/metadata.xml deleted file mode 100644 index 206c77590ec9..000000000000 --- a/sci-libs/armadillo/metadata.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>dilfridge@gentoo.org</email> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Armadillo is a C++ linear algebra library (matrix maths) aiming - towards a good balance between speed and ease of use. Integer, - floating point and complex numbers are supported, as well as a - subset of trigonometric and statistics functions. Various matrix - decompositions are provided through optional integration with LAPACK - and ATLAS libraries. - A delayed evaluation approach is employed (during compile time) to - combine several operations into one and reduce (or eliminate) the - need for temporaries. This is accomplished through recursive - templates and template meta-programming. - </longdescription> - <use> - <flag name="arpack"> - Link with <pkg>sci-libs/arpack</pkg> libraries for eigen decomposition - </flag> - <flag name="mkl"> - Use matrix allocation from the Intel MKL <pkg>sci-libs/mkl</pkg> - </flag> - <flag name="superlu"> - Use SuperLU for sparse linear equation solving - <pkg>sci-libs/superlu</pkg> - </flag> - </use> - <upstream> - <remote-id type="sourceforge">arma</remote-id> - <remote-id type="gitlab">conradsnicta/armadillo-code</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/arpack/Manifest b/sci-libs/arpack/Manifest deleted file mode 100644 index 539d6ce2a204..000000000000 --- a/sci-libs/arpack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST arpack-3.9.1.tar.gz 1020208 BLAKE2B dd1b5b16cc5304bb16ab68055939c8f3c11f761eff69bcfc22b3cb9605b477929f54513649a7becb152e91275bfccdc868d3ccf464fb876732c7ec23a83fe71e SHA512 1ca590a8c4f75aa74402f9bd62e63851039687f4cb11afa8acb05fce1f22a512bff5fd1709ea85fdbea90b344fbbc01e3944c770b5ddc4d1aabc98ac334f78d2 diff --git a/sci-libs/arpack/arpack-3.9.1.ebuild b/sci-libs/arpack/arpack-3.9.1.ebuild deleted file mode 100644 index ca8b03036436..000000000000 --- a/sci-libs/arpack/arpack-3.9.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems" -HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng" - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/opencollab/arpack-ng" - inherit git-r3 -else - SRC_URI="https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" - S="${WORKDIR}/${PN}-ng-${PV}" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="examples mpi" - -RDEPEND=" - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[fortran] ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-3.9.1-bashism-configure.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/878139 - # https://github.com/opencollab/arpack-ng/issues/451 - # - # Only when building tests. Still this means we cannot test it. - filter-lto - - econf \ - --disable-static \ - --enable-icb \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \ - $(use_enable mpi) -} - -src_install() { - default - - dodoc DOCUMENTS/*.doc - newdoc DOCUMENTS/README README.doc - if use examples; then - dodoc -r EXAMPLES - if use mpi; then - docinto EXAMPLES/PARPACK - dodoc -r PARPACK/EXAMPLES/MPI - fi - fi - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/arpack/arpack-9999.ebuild b/sci-libs/arpack/arpack-9999.ebuild deleted file mode 100644 index 64eb36577fa9..000000000000 --- a/sci-libs/arpack/arpack-9999.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems" -HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng" - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/opencollab/arpack-ng" - inherit git-r3 -else - SRC_URI="https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - S="${WORKDIR}/${PN}-ng-${PV}" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="examples mpi" - -RDEPEND=" - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[fortran] ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/878139 - # https://github.com/opencollab/arpack-ng/issues/451 - # - # Only when building tests. Still this means we cannot test it. - filter-lto - - econf \ - --disable-static \ - --enable-icb \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \ - $(use_enable mpi) -} - -src_install() { - default - - dodoc DOCUMENTS/*.doc - newdoc DOCUMENTS/README README.doc - if use examples; then - dodoc -r EXAMPLES - if use mpi; then - docinto EXAMPLES/PARPACK - dodoc -r PARPACK/EXAMPLES/MPI - fi - fi - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/arpack/files/arpack-3.9.1-bashism-configure.patch b/sci-libs/arpack/files/arpack-3.9.1-bashism-configure.patch deleted file mode 100644 index 074a43b3ee1d..000000000000 --- a/sci-libs/arpack/files/arpack-3.9.1-bashism-configure.patch +++ /dev/null @@ -1,42 +0,0 @@ -https://github.com/opencollab/arpack-ng/pull/441 - -From a3beacc11e2acbe0baf8b301cb47938dcf01e71d Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Mon, 13 Nov 2023 02:38:46 +0000 -Subject: [PATCH] configure.ac: fix bashisms - -configure scripts need to be runnable with a POSIX-compliant /bin/sh. - -On many (but not all!) systems, /bin/sh is provided by Bash, so errors -like this aren't spotted. Notably Debian defaults to /bin/sh provided -by dash which doesn't tolerate such bashisms as '=='. - -This retains compatibility with bash. - -Fixes configure warnings/errors like: -``` -checking for cheev_ in -llapack... yes -./configure: 8590: test: x: unexpected operator -checking how to print strings... printf -``` ---- a/configure.ac -+++ b/configure.ac -@@ -20,7 +20,7 @@ dnl Check for LAPACK libraries - AX_LAPACK([], [AC_MSG_ERROR([cannot find LAPACK libraries])]) - - AC_ARG_VAR(INTERFACE64, [set to 1 to use the 64-bit integer interface (ILP64) for ARPACK, BLAS and LAPACK]) --if test x"$INTERFACE64" == x"1"; then -+if test x"$INTERFACE64" = x"1"; then - AC_LANG_PUSH([Fortran 77]) - AX_CHECK_COMPILE_FLAG(-fdefault-integer-8, FFLAGS="$FFLAGS -fdefault-integer-8", - AX_CHECK_COMPILE_FLAG(-i8, FFLAGS="$FFLAGS -i8", -@@ -191,7 +191,7 @@ AS_IF([test x"$enable_mpi" != x"no"], [ - ]) - - dnl TODO: this needs full re-write of parpack to support ILP64... --if test x"$INTERFACE64" == x"1"; then -+if test x"$INTERFACE64" = x"1"; then - if test x"$enable_mpi" != x"no"; then - AC_MSG_ERROR([Parallel arpack does not support ILP64.]) - fi - diff --git a/sci-libs/arpack/metadata.xml b/sci-libs/arpack/metadata.xml deleted file mode 100644 index 881f489f25e1..000000000000 --- a/sci-libs/arpack/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The ARnoldi PACKage is a library of routines capable of solving large scale symmetric, - nonsymmetric, and generalized eigenproblems. The software is designed to compute a few - eigenvalues with user specified features such as those of largest real - part or largest magnitude. Storage requirements are on the order of - n*k locations. No auxiliary storage is required. A set of Schur basis - vectors for the desired k-dimensional eigen-space is computed which is - numerically orthogonal to working precision. Numerically accurate - eigenvectors are available on request. - </longdescription> - <upstream> - <remote-id type="github">opencollab/arpack-ng</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/arprec/Manifest b/sci-libs/arprec/Manifest deleted file mode 100644 index 68f28d04919d..000000000000 --- a/sci-libs/arprec/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST arprec-2.2.19.tar.gz 1962133 BLAKE2B a2fccc1908e791fd4759e61ff52b180fcaccbfbfa831ee1beca9b22a1a745d17d21040974ffe02ea21397a2339c819a30cd93a247738564a2b433f7cef14c9e4 SHA512 97cf090398aa169e31711077efd26dc6da1f62291ab37b241b133634838bdd44743f85b86b861a3be18d2696ae9132afb6cd1871502bedb9cc17dfb63fde2632 -DIST arprec-2.2.20.tar.gz 820282 BLAKE2B 60ec1c73d09590973857c38191397c385195e19baa5f6eff1518ab217350fa1da1a84e0c2403f83f2b38e9f3a67b7e5f30feb61fb82bad682375185e52bb1fc8 SHA512 35cc4bba6a52aafb44c4bb184233055faccfe761e699e522cca4b98ac41668fed1913bf1833ec01d9f50d5908904d348f7ed9c764a7ea88caa3298f66982e7db diff --git a/sci-libs/arprec/arprec-2.2.19-r1.ebuild b/sci-libs/arprec/arprec-2.2.19-r1.ebuild deleted file mode 100644 index f508ca059337..000000000000 --- a/sci-libs/arprec/arprec-2.2.19-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD=90 - -inherit autotools fortran-2 - -DESCRIPTION="Arbitrary precision float arithmetics and functions" -HOMEPAGE="https://crd-legacy.lbl.gov/~dhbailey/mpdist/" -SRC_URI="https://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran qd static-libs" - -DEPEND="qd? ( sci-libs/qd[fortran=] )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gold.patch - "${FILESDIR}"/${P}-ax_cxx_fma.patch #Bug 731912 - "${FILESDIR}"/${P}-narrowing.patch #Bug 731916 - "${FILESDIR}"/${P}-noregister.patch #Bug 926266 -) - -src_prepare() { - default - sed -e '/TESTS =/s/ io//' -i tests/Makefile.am || die # bug 526960 - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable static-libs static) - $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) - $(use_enable fortran) - $(use_enable qd) - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - default - - if use fortran; then - emake toolkit - cd toolkit || die - ./mathinit || die "mathinit failed" - fi -} - -src_install() { - default - - if use fortran; then - cd toolkit || die - - exeinto /usr/libexec/${PN} - doexe mathtool - - exeinto /usr/libexec/${PN}/.libs - doexe .libs/mathtool - - insinto /usr/libexec/${PN} - doins *.dat - - cat > mathtool.exe <<- _EOF_ || die - #!/usr/bin/env sh - cd "${EPREFIX}/usr/libexec/${PN}" && exec ./mathtool - _EOF_ - - newbin mathtool.exe mathtool - newdoc README README.mathtool - fi - - if ! use doc; then - rm "${ED}"/usr/share/doc/${PF}/*.pdf || die - fi - - if ! use static-libs; then - find "${D}" -type f -name '*.la' -delete || die - fi -} diff --git a/sci-libs/arprec/arprec-2.2.20.ebuild b/sci-libs/arprec/arprec-2.2.20.ebuild deleted file mode 100644 index bafbddaaa4ae..000000000000 --- a/sci-libs/arprec/arprec-2.2.20.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD=90 - -inherit autotools fortran-2 - -DESCRIPTION="Arbitrary precision float arithmetics and functions" -HOMEPAGE="https://crd-legacy.lbl.gov/~dhbailey/mpdist/" -SRC_URI="https://github.com/BL-highprecision/${PN^^}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}"/${P^^} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 fortran qd" - -DEPEND="qd? ( sci-libs/qd[fortran=] )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.19-ax_cxx_fma.patch #Bug 731912 - "${FILESDIR}"/${PN}-2.2.19-narrowing.patch #Bug 731916 - "${FILESDIR}"/${PN}-2.2.19-noregister.patch #Bug 926266 - "${FILESDIR}"/${P}-automake.patch - "${FILESDIR}"/${P}-fortranmod.patch -) - -src_prepare() { - default - sed -e '/TESTS =/s/ io//' -i tests/Makefile.am || die # bug 526960 - - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) - $(use_enable fortran) - $(use_enable qd) - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - default - - if use fortran; then - emake toolkit - cd toolkit || die - ./mathinit || die "mathinit failed" - fi -} - -src_install() { - default - - if use fortran; then - cd toolkit || die - - exeinto /usr/libexec/${PN} - doexe mathtool - - insinto /usr/libexec/${PN} - doins *.dat - - cat > mathtool.exe <<- _EOF_ || die - #!/usr/bin/env sh - cd "${EPREFIX}/usr/libexec/${PN}" && exec ./mathtool - _EOF_ - - newbin mathtool.exe mathtool - newdoc README README.mathtool - fi - rm -r "${D}"/usr/share/doc/${PN} || die -} diff --git a/sci-libs/arprec/files/arprec-2.2.19-ax_cxx_fma.patch b/sci-libs/arprec/files/arprec-2.2.19-ax_cxx_fma.patch deleted file mode 100644 index ca77f96d485b..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.19-ax_cxx_fma.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac 2026-03-22 21:14:01.471738440 +0100 -+++ b/configure.ac 2026-03-22 21:07:15.282541358 +0100 -@@ -148,7 +148,7 @@ - esac - ;; - no) -- ax_cxx_fma = -+ ax_cxx_fma= - ;; - *) - AX_CXX_FMA([$enable_fma]) diff --git a/sci-libs/arprec/files/arprec-2.2.19-gold.patch b/sci-libs/arprec/files/arprec-2.2.19-gold.patch deleted file mode 100644 index 809ca15588fb..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.19-gold.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -r -U3 arprec.orig/fortran/Makefile.am arprec/fortran/Makefile.am ---- arprec.orig/fortran/Makefile.am 2015-12-12 07:20:15.000000000 +0600 -+++ arprec/fortran/Makefile.am 2018-11-09 22:10:39.192991101 +0700 -@@ -4,6 +4,7 @@ - - lib_LTLIBRARIES = libarprecmod.la libarprec_f_main.la - libarprecmod_la_SOURCES = f_mp.cpp mp_mod.f mp_modm.f mp_modx.f -+libarprecmod_la_LIBADD = $(top_builddir)/src/libarprec.la $(FCLIBS) - libarprec_f_main_la_SOURCES = main.cpp - - if UPCASE_MODULE diff --git a/sci-libs/arprec/files/arprec-2.2.19-narrowing.patch b/sci-libs/arprec/files/arprec-2.2.19-narrowing.patch deleted file mode 100644 index 7ddf08e1d197..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.19-narrowing.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/erfc.cpp 2026-03-22 21:02:34.747852855 +0100 -+++ b/src/erfc.cpp 2026-03-22 21:05:35.941714006 +0100 -@@ -40,7 +40,7 @@ - - //current size Previous Prec - static int size=0, pPrec = -1; -- static double eps[8] = {8,1,4-mp::n_words,1,0,0,0,0}; -+ static double eps[8] = {8,1,4.0-mp::n_words,1,0,0,0,0}; - static mp_real eps_m = mp_real(eps); - //Table containing exp(-k^2 * alpha^2) - //but k=1 one starts at index 0 diff --git a/sci-libs/arprec/files/arprec-2.2.19-noregister.patch b/sci-libs/arprec/files/arprec-2.2.19-noregister.patch deleted file mode 100644 index 2f5c6885fb33..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.19-noregister.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/fft3.cpp 2026-03-22 21:11:33.955487174 +0100 -+++ b/src/fft3.cpp 2026-03-22 21:11:43.638372396 +0100 -@@ -66,7 +66,7 @@ - int x_start_1, y_start_1, x_start, y_start; - int next_quarter, next_quarter_y; - double u1[2], u2[2], u3[2]; -- register double z1[2], z2[2], z3[2], z4[2], z5[2]; -+ double z1[2], z2[2], z3[2], z4[2], z5[2]; - - // set initial parameters. - int L = 1 << l; diff --git a/sci-libs/arprec/files/arprec-2.2.20-automake.patch b/sci-libs/arprec/files/arprec-2.2.20-automake.patch deleted file mode 100644 index 8fcf970e2c89..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.20-automake.patch +++ /dev/null @@ -1,68 +0,0 @@ ---- a/fortran/Makefile.am 2026-03-23 17:16:01.063425472 +0100 -+++ b/fortran/Makefile.am 2026-03-23 17:16:51.134832997 +0100 -@@ -37,7 +37,8 @@ - mp_modx.o: mp_mod.o - $(MPMODULEX): mp_modx.o - --pkglib_DATA = $(MODULES) -+arpreclibdir = $(pkglibdir) -+arpreclib_DATA = $(MODULES) - - DEMO = pslq1$(EXEEXT) pslq2$(EXEEXT) pslq3$(EXEEXT) pslqm1$(EXEEXT) \ - pslqm2$(EXEEXT) pslqm3$(EXEEXT) quadgs$(EXEEXT) quaderf$(EXEEXT) \ ---- a/configure.ac 2026-03-23 18:21:46.284475297 +0100 -+++ b/configure.ac 2026-03-23 18:22:31.006947491 +0100 -@@ -35,7 +35,7 @@ - - # Checks for command-line options - # --enable-inline option. --AC_ARG_ENABLE(enable_inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]])) -+AC_ARG_ENABLE(inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]])) - AC_MSG_CHECKING([if commonly used function is to be inlined]) - if test "x$enable_inline" != "xno"; then - enable_inline="yes" -@@ -44,7 +44,7 @@ - AC_MSG_RESULT($enable_inline) - - # --enable-debug --AC_ARG_ENABLE(enable_debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]])) -+AC_ARG_ENABLE(debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]])) - AC_MSG_CHECKING([if debugging code is to be enabled]) - if test "x$enable_debug" = "xyes"; then - AC_DEFINE([ARPREC_DEBUG], [1], [Define to 1 to enable debugging code.]) -@@ -54,7 +54,7 @@ - AC_MSG_RESULT($enable_debug) - - # --enable-always-fix-fpu --AC_ARG_ENABLE(enable_always_fix_fpu, AC_HELP_STRING(--enable-always-fix-fpu, [Use FPU fix whenever C interface is called. [[default=no]]])) -+AC_ARG_ENABLE(always_fix_fpu, AC_HELP_STRING(--enable-always-fix-fpu, [Use FPU fix whenever C interface is called. [[default=no]]])) - if test "x$enable_always_fix_fpu" = "xyes"; then - AC_DEFINE([ALWAYS_FIX_FPU], [1], [Define to 1 to use FPU fix whenever C interface is called.]) - else -@@ -118,7 +118,7 @@ - fi - - # --enable-qd --AC_ARG_ENABLE(enable-qd, AC_HELP_STRING(--enable-qd, [Use quad-double (QD) -+AC_ARG_ENABLE(qd, AC_HELP_STRING(--enable-qd, [Use quad-double (QD) - library. [[default=no]]])) - if test "x$enable_qd" = "xyes"; then - AC_CHECK_QD([2.3], [CXXFLAGS="$CXXFLAGS $QD_CXXFLAGS"]) -@@ -128,7 +128,7 @@ - fi - - # --enable-fma --AC_ARG_ENABLE(enable_fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,c99,ibm,compiler). Use this option with care. [[default=auto]]])) -+AC_ARG_ENABLE(fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,c99,ibm,compiler). Use this option with care. [[default=auto]]])) - if test "x$enable_fma" = "x"; then - enable_fma="auto" - fi -@@ -174,7 +174,7 @@ - FCFLAGS="-O2" - fi - fi --AC_ARG_ENABLE(enable_fortran, AC_HELP_STRING(--enable-fortran, [build Fortran interfaces [[default=auto]]])) -+AC_ARG_ENABLE(fortran, AC_HELP_STRING(--enable-fortran, [build Fortran interfaces [[default=auto]]])) - if test "x$enable_fortran" != "xno"; then - AC_LANG_PUSH(Fortran) - AC_PROG_FC([xlf95 ifort pathf95 f95 gfortran g95 pgf95 lf95 fort ifc efc pathf90 xlf90 pgf90 epcf90 xlf f90]) diff --git a/sci-libs/arprec/files/arprec-2.2.20-fortranmod.patch b/sci-libs/arprec/files/arprec-2.2.20-fortranmod.patch deleted file mode 100644 index ad4f648a8dba..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.20-fortranmod.patch +++ /dev/null @@ -1,22 +0,0 @@ -From cea820b2257e93fea1e510d899ccca368ff36b0d Mon Sep 17 00:00:00 2001 -From: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> -Date: Wed, 27 May 2026 09:08:38 +0200 -Subject: [PATCH] fix fortran module dependence in automake - -Closes: https://github.com/BL-highprecision/ARPREC/issues/4 ---- - toolkit/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/toolkit/Makefile.am b/toolkit/Makefile.am -index 925835b..239aa08 100644 ---- a/toolkit/Makefile.am -+++ b/toolkit/Makefile.am -@@ -21,5 +21,7 @@ nodist_EXTRA_mathtool_SOURCES = dummy.cpp - mathtool_LINK = $(CXXLINK) - - toolkit: $(TOOLKIT) -+mathinit.$(OBJEXT): globdata.$(OBJEXT) # fortran mod needed first -+mathtool.$(OBJEXT) pslqsub.$(OBJEXT) quadsub.$(OBJEXT) rootsub.$(OBJEXT) zetapz.$(OBJEXT): globdata.$(OBJEXT) # fortran mod needed first - - endif diff --git a/sci-libs/arprec/metadata.xml b/sci-libs/arprec/metadata.xml deleted file mode 100644 index e6ab9fd8c248..000000000000 --- a/sci-libs/arprec/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="qd">Use <pkg>sci-libs/qd</pkg> for quad-double datatype</flag> - </use> - <upstream> - <remote-id type="github">BL-highprecision/ARPREC</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/atlas/Manifest b/sci-libs/atlas/Manifest deleted file mode 100644 index acbfae0299f8..000000000000 --- a/sci-libs/atlas/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST atlas3.10.2.tar.bz2 4904923 BLAKE2B e2fb0d307907549644cb678c32c4befce7ce6809c348a11fa6084e17d696da8681b3388dd63d8bdee6040999d9ab38a75f1788b42640121a536eb5f13e6f8939 SHA512 9fe04cfa1f89449db047d1a4659a656964d13117c783cbbe43344eb32555736f037d9cd30c5ae1514c08ad5b8949a3982d7fe102d707ddb62288e76b2607fbb1 -DIST atlas3.10.3.tar.bz2 5156852 BLAKE2B cd3880a6d0c43b5840d4da26ac996cc9fe7615fc996229193ef1f936daa2c54c5465643def19f59dd5c481c447176e2ba3cf85d38c0b5008c2dc1bc18be0e65b SHA512 bf17306f09f2aa973cb776e2c9eacfb2409ad4d95d19802e1c4e0597d0a099fccdb5eaafe273c2682a41e41a3c6fabc8bbba4ce03180cffea40ede5df1d1f56e -DIST atlas3.11.41.tar.bz2 6644195 BLAKE2B c046725f1a8978e345cb59026b93029483ecdfa0151256cca5dcdd337ced2a63819c19319795b663cd12180e8be0db475a3d1c1a5d76296ef333f99887d9e44a SHA512 06306c588505dcf22a1afa0f57d85b0008728deb5876e66b2710fee29712b979aa63eafc9142be2372b9895ba594cc5aba230aa3d1ddc95932af1e585478204d -DIST lapack-3.12.0.tar.gz 7933607 BLAKE2B dafb1f9a717f2cbc00a26f8cff2c7a1ebb720714fe6d7bd5fabb511a2f4af317165814340864c9d601e4e16c7762f643fbbafc058170ebcdc6529a9b4f2d70b6 SHA512 f8f3c733a0221be0b3f5618235408ac59cbd4e5f1c4eab5f509b831a6ec6a9ef14b8849aa6ea10810df1aff90186ca454d15e9438d1dd271c2449d42d3da9dda -DIST lapack-3.6.0.tgz 6792324 BLAKE2B 438f3376b63b38ef0fe70f6becac847816f3a11c01f5ab237dc0d941792ceb54dbd2f8dc22d56286f5dab3499289ed94e67521ea951a98973c9640abc294ad6c SHA512 bc50441d415ef8896dd7626d77c6104184b996e758704366288089f03d4c99d068e33153b0d13305310886017e5d2e716130f812a95cfcad36ef37fe20417ab8 diff --git a/sci-libs/atlas/atlas-3.10.2-r1.ebuild b/sci-libs/atlas/atlas-3.10.2-r1.ebuild deleted file mode 100644 index 9e2f108c2d25..000000000000 --- a/sci-libs/atlas/atlas-3.10.2-r1.ebuild +++ /dev/null @@ -1,214 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs - -LAPACKP=lapack-3.6.0.tgz - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="https://math-atlas.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )" -S="${WORKDIR}/ATLAS" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc fortran generic lapack static-libs threads" - -PATCHES=( - "${FILESDIR}/${P}-x32-support.patch" - "${FILESDIR}/${P}-format-security.patch" -) - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [ -f ${_cpufreq} ]; then - if ! grep -q performance ${_cpufreq}; then - echo 2> /dev/null performance > ${_cpufreq} || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - use fortran && fortran-2_pkg_setup -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc="$(type -P $(tc-getCC))" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --prefix="/usr" - --libdir="/usr/$(get_libdir)" - --incdir="/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [ ${ABI} = amd64 ] || [ ${ABI} = ppc64 ] || [ ${ABI} = sparc64 ] ; then - myconf+=( "-b 64" ) - elif [ ${ABI} = x86 ] || [ ${ABI} = ppc ] || [ ${ABI} = sparc32 ] ; then - myconf+=( "-b 32" ) - elif [ ${ABI} = x32 ] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P $(tc-getFC))'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/${LAPACKP}" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $@ ) - mkdir "${confdir}" && cd "${confdir}" - # for debugging - echo ${myconf[@]} > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null - # atlas does its own parallel builds - emake -j1 build - cd lib - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname=$(basename ${1%.*}) - einfo "Installing ${libname}" - local soname=${libname}.so.$(ver_cut 1) - shift - pushd "${S}_shared"/lib > /dev/null - ${LINK:-$(tc-getCC)} ${LDFLAGS} -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libname}.a -Wl,--no-whole-archive \ - "$@" -o ${soname} || die "Creating ${soname} failed" - dolib.so ${soname} - ln -s ${soname} ${soname%.*} - dosym ${soname} /usr/$(get_libdir)/${soname%.*} - popd > /dev/null - use static-libs && dolib.a "${S}_static"/lib/${libname}.a -} - -src_install() { - cd "${S}_shared/lib" - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}${l}.a - use static-libs && mv "${S}"_static/lib/lib{,atl}${l}.a - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm ${PTLIBS} - - # cblas - atlas_install_libs libatlcblas.a -lm -L. -latlas - - # cblas threaded - [[ -e libptcblas.a ]] && \ - atlas_install_libs libptcblas.a -lm -L. -latlas ${PTLIBS} - - if use lapack; then - # clapack - atlas_install_libs libatlclapack.a -lm -L. -latlas -latlcblas - - # clapack threaded - [[ -e libptclapack.a ]] && \ - atlas_install_libs libptclapack.a -lm -L. -latlas -lptcblas ${PTLIBS} - fi - - if use fortran; then - LINK=$(tc-getF77) - - # blas - atlas_install_libs libf77blas.a -lm -L. -latlas - - # blas threaded - [[ -e libptf77blas.a ]] && \ - atlas_install_libs libptf77blas.a -lm -L. -latlas ${PTLIBS} - - if use lapack; then - # lapack - atlas_install_libs libatllapack.a \ - -lm -L. -latlas -latlcblas -lf77blas - # lapack threaded - [[ -e libptlapack.a ]] && \ - atlas_install_libs libptlapack.a -lm -L. -latlas -lptcblas -lptf77blas ${PTLIBS} - fi - fi - - cd "${S}" - insinto /usr/include/${PN} - doins include/*.h - - cd "${S}/doc" - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc *lapack*pdf -} diff --git a/sci-libs/atlas/atlas-3.10.3.ebuild b/sci-libs/atlas/atlas-3.10.3.ebuild deleted file mode 100644 index e61e62043130..000000000000 --- a/sci-libs/atlas/atlas-3.10.3.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs - -LAPACKPV=3.12.0 - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="https://math-atlas.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( - https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v${LAPACKPV}.tar.gz - -> lapack-${LAPACKPV}.tar.gz - ) ) -" -S="${WORKDIR}/ATLAS" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc fortran generic lapack static-libs threads" - -PATCHES=( - "${FILESDIR}/${PN}-3.10.2-x32-support.patch" - "${FILESDIR}/${PN}-3.10.2-format-security.patch" - "${FILESDIR}/${PN}-3.10.3-fix-ancient-c.patch" -) - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [[ -f ${_cpufreq} ]]; then - if ! grep -q performance "${_cpufreq}"; then - echo 2> /dev/null performance > "${_cpufreq}" || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - use fortran && fortran-2_pkg_setup -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc - mycc="$(type -P "$(tc-getCC)")" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --cripple-atlas-performance - --prefix="/usr" - --libdir="/usr/$(get_libdir)" - --incdir="/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [[ ${ABI} = amd64 ]] || [[ ${ABI} = ppc64 ]] || [[ ${ABI} = sparc64 ]] ; then - myconf+=( "-b 64" ) - elif [[ ${ABI} = x86 ]] || [[ ${ABI} = ppc ]] || [[ ${ABI} = sparc32 ]] ; then - myconf+=( "-b 32" ) - elif [[ ${ABI} = x32 ]] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P "$(tc-getFC)")'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/lapack-${LAPACKPV}.tar.gz" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $@ ) - mkdir "${confdir}" || die - cd "${confdir}" || die - # for debugging - echo "${myconf[@]}" > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null || die - # atlas does its own parallel builds - emake -j1 build - cd lib || die - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null || die - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" || die - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname soname - libname=$(basename "${1%.*}") - einfo "Installing ${libname}" - soname=${libname}.so.$(ver_cut 1) - shift - pushd "${S}_shared"/lib > /dev/null || die - ${LINK:-$(tc-getCC)} ${LDFLAGS} -shared "-Wl,-soname=${soname}" \ - -Wl,--whole-archive "${libname}.a" -Wl,--no-whole-archive \ - $@ -o "${soname}" || die "Creating ${soname} failed" - dolib.so "${soname}" - ln -s "${soname}" "${soname%.*}" - dosym "${soname}" "/usr/$(get_libdir)/${soname%.*}" - popd > /dev/null || die - use static-libs && dolib.a "${S}_static/lib/${libname}.a" -} - -src_install() { - cd "${S}_shared/lib" || die - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}"${l}.a" - use static-libs && mv "${S}"_static/lib/lib{,atl}"${l}.a" - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm "${PTLIBS}" - - # cblas - atlas_install_libs libatlcblas.a -lm -L. -latlas - - # cblas threaded - [[ -e libptcblas.a ]] && \ - atlas_install_libs libptcblas.a -lm -L. -latlas "${PTLIBS}" - - if use lapack; then - # clapack - atlas_install_libs libatlclapack.a -lm -L. -latlas -latlcblas - - # clapack threaded - [[ -e libptclapack.a ]] && \ - atlas_install_libs libptclapack.a -lm -L. -latlas -lptcblas "${PTLIBS}" - fi - - if use fortran; then - LINK=$(tc-getF77) - - # blas - atlas_install_libs libf77blas.a -lm -L. -latlas - - # blas threaded - [[ -e libptf77blas.a ]] && \ - atlas_install_libs libptf77blas.a -lm -L. -latlas "${PTLIBS}" - - if use lapack; then - # lapack - atlas_install_libs libatllapack.a \ - -lm -L. -latlas -latlcblas -lf77blas - # lapack threaded - [[ -e libptlapack.a ]] && \ - atlas_install_libs libptlapack.a -lm -L. -latlas -lptcblas -lptf77blas "${PTLIBS}" - fi - fi - - cd "${S}" || die - insinto "/usr/include/${PN}" - doins include/*.h - - cd "${S}/doc" || die - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc -- *lapack*pdf -} diff --git a/sci-libs/atlas/atlas-3.11.41.ebuild b/sci-libs/atlas/atlas-3.11.41.ebuild deleted file mode 100644 index d618e5d433fc..000000000000 --- a/sci-libs/atlas/atlas-3.11.41.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs - -LAPACKPV=3.12.0 - -DESCRIPTION="Automatically Tuned Linear Algebra Software" -HOMEPAGE="https://math-atlas.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/math-atlas/${PN}${PV}.tar.bz2 - fortran? ( lapack? ( - https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v${LAPACKPV}.tar.gz - -> lapack-${LAPACKPV}.tar.gz - ) ) -" -S="${WORKDIR}/ATLAS" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc fortran generic lapack static-libs threads" - -PATCHES=( - # TODO These don't apply, find out why - # "${FILESDIR}/${PN}-3.10.2-x32-support.patch" - # "${FILESDIR}/${PN}-3.10.2-format-security.patch" -) - -pkg_setup() { - local _cpufreq - for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do - if [[ -f ${_cpufreq} ]]; then - if ! grep -q performance "${_cpufreq}"; then - echo 2> /dev/null performance > "${_cpufreq}" || \ - die "${PN} needs all cpu set to performance" - fi - fi - done - use fortran && fortran-2_pkg_setup -} - -src_configure() { - # hack needed to trick the flaky gcc detection - local mycc - mycc="$(type -P "$(tc-getCC)")" - [[ ${mycc} == *gcc* ]] && mycc=gcc - atlas_configure() { - local myconf=( - --cripple-atlas-performance - --prefix="/usr" - --libdir="/usr/$(get_libdir)" - --incdir="/usr/include" - --cc="$(tc-getCC)" - "-D c -DWALL" - "-C acg '${mycc}'" - "-F acg '${CFLAGS}'" - "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" - ) - - # OpenMP shown to decreased performance over POSIX threads - # (at least in 3.9.x, see atlas-dev mailing list) - if use threads; then - if use generic; then # 2 threads is most generic - myconf+=( "-t 2" "-Si omp 0" ) - else - myconf+=( "-t -1" "-Si omp 0" ) - fi - else - myconf+=( "-t 0" "-Si omp 0" ) - fi - - if use amd64 || use ppc64 || use sparc; then - if [[ ${ABI} = amd64 ]] || [[ ${ABI} = ppc64 ]] || [[ ${ABI} = sparc64 ]] ; then - myconf+=( "-b 64" ) - elif [[ ${ABI} = x86 ]] || [[ ${ABI} = ppc ]] || [[ ${ABI} = sparc32 ]] ; then - myconf+=( "-b 32" ) - elif [[ ${ABI} = x32 ]] ; then - myconf+=( "-b 48" ) - else - myconf+=( "-b 64" ) - fi - elif use ppc || use x86; then - myconf+=( "-b 32" ) - fi - if use fortran; then - myconf+=( - "-C if '$(type -P "$(tc-getFC)")'" - "-F if '${FFLAGS}'" - ) - if use lapack; then - myconf+=( - "-Si latune 1" - "--with-netlib-lapack-tarfile=${DISTDIR}/lapack-${LAPACKPV}.tar.gz" - ) - else - myconf+=( "-Si latune 0" ) - fi - else - myconf+=( "-Si latune 0" "--nof77" ) - fi - # generic stuff found by make make xprint_enums in atlas build dir - # basically assuming sse2+sse1 and 2 threads max - use generic && use x86 && myconf+=( "-V 384 -A 13") - use generic && use amd64 && myconf+=( "-V 384 -A 24") - - local confdir="${S}_${1}"; shift - myconf+=( $@ ) - mkdir "${confdir}" || die - cd "${confdir}" || die - # for debugging - echo "${myconf[@]}" > myconf.out - "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" - } - - atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} - use static-libs && atlas_configure static ${EXTRA_ECONF} -} - -src_compile() { - atlas_compile() { - pushd "${S}_${1}" > /dev/null || die - # atlas does its own parallel builds - emake -j1 build - cd lib || die - emake libclapack.a - [[ -e libptcblas.a ]] && emake libptclapack.a - popd > /dev/null || die - } - - atlas_compile shared - use static-libs && atlas_compile static -} - -src_test() { - cd "${S}_shared" || die - emake -j1 check time -} - -# transform a static archive into a shared library and install them -# atlas_install_libs <mylib.a> [extra link flags] -atlas_install_libs() { - local libname soname - libname=$(basename "${1%.*}") - einfo "Installing ${libname}" - soname=${libname}.so.$(ver_cut 1) - shift - pushd "${S}_shared"/lib > /dev/null || die - ${LINK:-$(tc-getCC)} ${LDFLAGS} -shared "-Wl,-soname=${soname}" \ - -Wl,--whole-archive "${libname}.a" -Wl,--no-whole-archive \ - $@ -o "${soname}" || die "Creating ${soname} failed" - dolib.so "${soname}" - ln -s "${soname}" "${soname%.*}" - dosym "${soname}" "/usr/$(get_libdir)/${soname%.*}" - popd > /dev/null || die - use static-libs && dolib.a "${S}_static/lib/${libname}.a" -} - -src_install() { - cd "${S}_shared/lib" || die - # rename to avoid collision with other packages - local l - for l in {,c}{blas,lapack}; do - if [[ -e lib${l}.a ]]; then - mv lib{,atl}"${l}.a" - use static-libs && mv "${S}"_static/lib/lib{,atl}"${l}.a" - fi - done - - [[ -e libptcblas.a ]] && PTLIBS="-lpthread" - - # atlas - atlas_install_libs libatlas.a -lm "${PTLIBS}" - - # cblas - atlas_install_libs libatlcblas.a -lm -L. -latlas - - # cblas threaded - [[ -e libptcblas.a ]] && \ - atlas_install_libs libptcblas.a -lm -L. -latlas "${PTLIBS}" - - if use lapack; then - # clapack - atlas_install_libs libatlclapack.a -lm -L. -latlas -latlcblas - - # clapack threaded - [[ -e libptclapack.a ]] && \ - atlas_install_libs libptclapack.a -lm -L. -latlas -lptcblas "${PTLIBS}" - fi - - if use fortran; then - LINK=$(tc-getF77) - - # blas - atlas_install_libs libf77blas.a -lm -L. -latlas - - # blas threaded - [[ -e libptf77blas.a ]] && \ - atlas_install_libs libptf77blas.a -lm -L. -latlas "${PTLIBS}" - - if use lapack; then - # lapack - atlas_install_libs libatllapack.a \ - -lm -L. -latlas -latlcblas -lf77blas - # lapack threaded - [[ -e libptlapack.a ]] && \ - atlas_install_libs libptlapack.a -lm -L. -latlas -lptcblas -lptf77blas "${PTLIBS}" - fi - fi - - cd "${S}" || die - insinto "/usr/include/${PN}" - doins include/*.h - - cd "${S}/doc" || die - dodoc INDEX.txt AtlasCredits.txt ChangeLog - use doc && dodoc atlas*pdf cblas.pdf cblasqref.pdf - use doc && use fortran && dodoc f77blas*pdf - use doc && use fortran && use lapack && dodoc -- *lapack*pdf -} diff --git a/sci-libs/atlas/files/atlas-3.10.2-format-security.patch b/sci-libs/atlas/files/atlas-3.10.2-format-security.patch deleted file mode 100644 index f3f45d774510..000000000000 --- a/sci-libs/atlas/files/atlas-3.10.2-format-security.patch +++ /dev/null @@ -1,198 +0,0 @@ - bin/atlas_install.c | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -diff --git a/bin/atlas_install.c b/bin/atlas_install.c -index 2753cbf..21b716d 100644 ---- a/bin/atlas_install.c -+++ b/bin/atlas_install.c -@@ -483,9 +483,9 @@ void PrintStartStop(FILE *fp0, FILE *fp1, int nspc, int START, int sec, - fprintf(fp1, "\n\n"); - } - if (fp0) -- fprintf(fp0, ln); -+ fprintf(fp0, "%s", ln); - if (fp1) -- fprintf(fp1, ln); -+ fprintf(fp1, "%s", ln); - } - - int LnIsCont(char *ln) -@@ -776,11 +776,11 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - if (DefInstall) - { - sprintf(ln, "%s IRunMMDef pre=%c %s %s\n", fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - } - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 1); - } -@@ -836,7 +836,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - if (!FileExists(fnam)) - { - sprintf(ln, "%s %s pre=%c %s %s", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - } - fp = fopen(fnam, "r"); -@@ -854,7 +854,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - { - sprintf(ln, "%s %s pre=%c nb=%d %s %s", - fmake, fnam, pre, ncnb, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - } - GetInstLogFile(fnam, pre, &muladd, &pf, &lat, &nb, &mu, &nu, &ku, -@@ -881,7 +881,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - } - - sprintf(ln, "%s MMinstall pre=%c %s %s\n", fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "BUILDING BLOCK MATMUL TUNE", ln2); - - fprintf(fpsum, "\n"); -@@ -896,7 +896,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - PrintBanner(ln2, 1, 2, ip+1, 2); - sprintf(ln, "%s INSTALL_LOG/atlas_cacheedge.h pre=%c %s %s\n", - fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "CACHEEDGE DETECTION", ln2); - PrintBanner(ln2, 0, 2, ip+1, 2); - } -@@ -922,7 +922,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - { - sprintf(ln, "%s %s pre=%c %s %s\n", - fmake, ln3, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "CACHEEDGE DETECTION", ln2); - } - fp = fopen(ln3, "r"); -@@ -955,7 +955,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - "\n\n STAGE 2-%d-3: COPY/NO-COPY CROSSOVER DETECTION\n", ip+1); - - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "COPY/NO-COPY CROSSOVER DETECTION", ln2); - PrintBanner(ln2, 0, 2, ip+1, 3); - fprintf(stdout, " done.\n"); -@@ -970,17 +970,17 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - { - sprintf(ln, "%s INSTALL_LOG/atlas_%ctrsmXover.h pre=%c %s %s\n", - fmake, pre, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "L3BLAS TUNING", ln2); - } - else - { - sprintf(ln, "%s Il3lib pre=%c %s %s\n", fmake, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "L3BLAS TUNING", ln2); - } - sprintf(ln, "%s %ccblaslib %s %s\n", fmake, pre, redir, ln2); /* cblas */ -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "L3BLAS TUNING", ln2); - PrintBanner(ln2, 0, 2, ip+1, 5); - PrintStartStop(stdout, fpsum, 3, 0, 2, ip+1, 4, "L3BLAS TUNE"); -@@ -993,7 +993,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/%cMVNTUNE.LOG", pre); - PrintBanner(ln2, 1, 2, ip+1, 7); - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "MVNTUNE", ln2); - ATL_Cassert(FileIsThere(fnam), "MVNTUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 7); -@@ -1026,7 +1026,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/%cMVTTUNE.LOG", pre); - PrintBanner(ln2, 1, 2, ip+1, 7); - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "MVTTUNE", ln2); - ATL_Cassert(FileIsThere(fnam), "MVTTUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 7); -@@ -1061,7 +1061,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/%cR1TUNE.LOG", pre); - PrintBanner(ln2, 1, 2, ip+1, 7); - sprintf(ln, "%s %s pre=%c %s %s\n", fmake, fnam, pre, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "R1TUNE", ln2); - ATL_Cassert(FileIsThere(fnam), "R1TUNE", ln2); - PrintBanner(ln2, 0, 2, ip+1, 7); -@@ -1099,7 +1099,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/LIBBUILD.LOG"); - PrintBanner(ln2, 1, 3, 1, 1); - sprintf(ln, "%s IBuildLibs %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "LIBRARY BUILD", ln2); - ATL_Cassert(FileIsThere(fnam), "LIBRARY BUILD", ln2); - PrintBanner(ln2, 0, 3, 1, 1); -@@ -1110,7 +1110,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - PrintBanner(ln2, 1, 4, 1, 1); - PrintStartStop(stdout, fpsum, 3, 1, 4, 1, 1, "TRSM TUNE"); - sprintf(ln, "%s IPostTune %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "POST-BUILD TUNE", ln2); - PrintStartStop(stdout, fpsum, 3, 0, 4, 1, 0, NULL); - ATL_Cassert(FileIsThere(fnam), "POST-BUILD TUNE", ln2); -@@ -1121,7 +1121,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/PTTUNE.LOG"); - PrintBanner(ln2, 1, 4, 2, 0); - sprintf(ln, "%s IPTtune %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "THREADING TUNE", ln2); - PrintStartStop(stdout, fpsum, 3, 0, 4, 2, 0, "THREADING TUNE"); - -@@ -1129,7 +1129,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/LIBPTBUILD.LOG"); - PrintBanner(ln2, 1, 4, 2, 1); - sprintf(ln, "%s IBuildPtlibs %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "PTLIBRARY BUILD", ln2); - PrintBanner(ln2, 0, 4, 2, 1); - PrintStartStop(stdout, fpsum, 3, 0, 4, 2, 1, "THREADING BUILD"); -@@ -1144,7 +1144,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - PrintStartStop(stdout, fpsum, 6, 1, 4, 3, ip+1, ln2); - sprintf(ln2, "INSTALL_LOG/%cLATUNE.LOG", pre); - PrintBanner(ln2, 1, 4, 3, ip+1); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - sprintf(ln, "%s ILATune pre=%c %s %s\n", fmake, pre, redir, ln2); - ATL_Cassert(system(ln)==0, "LAPACK TUNE", ln2); - PrintStartStop(stdout, fpsum, 6, 0, 4, 3, ip+1, NULL); -@@ -1162,7 +1162,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - #else - sprintf(ln, "%s IBuildLibs %s %s\n", fmake, redir, ln2); - #endif -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "STATIC LIBRARY UPDATE", ln2); - PrintBanner(ln2, 0, 5, 1, 1); - PrintStartStop(stdout, fpsum, 3, 0, 5, 1, 0, "FINAL STATIC LIBRARY UPDATE"); -@@ -1172,7 +1172,7 @@ void GoToTown(int ARCHDEF, int L1DEF, int TuneLA) - sprintf(ln2, "INSTALL_LOG/LIBDYBUILD.LOG"); - PrintBanner(ln2, 1, 5, 2, 1); - sprintf(ln, "%s IBuildDyLibs %s %s\n", fmake, redir, ln2); -- fprintf(stdout, ln); -+ fprintf(stdout, "%s", ln); - ATL_Cassert(system(ln)==0, "DYLIBRARY BUILD", ln2); - PrintBanner(ln2, 0, 5, 2, 1); - PrintStartStop(stdout, fpsum, 3, 0, 5, 2, 0, NULL); diff --git a/sci-libs/atlas/files/atlas-3.10.2-x32-support.patch b/sci-libs/atlas/files/atlas-3.10.2-x32-support.patch deleted file mode 100644 index 82e6980690cb..000000000000 --- a/sci-libs/atlas/files/atlas-3.10.2-x32-support.patch +++ /dev/null @@ -1,93 +0,0 @@ ---- ATLAS/CONFIG/src/SpewMakeInc.c.orig 2012-05-24 00:56:27.000000000 +0200 -+++ ATLAS/CONFIG/src/SpewMakeInc.c 2012-06-06 15:17:40.000000000 +0200 -@@ -370,7 +370,7 @@ - } - *f2cdefs = fdefs; - *ecdefs = cdefs; -- if (*ptrbits != 32 && *ptrbits != 64) -+ if (*ptrbits != 32 && *ptrbits != 64 && *ptrbits != 48) - *ptrbits = 0; - } - char *GetPtrbitsFlag(enum OSTYPE OS, enum MACHTYPE arch, int ptrbits, -@@ -418,6 +418,8 @@ - sp = "-m64"; - else if (ptrbits == 32) - sp = "-m32"; -+ else if (ptrbits == 48 && MachIsX86(arch)) -+ sp = "-mx32"; - } - return(sp); - } ---- ATLAS/CONFIG/src/gnuccw.c.orig 2012-06-06 15:30:05.000000000 +0200 -+++ ATLAS/CONFIG/src/gnuccw.c 2012-06-06 15:33:29.000000000 +0200 -@@ -363,7 +363,7 @@ - * -m64/32 args get passed to comp, asm & linker - */ - else if (at->len == 4 && -- (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32"))) -+ (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32") || !strcmp(at->arg, "-mx32"))) - { - if (at->arg[2] == '6') - *BITS = 64; ---- ATLAS/CONFIG/src/gcc3p.c.orig 2012-06-06 15:29:38.000000000 +0200 -+++ ATLAS/CONFIG/src/gcc3p.c 2012-06-06 15:31:17.000000000 +0200 -@@ -352,7 +352,7 @@ - * -m64/32 args get passed to comp, asm & linker - */ - else if (at->len == 4 && -- (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32"))) -+ (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32") || !strcmp(at->arg, "-mx32"))) - { - if (at->arg[2] == '6') - { ---- ATLAS/CONFIG/src/gnuf90w.c.orig 2012-06-06 15:29:28.000000000 +0200 -+++ ATLAS/CONFIG/src/gnuf90w.c 2012-06-06 15:30:36.000000000 +0200 -@@ -363,7 +363,7 @@ - * -m64/32 args get passed to comp, asm & linker - */ - else if (at->len == 4 && -- (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32"))) -+ (!strcmp(at->arg, "-m64") || !strcmp(at->arg, "-m32") || !strcmp(at->arg, "-mx32"))) - { - if (at->arg[2] == '6') - *BITS = 64; ---- ATLAS/CONFIG/src/probe_comp.c.orig 2012-06-06 15:29:51.000000000 +0200 -+++ ATLAS/CONFIG/src/probe_comp.c 2012-06-06 15:32:50.000000000 +0200 -@@ -614,6 +614,8 @@ - sp = "-m64"; - else if (ptrbits == 32) - sp = "-m32"; -+ else if (ptrbits == 48) -+ sp = "-mx32"; - } - return(sp); - } -@@ -1691,7 +1693,7 @@ - } - } - } -- if (*ptrbits != 32 && *ptrbits != 64) -+ if (*ptrbits != 32 && *ptrbits != 64 && *ptrbits != 48) - *ptrbits = 0; - } - ---- ATLAS/CONFIG/src/config.c.orig 2012-06-06 15:59:53.000000000 +0200 -+++ ATLAS/CONFIG/src/config.c 2012-06-06 16:00:07.000000000 +0200 -@@ -183,7 +183,7 @@ - i = sprintf(ln, "make IRun_comp args=\"-v %d -o atlconf.txt -O %d -A %d -Si nof77 %d -V %d %s %s", - verb, OS, arch, nof77, vecext, targarg, flags); - free(flags); -- if (ptrbits == 64 || ptrbits == 32) -+ if (ptrbits == 64 || ptrbits == 32 || ptrbits == 48) - { - sprintf(stmp, "-b %d", ptrbits); - ln = NewAppendedString(ln, stmp); -@@ -1272,7 +1272,7 @@ - } - *f2cdefs = fdefs; - *ecdefs = cdefs; -- if (*ptrbits != 32 && *ptrbits != 64) -+ if (*ptrbits != 32 && *ptrbits != 64 && *ptrbits != 48) - *ptrbits = 0; - } - diff --git a/sci-libs/atlas/files/atlas-3.10.3-fix-ancient-c.patch b/sci-libs/atlas/files/atlas-3.10.3-fix-ancient-c.patch deleted file mode 100644 index 5a8a257a1a9b..000000000000 --- a/sci-libs/atlas/files/atlas-3.10.3-fix-ancient-c.patch +++ /dev/null @@ -1,297 +0,0 @@ -From 3d330dc50a608581c81d269b661af0c938155428 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Fri, 26 Jul 2024 00:10:33 +0200 -Subject: [PATCH 1/5] main must return int - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- a/CONFIG/src/backend/archinfo_aix.c -+++ b/CONFIG/src/backend/archinfo_aix.c -@@ -180,7 +180,7 @@ int ProbeThrottle() - return(iret); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int flags, CacheLevel, ncpu, mhz, bits, sure; - enum MACHTYPE arch=MACHOther; ---- a/CONFIG/src/backend/archinfo_freebsd.c -+++ b/CONFIG/src/backend/archinfo_freebsd.c -@@ -243,7 +243,7 @@ int ProbeThrottle() - return(iret); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int flags, CacheLevel, ncpu, mhz, bits, sure; - enum MACHTYPE arch=MACHOther; ---- a/CONFIG/src/backend/archinfo_irix.c -+++ b/CONFIG/src/backend/archinfo_irix.c -@@ -198,7 +198,7 @@ int ProbeThrottle() - return(iret); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int flags, CacheLevel, ncpu, mhz, bits, sure; - enum MACHTYPE arch=MACHOther; ---- a/CONFIG/src/backend/archinfo_linux.c -+++ b/CONFIG/src/backend/archinfo_linux.c -@@ -571,7 +571,7 @@ int ProbeThrottle() - return(iret); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int flags, CacheLevel, ncpu, mhz, bits, sure; - enum MACHTYPE arch=MACHOther; ---- a/CONFIG/src/backend/archinfo_sfu.c -+++ b/CONFIG/src/backend/archinfo_sfu.c -@@ -151,7 +151,7 @@ int ProbeThrottle() - return(iret); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int flags, CacheLevel, ncpu, mhz, bits, sure; - enum MACHTYPE arch=MACHOther; ---- a/CONFIG/src/backend/archinfo_sunos.c -+++ b/CONFIG/src/backend/archinfo_sunos.c -@@ -212,7 +212,7 @@ int ProbeThrottle() - return(iret); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int flags, CacheLevel, ncpu, mhz, bits, sure; - enum MACHTYPE arch=MACHOther; ---- a/CONFIG/src/backend/archinfo_win.c -+++ b/CONFIG/src/backend/archinfo_win.c -@@ -221,7 +221,7 @@ int ProbeThrottle() - return(iret); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int flags, CacheLevel, ncpu, mhz, bits, sure; - enum MACHTYPE arch=MACHOther; ---- a/CONFIG/src/backend/archinfo_x86.c -+++ b/CONFIG/src/backend/archinfo_x86.c -@@ -460,7 +460,7 @@ int GetFlags(int nargs, char **args, int *CacheLevel) - return(flag); - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int ierr, x86_64, flags, CacheLevel; - unsigned family, model; ---- a/bin/extract.c -+++ b/bin/extract.c -@@ -3904,7 +3904,7 @@ void HandleLine(EXTENV *EE, char *line) - } - - --main(int nargs, char *args[]) -+int main(int nargs, char *args[]) - { - char line[LNLEN], *path; - int i; ---- a/bin/gpmmtst.c -+++ b/bin/gpmmtst.c -@@ -783,11 +783,11 @@ void GetFlags(int nargs, char *args[], int *TEST, - #endif - } - } --___main(){} --__main(){} --MAIN__(){} --_MAIN_(){} --main(int nargs, char *args[]) -+int ___main(){} -+int __main(){} -+int MAIN__(){} -+int _MAIN_(){} -+int main(int nargs, char *args[]) - /* - * tst <tst> <# TA> <TA's> <# TB's> <TB's> <M0> <MN> <incM> <N0> <NN> <incN> - * <K0> <KN> <incK> <# alphas> <alphas> <# betas> <betas> ---- a/bin/invtst.c -+++ b/bin/invtst.c -@@ -743,7 +743,7 @@ void GetFlags(int nargs, char **args, int *MFLOP, int *CacheSize, TYPE *thresh, - } - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int MFLOP, CacheSize, ldagap, nord, nuplo, N0, NN, incN; - enum TEST_UPLO *Uplo; ---- a/bin/llttst.c -+++ b/bin/llttst.c -@@ -538,7 +538,7 @@ void GetFlags(int nargs, char **args, int *MFLOP, int *CacheSize, TYPE *thresh, - } - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int MFLOP, CacheSize, ldagap, nuplo, N0, NN, incN; - TYPE thresh; ---- a/bin/lutst.c -+++ b/bin/lutst.c -@@ -476,7 +476,7 @@ void GetFlags(int nargs, char **args, int *MFLOP, int *CacheSize, TYPE *thresh, - if (*M0 == -1) *M0 = *MN = *incM = *MisN = 1; - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int MFLOP, CacheSize, LdaIsM, MisN, NisM, M0, MN, incM, N0, NN, incN; - int norders; ---- a/bin/slvtst.c -+++ b/bin/slvtst.c -@@ -743,7 +743,7 @@ static int DoAllTests(int nrep, int N0, int NN, int incN, int R0, int RN, - else fprintf(stdout, "\n%d TESTS RUN, %d FAILED!!\n\n", i, ierr); - return(ierr); - } --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int ierr, N0, NN, incN, R0, RN, incR, ldagap, ldbgap, nord, nuplo; - int CS, MFLOP, QR, nrep; ---- a/bin/uumtst.c -+++ b/bin/uumtst.c -@@ -566,7 +566,7 @@ void GetFlags(int nargs, char **args, int *MFLOP, int *CacheSize, TYPE *thresh, - } - } - --main(int nargs, char **args) -+int main(int nargs, char **args) - { - int MFLOP, CacheSize, ldagap, nuplo, N0, NN, incN; - TYPE thresh; ---- a/lib/qr.c -+++ b/lib/qr.c -@@ -5,7 +5,7 @@ - #elif defined(UpCase) - #define dgeqrf_ DGEQRF - #endif --main(int nargs, char **args) -+int main(int nargs, char **args) - { - extern void dgeqrf_(F77_INTEGER*,F77_INTEGER*,double*,F77_INTEGER*, - double*,double*,F77_INTEGER*,F77_INTEGER*); ---- a/lib/test_dynlink.c -+++ b/lib/test_dynlink.c -@@ -1,6 +1,6 @@ - #include <cblas.h> - #include <clapack.h> --main(int nargs, char **args) -+int main(int nargs, char **args) - { - double A[1]={1.0}, b[1]={1.0}; - int ipiv[1]; ---- a/tune/sysinfo/masrch.c -+++ b/tune/sysinfo/masrch.c -@@ -169,7 +169,7 @@ int FindMflop - return(mf); - } - --FindNreg -+int FindNreg - ( - char pre, /* precision: s,d,q */ - int fmf, /* number of mflops to force timer on */ --- -2.45.2 - - -From 537f1afe821d5bad24fe401c8cb1294f2235f5b7 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Fri, 26 Jul 2024 00:11:42 +0200 -Subject: [PATCH 2/5] add missing function declarations - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- a/CONFIG/include/atlconf_misc.h -+++ b/CONFIG/include/atlconf_misc.h -@@ -41,6 +41,8 @@ char *NameWithoutPath(char *file); - char *GetPathWithoutName(char *file); - void GetGccVers(char *gcc, int *comp, int *major, int *minor, int *patch); - int CompIsGcc(char *comp); -+int CompIsClang(char *comp); -+int CompIsMinGW(char *comp); - int CompIsAppleGcc(char *comp); - int CompIsMIPSpro(char *comp); - int CompIsPathScale(char *comp); --- -2.45.2 - - -From 975b10d484ec2c18fcc3eccbdf30fd166f2072c3 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Fri, 26 Jul 2024 00:11:49 +0200 -Subject: [PATCH 3/5] fix typo osnam -> osname - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- a/CONFIG/src/probe_arch.c -+++ b/CONFIG/src/probe_arch.c -@@ -198,7 +198,7 @@ int ConfirmPtrbits(enum OSTYPE OS0, enum ASMDIA asmd0, char *targ0, - /* - * Try OS-specific probe, compiling with -m64 (assumes gcc workalike) - */ -- i = 1 + strlen(frm) + strlen(osnam) + strlen(osnam[OS]) + -+ i = 1 + strlen(frm) + strlen(osname) + strlen(osnam[OS]) + - strlen(ASMNAM[asmd]) + strlen(flag) + strlen(targ) + strlen(find); - cmnd = malloc(i*sizeof(char)); - assert(cmnd); --- -2.45.2 - - -From 550c8ff309c6896635bc86001af6dbecbf043d51 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Fri, 26 Jul 2024 00:15:08 +0200 -Subject: [PATCH 4/5] use long long in format string - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- a/bin/atlas_install.c -+++ b/bin/atlas_install.c -@@ -278,7 +278,7 @@ long long GetFirstLongHex(char *ln) - { - if (isxdigit(ln[i])) - { -- sscanf(ln+i, "%lx", &iret); -+ sscanf(ln+i, "%llx", &iret); - break; - } - } --- -2.45.2 - - -From 9a9d7f5f83ea6235ee8e40d49b93545bb3c5b7c2 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Fri, 26 Jul 2024 00:16:03 +0200 -Subject: [PATCH 5/5] add missing string.h include - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- a/bin/qrtst.c -+++ b/bin/qrtst.c -@@ -41,6 +41,7 @@ - #ifndef TimeF77 - #include "clapack.h" - #endif -+#include <string.h> - - #ifdef ATL_FULL_LAPACK - #include "atlas_C2Flapack.h" --- -2.45.2 - diff --git a/sci-libs/atlas/metadata.xml b/sci-libs/atlas/metadata.xml deleted file mode 100644 index 7f7eebe3d1ee..000000000000 --- a/sci-libs/atlas/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - ATLAS is an approach for the automatic generation and optimization of - numerical software. Currently ATLAS supplies optimized versions for the - complete set of linear algebra kernels known as the Basic Linear Algebra - Subroutines (BLAS) for both c and F77 interfaces. It can also build - a subset of the linear algebra routine LAPACK library or the full - LAPACK using the reference LAPACK from Netlib. - </longdescription> - <use> - <flag name="generic">Build atlas assuming a fairly generic architecture (sse2 for x86, core2 for amd64)</flag> - </use> - <upstream> - <remote-id type="sourceforge">math-atlas</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/avogadrolibs/Manifest b/sci-libs/avogadrolibs/Manifest deleted file mode 100644 index b77ea18d1a7a..000000000000 --- a/sci-libs/avogadrolibs/Manifest +++ /dev/null @@ -1,13 +0,0 @@ -DIST avogadrolibs-1.103.0-data.tar.gz 30941565 BLAKE2B 1411d7b79743661c4deeabc5dabeb73ae450eade02e44182fee95aa5601c0e6d19186270bd16e502008c9d11e41b651e02c7ed634ab1d88f90efa2542553d9b2 SHA512 df077cd3b3ecf42c2f1794fcb362ed6beeff734ffd1ad81a0854a3c898fea5d6f0c6de46d6d34128b1bcb3004977c6d2106da5ac2e21a1529d88d6af0649c716 -DIST avogadrolibs-1.103.0.tar.gz 4993081 BLAKE2B 948bc7ec6b49e45b8868aa4d477ead3f8c11484185e55583b590ea6640eb34f2d653b29de5cfff4359b06b2a3161980972f94c13c7d44a5885fb5a5dcaf32223 SHA512 8d48172009df159e44508484dad53ff078290cc1859044a014f37f8c6f4afc12751a6da6d3cf550f94c4e849d69b0bf79015fad9499b8be41914c8694e60226b -DIST avogadrolibs-2.0.0-data.tar.gz 30941564 BLAKE2B 75ce83c4ee4d282ab98612d2e6d198be85f88d07e366ca27bce5ec8c8333dca72b573d1c82ff11a350283848a19416aa53daec6136c6a0a5581f1928a7313ec8 SHA512 248d17e711f992de8548ed41d4fa982d3ab67fc3a95571423a1368acf68c20049af27de7ba7ce040a319b6cf82d8aaa8673291b455c73d7341cda763123312a5 -DIST avogadrolibs-2.0.0.tar.gz 5218137 BLAKE2B 4d793ad2f7e77da8e598541ebd7329b64e77f6654c097c358deb608658c8799cfaf35d3727447c7137c017a84789f7f53594b7506a44057ff1de09eda2b4a3ad SHA512 622ccc67362ec3f6fb51ce36f12503e338757102c07c0306516b6995c28ab08ebf7b79d4f4e9a6813f65254034f0dafab626437141d0532ed6366997b603756e -DIST avogadrolibs-avogenerators-1.103.0.tar.gz 15131 BLAKE2B bc1806e4750b00ca2c47886a891734b55a954acb3c38ff360582aa42421495d40aa0131fc35dc164c00bb2e7513e7e072c23254072cdceb1f9eaf2b12709b0a1 SHA512 cffb243ede8ebc12cb66304c59fa24ba7641511090229270d12696a2ad23e890ed2034e6133159882ef3902943f2c6bcc411c4d09c15780f701fb043ac02b730 -DIST avogadrolibs-avogenerators-2.0.0.tar.gz 63677 BLAKE2B 944528ed533e65e403aaf83fff941a0c5c75eb33089ebac01859188c6d461ac3dbb767899f62e12105b586dc42a2eecbdd2135a8f3a758f8fe9bb996ac0ee29d SHA512 b261b07fa32fc56e570335e2cef16d531caa7efe86b6653ae831cefeb66ce0523818df1145bbfc811c4f241384843bbf56bb43ecfd8e31b0ea3bf929972d8730 -DIST avogadrolibs-crystals-1.103.0.tar.gz 21674419 BLAKE2B 31f227320cfb382126541f81932f3725ec02139a8094f7edbabf5e10d76ec90b10bdda5ba1534ea50bddd2d053dc835553ad36b6e72112560ddde0549e9334e2 SHA512 21ddc74c5db521f22a21917cf33cbc7494c95a3055a2c7aa149cb6cfd1a951f45e58b402f1f333ca3ce2b3865013d7cda9d9812675568ac8f9d455e2a4f0f8bc -DIST avogadrolibs-crystals-2.0.0.tar.gz 21673699 BLAKE2B af0508b018d7a94b410198a51ac861f2dc346dd92d6e2fea69d07ab0ac024a81e37739ae6df52db79b8dbf0480b0544c1a26140432ff6094eadaa9c070205755 SHA512 9565c9bf13863b14705bbc556b480df82aa4284817b8cf4443e62c49d65c5b52e9fe456c246ceb39d027cf3badcc31a4a57598dce4ce1d4f8a14f94fb3264553 -DIST avogadrolibs-fragments-1.103.0.tar.gz 1617836 BLAKE2B 68577e2621555e126860e450492275dfb7e0472e98c912358d4dfd1092cfbfa0ad91e75793faa3c0201d83fb6085397beb7e7abe0234314eab1ddcba43660ee0 SHA512 4e45d15450f1709cb6a9b193ce256ddac8962cd47d74b0c2f10991800f7500efae94346d60270016087658cdd6f0b4d41ec6e405a7c274de41bf330f67933189 -DIST avogadrolibs-fragments-2.0.0.tar.gz 1619110 BLAKE2B d1cfd518af14450d52b394b9a161bedee3b37eaa777629ba8349c15725db5a7944f64b12f8da03c1be5b1ced426d59f5da72e7f17e478b45b8e376ded4aedb41 SHA512 5b53b01661fb79b8cdd9b9a49cefacdfae1ef84de44a7a011782091528bad631da1a582787ca65c35b15aeaf782014025c9e16c9a9238eb1626fb29e6b8d1f9b -DIST avogadrolibs-linux64-genXrdPattern-1.1 14315976 BLAKE2B bed67aa2bb015843c20af8b89e1276a3e509cbebb32b36bb4002cb8fcfa557acfeefff37ccae2b7d67ca80e09f654c924c6d6227d1d0e1fcfa43438aef81de08 SHA512 e98395e1dd831779af7a613e9c6460a4f048e0a7973d6156e8ebd0bebe2d32b4c19df9875e91185b73ddc6f0d3637d35e955b3bd393c0893986555763b61492a -DIST avogadrolibs-molecules-1.103.0.tar.gz 9978990 BLAKE2B 151cf8fde97fa1a88d21a373351aa5825e4b1b7043fb74b713cda5610e8af0d9266cd4c9f1a778bf43e323cfaa7dbc4731ac34e3d0fb2182610529a823d1220b SHA512 d3ebcc4f5da4e5f92e6e36e2ccfdce74a8f109408e2ff604dc31179db949fafce572d41e3e12545482429b2e75d77771a46aaf33f80675faf47a5acc88fec047 -DIST avogadrolibs-molecules-2.0.0.tar.gz 9979323 BLAKE2B e8a851d5e77f55d6c8532a4ffa73b9b1bacd9e25e1bf23d6e1c9e226beeddfea9c4ad7fceba462c282baeda6c87fe80edfa14c28ef20ecfcc63f47e0d94b5e75 SHA512 885b682e1e61e4358c65e945c9feb6d9154b1a044c85f0d89242ea54b509fb20610fcd645ccb9803ce5f01cbdbcccfbcf55fd20445381404705e633de73e31b8 diff --git a/sci-libs/avogadrolibs/avogadrolibs-1.103.0.ebuild b/sci-libs/avogadrolibs/avogadrolibs-1.103.0.ebuild deleted file mode 100644 index de007490edfa..000000000000 --- a/sci-libs/avogadrolibs/avogadrolibs-1.103.0.ebuild +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -inherit cmake dot-a python-single-r1 - -MY_PV_GENXRD=1.1 -MY_PV_AVOGEN=${PV} -MY_PV_CRYSTALS=${PV} -MY_PV_FRAGMENTS=${PV} -MY_PV_MOLECULES=${PV} - -DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries" -HOMEPAGE="https://two.avogadro.cc/ https://www.openchemistry.org/" -SRC_URI=" - https://github.com/OpenChemistry/${PN}/archive/${PV}.tar.gz - -> ${P}.tar.gz - qt6? ( - https://github.com/OpenChemistry/avogenerators/archive/refs/tags/${MY_PV_AVOGEN}.tar.gz - -> ${PN}-avogenerators-${MY_PV_AVOGEN}.tar.gz - https://github.com/OpenChemistry/crystals/archive/refs/tags/${MY_PV_CRYSTALS}.tar.gz - -> ${PN}-crystals-${MY_PV_CRYSTALS}.tar.gz - https://github.com/OpenChemistry/fragments/archive/refs/tags/${MY_PV_FRAGMENTS}.tar.gz - -> ${PN}-fragments-${MY_PV_FRAGMENTS}.tar.gz - https://github.com/OpenChemistry/molecules/archive/refs/tags/${MY_PV_MOLECULES}.tar.gz - -> ${PN}-molecules-${MY_PV_MOLECULES}.tar.gz - ) - jkqtplotter? ( - amd64? ( https://github.com/psavery/genXrdPattern/releases/download/${MY_PV_GENXRD}-linux/linux64-genXrdPattern - -> ${PN}-linux64-genXrdPattern-${MY_PV_GENXRD} ) - ) - test? ( https://github.com/OpenChemistry/avogadrodata/archive/refs/tags/${PV}.tar.gz - -> ${P}-data.tar.gz ) -" - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="archive doc hdf5 jkqtplotter python qt6 spglib static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - jkqtplotter? ( qt6 ) - python? ( ${PYTHON_REQUIRED_USE} ) - test? ( qt6 ) -" - -# TODO: Not yet packaged: -# sci-libs/libmsym (https://github.com/mcodev31/libmsym) -RDEPEND=" - dev-cpp/eigen:= - dev-cpp/nlohmann_json - dev-libs/pugixml - hdf5? ( sci-libs/hdf5:= ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') - ) - qt6? ( - dev-qt/qtbase:6[concurrent,gui,network,opengl,widgets] - dev-qt/qtsvg:6 - media-libs/glew:0= - >=sci-chemistry/openbabel-3.1.1_p20241221:=[json] - virtual/opengl - archive? ( app-arch/libarchive:= ) - jkqtplotter? ( sci-libs/jkqtplotter:= ) - ) - spglib? ( >=sci-libs/spglib-2.6.0:= ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - doc? ( app-text/doxygen ) - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}/"${PN}-1.91.0_pre20180406-bundled-genxrdpattern.patch -) - -# Static binary (requires ObjCryst++ to build otherwise) -QA_FLAGS_IGNORED="usr/bin/genXrdPattern" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_unpack() { - default - - rm -rf thirdparty/{nlohmann,pugixml} || die - - if use jkqtplotter && use amd64; then - cp "${DISTDIR}"/${PN}-linux64-genXrdPattern-${MY_PV_GENXRD} "${WORKDIR}/genXrdPattern" || die - fi - - if use qt6; then - # hardcoded assumptions in - # avogadro/qtplugins/insertfragment/CMakeLists.txt - mv crystals-${MY_PV_CRYSTALS} crystals || die - mv molecules-${MY_PV_MOLECULES} molecules || die - # avogadro/qtplugins/quantuminput/CMakeLists.txt - mv avogenerators-${MY_PV_AVOGEN} avogenerators || die - # avogadro/qtplugins/templatetool/CMakeLists.txt - mv fragments-${MY_PV_FRAGMENTS} fragments || die - fi - - if use test; then - mv avogadrodata-${PV} avogadrodata || die - fi -} - -src_prepare() { - # fix default value for BABEL_LIBDIR - sed -i -e "s:/../lib/openbabel:/../$(get_libdir)/openbabel:g" \ - avogadro/qtplugins/forcefield/obenergy.cpp \ - avogadro/qtplugins/forcefield/obmmenergy.cpp \ - avogadro/qtplugins/openbabel/obprocess.cpp || die - - # avoid cmake_min warning w/ this unused file - rm thirdparty/tinycolormap/CMakeLists.txt || die - - if use doc; then - doxygen -u docs/doxyfile.in 2>/dev/null || die - fi - - # restore user-LDFLAGS - if use python; then - sed -e 's:CMAKE_MODULE_LINKER_FLAGS "":CMAKE_MODULE_LINKER_FLAGS "'"${LDFLAGS}"'":' \ - -i "${S}"/python/CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DUSE_EXTERNAL_NLOHMANN=ON - -DUSE_EXTERNAL_PUGIXML=ON - -DUSE_LIBARCHIVE=$(usex archive $(usex qt6)) - -DBUILD_DOCUMENTATION=$(usex doc) - -DUSE_HDF5=$(usex hdf5) - # https://github.com/OpenChemistry/avogadrolibs/issues/2200 - -DUSE_MMTF=OFF - -DUSE_OPENGL=$(usex qt6) - -DUSE_PLOTTER=$(usex jkqtplotter) - -DUSE_PYTHON=$(usex python) - -DUSE_QT=$(usex qt6) - -DUSE_SPGLIB=$(usex spglib) - -DENABLE_TESTING=$(usex test) - # disabled libraries - -DUSE_LIBMSYM=OFF - ) - - if use jkqtplotter && use amd64; then - mycmakeargs+=( - -DBUNDLED_GENXRDPATTERN="${WORKDIR}/genXrdPattern" - -DUSE_SYSTEM_GENXRDPATTERN=OFF - ) - fi - - if use qt6; then - mycmakeargs+=( - -DBUILD_GPL_PLUGINS=ON - -DBUILD_STATIC_PLUGINS=$(usex static-libs) - -DQT_VERSION=6 - ) - # use python's abilities to define the interpreter path for qtplugins, - # it can also be set with: - # - AVO_PYTHON_INTERPRETER (absolute path) - # - extensions settings - # otherwise default is python - use python && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) - - # even w/o static-libs due to libgwavi.a, required for avogadro2 - lto-guarantee-fat - fi - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_build documentation -} - -src_test() { - local -x LD_LIBRARY_PATH="${BUILD_DIR}/lib" - cmake_src_test -} - -src_install() { - if use doc; then - local DOCS+=( "${BUILD_DIR}"/docs/xml ) - local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) - docompress -x /usr/share/doc/${PF}/xml - fi - - cmake_src_install - - if use python; then - python_fix_shebang "${ED}" - python_optimize "${ED}" - fi - - # always strip due to libgwavi.a - use qt6 && strip-lto-bytecode "${ED}" - - # remove CONTRIBUTING, LICENSE and duplicate README - rm -r "${ED}/usr/share/doc/${PF}/avogadrolibs" || die -} diff --git a/sci-libs/avogadrolibs/avogadrolibs-2.0.0.ebuild b/sci-libs/avogadrolibs/avogadrolibs-2.0.0.ebuild deleted file mode 100644 index 484cfc2df00c..000000000000 --- a/sci-libs/avogadrolibs/avogadrolibs-2.0.0.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -inherit cmake dot-a python-single-r1 - -MY_PV_GENXRD=1.1 -MY_PV_AVOGEN=${PV} -MY_PV_CRYSTALS=${PV} -MY_PV_FRAGMENTS=${PV} -MY_PV_MOLECULES=${PV} - -DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries" -HOMEPAGE="https://two.avogadro.cc/ https://www.openchemistry.org/" -SRC_URI=" - https://github.com/OpenChemistry/${PN}/archive/${PV}.tar.gz - -> ${P}.tar.gz - qt6? ( - https://github.com/OpenChemistry/avogenerators/archive/refs/tags/${MY_PV_AVOGEN}.tar.gz - -> ${PN}-avogenerators-${MY_PV_AVOGEN}.tar.gz - https://github.com/OpenChemistry/crystals/archive/refs/tags/${MY_PV_CRYSTALS}.tar.gz - -> ${PN}-crystals-${MY_PV_CRYSTALS}.tar.gz - https://github.com/OpenChemistry/fragments/archive/refs/tags/${MY_PV_FRAGMENTS}.tar.gz - -> ${PN}-fragments-${MY_PV_FRAGMENTS}.tar.gz - https://github.com/OpenChemistry/molecules/archive/refs/tags/${MY_PV_MOLECULES}.tar.gz - -> ${PN}-molecules-${MY_PV_MOLECULES}.tar.gz - ) - jkqtplotter? ( - amd64? ( https://github.com/psavery/genXrdPattern/releases/download/${MY_PV_GENXRD}-linux/linux64-genXrdPattern - -> ${PN}-linux64-genXrdPattern-${MY_PV_GENXRD} ) - ) - test? ( https://github.com/OpenChemistry/avogadrodata/archive/refs/tags/${PV}.tar.gz - -> ${P}-data.tar.gz ) -" - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="archive doc hdf5 jkqtplotter python qt6 spglib static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - jkqtplotter? ( qt6 ) - python? ( ${PYTHON_REQUIRED_USE} ) - test? ( qt6 ) -" - -# TODO: Not yet packaged: -# sci-libs/libmsym (https://github.com/mcodev31/libmsym) -RDEPEND=" - dev-cpp/eigen:= - dev-cpp/nlohmann_json - dev-libs/pugixml - hdf5? ( sci-libs/hdf5:= ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') - ) - qt6? ( - >=dev-cpp/tomlplusplus-3.4.0 - dev-qt/qtbase:6[concurrent,gui,network,opengl,widgets] - dev-qt/qtsvg:6 - media-libs/glew:0= - >=sci-chemistry/openbabel-3.1.1_p20241221:=[json] - virtual/opengl - archive? ( app-arch/libarchive:= ) - jkqtplotter? ( sci-libs/jkqtplotter:= ) - ) - spglib? ( >=sci-libs/spglib-2.6.0:= ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - doc? ( app-text/doxygen ) - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}/"${PN}-1.91.0_pre20180406-bundled-genxrdpattern.patch -) - -# Static binary (requires ObjCryst++ to build otherwise) -QA_FLAGS_IGNORED="usr/bin/genXrdPattern" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_unpack() { - default - - rm -rf thirdparty/{nlohmann,pugixml} || die - - if use jkqtplotter && use amd64; then - cp "${DISTDIR}"/${PN}-linux64-genXrdPattern-${MY_PV_GENXRD} "${WORKDIR}/genXrdPattern" || die - fi - - if use qt6; then - # hardcoded assumptions in - # avogadro/qtplugins/insertfragment/CMakeLists.txt - mv crystals-${MY_PV_CRYSTALS} crystals || die - mv molecules-${MY_PV_MOLECULES} molecules || die - # avogadro/qtplugins/quantuminput/CMakeLists.txt - mv avogenerators-${MY_PV_AVOGEN} avogenerators || die - # avogadro/qtplugins/templatetool/CMakeLists.txt - mv fragments-${MY_PV_FRAGMENTS} fragments || die - fi - - if use test; then - mv avogadrodata-${PV} avogadrodata || die - fi -} - -src_prepare() { - # fix default value for BABEL_LIBDIR - sed -i -e "s:/../lib/openbabel:/../$(get_libdir)/openbabel:g" \ - avogadro/qtplugins/forcefield/obenergy.cpp \ - avogadro/qtplugins/forcefield/obmmenergy.cpp \ - avogadro/qtplugins/openbabel/obprocess.cpp || die - - # avoid cmake_min warning w/ this unused file - rm thirdparty/tinycolormap/CMakeLists.txt || die - - if use doc; then - doxygen -u docs/doxyfile.in 2>/dev/null || die - fi - - # restore user-LDFLAGS - if use python; then - sed -e 's:CMAKE_MODULE_LINKER_FLAGS "":CMAKE_MODULE_LINKER_FLAGS "'"${LDFLAGS}"'":' \ - -i "${S}"/python/CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DUSE_EXTERNAL_NLOHMANN=ON - -DUSE_EXTERNAL_PUGIXML=ON - -DUSE_EXTERNAL_TOMLPLUSPLUS=ON - -DUSE_LIBARCHIVE=$(usex archive $(usex qt6)) - -DBUILD_DOCUMENTATION=$(usex doc) - -DUSE_HDF5=$(usex hdf5) - # https://github.com/OpenChemistry/avogadrolibs/issues/2200 - -DUSE_MMTF=OFF - -DUSE_OPENGL=$(usex qt6) - -DUSE_PLOTTER=$(usex jkqtplotter) - -DUSE_PYTHON=$(usex python) - -DUSE_QT=$(usex qt6) - -DUSE_SPGLIB=$(usex spglib) - -DENABLE_TESTING=$(usex test) - # disabled libraries - -DUSE_LIBMSYM=OFF - ) - - if use jkqtplotter && use amd64; then - mycmakeargs+=( - -DBUNDLED_GENXRDPATTERN="${WORKDIR}/genXrdPattern" - -DUSE_SYSTEM_GENXRDPATTERN=OFF - ) - fi - - if use qt6; then - mycmakeargs+=( - -DBUILD_GPL_PLUGINS=ON - -DBUILD_STATIC_PLUGINS=$(usex static-libs) - -DQT_VERSION=6 - ) - # use python's abilities to define the interpreter path for qtplugins, - # it can also be set with: - # - AVO_PYTHON_INTERPRETER (absolute path) - # - extensions settings - # otherwise default is python - use python && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) - - # even w/o static-libs due to libgwavi.a, required for avogadro2 - lto-guarantee-fat - fi - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_build documentation -} - -src_test() { - local -x LD_LIBRARY_PATH="${BUILD_DIR}/lib" - cmake_src_test -} - -src_install() { - if use doc; then - local DOCS+=( "${BUILD_DIR}"/docs/xml ) - local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) - docompress -x /usr/share/doc/${PF}/xml - fi - - cmake_src_install - - if use python; then - python_fix_shebang "${ED}" - python_optimize "${ED}" - fi - - # always strip due to libgwavi.a - use qt6 && strip-lto-bytecode "${ED}" - - # remove CONTRIBUTING, LICENSE and duplicate README - rm -r "${ED}/usr/share/doc/${PF}/avogadrolibs" || die -} diff --git a/sci-libs/avogadrolibs/files/avogadrolibs-1.91.0_pre20180406-bundled-genxrdpattern.patch b/sci-libs/avogadrolibs/files/avogadrolibs-1.91.0_pre20180406-bundled-genxrdpattern.patch deleted file mode 100644 index 2072b8fa9b66..000000000000 --- a/sci-libs/avogadrolibs/files/avogadrolibs-1.91.0_pre20180406-bundled-genxrdpattern.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 0287e83eb8706f5237d66873cb6a1b3730891c07 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Sun, 8 Apr 2018 11:21:17 +0200 -Subject: [PATCH] Provide overrideable BUNDLED_GENXRDPATTERN location - ---- - cmake/DownloadGenXrdPattern.cmake | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/cmake/DownloadGenXrdPattern.cmake b/cmake/DownloadGenXrdPattern.cmake -index ab5c5f0..7d4ecb4 100644 ---- a/cmake/DownloadGenXrdPattern.cmake -+++ b/cmake/DownloadGenXrdPattern.cmake -@@ -10,8 +10,12 @@ macro(DownloadGenXrdPattern) - set(GENXRDPATTERN_NAME "genXrdPattern") - endif(WIN32) - -+ if(NOT BUNDLED_GENXRDPATTERN) -+ set(BUNDLED_GENXRDPATTERN "${CMAKE_CURRENT_BINARY_DIR}/bin/${GENXRDPATTERN_NAME}") -+ endif() -+ - # If it already exists, don't download it again -- if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/bin/${GENXRDPATTERN_NAME}") -+ if(NOT EXISTS "${BUNDLED_GENXRDPATTERN}") - set(GENXRDPATTERN_V "1.0-static") - # Linux - if(UNIX AND NOT APPLE) -@@ -52,11 +56,11 @@ macro(DownloadGenXrdPattern) - # Now remove the temporary directory - file(REMOVE_RECURSE "${CMAKE_CURRENT_BINARY_DIR}/tmp") - -- endif(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/bin/${GENXRDPATTERN_NAME}") -+ endif(NOT EXISTS "${BUNDLED_GENXRDPATTERN}") - - set(GENXRDPATTERN_DESTINATION "bin") - -- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bin/${GENXRDPATTERN_NAME}" -+ install(FILES "${BUNDLED_GENXRDPATTERN}" - DESTINATION "${GENXRDPATTERN_DESTINATION}" - PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE - GROUP_READ GROUP_EXECUTE --- -2.17.0 - diff --git a/sci-libs/avogadrolibs/metadata.xml b/sci-libs/avogadrolibs/metadata.xml deleted file mode 100644 index 243f3033e6f8..000000000000 --- a/sci-libs/avogadrolibs/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> - <use> - <flag name="archive">Enable archive support using <pkg>app-arch/libarchive</pkg></flag> - <flag name="jkqtplotter">Enable charts and spectra using <pkg>sci-libs/jkqtplotter</pkg></flag> - <flag name="spglib">Find and set the Hall number for a crystal using <pkg>sci-libs/spglib</pkg></flag> - </use> - <upstream> - <remote-id type="github">OpenChemistry/avogadrolibs</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/blas-lapack-aux-wrapper/Manifest b/sci-libs/blas-lapack-aux-wrapper/Manifest deleted file mode 100644 index 3348df4ab0d8..000000000000 --- a/sci-libs/blas-lapack-aux-wrapper/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST blas-lapack-aux-wrapper-6.tar.xz 9536 BLAKE2B fb66a6da7d99347ca72a479a3d72e1c5459e6c7b03d6c89ba8826b1b64bc2e0ce725868a78727b0a6a05bfb6ad449bd8391b899b0eeaec6002b6b4411041bdf5 SHA512 249bf90a55abd841550f5d9dc25509e272d59ef324f345b397baeaa776a2a0e7de702d749fc20e395216cde5f42857730d5b8a1ee559cf2edc04c65076b653a7 -DIST lapack-3.12.1.tar.gz 8067087 BLAKE2B 13fd3bbb6d1f23eb0add0a71d302af7af172d608b3e2354031d0b13cb7fbf243017d85b53ca04322983c5ed069ad3773510833d231d533b2dc417962cc24a817 SHA512 9749976d773830eb635498611c7f1247af8dece23fe8c08446243aa39bdcc20dd35fdc670345643cd1ec6828e379d5c2152009817e0b486c10fd89a06602e0fb diff --git a/sci-libs/blas-lapack-aux-wrapper/blas-lapack-aux-wrapper-6.ebuild b/sci-libs/blas-lapack-aux-wrapper/blas-lapack-aux-wrapper-6.ebuild deleted file mode 100644 index 359e64a2e3d2..000000000000 --- a/sci-libs/blas-lapack-aux-wrapper/blas-lapack-aux-wrapper-6.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit meson python-any-r1 toolchain-funcs - -LAPACK_VER=3.12.1 -DESCRIPTION="BLAS/LAPACK wrappers for FlexiBLAS" -HOMEPAGE="https://gitweb.gentoo.org/proj/blas-lapack-aux-wrapper.git/" -SRC_URI=" - https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz - test? ( - https://github.com/Reference-LAPACK/lapack/archive/v${LAPACK_VER}.tar.gz - -> lapack-${LAPACK_VER}.tar.gz - ) -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86" -IUSE="index64 test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !sci-libs/lapack[-flexiblas(-)] - >=sci-libs/flexiblas-3.4.82-r4:=[index64(-)?] -" -DEPEND=" - ${RDEPEND} - sci-libs/lapack:=[flexiblas(-),index64(-)?,lapacke] -" -BDEPEND=" - ${PYTHON_DEPS} -" - -# we do not call the compiler, only the linker -QA_FLAGS_IGNORED=".*" - -src_configure() { - # We rely on some specific linker features (bug #965199) - if ! tc-ld-is-bfd && ! tc-ld-is-lld; then - tc-ld-force-bfd - fi - - local emesonargs=( - -Dilp64=$(usex index64 true false) - ) - - meson_src_configure -} - -check_result() { - local f=${1} - - if ! grep -q "<flexiblas> Check if shared library exist" "${f}.out"; then - die "No FlexiBLAS output found in ${f}.out" - fi - if grep -q -i "FAIL" "${f}.out"; then - die "Test failed in ${f}.out" - fi -} - -run_test() { - local f=${1} - - einfo "Running ${f} ..." - "${f}" &> "${f}.out" || die "Running ${f} failed" - check_result "${f}" -} - -src_test() { - # a. get indication that FlexiBLAS is actually used on stderr. - local -x FLEXIBLAS_VERBOSE=1 - # b. force fallback to Netlib LAPACK. - local -x FLEXIBLAS=libflexiblas_netlib.so - - tc-export CC FC AR RANLIB - - cd "${WORKDIR}/lapack-${LAPACK_VER}" || die - cat > make.inc <<-EOF || die - FFLAGS_DRV = \$(FFLAGS) - FFLAGS_NOOPT = \$(FFLAGS) -O0 - ARFLAGS = rv - - BLASLIB = ${BUILD_DIR}/libblas.so - CBLASLIB = ${BUILD_DIR}/libcblas.so - LAPACKLIB = ${BUILD_DIR}/liblapack.so - TMGLIB = \$(TOPSRCDIR)/libtmglib.a - LAPACKELIB = ${BUILD_DIR}/liblapacke.so - EOF - - emake -C BLAS/TESTING xblat1d - emake -C CBLAS include/cblas_mangling.h - run_test BLAS/TESTING/xblat1d - - emake -C CBLAS/testing xdcblat1 - run_test CBLAS/testing/xdcblat1 - - emake -C TESTING/MATGEN - emake -C TESTING dbb.out - check_result TESTING/dbb -} - -src_install() { - meson_src_install - - local f - cd "${ED}/usr/$(get_libdir)" || die - mkdir blas-lapack-aux-wrapper || die - mv lib* blas-lapack-aux-wrapper/ || die - for f in blas-lapack-aux-wrapper/*.so; do - ln -s "${f}" || die - done -} diff --git a/sci-libs/blas-lapack-aux-wrapper/metadata.xml b/sci-libs/blas-lapack-aux-wrapper/metadata.xml deleted file mode 100644 index ecbab1c9339f..000000000000 --- a/sci-libs/blas-lapack-aux-wrapper/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <use> - <flag name="index64">Create ILP64 wrappers as well</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/blis/Manifest b/sci-libs/blis/Manifest deleted file mode 100644 index 76309323c973..000000000000 --- a/sci-libs/blis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST blis-2.0.tar.gz 15751849 BLAKE2B 386917ece022fccf373bad6a4b488b04d86097f0fb7406b72e9fdd4ecc09747ea2291ec6d56c756461541b811d7f256a1bd6103c883cca5f6479d7822faf62ae SHA512 5b1195533fe951c025b01b5f92d682217a3c8b3b5477ad20cdbf1d3163e7085167d9be7f552f59173dba7798e2dbacf8772374d4250d3db6404b7f7b9ae67916 diff --git a/sci-libs/blis/blis-2.0.ebuild b/sci-libs/blis/blis-2.0.ebuild deleted file mode 100644 index 43c5cc94b628..000000000000 --- a/sci-libs/blis/blis-2.0.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 2019-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="BLAS-like Library Instantiation Software Framework" -HOMEPAGE="https://github.com/flame/blis" -SRC_URI="https://github.com/flame/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -# SOVERSION; but 2.0 introduced some breaking changes -SLOT="0/4-2.0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -CPU_USE=( - cpu_flags_ppc_{vsx,vsx3} - cpu_flags_arm_{neon,v7,v8,sve} - cpu_flags_x86_{ssse3,avx,fma3,fma4,avx2,avx512vl} -) -IUSE="doc eselect-ldso index64 openmp pthread serial static-libs ${CPU_USE[@]}" -REQUIRED_USE="?? ( openmp pthread serial )" - -DEPEND=" - eselect-ldso? ( - !app-eselect/eselect-cblas - >=app-eselect/eselect-blas-0.2 - ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} - dev-lang/perl -" - -PATCHES=( - # TODO: remove this when we remove eselect-ldso - "${FILESDIR}"/${PN}-0.6.0-blas-provider.patch - # to prevent QA Notice: pkg-config files with wrong LDFLAGS detected - "${FILESDIR}"/${PN}-0.8.1-pkg-config.patch - "${FILESDIR}"/${PN}-0.9.0-rpath.patch - "${FILESDIR}"/${PN}-1.0-no-helper-headers.patch - # https://github.com/flame/blis/pull/891 - "${FILESDIR}"/${P}-gcc16.patch -) - -get_confname() { - local confname=generic - if use x86 || use amd64; then - use cpu_flags_x86_ssse3 && confname=penryn - use cpu_flags_x86_avx && use cpu_flags_x86_fma3 && confname=sandybridge - use cpu_flags_x86_avx && use cpu_flags_x86_fma4 && confname=bulldozer - use cpu_flags_x86_avx && use cpu_flags_x86_fma4 && use cpu_flags_x86_fma3 && confname=piledriver - use cpu_flags_x86_avx2 && confname=haswell - use cpu_flags_x86_avx512vl && confname=skx - elif use arm || use arm64; then - use arm && confname=arm32 - use arm64 && confname=arm64 - use cpu_flags_arm_neon && use cpu_flags_arm_v7 && confname=cortexa9 - use cpu_flags_arm_v8 && confname=cortexa53 - use cpu_flags_arm_sve && confname=armsve - elif use ppc || use ppc64; then - confname=power - use cpu_flags_ppc_vsx && confname=power7 - use cpu_flags_ppc_vsx3 && confname=power9 - fi - echo ${confname} -} - -src_configure() { - # This is not an autotools configure file. We don't use econf here. - local myconf=( - --enable-verbose-make - --prefix="${EPREFIX}/usr" - --libdir="${EPREFIX}/usr/$(get_libdir)" - $(use_enable static-libs static) - --enable-blas - --enable-cblas - --enable-shared - ) - if use openmp; then - myconf+=( -t openmp ) - elif use pthread; then - myconf+=( -t pthreads ) - else - myconf+=( -t no ) - fi - # confname must always come last - myconf+=( "$(get_confname)" ) - - local -x CC="$(tc-getCC)" - local -x AR="$(tc-getAR)" - local -x RANLIB="$(tc-getRANLIB)" - - if use index64; then - einfo "Configuring ILP64 variant" - cp -r "${S}" "${S}-ilp64" || die - pushd "${S}-ilp64" >/dev/null || die - ./configure -b 64 -i 64 "${myconf[@]}" || die - popd >/dev/null || die - fi - - einfo "Configuring LP64 variant" - ./configure "${myconf[@]}" || die -} - -emake64() { - local overrides=( - LIBBLIS=libblis64 - MK_INCL_DIR_INST="${ED}/usr/include/blis64" - ) - - emake -C "${S}-ilp64" "${overrides[@]}" "${@}" -} - -src_compile() { - local -x DEB_LIBBLAS=libblas.so.3 - local -x DEB_LIBCBLAS=libcblas.so.3 - local -x LDS_BLAS="${FILESDIR}"/blas.lds - local -x LDS_CBLAS="${FILESDIR}"/cblas.lds - use index64 && emake64 - emake -} - -src_test() { - local -x LD_LIBRARY_PATH="lib/$(get_confname)" - emake testblis-fast - ./testsuite/check-blistest.sh ./output.testsuite || die - if use index64; then - emake64 testblis-fast - ./testsuite/check-blistest.sh "${S}-ilp64"/output.testsuite || die - fi -} - -src_install() { - local libroot=/usr/$(get_libdir) - local install_args=( - DESTDIR="${D}" - # remove weird Makefile configs, they're incorrect for index64 - # and nothing should be using them anyway - MK_SHARE_DIR_INST="${T}/discard" - # upstream installs .pc file to share, sigh - PC_SHARE_DIR_INST="${ED}${libroot}/pkgconfig" - ) - emake "${install_args[@]}" install - if use index64; then - emake64 "${install_args[@]}" install - # we need to make blis64.pc with proper subst ourselves - sed -e 's:blis:&64:' "${ED}${libroot}/pkgconfig"/blis.pc \ - > "${ED}${libroot}/pkgconfig"/blis64.pc || die - fi - use doc && dodoc README.md docs/*.md - - if use eselect-ldso; then - insinto "${libroot}/blas/blis" - doins lib/*/lib{c,}blas.so.3 - dosym libblas.so.3 "${libroot}/blas/blis/libblas.so" - dosym libcblas.so.3 "${libroot}/blas/blis/libcblas.so" - fi -} - -pkg_postinst() { - use eselect-ldso || return - - local libdir=$(get_libdir) me="blis" - - # check blas - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS/CBLAS (${libdir}) -> [${me}]." - else - elog "Current eselect: BLAS/CBLAS (${libdir}) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi -} - -pkg_postrm() { - use eselect-ldso && eselect blas validate -} diff --git a/sci-libs/blis/files/blas.lds b/sci-libs/blis/files/blas.lds deleted file mode 100644 index db79d3bc9054..000000000000 --- a/sci-libs/blis/files/blas.lds +++ /dev/null @@ -1,15 +0,0 @@ -{ - # Export BLAS symbols - global: - *_; - RowMajorStrg; - - # Hide everything else. - local: - cblas_*; - CBLAS_*; - bli_thread_set_num_threads_; - bli_thread_set_ways_; - bli_*; - *; -}; diff --git a/sci-libs/blis/files/blis-0.6.0-blas-provider.patch b/sci-libs/blis/files/blis-0.6.0-blas-provider.patch deleted file mode 100644 index 5999f847929c..000000000000 --- a/sci-libs/blis/files/blis-0.6.0-blas-provider.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile b/Makefile -index 2d31fee..7008682 100644 ---- a/Makefile -+++ b/Makefile -@@ -659,6 +659,8 @@ else - @$(LINKER) $(SOFLAGS) -o $(LIBBLIS_SO_OUTPUT_NAME) $? $(LDFLAGS) - endif - endif -+ $(LINKER) $(SOFLAGS) -o $(BASE_LIB_PATH)/$(DEB_LIBBLAS) $? $(LDFLAGS) -Wl,--soname,$(DEB_LIBBLAS) -Wl,--version-script=$(LDS_BLAS) -+ $(LINKER) $(SOFLAGS) -o $(BASE_LIB_PATH)/$(DEB_LIBCBLAS) $? $(LDFLAGS) -Wl,--soname,$(DEB_LIBCBLAS) -Wl,--version-script=$(LDS_CBLAS) - - # Local symlink for shared library. - # NOTE: We use a '.loc' suffix to avoid filename collisions in case this diff --git a/sci-libs/blis/files/blis-0.8.1-pkg-config.patch b/sci-libs/blis/files/blis-0.8.1-pkg-config.patch deleted file mode 100644 index 2e1f189422a3..000000000000 --- a/sci-libs/blis/files/blis-0.8.1-pkg-config.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Nur a/blis.pc.in b/blis.pc.in ---- a/blis.pc.in 2021-11-29 13:23:43.692800836 +0800 -+++ b/blis.pc.in 2021-11-29 13:25:52.150795803 +0800 -@@ -7,5 +7,4 @@ - Description: BLAS-like Library Instantiation Software Framework - Version: @PACKAGE_VERSION@ - Libs: -L${libdir} -lblis --Libs.private: @LDFLAGS@ - Cflags: -I${includedir}/blis diff --git a/sci-libs/blis/files/blis-0.9.0-rpath.patch b/sci-libs/blis/files/blis-0.9.0-rpath.patch deleted file mode 100644 index 9687a6c9428b..000000000000 --- a/sci-libs/blis/files/blis-0.9.0-rpath.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Nur a/common.mk b/common.mk ---- a/common.mk 2022-09-29 16:54:14.414899248 +0800 -+++ b/common.mk 2022-09-29 16:54:32.915666662 +0800 -@@ -591,9 +591,9 @@ - LDFLAGS += -Wl,-rpath,@executable_path/../../../$(BASE_LIB_PATH) - else - # rpath for test_libblis.x --LDFLAGS += -Wl,-rpath,'$$ORIGIN/$(BASE_LIB_PATH)' -+#LDFLAGS += -Wl,-rpath,'$$ORIGIN/$(BASE_LIB_PATH)' - # rpath for BLAS tests --LDFLAGS += -Wl,-rpath,'$$ORIGIN/../../../$(BASE_LIB_PATH)' -+#LDFLAGS += -Wl,-rpath,'$$ORIGIN/../../../$(BASE_LIB_PATH)' - endif - endif - endif diff --git a/sci-libs/blis/files/blis-1.0-no-helper-headers.patch b/sci-libs/blis/files/blis-1.0-no-helper-headers.patch deleted file mode 100644 index ec747824e7dc..000000000000 --- a/sci-libs/blis/files/blis-1.0-no-helper-headers.patch +++ /dev/null @@ -1,13 +0,0 @@ -Don't install one-line "helper header" cblas.h into /usr/include, -as it conflicts with sci-libs/lapack. ---- a/Makefile -+++ b/Makefile -@@ -1052,7 +1052,7 @@ endif - - # --- Install header rules --- - --install-headers: check-env $(MK_INCL_DIR_INST) install-helper-headers -+install-headers: check-env $(MK_INCL_DIR_INST) - - # Rule for installing main headers. - $(MK_INCL_DIR_INST): $(HEADERS_TO_INSTALL) $(CONFIG_MK_FILE) diff --git a/sci-libs/blis/files/blis-2.0-gcc16.patch b/sci-libs/blis/files/blis-2.0-gcc16.patch deleted file mode 100644 index 7fc3718574d3..000000000000 --- a/sci-libs/blis/files/blis-2.0-gcc16.patch +++ /dev/null @@ -1,122 +0,0 @@ -From ff46c252b040fd6e8fb0562bf4cc4c8db4eac95f Mon Sep 17 00:00:00 2001 -From: Devin Matthews <damatthews@smu.edu> -Date: Thu, 11 Sep 2025 10:58:36 -0500 -Subject: [PATCH 1/2] Update Haswell gemmsup fix for gcc 16 and later. - ---- - kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c | 9 ++++----- - kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c | 9 ++++----- - .../haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c | 9 ++++----- - .../haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c | 9 ++++----- - 4 files changed, 16 insertions(+), 20 deletions(-) - -diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c -index e71732de3c..2b38c9a4b1 100644 ---- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c -+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c -@@ -33,11 +33,10 @@ - - */ - --// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845). --// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also --// make sure the compiler isn't clang since it also confusingly defines __GNUC__ --#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15 --#pragma GCC optimize("-fno-tree-slp-vectorize") -+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845). -+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__ -+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15 -+#pragma GCC optimize("-fno-tree-vectorize") - #endif - - #include "blis.h" -diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c -index 880af4207a..093d149a54 100644 ---- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c -+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c -@@ -33,11 +33,10 @@ - - */ - --// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845). --// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also --// make sure the compiler isn't clang since it also confusingly defines __GNUC__ --#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15 --#pragma GCC optimize("-fno-tree-slp-vectorize") -+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845). -+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__ -+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15 -+#pragma GCC optimize("-fno-tree-vectorize") - #endif - - #include "blis.h" -diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c -index d0814d6d82..e9697f9771 100644 ---- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c -+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c -@@ -33,11 +33,10 @@ - - */ - --// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845). --// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also --// make sure the compiler isn't clang since it also confusingly defines __GNUC__ --#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15 --#pragma GCC optimize("-fno-tree-slp-vectorize") -+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845). -+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__ -+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15 -+#pragma GCC optimize("-fno-tree-vectorize") - #endif - - #include "blis.h" -diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c -index bc2d783e3b..73517976eb 100644 ---- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c -+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c -@@ -33,11 +33,10 @@ - - */ - --// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845). --// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also --// make sure the compiler isn't clang since it also confusingly defines __GNUC__ --#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15 --#pragma GCC optimize("-fno-tree-slp-vectorize") -+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845). -+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__ -+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15 -+#pragma GCC optimize("-fno-tree-vectorize") - #endif - - #include "blis.h" - -From b62a9f11c080189a8742ce9949f5930793fbdaf4 Mon Sep 17 00:00:00 2001 -From: Devin Matthews <damatthews@smu.edu> -Date: Thu, 11 Sep 2025 11:04:13 -0500 -Subject: [PATCH 2/2] Update CREDITS [ci skip]. - ---- - CREDITS | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/CREDITS b/CREDITS -index b677cbaa8d..a0615da121 100644 ---- a/CREDITS -+++ b/CREDITS -@@ -64,6 +64,7 @@ but many others have contributed code, ideas, and feedback, including - Aaron Hutchinson @Aaron-Hutchinson (SiFive) - Francisco Igual @figual (Universidad Complutense de Madrid) - @j-bm -+ Sam James @thesamesam - Madeesh Kannan @shadeMe - Tony Kelman @tkelman - Lee Killough @leekillough (Tactical Computing Labs) -@@ -149,6 +150,7 @@ but many others have contributed code, ideas, and feedback, including - Chenhan Yu @ChenhanYu (The University of Texas at Austin) - Roman Yurchak @rth (Symerio) - Stefano Zampini @stefanozampini -+ Paul Zander @negril - M. Zhou @cdluminate - Igor Zhuravlov @jip (Far Eastern Federal University) - @AngryLoki diff --git a/sci-libs/blis/files/cblas.lds b/sci-libs/blis/files/cblas.lds deleted file mode 100644 index 18ec172028ca..000000000000 --- a/sci-libs/blis/files/cblas.lds +++ /dev/null @@ -1,15 +0,0 @@ -{ - # Export CBLAS symbols - global: - cblas_*; - CBLAS_*; - RowMajorStrg; - - # Hide everything else. - local: - bli_thread_set_num_threads_; - bli_thread_set_ways_; - bli_*; - *_; - *; -}; diff --git a/sci-libs/blis/metadata.xml b/sci-libs/blis/metadata.xml deleted file mode 100644 index 46dfc9e68452..000000000000 --- a/sci-libs/blis/metadata.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <bugs-to>https://github.com/flame/blis/issues/</bugs-to> - <doc>https://github.com/flame/blis</doc> - <remote-id type="github">flame/blis</remote-id> - </upstream> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - BLIS is a portable software framework for instantiating high-performance - BLAS-like dense linear algebra libraries. The framework was designed to - isolate essential kernels of computation that, when optimized, immediately - enable optimized implementations of most of its commonly used and - computationally intensive operations. BLIS is written in ISO C99 and - available under a new/modified/3-clause BSD license. While BLIS exports a - new BLAS-like API, it also includes a BLAS compatibility layer which gives - application developers access to BLIS implementations via traditional BLAS - routine calls. An object-based API unique to BLIS is also available. - </longdescription> - <use> - <flag name="index64">Build an ILP64 libblis64 in addition to LP64 libblis</flag> - <flag name="openmp">Use openmp threadding model</flag> - <flag name="pthread">Use pthread threadding model</flag> - <flag name="serial">Use no threadding model</flag> - <flag name="eselect-ldso">Enable runtime library switching by eselect and ld.so.</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/bliss/Manifest b/sci-libs/bliss/Manifest deleted file mode 100644 index 6a7b83ca6e7d..000000000000 --- a/sci-libs/bliss/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bliss-0.77.zip 117888 BLAKE2B ce4b2fa568c5520fe41748bf59a493af1c33ec9cc0732aca5e5ba657ca726e118e26763355778e3def5716d62e7d3aceceb592ef67e5e148c250d3ffffab67d7 SHA512 d210f137e614bca7cf0d88851d0c62292bf479b687bca6a25d9e42661825f882a4ff8c74c96a965bd9d4f246a1bda6b90cef64894914e6f7b17db6bf4a8f4b17 diff --git a/sci-libs/bliss/bliss-0.77-r1.ebuild b/sci-libs/bliss/bliss-0.77-r1.ebuild deleted file mode 100644 index 1c7aa11b8eb3..000000000000 --- a/sci-libs/bliss/bliss-0.77-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -SRC_URI="https://users.aalto.fi/~tjunttil/${PN}/downloads/${P}.zip" -DESCRIPTION="Compute Automorphism Groups and Canonical Labelings of Graphs" -HOMEPAGE="https://users.aalto.fi/~tjunttil/bliss/index.html" - -LICENSE="LGPL-3" -SLOT="0/1" -KEYWORDS="amd64 ~riscv ~x86" -IUSE="gmp" - -RDEPEND="gmp? ( dev-libs/gmp:0= )" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" -PATCHES=( - "${FILESDIR}/${PN}-0.77-install.patch" - "${FILESDIR}/${PN}-0.77-libbliss-underlinking.patch" -) - -src_configure() { - local mycmakeargs=( - -DUSE_GMP="$(usex gmp)" - ) - - cmake_src_configure -} diff --git a/sci-libs/bliss/bliss-0.77.ebuild b/sci-libs/bliss/bliss-0.77.ebuild deleted file mode 100644 index eb0197e1eee7..000000000000 --- a/sci-libs/bliss/bliss-0.77.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -SRC_URI="https://users.aalto.fi/~tjunttil/${PN}/downloads/${P}.zip" -DESCRIPTION="Compute Automorphism Groups and Canonical Labelings of Graphs" -HOMEPAGE="https://users.aalto.fi/~tjunttil/bliss/index.html" - -LICENSE="LGPL-3" -SLOT="0/1" -KEYWORDS="amd64 ~riscv ~x86" -IUSE="gmp" - -RDEPEND="gmp? ( dev-libs/gmp:0= )" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" -PATCHES=( "${FILESDIR}/${PN}-0.77-install.patch" ) - -src_configure() { - local mycmakeargs=( - -DUSE_GMP="$(usex gmp)" - ) - - cmake_src_configure -} diff --git a/sci-libs/bliss/files/bliss-0.77-install.patch b/sci-libs/bliss/files/bliss-0.77-install.patch deleted file mode 100644 index caab14aa40f6..000000000000 --- a/sci-libs/bliss/files/bliss-0.77-install.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 01ed093..cfdb0a6 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -62,3 +62,27 @@ if(USE_GMP) - target_link_libraries(bliss-executable ${GMP_LIBRARIES}) - endif(USE_GMP) - set_target_properties(bliss-executable PROPERTIES OUTPUT_NAME bliss) -+ -+include(GNUInstallDirs) -+ -+set( -+ BLISS_HEADERS -+ src/bliss_C.h -+ src/uintseqhash.hh -+ src/abstractgraph.hh -+ src/stats.hh -+ src/digraph.hh -+ src/defs.hh -+ src/heap.hh -+ src/graph.hh -+ src/partition.hh -+ src/kqueue.hh -+ src/utils.hh -+ src/orbit.hh -+ src/timer.hh -+ src/bignum.hh -+) -+ -+install(TARGETS bliss-executable RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -+install(TARGETS bliss LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) -+install(FILES ${BLISS_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/bliss) diff --git a/sci-libs/bliss/files/bliss-0.77-libbliss-underlinking.patch b/sci-libs/bliss/files/bliss-0.77-libbliss-underlinking.patch deleted file mode 100644 index faf04d7ae6e3..000000000000 --- a/sci-libs/bliss/files/bliss-0.77-libbliss-underlinking.patch +++ /dev/null @@ -1,16 +0,0 @@ -https://bugs.gentoo.org/922651 - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index cfdb0a6..e0fd51a 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -51,6 +51,9 @@ endif(MSVC) - # Add the shared library - add_library(bliss SHARED ${BLISS_SOURCE_FILES}) - set_property(TARGET bliss PROPERTY POSITION_INDEPENDENT_CODE 1) -+if(USE_GMP) -+ target_link_libraries(bliss ${GMP_LIBRARIES}) -+endif(USE_GMP) - - # Add the static library - add_library(bliss_static STATIC ${BLISS_SOURCE_FILES}) diff --git a/sci-libs/bliss/metadata.xml b/sci-libs/bliss/metadata.xml deleted file mode 100644 index 9dea14695381..000000000000 --- a/sci-libs/bliss/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/branca/Manifest b/sci-libs/branca/Manifest deleted file mode 100644 index a2d852317060..000000000000 --- a/sci-libs/branca/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST branca-0.8.2.tar.gz 43154 BLAKE2B 40a6b2bd48b55f4e96065c3818255eaa20027fd2999b445f343ea3b5a737a0af507d9abaaee299aba585b67dbad1e71f5b84d1536f659642a5e9d21fbe905415 SHA512 6e8eb626c3fbe41248dae3d7631d6ccd6740cfe0a2fff5c2fc6da8b4224fa4b86a80bbfa5dd407d44690cd1d9f179a4076c9c42be75cd5e7c16b2864338d2519 diff --git a/sci-libs/branca/branca-0.8.2.ebuild b/sci-libs/branca/branca-0.8.2.ebuild deleted file mode 100644 index f73ac235c6d8..000000000000 --- a/sci-libs/branca/branca-0.8.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -inherit distutils-r1 - -DESCRIPTION="spinoff from folium, host the non-map-specific features" -HOMEPAGE="https://github.com/python-visualization/branca" -SRC_URI="https://github.com/python-visualization/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND="dev-python/jinja2[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/setuptools-scm - test? ( - dev-python/selenium[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -distutils_enable_sphinx docs/source \ - dev-python/nbsphinx - -python_test() { - epytest -m 'not headless' -} diff --git a/sci-libs/branca/metadata.xml b/sci-libs/branca/metadata.xml deleted file mode 100644 index cd3cdb1c212a..000000000000 --- a/sci-libs/branca/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tupone@gentoo.org</email> - <name>Tupone Alfredo</name> - </maintainer> - <longdescription lang="en"> - This library is a spinoff from folium, that would host the non-map-specific features. - It may become a HTML+JS generation library in the future. - It is based on Jinja2 only. - </longdescription> - <upstream> - <remote-id type="github">python-visualization/branca</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/brial/Manifest b/sci-libs/brial/Manifest deleted file mode 100644 index d147b33b6035..000000000000 --- a/sci-libs/brial/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST brial-1.2.12.tar.bz2 1259569 BLAKE2B bf9415b2980d76d00239eceea113d6dbb916f5dcec3bdecb05db0ad1988761e4d25ab9a0419c68a3b2501f1f9dc6e2d31418aea7c727cfd01f4ae76eea8f81e2 SHA512 c44902f0f935d614b8c2d437d6c895f650ff4b77501ac3ba035e21671719f4080c88a173819f8db8e8b7dda121736146d8388b70ad7cda75207a1b22b93f5af6 -DIST brial-1.2.15.tar.bz2 1199316 BLAKE2B 10c7d73fedc3faef98eecfcb223e90389dc380ac1fe8320cc80bb5426c669c4289bac6bfedc5231831fb1f39cd762d20d003ea346dc1028acbbee4e5edf7c606 SHA512 862f6359d74020fd1009b9b75b0d49760cb8589112d817b5df60b681a91af9b428c28716fbd72e12cdb09169b811547cb6bec7a81e786972b704ce1a526b2a00 diff --git a/sci-libs/brial/brial-1.2.12-r1.ebuild b/sci-libs/brial/brial-1.2.12-r1.ebuild deleted file mode 100644 index b15eaeea6bb5..000000000000 --- a/sci-libs/brial/brial-1.2.12-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="A C++ library for polynomials over boolean rings" -HOMEPAGE="https://github.com/BRiAl/BRiAl" -SRC_URI="https://github.com/BRiAl/BRiAl/releases/download/${PV}/${P}.tar.bz2" - -# The top-level license is GPL2+, but cudd/LICENSE is BSD. -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86 ~x64-macos" -IUSE="png" - -BDEPEND="virtual/pkgconfig" -DEPEND="dev-libs/boost - >=sci-libs/m4ri-20250128:=[png=]" -RDEPEND="${DEPEND}" - -src_configure() { - tc-export PKG_CONFIG - - # with-boost-libdir added to deal with some rather quirky setups - # see https://github.com/cschwan/sage-on-gentoo/issues/551 - econf \ - --with-boost="${ESYSROOT}"/usr \ - --with-boost-libdir="${ESYSROOT}"/usr/$(get_libdir) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/brial/brial-1.2.12.ebuild b/sci-libs/brial/brial-1.2.12.ebuild deleted file mode 100644 index 4ca29ef40b5f..000000000000 --- a/sci-libs/brial/brial-1.2.12.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="A C++ library for polynomials over boolean rings" -HOMEPAGE="https://github.com/BRiAl/BRiAl" -SRC_URI="https://github.com/BRiAl/BRiAl/releases/download/${PV}/${P}.tar.bz2" - -# The top-level license is GPL2+, but cudd/LICENSE is BSD. -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86 ~x64-macos" -IUSE="png" - -BDEPEND="virtual/pkgconfig" -DEPEND="dev-libs/boost - sci-libs/m4ri[png=]" -RDEPEND="${DEPEND}" - -src_configure() { - tc-export PKG_CONFIG - - # with-boost-libdir added to deal with some rather quirky setups - # see https://github.com/cschwan/sage-on-gentoo/issues/551 - econf \ - --with-boost="${ESYSROOT}"/usr \ - --with-boost-libdir="${ESYSROOT}"/usr/$(get_libdir) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/brial/brial-1.2.15.ebuild b/sci-libs/brial/brial-1.2.15.ebuild deleted file mode 100644 index b2602c3c2da9..000000000000 --- a/sci-libs/brial/brial-1.2.15.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=9 - -inherit toolchain-funcs - -DESCRIPTION="A C++ library for polynomials over boolean rings" -HOMEPAGE="https://github.com/BRiAl/BRiAl" -SRC_URI="https://github.com/BRiAl/BRiAl/releases/download/${PV}/${P}.tar.bz2" - -# The top-level license is GPL2+, but cudd/LICENSE is BSD. -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86 ~x64-macos" -IUSE="png" - -BDEPEND="virtual/pkgconfig" -DEPEND="dev-libs/boost - >=sci-libs/m4ri-20250128:=[png=]" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/cudd-3.0-bp.patch" ) - -src_configure() { - tc-export PKG_CONFIG - - # with-boost-libdir added to deal with some rather quirky setups - # see https://github.com/cschwan/sage-on-gentoo/issues/551 - econf \ - --with-boost="${ESYSROOT}"/usr \ - --with-boost-libdir="${ESYSROOT}"/usr/$(get_libdir) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/brial/files/cudd-3.0-bp.patch b/sci-libs/brial/files/cudd-3.0-bp.patch deleted file mode 100644 index ea549534d7f4..000000000000 --- a/sci-libs/brial/files/cudd-3.0-bp.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/cudd/cudd.h b/cudd/cudd.h -index 03dcc9e8..8b52b440 100644 ---- a/cudd/cudd.h -+++ b/cudd/cudd.h -@@ -88,8 +88,10 @@ - - #ifdef __cplusplus - #include <cstdio> -+#include <cstdint> - #else - #include <stdio.h> -+#include <stdint.h> - #endif - - #ifdef __cplusplus -@@ -379,7 +381,7 @@ typedef int (*DD_QSFP)(const void *, const void *); - SeeAlso [Cudd_NotCond] - - ******************************************************************************/ --#define Cudd_Not(node) ((DdNode *)((long)(node) ^ 01)) -+#define Cudd_Not(node) ((DdNode *)((uintptr_t)(node) ^ (uintptr_t) 01)) - - - /**Macro*********************************************************************** -@@ -395,7 +397,7 @@ typedef int (*DD_QSFP)(const void *, const void *); - SeeAlso [Cudd_Not] - - ******************************************************************************/ --#define Cudd_NotCond(node,c) ((DdNode *)((long)(node) ^ (c))) -+#define Cudd_NotCond(node,c) ((DdNode *)((uintptr_t)(node) ^ (uintptr_t) (c))) - - - /**Macro*********************************************************************** -@@ -409,7 +411,7 @@ typedef int (*DD_QSFP)(const void *, const void *); - SeeAlso [Cudd_Complement Cudd_IsComplement] - - ******************************************************************************/ --#define Cudd_Regular(node) ((DdNode *)((unsigned long)(node) & ~01)) -+#define Cudd_Regular(node) ((DdNode *)((uintptr_t)(node) & ~(uintptr_t) 01)) - - - /**Macro*********************************************************************** -@@ -423,7 +425,7 @@ typedef int (*DD_QSFP)(const void *, const void *); - SeeAlso [Cudd_Regular Cudd_IsComplement] - - ******************************************************************************/ --#define Cudd_Complement(node) ((DdNode *)((unsigned long)(node) | 01)) -+#define Cudd_Complement(node) ((DdNode *)((uintptr_t)(node) | (uintptr_t) 01)) - - - /**Macro*********************************************************************** diff --git a/sci-libs/brial/metadata.xml b/sci-libs/brial/metadata.xml deleted file mode 100644 index e5158b9ea3e0..000000000000 --- a/sci-libs/brial/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <longdescription lang="en"> - BRiAl is a C++ library (the successor to PolyBoRi) that provides - high-level data types for Boolean polynomials and monomials, - exponent vectors, as well as for the underlying polynomial rings - and subsets of the powerset of the Boolean variables. - </longdescription> - - <upstream> - <remote-id type="github">BRiAl/BRiAl</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/btf/Manifest b/sci-libs/btf/Manifest deleted file mode 100644 index 62f0632d2f60..000000000000 --- a/sci-libs/btf/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST btf-1.2.6.tar.bz2 285699 BLAKE2B 4addeea7b9abe87281f826a67a8a372118579f498057c888008ac93da1cdbfcf8554af6e843d92a07989ff0b24f537588f933fcc33c97317f47536980e551531 SHA512 39c08ec9bf2a85915aeed040dc02c42c10adf5034c3797910dc7cb6942ac6e2ccea47cea4ab0c37e8ed3eb8eac8d2ce946d281c9ec643cccd282af7be5276960 diff --git a/sci-libs/btf/btf-1.2.6.ebuild b/sci-libs/btf/btf-1.2.6.ebuild deleted file mode 100644 index 2d661e036c66..000000000000 --- a/sci-libs/btf/btf-1.2.6.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Algorithm for matrix permutation into block triangular form" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" - -DEPEND="sci-libs/suitesparseconfig" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_configure() { - econf --disable-static -} - -src_install() { - default - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/btf/btf-2.0.3.ebuild b/sci-libs/btf/btf-2.0.3.ebuild deleted file mode 100644 index 90c81d82ed94..000000000000 --- a/sci-libs/btf/btf-2.0.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Algorithm for matrix permutation into block triangular form" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/2" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - ) - cmake_src_configure -} diff --git a/sci-libs/btf/btf-2.3.3.ebuild b/sci-libs/btf/btf-2.3.3.ebuild deleted file mode 100644 index d66c2b53c365..000000000000 --- a/sci-libs/btf/btf-2.3.3.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Algorithm for matrix permutation into block triangular form" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="LGPL-2.1" -SLOT="0/2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} diff --git a/sci-libs/btf/metadata.xml b/sci-libs/btf/metadata.xml deleted file mode 100644 index 9f70db2d6ffd..000000000000 --- a/sci-libs/btf/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The Block Triangular Form is a library of routines offering - permutation of an unsymmetric matrix (square or rectangular) into - its block upper triangular form (more precisely, it computes a - Dulmage-Mendelsohn decomposition). - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/buddy/Manifest b/sci-libs/buddy/Manifest deleted file mode 100644 index 790077990e7c..000000000000 --- a/sci-libs/buddy/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST buddy-2.4.tar.gz 766523 BLAKE2B ab640fe6ccde38b8c5b9b6e344a94c605f6c3f12992e13350bbf547367cb074ec07b76b3d2b9d9d4d87f3604b24fe8b4961a8634f51f6c25bb004118188ece3f SHA512 43984969359ac363141ee8a67538ceeae1412efa172432a8355f6ce68ab5ffab12470ad7a2e0d7a6a557b8bf55e98b2f2dc5cc6710466403d45fab2195ba2e23 diff --git a/sci-libs/buddy/buddy-2.4-r1.ebuild b/sci-libs/buddy/buddy-2.4-r1.ebuild deleted file mode 100644 index 15c0cf42fab8..000000000000 --- a/sci-libs/buddy/buddy-2.4-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fortran-2 - -DESCRIPTION="Binary Decision Diagram Package" -HOMEPAGE="https://sourceforge.net/projects/buddy/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="buddy" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc examples" - -DOCS=( doc/tech.txt ) -PATCHES=( - "${FILESDIR}"/${P}-gcc43.patch - "${FILESDIR}"/${P}-gold.patch -) - -src_configure() { - econf --disable-static -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - - if use examples; then - find examples/ -name 'Makefile*' -delete || die - - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - if use doc; then - docinto ps - dodoc doc/*.ps - fi -} diff --git a/sci-libs/buddy/files/buddy-2.4-gcc43.patch b/sci-libs/buddy/files/buddy-2.4-gcc43.patch deleted file mode 100644 index c7b9f85688eb..000000000000 --- a/sci-libs/buddy/files/buddy-2.4-gcc43.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Naurp buddy-2.4-orig/src/bddtest.cxx buddy-2.4/src/bddtest.cxx ---- buddy-2.4-orig/src/bddtest.cxx 2004-06-25 07:22:26.000000000 -0600 -+++ buddy-2.4/src/bddtest.cxx 2009-02-09 22:14:19.000000000 -0600 -@@ -28,6 +28,7 @@ - ========================================================================*/ - - #include <string> -+#include <cstdlib> - #include "bdd.h" - #include "bvec.h" - -diff -Naurp buddy-2.4-orig/examples/bddcalc/parser_.h buddy-2.4/examples/bddcalc/parser_.h ---- buddy-2.4-orig/examples/bddcalc/parser_.h 2004-06-25 07:21:43.000000000 -0600 -+++ buddy-2.4/examples/bddcalc/parser_.h 2009-02-09 22:21:09.000000000 -0600 -@@ -9,6 +9,7 @@ - #define _PARSER_H - - #include <stdio.h> -+#include <stdlib.h> - #include "bdd.h" - - #define MAXIDLEN 32 /* Max. number of allowed characters in an identifier */ diff --git a/sci-libs/buddy/files/buddy-2.4-gold.patch b/sci-libs/buddy/files/buddy-2.4-gold.patch deleted file mode 100644 index dc30a642141d..000000000000 --- a/sci-libs/buddy/files/buddy-2.4-gold.patch +++ /dev/null @@ -1,16 +0,0 @@ - examples/cmilner/Makefile.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/examples/cmilner/Makefile.in b/examples/cmilner/Makefile.in -index 9b49e9d..f7a9b8a 100644 ---- a/examples/cmilner/Makefile.in -+++ b/examples/cmilner/Makefile.in -@@ -217,7 +217,7 @@ clean-checkPROGRAMS: - done - cmilner$(EXEEXT): $(cmilner_OBJECTS) $(cmilner_DEPENDENCIES) - @rm -f cmilner$(EXEEXT) -- $(LINK) $(cmilner_LDFLAGS) $(cmilner_OBJECTS) $(cmilner_LDADD) $(LIBS) -+ $(LINK) $(cmilner_LDFLAGS) $(cmilner_OBJECTS) $(cmilner_LDADD) $(LIBS) -lm - - mostlyclean-compile: - -rm -f *.$(OBJEXT) diff --git a/sci-libs/buddy/metadata.xml b/sci-libs/buddy/metadata.xml deleted file mode 100644 index dd78bb900bcc..000000000000 --- a/sci-libs/buddy/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - A Binary Decision Diagram library, with :many highly efficient - vectorized BDD operations,dynamic variable reordering,automated - garbage collection,a C++ interface with automatic reference - counting,and much more. - </longdescription> - <upstream> - <remote-id type="sourceforge">buddy</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/camd/Manifest b/sci-libs/camd/Manifest deleted file mode 100644 index fbe833dfa62b..000000000000 --- a/sci-libs/camd/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST camd-2.4.6.tar.bz2 317071 BLAKE2B 8f982050a20f00c9443063a0473caa4aa27efe005fe07b503cb68b29499152561fc9d30d00783607b1e8fb8af88707eabfe22d192b80e375b8a6d04d7a9a26d7 SHA512 c4020ed3e063d04f5d7d1a301719b1a5b5b912d505858f046654c9d283c41ff01d55f668fb7f7179a6ac636f5a5b80f71cac5eb5b1e5cae0ede97d946d62a1d0 diff --git a/sci-libs/camd/camd-2.4.6-r1.ebuild b/sci-libs/camd/camd-2.4.6-r1.ebuild deleted file mode 100644 index aad4308f3e5f..000000000000 --- a/sci-libs/camd/camd-2.4.6-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="doc" - -BDEPEND="virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND=">=sci-libs/suitesparseconfig-5.4.0" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-2.4.6-dash_doc.patch ) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - $(use_with doc) -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/camd/camd-3.0.3.ebuild b/sci-libs/camd/camd-3.0.3.ebuild deleted file mode 100644 index 21d5a30a4a67..000000000000 --- a/sci-libs/camd/camd-3.0.3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run demo files - local demofiles=( - camd_demo - camd_l_demo - camd_demo2 - camd_simple - ) - for i in ${demofiles[@]}; do - ./"${i}" > "${i}.out" || die "failed to run test ${i}" - diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}" - done - einfo "All tests passed" -} - -multilib_src_install() { - if use doc; then - pushd "${S}/Doc" - emake clean - rm -rf *.pdf - emake - popd - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/camd/camd-3.3.5.ebuild b/sci-libs/camd/camd-3.3.5.ebuild deleted file mode 100644 index afdd82df0668..000000000000 --- a/sci-libs/camd/camd-3.3.5.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Run demo files - local demofiles=( - camd_demo - camd_l_demo - camd_demo2 - camd_simple - ) - local i - for i in ${demofiles[@]}; do - ./"${i}" > "${i}.out" || die "${i} failed to run" - diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}" - done - einfo "All tests passed" -} - -src_install() { - if use doc; then - pushd "${S}/Doc" || die - emake clean - rm -rf *.pdf || die - emake - popd || die - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/camd/files/camd-2.4.6-dash_doc.patch b/sci-libs/camd/files/camd-2.4.6-dash_doc.patch deleted file mode 100644 index c70ed070f2a3..000000000000 --- a/sci-libs/camd/files/camd-2.4.6-dash_doc.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/Doc/Makefile.am b/Doc/Makefile.am -index 80f5653..71c130a 100644 ---- a/Doc/Makefile.am -+++ b/Doc/Makefile.am -@@ -1,9 +1,8 @@ - - CAMD_UserGuide.pdf: -- echo '\begin{verbatim}' > camd_h.tex -+ printf '\\begin{verbatim}\n' > camd_h.tex - expand -8 $(top_srcdir)/Include/camd.h >> camd_h.tex -- echo '\end{verbatim}' >> camd_h.tex -- -ln -s $(srcdir)/*.{tex,bib} . -+ printf '\\end{verbatim}\n' >> camd_h.tex - $(PDFLATEX) CAMD_UserGuide - $(BIBTEX) CAMD_UserGuide - $(PDFLATEX) CAMD_UserGuide diff --git a/sci-libs/camd/metadata.xml b/sci-libs/camd/metadata.xml deleted file mode 100644 index 728817ca7a84..000000000000 --- a/sci-libs/camd/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Constrained Approximate Minimum Degree ordering is a set of routines - for ordering a sparse matrix prior to Cholesky factorization (or for - LU factorization with diagonal pivoting). - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cantera/Manifest b/sci-libs/cantera/Manifest deleted file mode 100644 index b822b61eeaf8..000000000000 --- a/sci-libs/cantera/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST cantera-3.0.1.tar.gz 2451841 BLAKE2B b05771021a81d5266dfed382e2a6357e5b70653c6d9cfb5f03a6755095f4f8f4e7c0f78b79e0bf131c01fefce46bbc647c790ee412b6457c515cda39d4fc3054 SHA512 fa993b33867c6c0a0ca539f52116c4cdea739dfcd30deb5d2f66042f290f7f2f60112d7a37c38fbd8a38a119e5af00a7a85fd80b6e36388202b666be0ddd7715 -DIST cantera-3.1.0.tar.gz 2605640 BLAKE2B 6912b4e6b96ff71f02484a8fa051f8d34d0fc24c933e08e129531c6fe10e80fea74fcf6a6f7b00736de7b6ed5d4ab483f37a51b532d9bf154646546a8856e2a2 SHA512 0400a01ed0e244e6a34c9c04ffd5174ce6632c713c9bf003ab96e22b6f5a62713ee6a7eb07d7ae614e9f4e303e17df7fd234d66a48e43e46ede0246bb2bac52b -DIST cantera-3.1.0_example_data.tar.gz 244545 BLAKE2B c341a7d530ad2486660b1dfe870f6ddd49280101bc7e98d3a88dea3aaaab0ae6c25383746f688164a04385a462a513f706d0ee248a675806de22df467d4f074f SHA512 a6171a106460f8b7a84bf825db38826444c30f921ba27896a50e1b52177550deaa5f66e11f6f91a2b91c4023e3dfb55b46233d2b6176afa771154dd81f8b34ab -DIST cantera-3.2.0.tar.gz 2817937 BLAKE2B 5e6058fb57c05315661f6298f6f4384d266510221e1bc5c8b2b7041b11a6fab0d588c87d05c61543a87ac98fea01763f68614c25948783e8fa17a2a3a7ca2846 SHA512 d587029567ebc4685d03c811fbcc56f676e2f29270b8cb69d22e2518911db2bdfe40c7683d822c09c0a723925479b247beae44a3edc07c86a48e67d2bad628b8 -DIST cantera-3.2.0_example_data.tar.gz 260526 BLAKE2B 2c1ff2430bc42867e6dc41cb0677382139fed152e022cae0b94597f8962181d1c46013818344429114584826c7e6dbe58fd9854a5f3d46fd966fe9fb248cb207 SHA512 940a16f69975b7171d56a1d8c89bc0d8e2e306e8be041974bdd33f4061dca4c172555d1886785f294f3b009856b4112e95870c4b891a9153529c94747fca936f diff --git a/sci-libs/cantera/cantera-3.0.1-r1.ebuild b/sci-libs/cantera/cantera-3.0.1-r1.ebuild deleted file mode 100644 index 995ad38e3f58..000000000000 --- a/sci-libs/cantera/cantera-3.0.1-r1.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90" - -inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs - -DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" -HOMEPAGE="https://www.cantera.org" -SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="fortran hdf5 lapack +python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - dev-cpp/eigen:= - dev-cpp/yaml-cpp - hdf5? ( sci-libs/highfive ) - !lapack? ( sci-libs/sundials:0= ) - lapack? ( - >=sci-libs/sundials-6.5.0:0=[lapack?] - virtual/lapack - ) - python? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ') - ) -" - -DEPEND=" - ${RDEPEND} - dev-libs/boost:= - <dev-libs/libfmt-11 - python? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ') - ) - test? ( - >=dev-cpp/gtest-1.11.0 - python? ( - $(python_gen_cond_dep ' - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ') - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.0_env.patch" -) - -pkg_setup() { - fortran-2_pkg_setup - python-single-r1_pkg_setup -} - -## Full list of configuration options of Cantera is presented here: -## http://cantera.org/docs/sphinx/html/compiling/config-options.html -src_configure() { - # -Werror=odr, -Werror=lto-type-mismatch - # https://github.com/Cantera/cantera/issues/1783 - filter-lto - - scons_vars=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - CXX="$(tc-getCXX)" - cc_flags="${CXXFLAGS}" - cxx_flags="-std=c++17" - debug="no" - FORTRAN="$(tc-getFC)" - FORTRANFLAGS="${FCFLAGS}" - optimize_flags="-Wno-inline" - renamed_shared_libraries="no" - use_pch="no" - ## In some cases other order can break the detection of right location of Boost: ## - system_fmt="y" - system_sundials="y" - system_eigen="y" - system_yamlcpp="y" - hdf_support=$(usex hdf5 y n) - system_blas_lapack=$(usex lapack y n) - env_vars="all" - extra_inc_dirs="/usr/include/eigen3" - use_rpath_linkage="yes" - extra_lib_dirs="/usr/$(get_libdir)/${PN}" - ) - use hdf5 && scons_vars+=( system_highfive="y" ) - use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" ) - use test || scons_vars+=( googletest="none" ) - - scons_targets=( - f90_interface=$(usex fortran y n) - ) - - if use python ; then - scons_targets+=( python_package="full" python_cmd="${EPYTHON}" ) - else - scons_targets+=( python_package="none" ) - fi -} - -src_compile() { - escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" -} - -src_test() { - escons test -} - -src_install() { - escons install stage_dir="${D}" libdirname="$(get_libdir)" - if ! use python ; then - rm -r "${D}/usr/share/man" || die "Can't remove man files." - else - # Run the byte-compile of modules - python_optimize "${D}$(python_get_sitedir)/${PN}" - fi - - # User could remove this line if require static libs for development purpose - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - local post_msg=$(usex fortran "and Fortran " "") - elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." -} diff --git a/sci-libs/cantera/cantera-3.0.1-r2.ebuild b/sci-libs/cantera/cantera-3.0.1-r2.ebuild deleted file mode 100644 index 186dd6aa4323..000000000000 --- a/sci-libs/cantera/cantera-3.0.1-r2.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90" - -inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs - -DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" -HOMEPAGE="https://www.cantera.org" -SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="fortran hdf5 lapack +python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - dev-cpp/eigen:= - dev-cpp/yaml-cpp - hdf5? ( sci-libs/highfive ) - !lapack? ( sci-libs/sundials:0= ) - lapack? ( - >=sci-libs/sundials-6.5.0:0=[lapack?] - virtual/lapack - ) - python? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ') - ) -" - -DEPEND=" - ${RDEPEND} - dev-libs/boost:= - dev-libs/libfmt - python? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ') - ) - test? ( - >=dev-cpp/gtest-1.11.0 - python? ( - $(python_gen_cond_dep ' - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ') - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.0_env.patch" - "${FILESDIR}/${P}_fix_fmt_with_c++20.patch" - "${FILESDIR}/${P}_add_fmt11_support.patch" -) - -pkg_setup() { - fortran-2_pkg_setup - python-single-r1_pkg_setup -} - -## Full list of configuration options of Cantera is presented here: -## http://cantera.org/docs/sphinx/html/compiling/config-options.html -src_configure() { - # -Werror=odr, -Werror=lto-type-mismatch - # https://github.com/Cantera/cantera/issues/1783 - filter-lto - - scons_vars=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - CXX="$(tc-getCXX)" - cc_flags="${CXXFLAGS}" - cxx_flags="-std=c++20" - debug="no" - FORTRAN="$(tc-getFC)" - FORTRANFLAGS="${FCFLAGS}" - optimize_flags="-Wno-inline" - renamed_shared_libraries="no" - use_pch="no" - ## In some cases other order can break the detection of right location of Boost: ## - system_fmt="y" - system_sundials="y" - system_eigen="y" - system_yamlcpp="y" - hdf_support=$(usex hdf5 y n) - system_blas_lapack=$(usex lapack y n) - env_vars="all" - extra_inc_dirs="/usr/include/eigen3" - use_rpath_linkage="yes" - extra_lib_dirs="/usr/$(get_libdir)/${PN}" - ) - use hdf5 && scons_vars+=( system_highfive="y" ) - use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" ) - use test || scons_vars+=( googletest="none" ) - - scons_targets=( - f90_interface=$(usex fortran y n) - ) - - if use python ; then - scons_targets+=( python_package="full" python_cmd="${EPYTHON}" ) - else - scons_targets+=( python_package="none" ) - fi -} - -src_compile() { - escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" -} - -src_test() { - escons test -} - -src_install() { - escons install stage_dir="${D}" libdirname="$(get_libdir)" - if ! use python ; then - rm -r "${D}/usr/share/man" || die "Can't remove man files." - else - # Run the byte-compile of modules - python_optimize "${D}$(python_get_sitedir)/${PN}" - fi - - # User could remove this line if require static libs for development purpose - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - local post_msg=$(usex fortran "and Fortran " "") - elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." -} diff --git a/sci-libs/cantera/cantera-3.1.0-r1.ebuild b/sci-libs/cantera/cantera-3.1.0-r1.ebuild deleted file mode 100644 index 0fc970724500..000000000000 --- a/sci-libs/cantera/cantera-3.1.0-r1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90" - -inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs - -DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" -HOMEPAGE="https://www.cantera.org" -SRC_URI=" - https://github.com/Cantera/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/Cantera/cantera-example-data/archive/refs/tags/v${PV}.tar.gz -> ${P}_example_data.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="fortran hdf5 lapack +python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - dev-cpp/eigen:= - dev-cpp/yaml-cpp - hdf5? ( sci-libs/highfive ) - !lapack? ( sci-libs/sundials:0= ) - lapack? ( - >=sci-libs/sundials-6.5.0:0=[lapack?] - virtual/lapack - ) - python? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ') - ) -" - -DEPEND=" - ${RDEPEND} - dev-libs/boost:= - dev-libs/libfmt - python? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ') - ) - test? ( - >=dev-cpp/gtest-1.11.0 - python? ( - $(python_gen_cond_dep ' - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ') - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0_env.patch" - "${FILESDIR}/${PN}-3.1.0_enable_py3.14_packaging.patch" -) - -src_unpack() { - default - mv -T "${WORKDIR}/${PN}-example-data-${PV}" "${S}"/data/example_data || die -} - -pkg_setup() { - fortran-2_pkg_setup - python-single-r1_pkg_setup -} - -## Full list of configuration options of Cantera is presented here: -## https://cantera.org/3.1/develop/compiling/config-options.html -src_configure() { - # -Werror=odr, -Werror=lto-type-mismatch - # https://github.com/Cantera/cantera/issues/1783 - filter-lto - - scons_vars=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - CXX="$(tc-getCXX)" - cc_flags="${CXXFLAGS}" - cxx_flags="-std=c++20" - debug="no" - FORTRAN="$(tc-getFC)" - FORTRANFLAGS="${FCFLAGS}" - optimize_flags="-Wno-inline" - renamed_shared_libraries="no" - use_pch="no" - ## In some cases other order can break the detection of right location of Boost: ## - system_fmt="y" - system_sundials="y" - system_eigen="y" - system_yamlcpp="y" - hdf_support=$(usex hdf5 y n) - system_blas_lapack=$(usex lapack y n) - env_vars="all" - extra_inc_dirs="/usr/include/eigen3" - use_rpath_linkage="yes" - extra_lib_dirs="/usr/$(get_libdir)/${PN}" - ) - use hdf5 && scons_vars+=( system_highfive="y" ) - use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" ) - use test || scons_vars+=( googletest="none" ) - - scons_targets=( - f90_interface=$(usex fortran y n) - ) - - if use python ; then - scons_targets+=( python_package="y" python_cmd="${EPYTHON}" ) - else - scons_targets+=( python_package="n" ) - fi -} - -src_compile() { - escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" -} - -src_test() { - escons test -} - -src_install() { - escons install stage_dir="${D}" libdirname="$(get_libdir)" - if ! use python ; then - rm -r "${D}/usr/share/man" || die "Can't remove man files." - else - # Run the byte-compile of modules - python_optimize "${D}$(python_get_sitedir)/${PN}" - fi - - # User could remove this line if require static libs for development purpose - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - local post_msg=$(usex fortran "and Fortran " "") - elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." -} diff --git a/sci-libs/cantera/cantera-3.1.0.ebuild b/sci-libs/cantera/cantera-3.1.0.ebuild deleted file mode 100644 index 02c67e8444ca..000000000000 --- a/sci-libs/cantera/cantera-3.1.0.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90" - -inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs - -DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" -HOMEPAGE="https://www.cantera.org" -SRC_URI=" - https://github.com/Cantera/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/Cantera/cantera-example-data/archive/refs/tags/v${PV}.tar.gz -> ${P}_example_data.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="fortran hdf5 lapack +python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - dev-cpp/eigen:= - dev-cpp/yaml-cpp - hdf5? ( sci-libs/highfive ) - !lapack? ( sci-libs/sundials:0= ) - lapack? ( - >=sci-libs/sundials-6.5.0:0=[lapack?] - virtual/lapack - ) - python? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ') - ) -" - -DEPEND=" - ${RDEPEND} - dev-libs/boost:= - dev-libs/libfmt - python? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ') - ) - test? ( - >=dev-cpp/gtest-1.11.0 - python? ( - $(python_gen_cond_dep ' - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ') - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0_env.patch" -) - -src_unpack() { - default - mv -T "${WORKDIR}/${PN}-example-data-${PV}" "${S}"/data/example_data || die -} - -pkg_setup() { - fortran-2_pkg_setup - python-single-r1_pkg_setup -} - -## Full list of configuration options of Cantera is presented here: -## https://cantera.org/3.1/develop/compiling/config-options.html -src_configure() { - # -Werror=odr, -Werror=lto-type-mismatch - # https://github.com/Cantera/cantera/issues/1783 - filter-lto - - scons_vars=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - CXX="$(tc-getCXX)" - cc_flags="${CXXFLAGS}" - cxx_flags="-std=c++20" - debug="no" - FORTRAN="$(tc-getFC)" - FORTRANFLAGS="${FCFLAGS}" - optimize_flags="-Wno-inline" - renamed_shared_libraries="no" - use_pch="no" - ## In some cases other order can break the detection of right location of Boost: ## - system_fmt="y" - system_sundials="y" - system_eigen="y" - system_yamlcpp="y" - hdf_support=$(usex hdf5 y n) - system_blas_lapack=$(usex lapack y n) - env_vars="all" - extra_inc_dirs="/usr/include/eigen3" - use_rpath_linkage="yes" - extra_lib_dirs="/usr/$(get_libdir)/${PN}" - ) - use hdf5 && scons_vars+=( system_highfive="y" ) - use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" ) - use test || scons_vars+=( googletest="none" ) - - scons_targets=( - f90_interface=$(usex fortran y n) - ) - - if use python ; then - scons_targets+=( python_package="y" python_cmd="${EPYTHON}" ) - else - scons_targets+=( python_package="n" ) - fi -} - -src_compile() { - escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" -} - -src_test() { - escons test -} - -src_install() { - escons install stage_dir="${D}" libdirname="$(get_libdir)" - if ! use python ; then - rm -r "${D}/usr/share/man" || die "Can't remove man files." - else - # Run the byte-compile of modules - python_optimize "${D}$(python_get_sitedir)/${PN}" - fi - - # User could remove this line if require static libs for development purpose - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - local post_msg=$(usex fortran "and Fortran " "") - elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." -} diff --git a/sci-libs/cantera/cantera-3.2.0.ebuild b/sci-libs/cantera/cantera-3.2.0.ebuild deleted file mode 100644 index a039c7321082..000000000000 --- a/sci-libs/cantera/cantera-3.2.0.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90" - -inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs - -DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" -HOMEPAGE="https://www.cantera.org" -SRC_URI=" - https://github.com/Cantera/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/Cantera/cantera-example-data/archive/refs/tags/v${PV}.tar.gz -> ${P}_example_data.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="fortran hdf5 lapack +python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - dev-cpp/eigen:= - dev-cpp/yaml-cpp - hdf5? ( sci-libs/highfive ) - !lapack? ( sci-libs/sundials:0= ) - lapack? ( - >=sci-libs/sundials-6.5.0:0=[lapack?] - virtual/lapack - ) - python? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ') - ) -" - -DEPEND=" - ${RDEPEND} - >=app-text/doxygen-1.13.0[dot] - dev-libs/boost:= - dev-libs/libfmt - python? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ') - ) - test? ( - >=dev-cpp/gtest-1.11.0 - python? ( - $(python_gen_cond_dep ' - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ') - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0_env.patch" -) - -src_unpack() { - default - mv -T "${WORKDIR}/${PN}-example-data-${PV}" "${S}"/data/example_data || die -} - -pkg_setup() { - fortran-2_pkg_setup - python-single-r1_pkg_setup -} - -## Full list of configuration options of Cantera is presented here: -## https://cantera.org/3.2/develop/compiling/config-options.html -src_configure() { - # -Werror=odr, -Werror=lto-type-mismatch - # https://github.com/Cantera/cantera/issues/1783 - filter-lto - - scons_vars=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - CXX="$(tc-getCXX)" - cc_flags="${CXXFLAGS}" - cxx_flags="-std=c++20" - debug="no" - FORTRAN="$(tc-getFC)" - FORTRANFLAGS="${FCFLAGS}" - optimize_flags="-Wno-inline" - renamed_shared_libraries="no" - use_pch="no" - ## In some cases other order can break the detection of right location of Boost: ## - system_fmt="y" - system_sundials="y" - system_eigen="y" - system_yamlcpp="y" - hdf_support=$(usex hdf5 y n) - system_blas_lapack=$(usex lapack y n) - env_vars="all" - extra_inc_dirs="/usr/include/eigen3" - use_rpath_linkage="yes" - extra_lib_dirs="/usr/$(get_libdir)/${PN}" - ) - use hdf5 && scons_vars+=( system_highfive="y" ) - use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" ) - use test || scons_vars+=( googletest="none" ) - - scons_targets=( - f90_interface=$(usex fortran y n) - ) - - if use python ; then - scons_targets+=( python_package="y" python_cmd="${EPYTHON}" ) - else - scons_targets+=( python_package="n" ) - fi -} - -src_compile() { - escons build "${scons_vars[@]}" "${scons_targets[@]}" prefix="/usr" -} - -src_test() { - escons test -} - -src_install() { - escons install stage_dir="${D}" libdirname="$(get_libdir)" - if ! use python ; then - rm -r "${D}/usr/share/man" || die "Can't remove man files." - else - # Run the byte-compile of modules - python_optimize "${D}$(python_get_sitedir)/${PN}" - fi - - # User could remove this line if require static libs for development purpose - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - local post_msg=$(usex fortran "and Fortran " "") - elog "C++ ${post_msg}samples are installed to '/usr/share/${PN}/samples/' directory." -} diff --git a/sci-libs/cantera/files/cantera-3.0.0_env.patch b/sci-libs/cantera/files/cantera-3.0.0_env.patch deleted file mode 100644 index cfc2874250e4..000000000000 --- a/sci-libs/cantera/files/cantera-3.0.0_env.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -Naur a/SConstruct b/SConstruct ---- a/SConstruct -+++ b/SConstruct -@@ -819,7 +819,7 @@ - toolchain = ["default"] - - env = Environment(tools=toolchain+["textfile", "subst", "recursiveInstall", "UnitsInterfaceBuilder", "wix", "gch"], -- ENV={"PATH": os.environ["PATH"]}, -+ ENV={'PATH': os.environ['PATH'], 'CCACHE_DIR': os.environ.get('CCACHE_DIR','')}, - toolchain=toolchain, - **extraEnvArgs) - -@@ -970,11 +974,7 @@ - env["CPU"] = get_processor_name() - logger.info(f"Compiling on {env['CPU']!r}") - --try: -- env["git_commit"] = get_command_output("git", "rev-parse", "--short", "HEAD") -- logger.info(f"Building Cantera from git commit {env['git_commit']!r}") --except (subprocess.CalledProcessError, FileNotFoundError): -- env["git_commit"] = "unknown" -+env["git_commit"] = "unknown" - - # Print values of all build options: - # the (updated) "cantera.conf" combines all options that were specified by the user -diff -Naur a/src/SConscript b/src/SConscript ---- a/src/SConscript -+++ b/src/SConscript -@@ -89,7 +89,7 @@ - shim = pyenv.SharedObject("extensions/pythonShim.cpp") - pylibname = f"../lib/cantera_python{pyenv['py_version_short'].replace('.', '_')}" - lib = build(pyenv.SharedLibrary(pylibname, shim, SPAWN=get_spawn(pyenv))) -- install("$inst_shlibdir", lib) -+ install("$inst_shlibdir/cantera", lib) - - - # build the Cantera static library diff --git a/sci-libs/cantera/files/cantera-3.0.1_add_fmt11_support.patch b/sci-libs/cantera/files/cantera-3.0.1_add_fmt11_support.patch deleted file mode 100644 index 7e0d5333a105..000000000000 --- a/sci-libs/cantera/files/cantera-3.0.1_add_fmt11_support.patch +++ /dev/null @@ -1,46 +0,0 @@ -This is upstream patch with removed changes for "doc/sphinx/develop/compiling/dependencies.md" file -Upstream issue: https://github.com/Cantera/cantera/issues/1735 -Gentoo issue: https://bugs.gentoo.org/945800 - -From c8f190928fd7a074944f0f4c58661f84a282a35e Mon Sep 17 00:00:00 2001 -From: Ray Speth <speth@mit.edu> -Date: Wed, 24 Jul 2024 20:12:18 -0400 -Subject: [PATCH] Add support for fmt 11.0 - -Resolves #1735 ---- - SConstruct | 2 +- - doc/sphinx/develop/compiling/dependencies.md | 2 +- - include/cantera/base/fmt.h | 8 ++++++++ - 3 files changed, 10 insertions(+), 2 deletions(-) - -diff --git a/SConstruct b/SConstruct -index 3863fe3a32..0b607ac891 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -216,7 +216,7 @@ config_options = [ - options with spaces, for example, "cxx_flags='-g -Wextra -O3 --std=c++14'" - """, - { -- "cl": "/EHsc /std:c++17", -+ "cl": "/EHsc /std:c++17 /utf-8", - "default": "-std=c++17" - }), - Option( -diff --git a/include/cantera/base/fmt.h b/include/cantera/base/fmt.h -index 1e0b3a0423..6b4d734fe3 100644 ---- a/include/cantera/base/fmt.h -+++ b/include/cantera/base/fmt.h -@@ -42,4 +42,12 @@ void fmt_append(fmt::memory_buffer& b, const std::string& tmpl, Args... args) { - } - #endif - -+#if FMT_VERSION > 100000 -+ #if CT_USE_SYSTEM_FMT -+ #include <fmt/ranges.h> -+ #else -+ #include <fmt/join.h> -+ #endif -+#endif -+ - #endif diff --git a/sci-libs/cantera/files/cantera-3.0.1_fix_fmt_with_c++20.patch b/sci-libs/cantera/files/cantera-3.0.1_fix_fmt_with_c++20.patch deleted file mode 100644 index 3b6b3da50a53..000000000000 --- a/sci-libs/cantera/files/cantera-3.0.1_fix_fmt_with_c++20.patch +++ /dev/null @@ -1,323 +0,0 @@ -This is upstream patch. -Upstream issue: https://github.com/Cantera/cantera/issues/1711 - -From edc8243577020b7dd6cd0fd85285cc8ca043b5ea Mon Sep 17 00:00:00 2001 -From: Ray Speth <speth@mit.edu> -Date: Wed, 19 Jun 2024 00:09:02 -0400 -Subject: [PATCH] Fix usage of fmt when compiling in C++20 mode - -Resolves #1711 ---- - include/cantera/base/AnyMap.h | 6 ++-- - include/cantera/base/ctexceptions.h | 2 +- - include/cantera/base/fmt.h | 8 ++--- - include/cantera/base/global.h | 8 ++--- - src/base/AnyMap.cpp | 4 +-- - src/base/SolutionArray.cpp | 51 ++++++++++++++++------------- - src/thermo/PureFluidPhase.cpp | 2 +- - src/thermo/ThermoPhase.cpp | 2 +- - 8 files changed, 46 insertions(+), 37 deletions(-) - -diff --git a/include/cantera/base/AnyMap.h b/include/cantera/base/AnyMap.h -index 81ac0071a7..b1f0747f33 100644 ---- a/include/cantera/base/AnyMap.h -+++ b/include/cantera/base/AnyMap.h -@@ -746,7 +746,8 @@ class InputFileError : public CanteraError - : CanteraError( - procedure, - formatError( -- (sizeof...(args) == 0) ? message : fmt::format(message, args...), -+ (sizeof...(args) == 0) ? message -+ : fmt::format(fmt::runtime(message), args...), - node.m_line, node.m_column, node.m_metadata)) - { - } -@@ -761,7 +762,8 @@ class InputFileError : public CanteraError - : CanteraError( - procedure, - formatError2( -- (sizeof...(args) == 0) ? message : fmt::format(message, args...), -+ (sizeof...(args) == 0) ? message -+ : fmt::format(fmt::runtime(message), args...), - node1.m_line, node1.m_column, node1.m_metadata, - node2.m_line, node2.m_column, node2.m_metadata)) - { -diff --git a/include/cantera/base/ctexceptions.h b/include/cantera/base/ctexceptions.h -index fb21d3ef22..476e16bf46 100644 ---- a/include/cantera/base/ctexceptions.h -+++ b/include/cantera/base/ctexceptions.h -@@ -86,7 +86,7 @@ class CanteraError : public std::exception - if (sizeof...(args) == 0) { - msg_ = msg; - } else { -- msg_ = fmt::format(msg, args...); -+ msg_ = fmt::format(fmt::runtime(msg), args...); - } - } - -diff --git a/include/cantera/base/fmt.h b/include/cantera/base/fmt.h -index 8341be115e..f613e17b31 100644 ---- a/include/cantera/base/fmt.h -+++ b/include/cantera/base/fmt.h -@@ -26,13 +26,13 @@ - - #if FMT_VERSION < 80000 - template <typename... Args> --void fmt_append(fmt::memory_buffer& b, Args... args) { -- format_to(b, args...); -+void fmt_append(fmt::memory_buffer& b, const std::string& tmpl, Args... args) { -+ format_to(b, tmpl, args...); - } - #else - template <typename... Args> --void fmt_append(fmt::memory_buffer& b, Args... args) { -- format_to(fmt::appender(b), args...); -+void fmt_append(fmt::memory_buffer& b, const std::string& tmpl, Args... args) { -+ format_to(fmt::appender(b), fmt::runtime(tmpl), args...); - } - #endif - -diff --git a/include/cantera/base/global.h b/include/cantera/base/global.h -index c0092c43ee..aa0f636754 100644 ---- a/include/cantera/base/global.h -+++ b/include/cantera/base/global.h -@@ -176,7 +176,7 @@ void writelog(const string& fmt, const Args&... args) { - if (sizeof...(args) == 0) { - writelog_direct(fmt); - } else { -- writelog_direct(fmt::format(fmt, args...)); -+ writelog_direct(fmt::format(fmt::runtime(fmt), args...)); - } - } - -@@ -228,7 +228,7 @@ void warn_deprecated(const string& method, const string& msg, const Args&... arg - if (sizeof...(args) == 0) { - _warn_deprecated(method, msg); - } else { -- _warn_deprecated(method, fmt::format(msg, args...)); -+ _warn_deprecated(method, fmt::format(fmt::runtime(msg), args...)); - } - } - -@@ -253,7 +253,7 @@ void warn(const string& warning, const string& method, - if (sizeof...(args) == 0) { - _warn(warning, method, msg); - } else { -- _warn(warning, method, fmt::format(msg, args...)); -+ _warn(warning, method, fmt::format(fmt::runtime(msg), args...)); - } - } - -@@ -268,7 +268,7 @@ void warn_user(const string& method, const string& msg, const Args&... args) { - if (sizeof...(args) == 0) { - _warn("Cantera", method, msg); - } else { -- _warn("Cantera", method, fmt::format(msg, args...)); -+ _warn("Cantera", method, fmt::format(fmt::runtime(msg), args...)); - } - } - -diff --git a/src/base/AnyMap.cpp b/src/base/AnyMap.cpp -index 84d74c1358..b35aabb8c3 100644 ---- a/src/base/AnyMap.cpp -+++ b/src/base/AnyMap.cpp -@@ -164,7 +164,7 @@ string formatDouble(double x, long int precision) - size_t last; - string s0; - if (useExp) { -- s0 = fmt::format(fmt::format("{:.{}e}", x, precision)); -+ s0 = fmt::format(fmt::runtime(fmt::format("{:.{}e}", x, precision))); - // last digit of significand - last = s0.size() - 5; - if (s0[last + 1] == 'e') { -@@ -195,7 +195,7 @@ string formatDouble(double x, long int precision) - if (s0[last - 1] == '0') { - s1 = s0; // Recycle original string - } else if (useExp) { -- s1 = fmt::format(fmt::format("{:.{}e}", x, precision - 2)); -+ s1 = fmt::format(fmt::runtime(fmt::format("{:.{}e}", x, precision - 2))); - } else { - s1 = fmt::format("{:.{}f}", x, precision - log10x - 2); - } -diff --git a/src/base/SolutionArray.cpp b/src/base/SolutionArray.cpp -index 4819aaa756..986c3e2373 100644 ---- a/src/base/SolutionArray.cpp -+++ b/src/base/SolutionArray.cpp -@@ -232,17 +232,19 @@ vector<string> doubleColumn(string name, const vector<double>& comp, - if (csize <= rows) { - for (const auto& val : comp) { - data.push_back(val); -- raw.push_back(boost::trim_copy(fmt::format(notation, val))); -+ raw.push_back(boost::trim_copy(fmt::format(fmt::runtime(notation), val))); - } - } else { - dots = (rows + 1) / 2; - for (int row = 0; row < dots; row++) { - data.push_back(comp[row]); -- raw.push_back(boost::trim_copy(fmt::format(notation, comp[row]))); -+ raw.push_back(boost::trim_copy( -+ fmt::format(fmt::runtime(notation), comp[row]))); - } - for (int row = csize - rows / 2; row < csize; row++) { - data.push_back(comp[row]); -- raw.push_back(boost::trim_copy(fmt::format(notation, comp[row]))); -+ raw.push_back(boost::trim_copy( -+ fmt::format(fmt::runtime(notation), comp[row]))); - } - } - -@@ -292,17 +294,17 @@ vector<string> doubleColumn(string name, const vector<double>& comp, - // all entries are integers - notation = fmt::format(" {{:>{}.0f}}", over + maxLen); - } -- maxLen = fmt::format(notation, 0.).size(); -+ maxLen = fmt::format(fmt::runtime(notation), 0.).size(); - - // assemble output - string section = fmt::format("{{:>{}}}", maxLen); -- vector<string> col = {fmt::format(section, name)}; -+ vector<string> col = {fmt::format(fmt::runtime(section), name)}; - int count = 0; - for (const auto& val : data) { -- col.push_back(fmt::format(notation, val)); -+ col.push_back(fmt::format(fmt::runtime(notation), val)); - count++; - if (count == dots) { -- col.push_back(fmt::format(section, "...")); -+ col.push_back(fmt::format(fmt::runtime(section), "...")); - } - } - return col; -@@ -320,7 +322,8 @@ vector<string> integerColumn(string name, const vector<long int>& comp, - if (csize <= rows) { - for (const auto& val : comp) { - data.push_back(val); -- string formatted = boost::trim_copy(fmt::format(notation, val)); -+ string formatted = boost::trim_copy( -+ fmt::format(fmt::runtime(notation), val)); - if (formatted[0] == '-') { - formatted = formatted.substr(1); - } -@@ -330,7 +333,8 @@ vector<string> integerColumn(string name, const vector<long int>& comp, - dots = (rows + 1) / 2; - for (int row = 0; row < dots; row++) { - data.push_back(comp[row]); -- string formatted = boost::trim_copy(fmt::format(notation, comp[row])); -+ string formatted = boost::trim_copy( -+ fmt::format(fmt::runtime(notation), comp[row])); - if (formatted[0] == '-') { - formatted = formatted.substr(1); - } -@@ -338,7 +342,8 @@ vector<string> integerColumn(string name, const vector<long int>& comp, - } - for (int row = csize - rows / 2; row < csize; row++) { - data.push_back(comp[row]); -- string formatted = boost::trim_copy(fmt::format(notation, comp[row])); -+ string formatted = boost::trim_copy( -+ fmt::format(fmt::runtime(notation), comp[row])); - if (formatted[0] == '-') { - formatted = formatted.substr(1); - } -@@ -356,13 +361,13 @@ vector<string> integerColumn(string name, const vector<long int>& comp, - } - - // assemble output -- vector<string> col = {fmt::format(notation, name)}; -+ vector<string> col = {fmt::format(fmt::runtime(notation), name)}; - int count = 0; - for (const auto& val : data) { -- col.push_back(fmt::format(notation, val)); -+ col.push_back(fmt::format(fmt::runtime(notation), val)); - count++; - if (count == dots) { -- col.push_back(fmt::format(notation, "..")); -+ col.push_back(fmt::format(fmt::runtime(notation), "..")); - } - } - return col; -@@ -381,31 +386,33 @@ vector<string> stringColumn(string name, const vector<string>& comp, - for (const auto& val : comp) { - data.push_back(val); - maxLen = std::max(maxLen, -- boost::trim_copy(fmt::format(notation, val)).size()); -+ boost::trim_copy(fmt::format(fmt::runtime(notation), val)).size()); - } - } else { - dots = (rows + 1) / 2; - for (int row = 0; row < dots; row++) { - data.push_back(comp[row]); - maxLen = std::max(maxLen, -- boost::trim_copy(fmt::format(notation, comp[row])).size()); -+ boost::trim_copy( -+ fmt::format(fmt::runtime(notation), comp[row])).size()); - } - for (int row = csize - rows / 2; row < csize; row++) { - data.push_back(comp[row]); - maxLen = std::max(maxLen, -- boost::trim_copy(fmt::format(notation, comp[row])).size()); -+ boost::trim_copy( -+ fmt::format(fmt::runtime(notation), comp[row])).size()); - } - } - - // assemble output - notation = fmt::format(" {{:>{}}}", maxLen); -- vector<string> col = {fmt::format(notation, name)}; -+ vector<string> col = {fmt::format(fmt::runtime(notation), name)}; - int count = 0; - for (const auto& val : data) { -- col.push_back(fmt::format(notation, val)); -+ col.push_back(fmt::format(fmt::runtime(notation), val)); - count++; - if (count == dots) { -- col.push_back(fmt::format(notation, "...")); -+ col.push_back(fmt::format(fmt::runtime(notation), "...")); - } - } - return col; -@@ -443,8 +450,8 @@ vector<string> formatColumn(string name, const AnyValue& comp, int rows, int wid - - // assemble output - string notation = fmt::format(" {{:>{}}}", maxLen); -- repr = fmt::format(notation, repr); -- vector<string> col = {fmt::format(notation, name)}; -+ repr = fmt::format(fmt::runtime(notation), repr); -+ vector<string> col = {fmt::format(fmt::runtime(notation), name)}; - if (size <= rows) { - for (int row = 0; row < size; row++) { - col.push_back(repr); -@@ -454,7 +461,7 @@ vector<string> formatColumn(string name, const AnyValue& comp, int rows, int wid - for (int row = 0; row < dots; row++) { - col.push_back(repr); - } -- col.push_back(fmt::format(notation, "...")); -+ col.push_back(fmt::format(fmt::runtime(notation), "...")); - for (int row = size - rows / 2; row < size; row++) { - col.push_back(repr); - } -diff --git a/src/thermo/PureFluidPhase.cpp b/src/thermo/PureFluidPhase.cpp -index 65e27c52d7..3e45009422 100644 ---- a/src/thermo/PureFluidPhase.cpp -+++ b/src/thermo/PureFluidPhase.cpp -@@ -393,7 +393,7 @@ string PureFluidPhase::report(bool show_thermo, double threshold) const - - string one_property = fmt::format("{{:>{}}} {{:<.5g}} {{}}\n", name_width); - -- string two_prop_header = "{} {:^15} {:^15}\n"; -+ constexpr auto two_prop_header = "{} {:^15} {:^15}\n"; - string kg_kmol_header = fmt::format( - two_prop_header, blank_leader, "1 kg", "1 kmol" - ); -diff --git a/src/thermo/ThermoPhase.cpp b/src/thermo/ThermoPhase.cpp -index 31b2c0ee9f..2b3993be35 100644 ---- a/src/thermo/ThermoPhase.cpp -+++ b/src/thermo/ThermoPhase.cpp -@@ -1291,7 +1291,7 @@ string ThermoPhase::report(bool show_thermo, double threshold) const - - string one_property = fmt::format("{{:>{}}} {{:<.5g}} {{}}\n", name_width); - -- string two_prop_header = "{} {:^15} {:^15}\n"; -+ constexpr auto two_prop_header = "{} {:^15} {:^15}\n"; - string kg_kmol_header = fmt::format( - two_prop_header, blank_leader, "1 kg", "1 kmol" - ); diff --git a/sci-libs/cantera/files/cantera-3.1.0_enable_py3.14_packaging.patch b/sci-libs/cantera/files/cantera-3.1.0_enable_py3.14_packaging.patch deleted file mode 100644 index 1ecaa421028a..000000000000 --- a/sci-libs/cantera/files/cantera-3.1.0_enable_py3.14_packaging.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff '--color=auto' -Naur a/SConstruct b/SConstruct ---- a/SConstruct -+++ b/SConstruct -@@ -182,7 +182,7 @@ - # Python Package Settings - python_min_version = parse_version("3.8") - # Newest Python version not supported/tested by Cantera --python_max_version = parse_version("3.14") -+python_max_version = parse_version("3.15") - # The string is used to set python_requires in setup.cfg.in - py_requires_ver_str = f">={python_min_version},<{python_max_version}" - diff --git a/sci-libs/cantera/files/cantera-3.1.0_env.patch b/sci-libs/cantera/files/cantera-3.1.0_env.patch deleted file mode 100644 index 31766f1afb13..000000000000 --- a/sci-libs/cantera/files/cantera-3.1.0_env.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff '--color=auto' -Naur a/SConstruct b/SConstruct ---- a/SConstruct -+++ b/SConstruct -@@ -170,11 +170,7 @@ - - cantera_git_commit = os.environ.get("CT_GIT_COMMIT") - if not cantera_git_commit: -- try: -- cantera_git_commit = get_command_output("git", "rev-parse", "--short", "HEAD") -- logger.info(f"Building Cantera from git commit {cantera_git_commit!r}") -- except (subprocess.CalledProcessError, FileNotFoundError): -- cantera_git_commit = "unknown" -+ cantera_git_commit = "unknown" - else: - logger.info(f"Building Cantera from git commit {cantera_git_commit!r}") - -@@ -866,7 +862,7 @@ - toolchain = ["default"] - - env = Environment(tools=toolchain+["textfile", "subst", "recursiveInstall", "UnitsInterfaceBuilder", "wix", "gch"], -- ENV={"PATH": os.environ["PATH"]}, -+ ENV={'PATH': os.environ['PATH'], 'CCACHE_DIR': os.environ.get('CCACHE_DIR','')}, - toolchain=toolchain, - **extraEnvArgs) - -diff '--color=auto' -Naur a/src/SConscript b/src/SConscript ---- a/src/SConscript -+++ b/src/SConscript -@@ -90,7 +90,7 @@ - shim = pyenv.SharedObject("extensions/pythonShim.cpp") - pylibname = f"../lib/cantera_python{pyenv['py_version_short'].replace('.', '_')}" - lib = build(pyenv.SharedLibrary(pylibname, shim, SPAWN=get_spawn(pyenv))) -- install("$inst_shlibdir", lib) -+ install("$inst_shlibdir/cantera", lib) - - - # build the Cantera static library diff --git a/sci-libs/cantera/metadata.xml b/sci-libs/cantera/metadata.xml deleted file mode 100644 index d3c6628839c0..000000000000 --- a/sci-libs/cantera/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>torokhov-s-a@yandex.ru</email> - <name>Sergey Torokhov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription> - Cantera is an open-source suite of object-oriented software tools - for problems involving chemical kinetics, thermodynamics, and/or transport processes. - </longdescription> - <use> - <flag name="python">Install Python bindings and conversion tools from Chemkin to Cantera format</flag> - <flag name="hdf5">Add HDF5 container files support</flag> - </use> - <upstream> - <remote-id type="github">cantera/cantera</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest deleted file mode 100644 index dc570844804f..000000000000 --- a/sci-libs/cartopy/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cartopy-0.24.1.gh.tar.gz 10701425 BLAKE2B b1c6980e4e2b03e6ca2f55eec949b7dc4f58577af3795f71af81bd25f0d6e6a2ef3aca1d09b73dbf9c8e9a611f697843189e60bd821516f80bdbc2af2a4f93af SHA512 de5a4c191e3917941b0bab4e9c92fb60a91ef0263f7066753fd64286c347304ae8b7529b08fa901669173e8630c2b396775daf98161e8cadc62346641555c01a -DIST cartopy-0.25.0.gh.tar.gz 10716161 BLAKE2B b1240d6ae67427e4f9cbde2d7111350ca8f021b19f07bb7202f74e798a93512fe622a7522f39832752fc396a4aad84c6a815cb2be61d0b90225b58c18fd98bd5 SHA512 05916302e39edf13c89c5ef82db7b66ad29853cc905a14de74c0b5d06523a449be91e1ee9fe5a41e02ece793c7b22807386d1e794cb7e6cd50da8918bf2a7226 diff --git a/sci-libs/cartopy/cartopy-0.24.1-r2.ebuild b/sci-libs/cartopy/cartopy-0.24.1-r2.ebuild deleted file mode 100644 index c910d102632a..000000000000 --- a/sci-libs/cartopy/cartopy-0.24.1-r2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{13..14} ) - -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 multiprocessing virtualx - -MY_PV=${PV/_beta/b} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Python package for geospatial data processing and analysis" -HOMEPAGE="https://scitools.org.uk/cartopy" -SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - || ( - $(python_gen_cond_dep ' - sci-libs/gdal[python,${PYTHON_USEDEP}] - ') - sci-libs/gdal[python,${PYTHON_SINGLE_USEDEP}] - ) - $(python_gen_cond_dep ' - >=dev-python/numpy-1.19[${PYTHON_USEDEP}] - dev-python/shapely[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pillow[jpeg,${PYTHON_USEDEP}] - dev-python/pyproj[${PYTHON_USEDEP}] - sci-libs/pyshp[${PYTHON_USEDEP}] - ') -" -DEPEND="${RDEPEND}" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/setuptools-scm[${PYTHON_USEDEP}] - dev-python/cython[${PYTHON_USEDEP}] - ') - test? ( - $(python_gen_cond_dep ' - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/flufl-lock[${PYTHON_USEDEP}] - dev-python/pytest-mpl[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ') - ) -" - -EPYTEST_IGNORE=( - # Require network access, not covered by markers - lib/cartopy/tests/mpl/test_crs.py - lib/cartopy/tests/mpl/test_gridliner.py -) - -distutils_enable_tests pytest - -python_prepare_all() { - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - # Prepare matplotlib backend for test suite - export MPLCONFIGDIR="${T}" - echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die - - sed -i -e "s/exclude =/#exclude =/" pyproject.toml || die - - distutils-r1_python_prepare_all -} - -python_test() { - cd "${BUILD_DIR}" || die - - # Drop all tests needing network access - virtx epytest -n "$(makeopts_jobs)" -m "not network and not natural_earth" || die "test failed" -} diff --git a/sci-libs/cartopy/cartopy-0.25.0.ebuild b/sci-libs/cartopy/cartopy-0.25.0.ebuild deleted file mode 100644 index 8246e0501d7b..000000000000 --- a/sci-libs/cartopy/cartopy-0.25.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{13..14} ) - -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 multiprocessing virtualx - -MY_PV=${PV/_beta/b} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Python package for geospatial data processing and analysis" -HOMEPAGE="https://scitools.org.uk/cartopy" -SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - || ( - $(python_gen_cond_dep ' - sci-libs/gdal[python,${PYTHON_USEDEP}] - ') - sci-libs/gdal[python,${PYTHON_SINGLE_USEDEP}] - ) - $(python_gen_cond_dep ' - >=dev-python/numpy-1.19[${PYTHON_USEDEP}] - dev-python/shapely[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pillow[jpeg,${PYTHON_USEDEP}] - dev-python/pyproj[${PYTHON_USEDEP}] - sci-libs/pyshp[${PYTHON_USEDEP}] - ') -" -DEPEND="${RDEPEND}" -BDEPEND=" - $(python_gen_cond_dep ' - dev-python/setuptools-scm[${PYTHON_USEDEP}] - dev-python/cython[${PYTHON_USEDEP}] - ') - test? ( - $(python_gen_cond_dep ' - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/flufl-lock[${PYTHON_USEDEP}] - dev-python/pytest-mpl[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ') - ) -" - -EPYTEST_IGNORE=( - # Require network access, not covered by markers - lib/cartopy/tests/mpl/test_crs.py - lib/cartopy/tests/mpl/test_gridliner.py -) - -distutils_enable_tests pytest - -python_prepare_all() { - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - # Prepare matplotlib backend for test suite - export MPLCONFIGDIR="${T}" - echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die - - sed -i -e "s/exclude =/#exclude =/" pyproject.toml || die - - distutils-r1_python_prepare_all -} - -python_test() { - cd "${BUILD_DIR}" || die - - # Drop all tests needing network access - virtx epytest -n "$(makeopts_jobs)" -m "not network and not natural_earth" || die "test failed" -} diff --git a/sci-libs/cartopy/metadata.xml b/sci-libs/cartopy/metadata.xml deleted file mode 100644 index 3eeb27253d18..000000000000 --- a/sci-libs/cartopy/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tomjbe@gentoo.org</email> - <name>Thomas Beierlein</name> - </maintainer> - <longdescription> - Cartopy is a Python package designed for geospatial data processing - in order to produce maps and other geospatial data analyses. - Key features of cartopy are its object oriented projection definitions, - and its ability to transform points, lines, vectors, polygons and i - images between those projections. - </longdescription> - <upstream> - <remote-id type="github">SciTools/cartopy</remote-id> - <remote-id type="pypi">Cartopy</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/ccfits/Manifest b/sci-libs/ccfits/Manifest deleted file mode 100644 index fe2636377083..000000000000 --- a/sci-libs/ccfits/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST CCfits-2.5.tar.gz 1416358 BLAKE2B 4c525761f98bdb133f8d0c5fd582db5326dda84dc103a7c816cdf8d1a1fa02ac5b8e9c9431629304e3eaf21b4ec9767796c8b2cc8d22dd877a2e043084cae683 SHA512 63ab4d153063960510cf60651d5c832824cf85f937f84adc5390c7c2fb46eb8e9f5d8cda2554d79d24c7a4f1b6cf0b7a6e20958fb69920b65d7c362c0a5f26b5 diff --git a/sci-libs/ccfits/ccfits-2.5.ebuild b/sci-libs/ccfits/ccfits-2.5.ebuild deleted file mode 100644 index 9fecf7dfdcd0..000000000000 --- a/sci-libs/ccfits/ccfits-2.5.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MYPN=CCfits -MYP=${MYPN}-${PV} - -DESCRIPTION="C++ interface for cfitsio" -HOMEPAGE="https://heasarc.gsfc.nasa.gov/fitsio/CCfits/" -SRC_URI="https://heasarc.gsfc.nasa.gov/fitsio/CCfits/${MYP}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc" - -RDEPEND=">=sci-libs/cfitsio-3.080" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYPN}" - -# avoid building cookbook by default and no rpath -PATCHES=( "${FILESDIR}"/${PN}-2.2-makefile.patch ) - -src_prepare() { - default - mv configure.{in,ac} || die - AT_M4DIR=config/m4 eautoreconf -} - -src_configure() { - econf --disable-static -} - -src_install() { - if use doc; then - DOCS+=( *.pdf ) - HTML_DOCS=( html/. ) - fi - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/ccfits/files/ccfits-2.2-makefile.patch b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch deleted file mode 100644 index f8fa5d518591..000000000000 --- a/sci-libs/ccfits/files/ccfits-2.2-makefile.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -26,12 +26,11 @@ - EXTRA_DIST = config CHANGES README.INSTALL License.txt file1.pha $(MSVC_FILES) - - --bin_PROGRAMS = cookbook -+check_PROGRAMS = cookbook - - cookbook_SOURCES = cookbook.cxx - - cookbook_LDADD = libCCfits.la --cookbook_LDFLAGS = -R $(R_LIB_PATH) -R $(CXX_LIB_PATH) - - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = CCfits.pc -@@ -64,8 +63,7 @@ - - # This will tell shared library which STD C++ library to use without - # needing the user to use LD_LIBRARY_PATH environment variable --libCCfits_la_LIBADD = $(LIBSTDCPP) --libCCfits_la_LDFLAGS = -R $(R_LIB_PATH) -R $(CXX_LIB_PATH) -+#libCCfits_la_LIBADD = $(LIBSTDCPP) - - libCCfits_ladir = $(pkgincludedir) - diff --git a/sci-libs/ccfits/metadata.xml b/sci-libs/ccfits/metadata.xml deleted file mode 100644 index 6e2d138841ab..000000000000 --- a/sci-libs/ccfits/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-astronomy@gentoo.org</email> - <name>Gentoo Astronomy Project</name> - </maintainer> - <longdescription lang="en"> - CCfits is an object oriented interface to the cfitsio library. It is - designed to make the capabilities of cfitsio available to - programmers working in C++. It is written in ANSI C++ and - implemented using the C++ Standard Library with namespaces, - exception handling, and member template functions. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/ccolamd/Manifest b/sci-libs/ccolamd/Manifest deleted file mode 100644 index 0f38db22e9eb..000000000000 --- a/sci-libs/ccolamd/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST ccolamd-2.9.6.tar.bz2 305744 BLAKE2B 0d741ead328a1e888715672ddb617cc96a559f46f2379e1d7792b70868dd290de19b3047e3ed4dd2711084c9afc523d18ecb375aa4ee8a4a12950cee08f238b8 SHA512 cf6f210d26ddb1be454cac377a773b73b75261a74e1e3985565f57f45659b1c11b747829c5bbe99c4bc3e8b364d7b2b3c109e00f6d7e8e41afd713312ebf103c diff --git a/sci-libs/ccolamd/ccolamd-2.9.6.ebuild b/sci-libs/ccolamd/ccolamd-2.9.6.ebuild deleted file mode 100644 index 43bfa0bde6dc..000000000000 --- a/sci-libs/ccolamd/ccolamd-2.9.6.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Constrained Column approximate minimum degree ordering algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - -BDEPEND="virtual/pkgconfig" -DEPEND="sci-libs/suitesparseconfig" -RDEPEND="${DEPEND}" - -src_configure() { - econf --disable-static -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/ccolamd/ccolamd-3.0.3.ebuild b/sci-libs/ccolamd/ccolamd-3.0.3.ebuild deleted file mode 100644 index aee25e4b1a0b..000000000000 --- a/sci-libs/ccolamd/ccolamd-3.0.3.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Constrained Column approximate minimum degree ordering algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-7.0.0" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run demo files - ./ccolamd_example > ccolamd_example.out || die "failed to run test ccolamd_example" - diff "${S}"/Demo/ccolamd_example.out ccolamd_example.out || die "failed testing ccolamd_example" - ./ccolamd_l_example > ccolamd_l_example.out || die "failed to run test ccolamd_l_example" - diff "${S}"/Demo/ccolamd_l_example.out ccolamd_l_example.out || die "failed testing ccolamd_l_example" -} diff --git a/sci-libs/ccolamd/ccolamd-3.3.5.ebuild b/sci-libs/ccolamd/ccolamd-3.3.5.ebuild deleted file mode 100644 index e1a16ad9a78c..000000000000 --- a/sci-libs/ccolamd/ccolamd-3.3.5.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Constrained Column approximate minimum degree ordering algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Run demo files - ./ccolamd_example > ccolamd_example.out || die "ccolamd_example failed to run" - diff "${S}"/Demo/ccolamd_example.out ccolamd_example.out || die "failed testing ccolamd_example" - ./ccolamd_l_example > ccolamd_l_example.out || die die "ccolamd_l_example failed to run" - diff "${S}"/Demo/ccolamd_l_example.out ccolamd_l_example.out || die "failed testing ccolamd_l_example" - - einfo "All tests passed" -} diff --git a/sci-libs/ccolamd/metadata.xml b/sci-libs/ccolamd/metadata.xml deleted file mode 100644 index ba6e076c8fbd..000000000000 --- a/sci-libs/ccolamd/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Constrained COLAMD computes an column approximate minimum degree ordering - algorithm, (like COLAMD), but it can also be given a set of ordering - constraints. - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cdd+/Manifest b/sci-libs/cdd+/Manifest deleted file mode 100644 index cd1902422aba..000000000000 --- a/sci-libs/cdd+/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cdd+-077a.tar.gz 186771 BLAKE2B 1bc1ae864c83da4f2c2d421c783f484933ee9625bf16d299a65ae738cb218e670453b661e9914776d6fc0766503a44f345c4cdfaea834120c79e677bb5686b46 SHA512 cb151274adec502420e5e931d2f248d62b26d5797f7d55f6db9c947f8e9d715a864c88ad08ad2cd74ada237789de5ca3c49dc04dc55e63d4101f07cc1685ab12 diff --git a/sci-libs/cdd+/cdd+-077a.ebuild b/sci-libs/cdd+/cdd+-077a.ebuild deleted file mode 100644 index 85957bc5070c..000000000000 --- a/sci-libs/cdd+/cdd+-077a.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Another implementation of the double description method" -HOMEPAGE="http://www.ifor.math.ethz.ch/~fukuda/cdd_home/" -SRC_URI="ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~x86" - -DEPEND="dev-libs/gmp:0=" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-headers.patch - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-gcc-5.patch - "${FILESDIR}"/${P}-qa-const-char.patch - "${FILESDIR}"/${P}-gcc11-dynamic-exceptions.patch -) - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ - GMPLIBDIR="${ESYSROOT}/usr/$(get_libdir)" \ - GMPINCLUDE="${ESYSROOT}/usr/include" \ - all -} - -src_install() { - dobin cddr+ cddf+ -} diff --git a/sci-libs/cdd+/files/cdd+-077a-gcc-5.patch b/sci-libs/cdd+/files/cdd+-077a-gcc-5.patch deleted file mode 100644 index 94018d6da2a6..000000000000 --- a/sci-libs/cdd+/files/cdd+-077a-gcc-5.patch +++ /dev/null @@ -1,14 +0,0 @@ -Fix check for GCC version beyond major version 4. -Gentoo bug #569222 - ---- a/gmp_init.cc -+++ b/gmp_init.cc -@@ -31,7 +31,7 @@ - # define pm_gmp_reallocate std::__alloc::reallocate - #endif // gcc 3.3 - --#if __GNUC__==3 && __GNUC_MINOR__==4 || __GNUC__==4 -+#if __GNUC__==3 && __GNUC_MINOR__==4 || __GNUC__>=4 - # include <ext/pool_allocator.h> - - namespace { diff --git a/sci-libs/cdd+/files/cdd+-077a-gcc11-dynamic-exceptions.patch b/sci-libs/cdd+/files/cdd+-077a-gcc11-dynamic-exceptions.patch deleted file mode 100644 index 1ac5a0cef32b..000000000000 --- a/sci-libs/cdd+/files/cdd+-077a-gcc11-dynamic-exceptions.patch +++ /dev/null @@ -1,71 +0,0 @@ -https://bugs.gentoo.org/787941 - -From 46d95aeac2d3951d79291def284bb610e7cb033f Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Thu, 5 Aug 2021 02:00:33 +0100 -Subject: [PATCH] Drop deprecated C++17 dynamic exceptions - ---- - Integer.h | 6 +++--- - Rational.cc | 2 +- - Rational.h | 2 +- - cddio.o | Bin 0 -> 154584 bytes - 4 files changed, 5 insertions(+), 5 deletions(-) - create mode 100644 cddio.o - -diff --git a/Integer.h b/Integer.h -index 8b7f04e..d4a1bdd 100644 ---- a/Integer.h -+++ b/Integer.h -@@ -179,7 +179,7 @@ public: - } - - /// Recognizes automatically number base 10, 8, or 16. -- Integer& set(const char *s) throw(gmp_error) -+ Integer& set(const char *s) - { - if (mpz_set_str(rep, s, 0) < 0) - throw gmp_error("Integer: syntax error in string"); -@@ -195,14 +195,14 @@ public: - - operator double() const { return mpz_get_d(rep); } - -- operator long() const throw(gmp_error) -+ operator long() const - { - if (!mpz_fits_slong_p(rep)) - throw gmp_error("Integer: value too big"); - return mpz_get_si(rep); - } - -- operator int() const throw(gmp_error) -+ operator int() const - { - if (!mpz_fits_sint_p(rep)) - throw gmp_error("Integer: value too big"); -diff --git a/Rational.cc b/Rational.cc -index f1b86a4..c679671 100644 ---- a/Rational.cc -+++ b/Rational.cc -@@ -19,7 +19,7 @@ - #include "Rational.h" - #include <cstring> - --Rational& Rational::set(const char* s) throw (gmp_error) -+Rational& Rational::set(const char* s) - { - const char* digit=s; - while (*digit && *digit!='/') ++digit; -diff --git a/Rational.h b/Rational.h -index acaba13..eb30578 100644 ---- a/Rational.h -+++ b/Rational.h -@@ -421,7 +421,7 @@ public: - Numerator and denominator are expected delimited by `/'. - Omitted denominator assumed equal to 1. - */ -- Rational& set(const char *s) throw(gmp_error); -+ Rational& set(const char *s); - - Rational& operator= (const Rational& b) - { diff --git a/sci-libs/cdd+/files/cdd+-077a-gentoo.patch b/sci-libs/cdd+/files/cdd+-077a-gentoo.patch deleted file mode 100644 index b61b8ab42a0b..000000000000 --- a/sci-libs/cdd+/files/cdd+-077a-gentoo.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- a/makefile -+++ b/makefile -@@ -6,21 +6,21 @@ - #CC = /bin/cc - - # Location of gnu c++ library. --#LIBDIR = /usr/lib --LIBDIR = /usr/local/lib -+LIBDIR = /usr/lib -+#LIBDIR = /usr/local/lib - - # Location of gnu gmp library libgmp.a --#GMPLIBDIR = /usr/lib --GMPLIBDIR = /usr/local/lib -+GMPLIBDIR = /usr/lib -+#GMPLIBDIR = /usr/local/lib - - # Location of gnu gmp-library include file gmp.h --#GMPINCLUDEDIR = /usr/include --GMPINCLUDEDIR = /usr/local/include -+GMPINCLUDEDIR = /usr/include -+#GMPINCLUDEDIR = /usr/local/include - - # Compiler optimization/debug options - #OPTFLAGS = -g -static -O - #OPTFLAGS = -g -static -pg -O --OPTFLAGS = -O3 -+#OPTFLAGS = -O3 - - ########## You shouldn't have to change anything after this point ########## - -@@ -29,9 +29,8 @@ - RATOBJ = gmp_init.o Integer.o Rational.o - RATEXE = cddr+ - --CFLAGS = $(OPTFLAGS) -I$(INCLUDEDIR) -I$(GMPINCLUDEDIR) -I. $(GMPFLAG) -- --LDFLAGS = -L$(LIBDIR) -L$(GMPLIBDIR) -+CFLAGS += -I$(INCLUDEDIR) -I$(GMPINCLUDEDIR) -I. $(GMPFLAG) -+LDFLAGS += -L$(LIBDIR) -L$(GMPLIBDIR) - - LIBS = -lstdc++ -l$(RATLIB) - diff --git a/sci-libs/cdd+/files/cdd+-077a-headers.patch b/sci-libs/cdd+/files/cdd+-077a-headers.patch deleted file mode 100644 index 4df6f05871c9..000000000000 --- a/sci-libs/cdd+/files/cdd+-077a-headers.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- a/Integer.h -+++ b/Integer.h -@@ -23,6 +23,7 @@ - #include <gmp_init.h> - #include <cctype> - #include <limits> -+#include <climits> - - class Integer; class Rational; - ---- a/Rational.cc -+++ b/Rational.cc -@@ -17,6 +17,7 @@ - - #include <cctype> - #include "Rational.h" -+#include <cstring> - - Rational& Rational::set(const char* s) throw (gmp_error) - { ---- a/Rational.h -+++ b/Rational.h -@@ -17,6 +17,7 @@ - #define _POLYMAKE_GMP_RATIONAL_H "$Project: polymake $$Id$ - - #include <Integer.h> -+#include <cstring> - - #if __GNU_MP_VERSION < 4 - #define _tmp_little_Integer(x) \ -@@ -1178,7 +1179,7 @@ std::basic_ostream<char, Traits>& operat - Integer::little_buffer buf(s); - numerator(a).putstr(os.flags(), buf); - if (show_den) { -- char *den_buf=buf+strlen(buf); -+ char *den_buf=buf+std::strlen(buf); - *den_buf++ = '/'; - denominator(a).putstr(os.flags(), den_buf); - } ---- a/gmp_init.cc -+++ b/gmp_init.cc -@@ -16,6 +16,7 @@ - #ident "$Project: polymake $$Id$ - - #include <memory> -+#include <cstring> - #include "gmp_init.h" - - #if defined(__GNUC__) diff --git a/sci-libs/cdd+/files/cdd+-077a-qa-const-char.patch b/sci-libs/cdd+/files/cdd+-077a-qa-const-char.patch deleted file mode 100644 index 883b6bf809ba..000000000000 --- a/sci-libs/cdd+/files/cdd+-077a-qa-const-char.patch +++ /dev/null @@ -1,47 +0,0 @@ -Silence warnings produced by passing a string literal to a 'char*': - -cddio.C: In function ‘void SetWriteFileName(char*, char, char*)’: -cddio.C:103:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] - extension=".ine"; break; /* output file for ine data */ - ---- a/cdd.h -+++ b/cdd.h -@@ -185,8 +185,8 @@ - extern int output_digits; /* Float digits for output. Does not affect the computation. */ - - void SetInputFile(boolean *); --void SetWriteFileName(DataFileType, char, char *); --void SetReadFileName(DataFileType, char, char *); -+void SetWriteFileName(DataFileType, char, const char *); -+void SetReadFileName(DataFileType, char, const char *); - - myTYPE FABS(myTYPE); - void SetNumberType(string); ---- a/cddio.C -+++ b/cddio.C -@@ -90,10 +90,10 @@ - } - } - --void SetWriteFileName(DataFileType fname, char cflag, char *fscript) -+void SetWriteFileName(DataFileType fname, char cflag, const char *fscript) - { - boolean quit=False; -- char *extension; -+ const char *extension; - DataFileType newname; - - switch (cflag) { -@@ -192,10 +192,10 @@ - if (DynamicWriteOn) printf("Open %s file %s.\n",fscript,fname); - } - --void SetReadFileName(DataFileType fname, char cflag, char *fscript) -+void SetReadFileName(DataFileType fname, char cflag, const char *fscript) - { - boolean quit=False; -- char *extension; -+ const char *extension; - DataFileType newname; - - switch (cflag) { diff --git a/sci-libs/cdd+/metadata.xml b/sci-libs/cdd+/metadata.xml deleted file mode 100644 index 16f304a6e4aa..000000000000 --- a/sci-libs/cdd+/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <longdescription> - The program cdd+ is a C++ implementation of the Double Description Method of Motzkin et al. for generating all - vertices (i.e. extreme points) and extreme rays of a general convex polyhedron in R^d given by a system of linear - inequalities: P = { x : A x <= b } where A is an m x d real matrix and b is a real m dimensional vector. - </longdescription> - <upstream> - <remote-id type="github">cddlib/cddplus</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cddlib/Manifest b/sci-libs/cddlib/Manifest deleted file mode 100644 index eb5fd2ce03ea..000000000000 --- a/sci-libs/cddlib/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cddlib-0.94m.tar.gz 1351298 BLAKE2B 0e1931ba94771f0dcae0ee10b003940ca331839eb8ce001ab02c4f1b382dde74d7dfcf74f4c62e1ae7214a3139547c09f56ef0cba5df74fc03a63ab741b64690 SHA512 50997bda38c36990456345881dc1eac65b1880aa510ea3812ae46a122ba7696bf3577f2b6976ff16811ee00f0a920c8ed6f1e7de0a4060bfaa96def11bab816e -DIST cddlib-0.94n.tar.gz 1381376 BLAKE2B a734ff0b767c38f113028202429f3016bf400e5ab1bce7ba829cf2cfe70d796fbc5b5609e50be32f46c1ccb58ccedead86311edfec4e279b06436e5e019cc51b SHA512 d171cdcc0f893c6a16b397989a30bb45f19cbd53594a140481ccf2a0985ca5c215f33ad86aa4aeed9f13acab2479be5ca9fcbefca8afdc9eb02afe0051ac1abc diff --git a/sci-libs/cddlib/cddlib-094m-r2.ebuild b/sci-libs/cddlib/cddlib-094m-r2.ebuild deleted file mode 100644 index c55862ef3f9b..000000000000 --- a/sci-libs/cddlib/cddlib-094m-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit libtool - -# This can't work forever; but for now, it's better than hard-coding the -# correct version string. -MY_PV="${PV:0:1}.${PV:1}" -QA_PKGCONFIG_VERSION="${MY_PV}" - -MY_P="${PN}-${MY_PV}" -DESCRIPTION="C library implementing the Double Description Method" -HOMEPAGE="https://www.inf.ethz.ch/personal/fukudak/cdd_home/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2+" -KEYWORDS="amd64 ~arm ~ppc ~riscv ~x86" -IUSE="doc examples static-libs tools" - -DEPEND="dev-libs/gmp:0" -RDEPEND="dev-libs/gmp:0=" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - elibtoolize -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - - if ! use tools; then - rm "${ED}"/usr/bin/* || die - fi - - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die - fi - - # Nobody wants the dvi/ps manual... - rm "${ED}/usr/share/doc/${PF}"/cddlibman.{dvi,ps} || die - - # since the PDF manual is installed by default. - if ! use doc; then - rm "${ED}/usr/share/doc/${PF}"/cddlibman.pdf || die - fi - - # The docs and examples are *both* installed by default, so we - # have to remove the examples if the user doesn't want them. - docompress -x "/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} - if ! use examples; then - rm -r "${ED}/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} || die - fi -} diff --git a/sci-libs/cddlib/cddlib-094n.ebuild b/sci-libs/cddlib/cddlib-094n.ebuild deleted file mode 100644 index ef5dd93d97c7..000000000000 --- a/sci-libs/cddlib/cddlib-094n.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit libtool - -# This can't work forever; but for now, it's better than hard-coding the -# correct version string. -MY_PV="${PV:0:1}.${PV:1}" -QA_PKGCONFIG_VERSION="${MY_PV}" - -MY_P="${PN}-${MY_PV}" -DESCRIPTION="C library implementing the Double Description Method" -HOMEPAGE="https://people.inf.ethz.ch/fukudak/cdd_home/index.html" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86" -IUSE="doc examples static-libs tools" - -DEPEND="dev-libs/gmp:0" -RDEPEND="dev-libs/gmp:0=" - -src_prepare() { - default - elibtoolize -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - - if ! use tools; then - rm "${ED}"/usr/bin/* || die - fi - - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die - fi - - # Nobody wants the dvi/ps manual... - rm "${ED}/usr/share/doc/${PF}"/cddlibman.{dvi,ps} || die - - # since the PDF manual is installed by default. - if ! use doc; then - rm "${ED}/usr/share/doc/${PF}"/cddlibman.pdf || die - fi - - # The docs and examples are *both* installed by default, so we - # have to remove the examples if the user doesn't want them. - docompress -x "/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} - if ! use examples; then - rm -r "${ED}/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} || die - fi -} diff --git a/sci-libs/cddlib/metadata.xml b/sci-libs/cddlib/metadata.xml deleted file mode 100644 index 91e71ecbd13d..000000000000 --- a/sci-libs/cddlib/metadata.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <longdescription lang="en"> - The C-library cddlib is a C implementation of the Double Description - Method of Motzkin et al. for generating all vertices (i.e. extreme points) - and extreme rays of a general convex polyhedron in R^d given by a system - of linear inequalities: - - P = { x=(x1, ..., xd)^T : b - A x >= 0 } - - where A is a given m x d real matrix, b is a given m-vector - and 0 is the m-vector of all zeros. - - The program can be used for the reverse operation (i.e. convex hull - computation). This means that one can move back and forth between - an inequality representation and a generator (i.e. vertex and ray) - representation of a polyhedron with cdd. Also, cdd can solve a linear - programming problem, i.e. a problem of maximizing and minimizing - a linear function over P. - </longdescription> - <use> - <flag name="tools">Add a few executables and tests for cddlib</flag> - </use> - <upstream> - <remote-id type="github">cddlib/cddlib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cdf/Manifest b/sci-libs/cdf/Manifest deleted file mode 100644 index f846ccefc8b1..000000000000 --- a/sci-libs/cdf/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -DIST cdf390crm.pdf 2029732 BLAKE2B 011652b3c55910dea6c4e7b47e003335826e3471bfab41e27a1baf44397b4efd684f75b8e09018279cf9ee53f3d3de65a8c5905769e04aa93b893bbc470117a8 SHA512 b1b60c0b77bece7f0f722505bff1abba1798a220627216f04c84163a3efb51fdd31bc3abe2f8dacd0bb31e6aee585301939d38dc9353fda0535475ba973593be -DIST cdf390csrm.pdf 1865382 BLAKE2B 83bc066468867b946e3962f1c4b2717f218ea2b92100b43ff18457c1759e2bd71028919aa6403030b840aaa5709a0fafa3e5e6a8843df52e44b3ff335e44dff0 SHA512 f614e1cea672c69eb08e0559e6d1b743f1eaf4f20c1e9dda8ca372ece3040676ba312b5800640b6f202aa9cc45b90e3ce9fbf07fcf621ed8591cbcbfc4e42a24 -DIST cdf390frm.pdf 1896169 BLAKE2B 26cafadaaaf861a4556d54c2fcd09f74c763a8d56e170a75b1247ac700c4082b1d09c446568e814b8b126b5ca2c4d1d0c3cc658ceb49fa6823fcbfe6db7326b2 SHA512 a696a1a774d31f1b023e15d9d510baa7407ea0f6a76bd065bb7c69bb85a3ea5aff6999949a6ed8ce21c418928eca6d90d22e0439ab959f3c1d2b7b9f0a33878e -DIST cdf390prm.pdf 1226869 BLAKE2B c07bb0f0a078c3e68a9811d36bfb459840c6396cf67e129b2b138d0f194ab2637b32a9826709fff03a58e5b43d680197df27fa09182a03ff1501eca62e6fac6f SHA512 38dbff0fbf05c21270395d2207d171c4746d016a6a8051d39d3c66603aedd3d73b1b4e83924af53aaf391f9108770647c56f380fd98fdae3a3f027fe3cf88de3 -DIST cdf390ug.pdf 1566123 BLAKE2B 639f800454e8f27286d769d505001e07e972b194d589a189b291c51f322d3995c7a4040f319ca50ccd1a27bc0a494e356722071db058da52816d44af9eb685b5 SHA512 980e995534da349f7b38480924ace002ccd1b41c1d3468d7a7741f28edda6c65fb3bdb3b9a43a3b29d92195283c42eecc0d494be4a77275dec85430b9bffb54b -DIST cdf390vbrm.pdf 1729074 BLAKE2B d30d177202b516891dba0cb99113d6d19af41d950384469ec8a35d96dd2f7418646d1622bbf35376f02cabe686d6da0382e65b98a5beef0bcf81eb827dab5270 SHA512 98379bb4f30c8073ea1d43b7b4b75559722b6de1c7a500bb79b25162cb1bbc82afd9eec443af4645e369de6f59bf031fd097bc802896ad7310b7614a73486961 -DIST cdf39_0-dist-cdf.tar.gz 1290187 BLAKE2B 03f7c7840c44514046df0d63ff6086be7263858f90225debfb8a4fe6c4d6e5b03c95faa2762f76e2ffc198ac77359b3494520258ec17678746fd7f619e362853 SHA512 e054b763d86c09c53375ef60a8690f43fcb106be1dc6fd907763379db1ab4c9677692671a63da74d955aec8ce3f866f420ddc7217a59ed68e51c4623562af387 -DIST cdf39_0-dist-java.tar.gz 1162924 BLAKE2B 4e6416ec5a2a2eede428fa00906ca0e42460916506e7b2075d622e322ffe53e337a77bf81aa871e1559fb6b9339f2f49e365ca835874e060da33cd7c68e45177 SHA512 860468257c70bd6cb9592f40e495b5efb9092fc6fa3ab68c2fdc729c46d9ea4f0499a0b29904fe9c1ae07c13958e551b4e5cc8b9b71c2401ca833f2020073606 -DIST cdf39_1-dist-cdf.tar.gz 1515823 BLAKE2B a1285c9c146de75147f2b5c2ddee4ac7e6ab97472de7b869f1ff0797f738ab17690adfe42bb9e49c56c14a39c13fb9784cc91bf354c383ccc2e4c4b994e3aab4 SHA512 ae1d6284a308d1db99367c0adf5ec40d9a6f9fc95de58b48d2b940e2fe6a3f0fa046ab17cec8cf5a4fde523f8ae69684b44b72dfa50028725bad25365ef910ab -DIST cdf39_1-dist-java.tar.gz 1166989 BLAKE2B 894aff4252a9c60abd99ce5cd522d8fde2bbee329066aaef4669c032467dff9de0e92dad2a7a8a46227a4e2e428511aa9b2a5abe2e3b40cf4c7cacc1dd4ffcf1 SHA512 53109a612570658e508ee84b36ce0eef87b67b9a890d98f602bad2b0d9b8815bba64abc7181d4fbcd40ab7204002474e560c123893d226caefd22aa13bf1fd9a -DIST cdf39ifd.pdf 656522 BLAKE2B 2ec3831f27e92fcec8191bedb1617c9f590b726732e02dd8ca317b814c369b46d50dd19e7bfc81df233e1e32ca6fb8191bf7e075ce67dda1ddd50645d5fc754b SHA512 f4de5bea46b7d1ea2621b9fa0ac1ab0f9904ada9a1625ce613f6fdb68ad25ca52398cbf75bb27902e54ba5ee7820f3ea1a563c655186047b8954cb53b4cd8197 diff --git a/sci-libs/cdf/cdf-3.9.0.ebuild b/sci-libs/cdf/cdf-3.9.0.ebuild deleted file mode 100644 index 43b9b1b43a9a..000000000000 --- a/sci-libs/cdf/cdf-3.9.0.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic java-pkg-opt-2 toolchain-funcs - -MY_DP="${PN}$(ver_cut 1)$(ver_cut 2)" -MY_P="${MY_DP}_$(ver_cut 3)" - -DESCRIPTION="Common Data Format I/O library for multi-dimensional data sets" -HOMEPAGE="https://cdf.gsfc.nasa.gov" -SRC_BASE="https://spdf.gsfc.nasa.gov/pub/software/${PN}/dist/${MY_P}/unix/" -SRC_URI=" - ${SRC_BASE}/${MY_P}-dist-${PN}.tar.gz - java? ( ${SRC_BASE}/${MY_P}-dist-java.tar.gz ) - doc? ( - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}ifd.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0crm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0csrm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0frm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0prm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0ug.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0vbrm.pdf - ) -" -S="${WORKDIR}/${MY_P}-dist" - -LICENSE="CDF" -SLOT="0" -KEYWORDS="amd64 ~ppc ~x86" -IUSE="doc examples java ncurses static-libs" -RESTRICT="bindist" - -RDEPEND=" - java? ( >=virtual/jre-1.8:= ) - ncurses? ( sys-libs/ncurses:= ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - ncurses? ( virtual/pkgconfig ) -" - -PATCHES=( - # Respect cflags, ldflags, soname - "${FILESDIR}"/${PN}-3.9.0-respect-flags.patch -) - -src_prepare() { - default - - # Use proper lib dir - sed -i \ - -e "s:\$(INSTALLDIR)/lib:\$(INSTALLDIR)/$(get_libdir):g" \ - Makefile || die "sed failed" - # Uses the wide variant of *curses functions - sed -i \ - -e "s:-I/usr/include/ncurses:$($(tc-getPKG_CONFIG) --cflags-only-I ncursesw):g" \ - Makefile src/tools/Makefile || die "sed failed" -} - -src_compile() { - # Reported upstream by email in 2024-03-22 (bug #862675) - append-flags -fno-strict-aliasing - filter-lto - - PV_SO=${PV:0:1} - - emake \ - OS=linux \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - LD="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" \ - RANLIBcmd="$(tc-getRANLIB)" \ - ENV=gnu \ - SHARED=yes \ - SHAREDEXT_linux=so.${PV_SO} \ - CURSESLIB_linux_gnu="$(usex ncurses "$($(tc-getPKG_CONFIG) --libs ncursesw)" "")" \ - CURSES=$(usex ncurses) \ - ${myconf} \ - all - - if use java; then - export CDF_BASE="${S}" - export CDF_LIB="${S}/src/lib" - cd cdfjava/jni - $(tc-getCC) \ - ${CFLAGS} -fPIC \ - -I${CDF_BASE}/src/include \ - -I$(java-config -O)/include \ - -I$(java-config -O)/include/linux \ - -c cdfNativeLibrary.c \ - -o cdfNativeLibrary.o \ - || die "compiling java lib failed" - $(tc-getCC) \ - ${LDFLAGS} \ - -shared cdfNativeLibrary.o \ - -Wl,-soname=libcdfNativeLibrary.so.${PV_SO} \ - -L${CDF_LIB} -lcdf -lm \ - -o libcdfNativeLibrary.so.${PV_SO} \ - || die "linking java lib failed" - fi -} - -src_test() { - emake -j1 test -} - -src_install() { - dodir /usr/bin /usr/$(get_libdir) - # -j1 (fragile non-autotooled make) - emake -j1 \ - INSTALLDIR="${ED}/usr" \ - SHAREDEXT=so.${PV_SO} \ - install - dosym libcdf.so.${PV_SO} /usr/$(get_libdir)/libcdf.so - use static-libs || rm "${ED}"/usr/$(get_libdir)/libcdf.a - dodoc Release.notes CHANGES.txt Welcome.txt - doenvd "${FILESDIR}"/50cdf - - if use doc; then - dodoc "${DISTDIR}"/${MY_DP}{0{crm,csrm,frm,prm,ug,vbrm},ifd}.pdf - fi - - if use examples; then - docinto examples - dodoc samples/* - fi - - if use java; then - cd cdfjava || die - dolib.so jni/libcdfNativeLibrary.so.${PV_SO} - dosym libcdfNativeLibrary.so.${PV_SO} \ - /usr/$(get_libdir)/libcdfNativeLibrary.so - java-pkg_dojar */*.jar - if use examples; then - docinto examples/java - dodoc examples/* - fi - fi - - # move this to a better location - dodir "/usr/share/${PF}" - mv "${ED}/usr/CDFLeapSeconds.txt" "${ED}/usr/share/${PF}/" || die -} diff --git a/sci-libs/cdf/cdf-3.9.1.ebuild b/sci-libs/cdf/cdf-3.9.1.ebuild deleted file mode 100644 index 19f17aa34f59..000000000000 --- a/sci-libs/cdf/cdf-3.9.1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=9 - -inherit flag-o-matic java-pkg-opt-2 toolchain-funcs - -MY_DP="${PN}$(ver_cut 1)$(ver_cut 2)" -MY_P="${MY_DP}_$(ver_cut 3)" - -DESCRIPTION="Common Data Format I/O library for multi-dimensional data sets" -HOMEPAGE="https://cdf.gsfc.nasa.gov" -SRC_BASE="https://spdf.gsfc.nasa.gov/pub/software/${PN}/dist/${MY_P}/unix/" -SRC_URI=" - ${SRC_BASE}/${MY_P}-dist-${PN}.tar.gz - java? ( ${SRC_BASE}/${MY_P}-dist-java.tar.gz ) - doc? ( - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}ifd.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0crm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0csrm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0frm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0prm.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0ug.pdf - ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}0vbrm.pdf - ) -" -S="${WORKDIR}/${MY_P}-dist" - -LICENSE="CDF" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc examples java ncurses static-libs" -RESTRICT="bindist" - -RDEPEND=" - java? ( >=virtual/jre-1.8:= ) - ncurses? ( sys-libs/ncurses:= ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - ncurses? ( virtual/pkgconfig ) -" - -PATCHES=( - # Respect cflags, ldflags, soname - "${FILESDIR}"/${PN}-3.9.1-respect-flags.patch -) - -src_prepare() { - default - - # Use proper lib dir - sed -i \ - -e "s:\$(INSTALLDIR)/lib:\$(INSTALLDIR)/$(get_libdir):g" \ - Makefile || die "sed failed" - # Uses the wide variant of *curses functions - sed -i \ - -e "s:-I/usr/include/ncurses:$($(tc-getPKG_CONFIG) --cflags-only-I ncursesw):g" \ - Makefile src/tools/Makefile || die "sed failed" -} - -src_compile() { - # Reported upstream by email in 2024-03-22 (bug #862675) - append-flags -fno-strict-aliasing - filter-lto - - PV_SO=${PV:0:1} - - emake \ - OS=linux \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - LD="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" \ - RANLIBcmd="$(tc-getRANLIB)" \ - ENV=gnu \ - SHARED=yes \ - SHAREDEXT_linux=so.${PV_SO} \ - CURSESLIB_linux_gnu="$(usex ncurses "$($(tc-getPKG_CONFIG) --libs ncursesw)" "")" \ - CURSES=$(usex ncurses) \ - ${myconf} \ - all - - if use java; then - export CDF_BASE="${S}" - export CDF_LIB="${S}/src/lib" - cd cdfjava/jni - $(tc-getCC) \ - ${CFLAGS} -fPIC \ - -I${CDF_BASE}/src/include \ - -I$(java-config -O)/include \ - -I$(java-config -O)/include/linux \ - -c cdfNativeLibrary.c \ - -o cdfNativeLibrary.o \ - || die "compiling java lib failed" - $(tc-getCC) \ - ${LDFLAGS} \ - -shared cdfNativeLibrary.o \ - -Wl,-soname=libcdfNativeLibrary.so.${PV_SO} \ - -L${CDF_LIB} -lcdf -lm \ - -o libcdfNativeLibrary.so.${PV_SO} \ - || die "linking java lib failed" - fi -} - -src_test() { - emake -j1 test -} - -src_install() { - dodir /usr/bin /usr/$(get_libdir) - # -j1 (fragile non-autotooled make) - emake -j1 \ - INSTALLDIR="${ED}/usr" \ - SHAREDEXT=so.${PV_SO} \ - install - dosym libcdf.so.${PV_SO} /usr/$(get_libdir)/libcdf.so - use static-libs || rm "${ED}"/usr/$(get_libdir)/libcdf.a - dodoc Release.notes CHANGES.txt Welcome.txt - doenvd "${FILESDIR}"/50cdf - - if use doc; then - dodoc "${DISTDIR}"/${MY_DP}{0{crm,csrm,frm,prm,ug,vbrm},ifd}.pdf - fi - - if use examples; then - docinto examples - dodoc samples/* - fi - - if use java; then - cd cdfjava || die - dolib.so jni/libcdfNativeLibrary.so.${PV_SO} - dosym libcdfNativeLibrary.so.${PV_SO} \ - /usr/$(get_libdir)/libcdfNativeLibrary.so - java-pkg_dojar */*.jar - if use examples; then - docinto examples/java - dodoc examples/* - fi - fi - - # move this to a better location - dodir "/usr/share/${PF}" - mv "${ED}/usr/CDFLeapSeconds.txt" "${ED}/usr/share/${PF}/" || die -} diff --git a/sci-libs/cdf/files/50cdf b/sci-libs/cdf/files/50cdf deleted file mode 100644 index d967cbee6f22..000000000000 --- a/sci-libs/cdf/files/50cdf +++ /dev/null @@ -1,5 +0,0 @@ -CDF_BASE=/usr -CDF_INC=${CDF_BASE}/include -CDF_LIB=${CDF_BASE}/lib -CDF_BIN=${CDF_BASE}/bin -CDF_HELP=${CDF_BASE}/lib/cdf/help diff --git a/sci-libs/cdf/files/cdf-3.9.0-respect-flags.patch b/sci-libs/cdf/files/cdf-3.9.0-respect-flags.patch deleted file mode 100644 index b47d5f1e9eeb..000000000000 --- a/sci-libs/cdf/files/cdf-3.9.0-respect-flags.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -1051,7 +1051,7 @@ install.tools: create.bin copy.tools - install.help_: create.help copy.help - - install.lib: create.lib copy.lib.a -- @if [ -f $(LIBsrcDIR)/libcdf.so ] ; then \ -+ @if [ -f $(LIBsrcDIR)/libcdf.$(SHAREDEXT) ] ; then \ - $(MAKE) $(EXTRAMAKE) MAKE=$(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \ - else \ - $(NULL) ; \ -@@ -1200,10 +1200,10 @@ copy.include: - cp $(INCsrcDIR)/cdftools.h $(INSTALLDIR)/include - - copy.lib.so: -- @echo cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib -- cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib/libcdf.$(VERSION).so -- rm -f $(INSTALLDIR)/lib/libcdf.so -- cd $(INSTALLDIR)/lib && ln -s libcdf.$(VERSION).so libcdf.so -+ @echo cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib -+ cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib/libcdf.$(VERSION).so -+ rm -f $(INSTALLDIR)/lib/libcdf.$(SHAREDEXT) -+ cd $(INSTALLDIR)/lib && ln -s libcdf.$(VERSION).so libcdf.$(SHAREDEXT) - - copy.lib.sl: - @echo cp $(LIBsrcDIR)/libcdf.sl $(INSTALLDIR)/lib ---- a/src/lib/Makefile -+++ b/src/lib/Makefile -@@ -62,9 +62,9 @@ AR=ar - RANLIBcmd=ranlib - MACos=Darwin - --CFLAGS=$(COPTIONS) $(PIC) -I$(INCLUDEcdf) -I$(ZlibDIR) -+CFLAGS+=$(COPTIONS) $(PIC) -I$(INCLUDEcdf) -I$(ZlibDIR) - CFLAGS2=-DZ_PREFIX --LDFLAGS=$(LDOPTIONS) -+LDFLAGS+=$(LDOPTIONS) - ARFLAGS=$(AROPTIONS) - ZLIB=zlib - -@@ -108,17 +108,18 @@ ranlib.yes: - - shared.yes: libcdf.$(SHAREDEXT) - -+libcdf.$(SHAREDEXT) \ - libcdf.so \ - libcdf.dylib \ - libcdf.dll \ - libcdf.sl: $(OBJs) - @if [ -f $@ ] ; then rm $@ ; else $(NULL) ; fi -- @echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -- $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -+ @echo $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS) -+ $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS) - - libcdf.o: $(OBJs) -- @echo $(CC) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -- $(CC) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -+ @echo $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) - - .c.o: - @if [ "$<" = "cdfgzip.c" ] || [ "$<" = "cdfgzip64.c" ] ; then \ ---- a/src/tools/Makefile -+++ b/src/tools/Makefile -@@ -33,7 +33,7 @@ - SHELL=/bin/sh - - CURSES=yes --CCx=gcc -+CCx=$(CC) - COPTIONS=-I/usr/include/ncurses -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -O2 - COPTIONSld= - SYSLIBS=-lgcc -@@ -43,8 +43,8 @@ MAKE=make - INCLUDEcdf= ../include - - CC=$(CCx) --CFLAGS=$(COPTIONS) -I$(INCLUDEcdf) --CFLAGSld=$(COPTIONSld) -+CFLAGS+=$(COPTIONS) -I$(INCLUDEcdf) -+CFLAGSld=$(COPTIONSld) $(LDFLAGS) - - WHICHOS=$(shell uname -a | cut -f1 -d" ") - ifeq ("$(WHICHOS)","Darwin") diff --git a/sci-libs/cdf/files/cdf-3.9.1-respect-flags.patch b/sci-libs/cdf/files/cdf-3.9.1-respect-flags.patch deleted file mode 100644 index 7c65988d968a..000000000000 --- a/sci-libs/cdf/files/cdf-3.9.1-respect-flags.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -1049,7 +1049,7 @@ install.tools: create.bin copy.tools - install.help_: create.help copy.help - - install.lib: create.lib copy.lib.a -- @if [ -f $(LIBsrcDIR)/libcdf.so ] ; then \ -+ @if [ -f $(LIBsrcDIR)/libcdf.$(SHAREDEXT) ] ; then \ - $(MAKE) $(EXTRAMAKE) MAKE=$(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \ - else \ - $(NULL) ; \ -@@ -1198,10 +1198,10 @@ copy.include: - cp $(INCsrcDIR)/cdftools.h $(INSTALLDIR)/include - - copy.lib.so: -- @echo cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib -- cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib/libcdf.$(VERSION).so -- rm -f $(INSTALLDIR)/lib/libcdf.so -- cd $(INSTALLDIR)/lib && ln -s libcdf.$(VERSION).so libcdf.so -+ @echo cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib -+ cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib/libcdf.$(VERSION).so -+ rm -f $(INSTALLDIR)/lib/libcdf.$(SHAREDEXT) -+ cd $(INSTALLDIR)/lib && ln -s libcdf.$(VERSION).so libcdf.$(SHAREDEXT) - - copy.lib.sl: - @echo cp $(LIBsrcDIR)/libcdf.sl $(INSTALLDIR)/lib ---- a/src/lib/Makefile -+++ b/src/lib/Makefile -@@ -62,9 +62,9 @@ AR=ar - RANLIBcmd=ranlib - MACos=Darwin - --CFLAGS=$(COPTIONS) $(PIC) -I$(INCLUDEcdf) -I$(ZlibDIR) -+CFLAGS+=$(COPTIONS) $(PIC) -I$(INCLUDEcdf) -I$(ZlibDIR) - CFLAGS2=-DZ_PREFIX --LDFLAGS=$(LDOPTIONS) -+LDFLAGS+=$(LDOPTIONS) - ARFLAGS=$(AROPTIONS) - ZLIB=zlib - -@@ -108,17 +108,18 @@ ranlib.yes: - - shared.yes: libcdf.$(SHAREDEXT) - -+libcdf.$(SHAREDEXT) \ - libcdf.so \ - libcdf.dylib \ - libcdf.dll \ - libcdf.sl: $(OBJs) - @if [ -f $@ ] ; then rm $@ ; else $(NULL) ; fi -- @echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -- $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -+ @echo $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS) -+ $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS) - - libcdf.o: $(OBJs) -- @echo $(CC) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -- $(CC) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -+ @echo $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS) - - .c.o: - @if [ "$<" = "cdfgzip.c" ] || [ "$<" = "cdfgzip64.c" ] ; then \ ---- a/src/tools/Makefile -+++ b/src/tools/Makefile -@@ -33,7 +33,7 @@ - SHELL=/bin/sh - - CURSES=yes --CCx=gcc -+CCx=$(CC) - LDx= - COPTIONS=-I/usr/include/ncurses -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -O2 - COPTIONSld= -@@ -45,8 +45,8 @@ MAKE=make - INCLUDEcdf= ../include - - CC=$(CCx) --CFLAGS=$(COPTIONS) -I$(INCLUDEcdf) --CFLAGSld=$(COPTIONSld) -+CFLAGS+=$(COPTIONS) -I$(INCLUDEcdf) -+CFLAGSld+=$(COPTIONSld) - ifeq ($(LDx),) - LDx = $(CCx) - endif diff --git a/sci-libs/cdf/metadata.xml b/sci-libs/cdf/metadata.xml deleted file mode 100644 index 868c9b7d296e..000000000000 --- a/sci-libs/cdf/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Common Data Format (CDF) is a conceptual data abstraction for storing - multi-dimensional data sets. The basic component of CDF is a software - programming interface that is a device independent view of the CDF data - model. The application developer is insulated from the actual physical - file format for reasons of conceptual simplicity, device independence, - and future expandability. CDF files created on any given platform can - be transported to any other platform on to which CDF is ported and used - with any CDF tools or layered applications. A more detailed introduction - to CDF can be found in the CDF User's Guide. - A comparison between CDF, netCDF, HDF and HDF5 is available at - http://cdf.gsfc.nasa.gov/html/FAQ.html. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/ceres-solver/Manifest b/sci-libs/ceres-solver/Manifest deleted file mode 100644 index 7df542a32d34..000000000000 --- a/sci-libs/ceres-solver/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ceres-solver-2.2.0.tar.gz 7635532 BLAKE2B ecdd5147e235df711705fc262fad18cfc79f8cfaaa9aba41428c70ae5996aab44c44e5b7d3f62d8ab4633ec2d7511c39191323911fea1276f5797e900c42bc60 SHA512 bf519fbcbd0ee2d4624be72cde061a09d191ee5e56dc33984669393799b885c2164efc99dcef71307f8b50a9ccad945882376ace3d9a44ba7e1f25c20511aabd diff --git a/sci-libs/ceres-solver/ceres-solver-2.2.0-r1.ebuild b/sci-libs/ceres-solver/ceres-solver-2.2.0-r1.ebuild deleted file mode 100644 index eb15a2c23b7b..000000000000 --- a/sci-libs/ceres-solver/ceres-solver-2.2.0-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DOCS_BUILDER="sphinx" -DOCS_DEPEND="dev-python/sphinx-rtd-theme" -DOCS_DIR="docs/source" -inherit cmake-multilib cuda flag-o-matic python-any-r1 docs - -DESCRIPTION="Nonlinear least-squares minimizer" -HOMEPAGE="http://ceres-solver.org/" -SRC_URI="http://ceres-solver.org/${P}.tar.gz" - -LICENSE="sparse? ( BSD ) !sparse? ( LGPL-2.1 )" -SLOT="0/1" -KEYWORDS="amd64 ~x86" -IUSE="examples cuda gflags lapack +schur sparse test" - -REQUIRED_USE="test? ( gflags ) sparse? ( lapack ) abi_x86_32? ( !sparse !lapack )" -RESTRICT="!test? ( test )" - -BDEPEND="${PYTHON_DEPS} - >=dev-cpp/eigen-3.3.4:= - lapack? ( virtual/pkgconfig ) - doc? ( <dev-libs/mathjax-3 ) -" -RDEPEND=" - dev-cpp/glog[gflags?,${MULTILIB_USEDEP}] - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - lapack? ( virtual/lapack ) - sparse? ( - sci-libs/amd - sci-libs/camd - sci-libs/ccolamd - sci-libs/cholmod[metis(+)] - sci-libs/colamd - sci-libs/spqr - ) -" -DEPEND="${RDEPEND}" - -DOCS=( README.md VERSION ) - -PATCHES=( - "${FILESDIR}/${PN}-2.0.0-system-mathjax.patch" - "${FILESDIR}/${PN}-2.2.0-include-algorithm.patch" -) - -src_prepare() { - cmake_src_prepare - - filter-lto - - # search paths work for prefix - sed -e "s:/usr:${EPREFIX}/usr:g" \ - -i cmake/*.cmake || die - - # remove Werror - sed -e 's/-Werror=(all|extra)//g' \ - -i CMakeLists.txt || die -} - -src_configure() { - # CUSTOM_BLAS=OFF EIGENSPARSE=OFF MINIGLOG=OFF - local mycmakeargs=( - -DBUILD_BENCHMARKS=OFF - -DBUILD_EXAMPLES=$(usex examples) - -DBUILD_TESTING=$(usex test) - -DBUILD_DOCUMENTATION=$(usex doc) - -DGFLAGS=$(usex gflags) - -DLAPACK=$(usex lapack) - -DSCHUR_SPECIALIZATIONS=$(usex schur) - -DSUITESPARSE=$(usex sparse) - -DEigen3_DIR=/usr/$(get_libdir)/cmake/eigen3 - - -DBUILD_SHARED_LIBS="yes" - -DEIGENMETIS="yes" - -DEIGENSPARSE="yes" - -DMINIGLOG="no" - -DCUSTOM_BLAS="yes" - -DUSE_CUDA="$(usex cuda)" - ) - - if use cuda; then - : "${CUDAHOSTCXX:=$(cuda_gccdir)}" - : "${CUDAARCHS:=all}" - export CUDAHOSTCXX - export CUDAARCHS - fi - - use sparse || mycmakeargs+=( -DEIGENSPARSE=ON ) - - cmake-multilib_src_configure -} - -src_test() { - use cuda && cuda_add_sandbox -w - cmake-multilib_src_test -} - -src_install() { - cmake-multilib_src_install - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - dodoc -r examples data - fi -} diff --git a/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch b/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch deleted file mode 100644 index 61e0f000f267..000000000000 --- a/sci-libs/ceres-solver/files/ceres-solver-2.0.0-system-mathjax.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -urN a/docs/source/conf.py b/docs/source/conf.py ---- a/docs/source/conf.py 2020-10-25 22:25:47.000000000 -0500 -+++ b/docs/source/conf.py 2021-07-29 09:44:35.488893188 -0500 -@@ -252,3 +252,6 @@ - 'scale' : 90 - } - } -+ -+# Use system MathJax -+mathjax_path = "/usr/share/mathjax/MathJax.js?config=TeX-MML-AM_CHTML" diff --git a/sci-libs/ceres-solver/files/ceres-solver-2.2.0-include-algorithm.patch b/sci-libs/ceres-solver/files/ceres-solver-2.2.0-include-algorithm.patch deleted file mode 100644 index 4f5887eec6e4..000000000000 --- a/sci-libs/ceres-solver/files/ceres-solver-2.2.0-include-algorithm.patch +++ /dev/null @@ -1,18 +0,0 @@ -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Wed, 21 Aug 2024 20:19:25 +0200 -Subject: [PATCH] include algorithm - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - ---- a/internal/ceres/cuda_streamed_buffer.h -+++ b/internal/ceres/cuda_streamed_buffer.h -@@ -34,6 +34,9 @@ - #include "ceres/internal/config.h" - - #ifndef CERES_NO_CUDA -+ -+#include <algorithm> -+ - #include "ceres/cuda_buffer.h" - - namespace ceres::internal { diff --git a/sci-libs/ceres-solver/metadata.xml b/sci-libs/ceres-solver/metadata.xml deleted file mode 100644 index fe5f316c7493..000000000000 --- a/sci-libs/ceres-solver/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Ceres Solver is a portable C++ library that allows for - modeling and solving large complicated nonlinear least squares - problems. It features: - * automatic differentiation - * robust loss functions - * local parameterizations - * threaded Jacobian evaluators and linear solvers - * Levenberg-Marquardt and Dogleg (Powell, Subspace) solvers - * Dense QR and Cholesky factorization (using Eigen) for small problems - * Sparse Cholesky factorization (using SuiteSparse) for large sparse - problems - * Specialized solvers for bundle adjustment problems in computer vision - * Iterative linear solvers for general sparse and bundle - adjustment problems - </longdescription> - <use> - <flag name="schur">Enable fixed-size schur specializations (disable if - binary size is an issue)</flag> - <flag name="sparse">Enable support for sparse matrix algebra with various - packages from SuiteSparse</flag> - <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest deleted file mode 100644 index e4c65ee78001..000000000000 --- a/sci-libs/cfitsio/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cfitsio-4.6.3.tar.gz 4661924 BLAKE2B de9cc28ce6a1e00d043e3c2733adcdc50d761504e4f801274b64629a66ab9aa64db7809760c6d8e928a426cf73134924f176d6313a264783d41b19315b755a2b SHA512 e6bbfa2dcb8c54a1d1eed663c6443ea9ffe6b49ae8876ce64347446cae1c64c53060d5088711feaa08d3d20bdb9861f7d85b8d899cd0b78e59037272c62a1dd9 -DIST cfitsio-4.6.4.tar.gz 3774657 BLAKE2B eabc9ff2cec4564812fa03a1232f38d94f876a6222e222bb001796f606589f9b20e74c4c5c14d1850858a90792faa3f1272445d0095e019235cc3239f72ecf9f SHA512 18ad3b94cc2bc792b932d4bc9ddd1537d350597792bf31136a1a488cfa13d953060de5007aa986b4f295224c5f3579404a2a125ce065830da7ffaada40b4f62c diff --git a/sci-libs/cfitsio/cfitsio-4.6.3.ebuild b/sci-libs/cfitsio/cfitsio-4.6.3.ebuild deleted file mode 100644 index 2c4890ba3876..000000000000 --- a/sci-libs/cfitsio/cfitsio-4.6.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib fortran-2 - -DESCRIPTION="C and Fortran library for manipulating FITS files" -HOMEPAGE="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" -SRC_URI="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0/10-r1" -KEYWORDS="~alpha amd64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc x86 ~x64-macos" -IUSE="bzip2 curl test tools" -RESTRICT="!test? ( test )" - -BDEPEND=" - app-alternatives/yacc - app-alternatives/lex -" -RDEPEND=" - virtual/zlib:=[${MULTILIB_USEDEP}] - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) - curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) - tools? ( !dev-util/smem ) -" -# Bug #803350 -DEPEND=" - ${RDEPEND} - dev-lang/cfortran -" - -PATCHES=( "${FILESDIR}/${P}-system-fortran.patch" ) # bug #803350 - -pkg_setup() { - fortran-2_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - # Avoid internal cfortran - rm cfortran.h || die -} - -multilib_src_configure() { - local libdir=$(get_libdir) - local mycmakeargs=( - -DUSE_BZIP2=$(usex bzip2) - -DUSE_CURL=$(usex curl) - -DUSE_PTHREADS=ON - # just appending CFLAGS - -DUSE_SSE2=OFF - -DUSE_SSSE3=OFF - - -DTESTS=$(usex test) - -DUTILS=$(multilib_native_usex tools) - ) - cmake_src_configure -} - -multilib_src_install_all() { - dodoc README.md docs/*.pdf - - docinto examples - dodoc utilities/{cookbook.{c,f},testprog.c,testf77.f,speed.c,smem.c} -} diff --git a/sci-libs/cfitsio/cfitsio-4.6.4.ebuild b/sci-libs/cfitsio/cfitsio-4.6.4.ebuild deleted file mode 100644 index 6b6b3c33e022..000000000000 --- a/sci-libs/cfitsio/cfitsio-4.6.4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib fortran-2 - -DESCRIPTION="C and Fortran library for manipulating FITS files" -HOMEPAGE="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" -SRC_URI="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0/10-r1" -KEYWORDS="~alpha ~amd64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" -IUSE="bzip2 curl test tools" -RESTRICT="!test? ( test )" - -BDEPEND=" - app-alternatives/yacc - app-alternatives/lex -" -RDEPEND=" - virtual/zlib:=[${MULTILIB_USEDEP}] - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) - curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) - tools? ( !dev-util/smem ) -" -# Bug #803350 -DEPEND=" - ${RDEPEND} - dev-lang/cfortran -" - -PATCHES=( - "${FILESDIR}/${PN}-4.6.3-system-fortran.patch" # bug #803350 -) - -pkg_setup() { - fortran-2_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - # Avoid internal cfortran - rm cfortran.h || die -} - -multilib_src_configure() { - local libdir=$(get_libdir) - local mycmakeargs=( - -DUSE_BZIP2=$(usex bzip2) - -DUSE_CURL=$(usex curl) - -DUSE_PTHREADS=ON - # just appending CFLAGS - -DUSE_SSE2=OFF - -DUSE_SSSE3=OFF - - -DTESTS=$(usex test) - -DUTILS=$(multilib_native_usex tools) - ) - cmake_src_configure -} - -multilib_src_install_all() { - dodoc README.md docs/*.pdf - - docinto examples - dodoc utilities/{cookbook.{c,f},testprog.c,testf77.f,speed.c,smem.c} -} diff --git a/sci-libs/cfitsio/files/cfitsio-4.6.3-system-fortran.patch b/sci-libs/cfitsio/files/cfitsio-4.6.3-system-fortran.patch deleted file mode 100644 index 3a93d7b09d25..000000000000 --- a/sci-libs/cfitsio/files/cfitsio-4.6.3-system-fortran.patch +++ /dev/null @@ -1,145 +0,0 @@ -Source: -https://salsa.debian.org/debian-astro-team/cfitsio/-/blob/master/debian/patches/02-system-cfortran.patch - -Use system cfortran header. - ---- a/f77_wrap.h -+++ b/f77_wrap.h -@@ -1,6 +1,6 @@ - #define UNSIGNED_BYTE - --#include "cfortran.h" -+#include <cfortran/cfortran.h> - - /************************************************************************ - Some platforms creates longs as 8-byte integers. On other machines, ints -@@ -29,16 +29,16 @@ - #undef LONGV_cfT - #undef PLONG_cfT - --#define LONGV_cfSTR(N,T,A,B,C,D,E) _(CFARGS,N)(T,LONGV,A,B,C,D,E) --#define PLONG_cfSTR(N,T,A,B,C,D,E) _(CFARGS,N)(T,PLONG,A,B,C,D,E) -+#define LONGV_cfSTR(N,T,A,B,C,D,E) CFORTRAN_XCAT_(CFARGS,N)(T,LONGV,A,B,C,D,E) -+#define PLONG_cfSTR(N,T,A,B,C,D,E) CFORTRAN_XCAT_(CFARGS,N)(T,PLONG,A,B,C,D,E) - #define LONGVVVVVVV_cfTYPE int - #define PLONG_cfTYPE int --#define LONGV_cfQ(B) long *B, _(B,N); -+#define LONGV_cfQ(B) long *B, CFORTRAN_XCAT_(B,N); - #define PLONG_cfQ(B) long B; --#define LONGV_cfT(M,I,A,B,D) ( (_(B,N) = * _3(M,_LONGV_A,I)), \ -- B = F2Clongv(_(B,N),A) ) -+#define LONGV_cfT(M,I,A,B,D) ( (CFORTRAN_XCAT_(B,N) = * CFORTRAN_XCAT_3(M,_LONGV_A,I)), \ -+ B = F2Clongv(CFORTRAN_XCAT_(B,N),A) ) - #define PLONG_cfT(M,I,A,B,D) ((B=*A),&B) --#define LONGV_cfR(A,B,D) C2Flongv(_(B,N),A,B); -+#define LONGV_cfR(A,B,D) C2Flongv(CFORTRAN_XCAT_(B,N),A,B); - #define PLONG_cfR(A,B,D) *A=B; - #define LONGV_cfH(S,U,B) - #define PLONG_cfH(S,U,B) -@@ -93,7 +93,7 @@ extern unsigned long gMinStrLen; - A->dsc$w_length, \ - num_elem(A->dsc$a_pointer, \ - A->dsc$w_length, \ -- _3(M,_STRV_A,I) ) ) -+ CFORTRAN_XCAT_3(M,_STRV_A,I) ) ) - #else - #ifdef CRAYFortran - #define PPSTRING_cfT(M,I,A,B,D) (unsigned char*)_fcdtocp(A) -@@ -103,20 +103,20 @@ extern unsigned long gMinStrLen; - #endif - - #define _cfMAX(A,B) ( (A>B) ? A : B ) --#define STRINGV_cfQ(B) char **B; unsigned int _(B,N), _(B,M); -+#define STRINGV_cfQ(B) char **B; unsigned int CFORTRAN_XCAT_(B,N), CFORTRAN_XCAT_(B,M); - #define STRINGV_cfR(A,B,D) free(B[0]); free(B); - #define TTSTR( A,B,D) \ - ((B=(char*)malloc(_cfMAX(D,gMinStrLen)+1))[D]='\0',memcpy(B,A,D), \ - kill_trailing(B,' ')) - #define TTTTSTRV( A,B,D,E) ( \ -- _(B,N)=_cfMAX(E,1), \ -- _(B,M)=_cfMAX(D,gMinStrLen)+1, \ -- B=(char**)malloc(_(B,N)*sizeof(char*)), \ -- B[0]=(char*)malloc(_(B,N)*_(B,M)), \ -- vindex(B,_(B,M),_(B,N),f2cstrv2(A,B[0],D,_(B,M),_(B,N))) \ -+ CFORTRAN_XCAT_(B,N)=_cfMAX(E,1), \ -+ CFORTRAN_XCAT_(B,M)=_cfMAX(D,gMinStrLen)+1, \ -+ B=(char**)malloc(CFORTRAN_XCAT_(B,N)*sizeof(char*)), \ -+ B[0]=(char*)malloc(CFORTRAN_XCAT_(B,N)*CFORTRAN_XCAT_(B,M)), \ -+ vindex(B,CFORTRAN_XCAT_(B,M),CFORTRAN_XCAT_(B,N),f2cstrv2(A,B[0],D,CFORTRAN_XCAT_(B,M),CFORTRAN_XCAT_(B,N))) \ - ) - #define RRRRPSTRV(A,B,D) \ -- c2fstrv2(B[0],A,_(B,M),D,_(B,N)), \ -+ c2fstrv2(B[0],A,CFORTRAN_XCAT_(B,M),D,CFORTRAN_XCAT_(B,N)), \ - free(B[0]), \ - free(B); - -@@ -169,10 +169,10 @@ static char *f2cstrv2(char *fstr, char* - #undef BYTE_cfSTR - #undef BYTEV_cfSTR - --#define BYTE_cfINT(N,A,B,X,Y,Z) _(CFARGS,N)(A,BYTE,B,X,Y,Z,0) --#define BYTEV_cfINT(N,A,B,X,Y,Z) _(CFARGS,N)(A,BYTEV,B,X,Y,Z,0) --#define BYTE_cfSTR(N,T,A,B,C,D,E) _(CFARGS,N)(T,BYTE,A,B,C,D,E) --#define BYTEV_cfSTR(N,T,A,B,C,D,E) _(CFARGS,N)(T,BYTEV,A,B,C,D,E) -+#define BYTE_cfINT(N,A,B,X,Y,Z) CFORTRAN_XCAT_(CFARGS,N)(A,BYTE,B,X,Y,Z,0) -+#define BYTEV_cfINT(N,A,B,X,Y,Z) CFORTRAN_XCAT_(CFARGS,N)(A,BYTEV,B,X,Y,Z,0) -+#define BYTE_cfSTR(N,T,A,B,C,D,E) CFORTRAN_XCAT_(CFARGS,N)(T,BYTE,A,B,C,D,E) -+#define BYTEV_cfSTR(N,T,A,B,C,D,E) CFORTRAN_XCAT_(CFARGS,N)(T,BYTEV,A,B,C,D,E) - #define BYTE_cfSEP(T,B) INT_cfSEP(T,B) - #define BYTEV_cfSEP(T,B) INT_cfSEP(T,B) - #define BYTE_cfH(S,U,B) STRING_cfH(S,U,B) -@@ -211,11 +211,11 @@ static char *f2cstrv2(char *fstr, char* - - #undef LOGICALV_cfSTR - #undef LOGICALV_cfT --#define LOGICALV_cfSTR(N,T,A,B,C,D,E) _(CFARGS,N)(T,LOGICALV,A,B,C,D,E) --#define LOGICALV_cfQ(B) char *B; unsigned int _(B,N); --#define LOGICALV_cfT(M,I,A,B,D) (_(B,N)= * _3(M,_LOGV_A,I), \ -- B=F2CcopyLogVect(_(B,N),A)) --#define LOGICALV_cfR(A,B,D) C2FcopyLogVect(_(B,N),A,B); -+#define LOGICALV_cfSTR(N,T,A,B,C,D,E) CFORTRAN_XCAT_(CFARGS,N)(T,LOGICALV,A,B,C,D,E) -+#define LOGICALV_cfQ(B) char *B; unsigned int CFORTRAN_XCAT_(B,N); -+#define LOGICALV_cfT(M,I,A,B,D) (CFORTRAN_XCAT_(B,N)= * CFORTRAN_XCAT_3(M,_LOGV_A,I), \ -+ B=F2CcopyLogVect(CFORTRAN_XCAT_(B,N),A)) -+#define LOGICALV_cfR(A,B,D) C2FcopyLogVect(CFORTRAN_XCAT_(B,N),A,B); - #define LOGICALV_cfH(S,U,B) - - static char *F2CcopyLogVect(long size, int *A) -@@ -268,20 +268,20 @@ extern fitsfile *gFitsFiles[]; /* - memchr(A,'\0',D) ? A : TTSTR(A,B,D) - - #define FCALLSCFUN0(T0,CN,UN,LN) \ -- CFextern _(T0,_cfFZ)(UN,LN) void ABSOFT_cf2(T0)); \ -- CFextern _(T0,_cfFZ)(UN,LN) void ABSOFT_cf2(T0)) \ -- {_Icf(2,UU,T0,A0,0); _Icf(0,L,T0,0,0) CN(); _Icf(0,K,T0,0,0) _(T0,_cfI)} -+ CFextern CFORTRAN_XCAT_(T0,_cfFZ)(UN,LN) void ABSOFT_cf2(T0)); \ -+ CFextern CFORTRAN_XCAT_(T0,_cfFZ)(UN,LN) void ABSOFT_cf2(T0)) \ -+ {_Icf(2,UU,T0,A0,0); _Icf(0,L,T0,0,0) CN(); _Icf(0,K,T0,0,0) CFORTRAN_XCAT_(T0,_cfI)} - - #define FCALLSCFUN14(T0,CN,UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) \ -- CFextern _(T0,_cfF)(UN,LN) \ -+ CFextern CFORTRAN_XCAT_(T0,_cfF)(UN,LN) \ - CFARGT14(NCF,DCF,ABSOFT_cf2(T0),T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE)); \ -- CFextern _(T0,_cfF)(UN,LN) \ -+ CFextern CFORTRAN_XCAT_(T0,_cfF)(UN,LN) \ - CFARGT14(NCF,DCF,ABSOFT_cf2(T0),T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE)) \ - { CFARGT14S(QCF,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) \ - _Icf(2,UU,T0,A0,0); _Icf(0,L,T0,0,0) CN( TCF(LN,T1,1,0) TCF(LN,T2,2,1) \ - TCF(LN,T3,3,1) TCF(LN,T4,4,1) TCF(LN,T5,5,1) TCF(LN,T6,6,1) TCF(LN,T7,7,1) \ - TCF(LN,T8,8,1) TCF(LN,T9,9,1) TCF(LN,TA,10,1) TCF(LN,TB,11,1) TCF(LN,TC,12,1) \ - TCF(LN,TD,13,1) TCF(LN,TE,14,1) ); _Icf(0,K,T0,0,0) \ -- CFARGT14S(RCF,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) _(T0,_cfI) \ -+ CFARGT14S(RCF,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) CFORTRAN_XCAT_(T0,_cfI) \ - } - ---- a/Makefile.am -+++ b/Makefile.am -@@ -12,7 +12,7 @@ soname_version = @version_info@ - soname_version_lnx = ${soname_version}.0.0 - - include_HEADERS = fitsio.h fitsio2.h longnam.h drvrsmem.h \ -- cfortran.h f77_wrap.h region.h -+ f77_wrap.h region.h - - F77_WRAPPERS = f77_wrap1.c f77_wrap2.c f77_wrap3.c f77_wrap4.c - diff --git a/sci-libs/cfitsio/metadata.xml b/sci-libs/cfitsio/metadata.xml deleted file mode 100644 index 5e7cdb5a932c..000000000000 --- a/sci-libs/cfitsio/metadata.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-astronomy@gentoo.org</email> - <name>Gentoo Astronomy Project</name> - </maintainer> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - <!-- for dev-python/fitsio --> - </maintainer> - <use> - <flag name="tools"> - Build optional utilities (cookbook fitscopy imcopy smem speed testprog fpack funpack) - </flag> - </use> - <longdescription lang="en"> - CFITSIO is a library of C and Fortran subroutines for reading and - writing data files in FITS (Flexible Image Transport System) data - format. CFITSIO provides simple high-level routines for reading and - writing FITS files that insulate the programmer from the internal - complexities of the FITS format. CFITSIO also provides advanced - features for manipulating and filtering the information in FITS - files. - </longdescription> - <upstream> - <remote-id type="github">HEASARC/cfitsio</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cgcode/Manifest b/sci-libs/cgcode/Manifest deleted file mode 100644 index 9435c68892f7..000000000000 --- a/sci-libs/cgcode/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cgcode-1.0.tar.gz 77941 BLAKE2B bb062991d4bca842225b357a4bfd24edd2293ace224de141dc5782da82b3fb357d79cc8e06d90b948a8016fd726559469ab032b87cd8a678f10188079804295c SHA512 df76a2f8a0c00924af3d6933487a363fe23ded8281b392d40f240074c8643219f99dda9b6b6d515a281827d657a27ab06416ce152e65c5fead7549bb96be9621 diff --git a/sci-libs/cgcode/cgcode-1.0-r2.ebuild b/sci-libs/cgcode/cgcode-1.0-r2.ebuild deleted file mode 100644 index 18a238ea2773..000000000000 --- a/sci-libs/cgcode/cgcode-1.0-r2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fortran-2 flag-o-matic toolchain-funcs - -DESCRIPTION="Conjugate gradient Codes for large sparse linear systems" -HOMEPAGE="http://fetk.org/codes/cgcode/index.html" -SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" -S="${WORKDIR}"/${PN} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RDEPEND="virtual/blas" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PV}-gentoo.patch -) - -src_prepare() { - default - - # bug #862681 - append-flags -fno-strict-aliasing - filter-lto - - # GCC 10 workaround - # bug #722000 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - cat >> make.inc <<- EOF || die - F77 = $(tc-getFC) - FFLAGS = ${FFLAGS} - BLASLIBS = $($(tc-getPKG_CONFIG) --libs blas) - EOF -} - -src_install() { - dobin goos good - dolib.so src/lib${PN}.so* - dodoc INTRODUCTION NOTE README -} diff --git a/sci-libs/cgcode/files/1.0-gentoo.patch b/sci-libs/cgcode/files/1.0-gentoo.patch deleted file mode 100644 index 449f1f18dde5..000000000000 --- a/sci-libs/cgcode/files/1.0-gentoo.patch +++ /dev/null @@ -1,77 +0,0 @@ ---- a/makefile -+++ b/makefile -@@ -1,21 +1,23 @@ - - include make.inc - --THELIBS = libcgcode.a libblas_mini.a -+THELIBS = -lcgcode - - default : goos good - --libs : -- cd src ; make ; cd ../util ; make -+libs : src/libcgcode.so -+ -+src/libcgcode.so: -+ $(MAKE) -C src - - goos : mains.o libs -- $(F77) $(DEBUG) $(OFLAGS) $(LFLAGS) mains.o $(THELIBS) -o goos -+ $(F77) $(LDFLAGS) mains.o -L./src $(THELIBS) $(BLASLIBS) -o goos - - good : maind.o libs -- $(F77) $(DEBUG) $(OFLAGS) $(LFLAGS) maind.o $(THELIBS) -o good -+ $(F77) $(LDFLAGS) maind.o -L./src $(THELIBS) $(BLASLIBS) -o good - --.f.o : -- $(F77) $(CFLAGS) $(DEBUG) $(OFLAGS) $*$ .f -+%.o : %.f -+ $(F77) $(FFLAGS) -c $< - - clean : - rm -f *.o goos good ---- a/src/makefile -+++ b/src/makefile -@@ -1,16 +1,17 @@ - - include ../make.inc - --THISLIB = libcgcode.a -+THISLIB = libcgcode.so - SOBJLIB = scgdrv.o scg.o scr.o scrind.o spcg.o scgnr.o scgne.o spcgnr.o spcgne.o sppcg.o spcgca.o sdpchb.o scbfix.o sckchb.o scgchk.o sonest.o msstop.o r1mach.o sratqr.o - DOBJLIB = dcgdrv.o dcg.o dcr.o dcrind.o dpcg.o dcgnr.o dcgne.o dpcgnr.o dpcgne.o dppcg.o dpcgca.o ddpchb.o dcbfix.o dckchb.o dcgchk.o donest.o mdstop.o d1mach.o dratqr.o depsln.o - - $(THISLIB) : $(SOBJLIB) $(DOBJLIB) -- $(AR) $(THISLIB) $(SOBJLIB) $(DOBJLIB) -- cp $(THISLIB) ../. -+ $(F77) $(FFLAGS) $(LDFLAGS) -shared -fPIC -Wl,--soname,$(THISLIB).1 -o $(THISLIB).1.0 $(SOBJLIB) $(DOBJLIB) $(BLASLIBS) -+ ln -sf $(THISLIB).1.0 $(THISLIB).1 -+ ln -sf $(THISLIB).1.0 $(THISLIB) - --.f.o : -- $(F77) $(CFLAGS) $(DEBUG) $(OFLAGS) $*$ .f -+%.o : %.f -+ $(F77) $(FFLAGS) -fPIC -c $< - - clean : - rm -f *.o $(THISLIB) ---- a/util/makefile -+++ b/util/makefile -@@ -6,11 +6,12 @@ SOBJLIB = saxpy.o scopy.o sdot.o snrm2.o sscal.o - DOBJLIB = daxpy.o dcopy.o ddot.o dnrm2.o dscal.o - - $(THISLIB) : $(SOBJLIB) $(DOBJLIB) -- $(AR) $(THISLIB) $(SOBJLIB) $(DOBJLIB) -- cp $(THISLIB) ../. -+ $(F77) $(FFLAGS) $(LDFLAGS) -shared -Wl,--soname,$(THISLIB).1 -o $(THISLIB).1.0 $(SOBJLIB) $(DOBJLIB) $(BLASLIBS) -+ ln -sf $(THISLIB).1.0 $(THISLIB) -+ cp $(THISLIB)* ../. - --.f.o : -- $(F77) $(CFLAGS) $(DEBUG) $(OFLAGS) $*$ .f -+%.o : %.f -+ $(F77) $(FFLAGS) -c $< - - clean : - rm -f *.o $(THISLIB) diff --git a/sci-libs/cgcode/metadata.xml b/sci-libs/cgcode/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/sci-libs/cgcode/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/cgnslib/Manifest b/sci-libs/cgnslib/Manifest deleted file mode 100644 index 7bd8905438e9..000000000000 --- a/sci-libs/cgnslib/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST cgnslib-4.3.0.tar.gz 1472044 BLAKE2B 8fa59eb2c13b163553c03991af1886d2162295367094937c3b7bbbc687f098e736a927fb6835fabb43ecfbe59edcf0e58e8977e89eeb1ef12b26568fbdc78e2c SHA512 5db97b8df8cb5b108a65513e20774881c1dfa790dd96bec46119883d934db18e3f88450d287690cb785e0875af87a3ec32b6c4665c54edb623161122ee85aa93 -DIST cgnslib-4.4.0.tar.gz 1979828 BLAKE2B 1bf7a5eb8a69a488707da6e945228e053486cdfc64508ae6362ca84777bb5c22a7238676f24ca453cc8b5e2825482d473a2b84c1648849bb6f853fc0aa0a9100 SHA512 86c16d40b524519362645c553c91bade9bb7e4bffde7bf4de96a7f471ae3779a15781efa91efa059b2af0b127f08a560d2e903df6b45e1c79eaec6061db226e9 -DIST cgnslib-4.5.0.tar.gz 2085289 BLAKE2B 952368787bda49cb0eb82d3b99b173750e7418894055f733ea2cbb68a8564c15794679e7e4e8ffe6c67fa772f94f5964953bbba2d1ab5a479a2f1da7fd19b75e SHA512 0286ff2faf9102e5fb6d9bed764fd553756d62ae9be9dbb8b37ba6e2d3a7fec9337715320ec38a001960e39d397e846f2adbd4b54930c20e0304edacdd48fc92 -DIST cgnslib-4.5.1.tar.gz 2083640 BLAKE2B 711bb9423bc4d86a1d7912f13399c10559644d2e37523f4043bbcb11466ea6f1216228aa418c9838199eefa411730613b354ead3ddbe96f3811f5d75e11e7583 SHA512 f0a3f82824d81e2db4c992fc41e91c53158898fbf0b342c0c857e5e3f02d081df3822035b9eb558fe12c48ce36e4123810adc11f9b85e60e76e7de7f35a56162 diff --git a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild deleted file mode 100644 index 109cf1dc8594..000000000000 --- a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="fortran" -FORTRAN_STANDARD="90 2003" - -inherit cmake flag-o-matic fortran-2 - -DESCRIPTION="CFD General Notation System standard library" -HOMEPAGE=" - https://cgns.github.io/ - https://github.com/CGNS/CGNS -" -SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CGNS-${PV}" - -LICENSE="ZLIB" -SLOT="0/4" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools" - -RDEPEND=" - hdf5? ( sci-libs/hdf5:=[mpi=,szip=] ) - tools? ( - dev-lang/tcl:= - dev-lang/tk:= - x11-libs/libXmu:= - virtual/glu - virtual/opengl - ) -" -DEPEND="${RDEPEND}" - -RESTRICT=" - fortran? ( test ) - !test? ( test ) -" -REQUIRED_USE=" - mpi? ( hdf5 ) - szip? ( hdf5 ) -" - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # gentoo libdir - sed \ - -e 's|/lib|/'$(get_libdir)'|' \ - -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ - -i src/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862684 - # https://github.com/CGNS/CGNS/issues/758 - filter-lto - - local mycmakeargs=( - -DCGNS_BUILD_SHARED=ON - -DCGNS_USE_SHARED=ON - - -DCGNS_BUILD_CGNSTOOLS="$(usex tools)" - -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)" - -DCGNS_ENABLE_FORTRAN="$(usex fortran)" - -DCGNS_ENABLE_HDF5="$(usex hdf5)" - -DCGNS_ENABLE_LEGACY="$(usex legacy)" - -DCGNS_ENABLE_SCOPING="$(usex scoping)" - -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)" - -DCGNS_ENABLE_TESTS="$(usex test)" - ) - - if use mpi; then - mycmakeargs+=( - -DHDF5_NEED_MPI="$(usex mpi)" - -DHDF5_NEED_SZIP="$(usex szip)" - -DHDF5_NEED_ZLIB="$(usex szip)" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc README.md release_docs/{HISTORY,RELEASE,changes_from_2.5}.txt - rm "${ED}/usr/$(get_libdir)/libcgns.a" || die - dodoc release_docs/*.pdf - docompress -x /usr/share/doc/${PF}/examples - use examples && dodoc -r src/examples -} diff --git a/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild b/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild deleted file mode 100644 index 2ba39ce71d45..000000000000 --- a/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="fortran" -FORTRAN_STANDARD="90 2003" - -inherit cmake flag-o-matic fortran-2 - -DESCRIPTION="CFD General Notation System standard library" -HOMEPAGE=" - https://cgns.github.io/ - https://github.com/CGNS/CGNS -" -SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CGNS-${PV}" - -LICENSE="ZLIB" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools" - -RDEPEND=" - hdf5? ( sci-libs/hdf5:=[mpi=,szip=] ) - tools? ( - dev-lang/tcl:= - dev-lang/tk:= - x11-libs/libXmu:= - virtual/glu - virtual/opengl - ) -" -DEPEND="${RDEPEND}" - -RESTRICT=" - fortran? ( test ) - !test? ( test ) -" -REQUIRED_USE=" - mpi? ( hdf5 ) - szip? ( hdf5 ) -" - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # gentoo libdir - sed \ - -e 's|/lib|/'$(get_libdir)'|' \ - -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ - -i src/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862684 - # https://github.com/CGNS/CGNS/issues/758 - filter-lto - - local mycmakeargs=( - -DCGNS_BUILD_SHARED=ON - -DCGNS_USE_SHARED=ON - - -DCGNS_BUILD_CGNSTOOLS="$(usex tools)" - -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)" - -DCGNS_ENABLE_FORTRAN="$(usex fortran)" - -DCGNS_ENABLE_HDF5="$(usex hdf5)" - -DCGNS_ENABLE_LEGACY="$(usex legacy)" - -DCGNS_ENABLE_SCOPING="$(usex scoping)" - -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)" - -DCGNS_ENABLE_TESTS="$(usex test)" - ) - - if use mpi; then - mycmakeargs+=( - -DHDF5_NEED_MPI="$(usex mpi)" - -DHDF5_NEED_SZIP="$(usex szip)" - -DHDF5_NEED_ZLIB="$(usex szip)" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc README.md release_docs/{HISTORY,RELEASE,changes_from_2.5}.txt - rm "${ED}/usr/$(get_libdir)/libcgns.a" || die - dodoc release_docs/*.pdf - docompress -x /usr/share/doc/${PF}/examples - use examples && dodoc -r src/examples -} diff --git a/sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild b/sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild deleted file mode 100644 index 8aa6cd794d4c..000000000000 --- a/sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="fortran" -FORTRAN_STANDARD="90 2003" - -inherit cmake flag-o-matic fortran-2 - -DESCRIPTION="CFD General Notation System standard library" -HOMEPAGE=" - https://cgns.github.io/ - https://github.com/CGNS/CGNS -" -SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CGNS-${PV}" - -LICENSE="ZLIB" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools" - -RDEPEND=" - hdf5? ( sci-libs/hdf5:=[mpi=,szip=] ) - tools? ( - dev-lang/tcl:= - dev-lang/tk:= - x11-libs/libXmu:= - virtual/glu - virtual/opengl - ) -" -DEPEND="${RDEPEND}" - -RESTRICT=" - fortran? ( test ) - !test? ( test ) -" -REQUIRED_USE=" - mpi? ( hdf5 ) - szip? ( hdf5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.4.0-c99.patch -) - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # gentoo libdir - sed \ - -e 's|/lib|/'$(get_libdir)'|' \ - -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ - -i src/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862684 - # https://github.com/CGNS/CGNS/issues/758 - filter-lto - - # Needed for 4.4.0-c99.patch as it uses an internal header (bug #934122) - local tk_ver=$(best_version dev-lang/tk) - tk_ver=${tk_ver#dev-lang/tk-} - tk_ver=$(ver_cut 1-2 ${tk_ver}) - append-cppflags -I"${ESYSROOT}/usr/$(get_libdir)/tk${tk_ver}/include/generic" - - local mycmakeargs=( - -DCGNS_BUILD_SHARED=ON - -DCGNS_USE_SHARED=ON - - -DCGNS_BUILD_CGNSTOOLS="$(usex tools)" - -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)" - -DCGNS_ENABLE_FORTRAN="$(usex fortran)" - -DCGNS_ENABLE_HDF5="$(usex hdf5)" - -DCGNS_ENABLE_LEGACY="$(usex legacy)" - -DCGNS_ENABLE_SCOPING="$(usex scoping)" - -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)" - -DCGNS_ENABLE_TESTS="$(usex test)" - ) - - if use mpi; then - mycmakeargs+=( - -DHDF5_NEED_MPI="$(usex mpi)" - -DHDF5_NEED_SZIP="$(usex szip)" - -DHDF5_NEED_ZLIB="$(usex szip)" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc README.md release_docs/{HISTORY,RELEASE,changes_from_2.5}.txt - rm "${ED}/usr/$(get_libdir)/libcgns.a" || die - dodoc release_docs/*.pdf - docompress -x /usr/share/doc/${PF}/examples - use examples && dodoc -r src/examples -} diff --git a/sci-libs/cgnslib/cgnslib-4.5.0.ebuild b/sci-libs/cgnslib/cgnslib-4.5.0.ebuild deleted file mode 100644 index 063ed29cf22a..000000000000 --- a/sci-libs/cgnslib/cgnslib-4.5.0.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="fortran" -FORTRAN_STANDARD="90 2003" - -inherit cmake flag-o-matic fortran-2 - -DESCRIPTION="CFD General Notation System standard library" -HOMEPAGE=" - https://cgns.github.io/ - https://github.com/CGNS/CGNS -" -SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CGNS-${PV}" - -LICENSE="ZLIB" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="base-scope debug examples fortran +hdf5 legacy mpi scoping szip test tools" - -RDEPEND=" - hdf5? ( sci-libs/hdf5:=[mpi=,szip=] ) - tools? ( - dev-lang/tcl:= - dev-lang/tk:= - x11-libs/libXmu:= - virtual/glu - virtual/opengl - ) -" -DEPEND="${RDEPEND}" - -RESTRICT=" - fortran? ( test ) - !test? ( test ) -" -REQUIRED_USE=" - mpi? ( hdf5 ) - szip? ( hdf5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.5.0-rpath.patch - "${FILESDIR}"/${PN}-4.5.0-tk-internal.patch -) - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - sed \ - -e 's|/lib|/'$(get_libdir)'|' \ - -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ - -i src/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - # Needed for uses an internal header (bug #934122) - if use tools ; then - local tk_ver=$(best_version dev-lang/tk) - tk_ver=${tk_ver#dev-lang/tk-} - tk_ver=$(ver_cut 1-2 ${tk_ver}) - append-cppflags -I"${ESYSROOT}/usr/$(get_libdir)/tk${tk_ver}/include/generic" - fi - - local mycmakeargs=( - -DCGNS_BUILD_SHARED=ON - -DCGNS_USE_SHARED=ON - - -DCGNS_BUILD_CGNSTOOLS="$(usex tools)" - -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)" - -DCGNS_ENABLE_FORTRAN="$(usex fortran)" - -DCGNS_ENABLE_HDF5="$(usex hdf5)" - -DCGNS_ENABLE_LEGACY="$(usex legacy)" - -DCGNS_ENABLE_SCOPING="$(usex scoping)" - -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)" - -DCGNS_ENABLE_TESTS="$(usex test)" - ) - - if use mpi; then - mycmakeargs+=( - -DHDF5_NEED_MPI="$(usex mpi)" - -DHDF5_NEED_SZIP="$(usex szip)" - -DHDF5_NEED_ZLIB="$(usex szip)" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - - rm "${ED}/usr/$(get_libdir)/libcgns.a" || die - - dodoc README.md release_docs/{HISTORY.txt,RELEASE.md} - dodoc release_docs/*.pdf - docompress -x /usr/share/doc/${PF}/examples - use examples && dodoc -r src/examples -} diff --git a/sci-libs/cgnslib/cgnslib-4.5.1.ebuild b/sci-libs/cgnslib/cgnslib-4.5.1.ebuild deleted file mode 100644 index 52525a129097..000000000000 --- a/sci-libs/cgnslib/cgnslib-4.5.1.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="fortran" -FORTRAN_STANDARD="90 2003" - -inherit cmake flag-o-matic fortran-2 - -DESCRIPTION="CFD General Notation System standard library" -HOMEPAGE=" - https://cgns.github.io/ - https://github.com/CGNS/CGNS -" -SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CGNS-${PV}" - -LICENSE="ZLIB" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="base-scope debug examples fortran +hdf5 legacy mpi scoping szip test tools" - -RDEPEND=" - hdf5? ( sci-libs/hdf5:=[mpi=,szip=] ) - tools? ( - dev-lang/tcl:= - dev-lang/tk:= - x11-libs/libXmu:= - virtual/glu - virtual/opengl - ) -" -DEPEND="${RDEPEND}" - -RESTRICT=" - fortran? ( test ) - !test? ( test ) -" -REQUIRED_USE=" - mpi? ( hdf5 ) - szip? ( hdf5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.5.0-rpath.patch - "${FILESDIR}"/${PN}-4.5.0-tk-internal.patch -) - -QA_CONFIG_IMPL_DECL_SKIP=( - H5Pset_coll_metadata_write # Will be declared when mpi - H5Pset_all_coll_metadata_ops # Will be declared when mpi -) - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - sed \ - -e 's|/lib|/'$(get_libdir)'|' \ - -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ - -i src/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - # Needed for uses an internal header (bug #934122) - if use tools ; then - local tk_ver=$(best_version dev-lang/tk) - tk_ver=${tk_ver#dev-lang/tk-} - tk_ver=$(ver_cut 1-2 ${tk_ver}) - append-cppflags -I"${ESYSROOT}/usr/$(get_libdir)/tk${tk_ver}/include/generic" - fi - - local mycmakeargs=( - -DCGNS_BUILD_SHARED=ON - -DCGNS_USE_SHARED=ON - - -DCGNS_BUILD_CGNSTOOLS="$(usex tools)" - -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)" - -DCGNS_ENABLE_FORTRAN="$(usex fortran)" - -DCGNS_ENABLE_HDF5="$(usex hdf5)" - -DCGNS_ENABLE_LEGACY="$(usex legacy)" - -DCGNS_ENABLE_SCOPING="$(usex scoping)" - -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)" - -DCGNS_ENABLE_TESTS="$(usex test)" - ) - - if use mpi; then - mycmakeargs+=( - -DHDF5_NEED_MPI="$(usex mpi)" - -DHDF5_NEED_SZIP="$(usex szip)" - -DHDF5_NEED_ZLIB="$(usex szip)" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - - rm "${ED}/usr/$(get_libdir)/libcgns.a" || die - - dodoc README.md release_docs/{HISTORY.txt,RELEASE.md} - dodoc release_docs/*.pdf - docompress -x /usr/share/doc/${PF}/examples - use examples && dodoc -r src/examples -} diff --git a/sci-libs/cgnslib/files/cgnslib-4.4.0-c99.patch b/sci-libs/cgnslib/files/cgnslib-4.4.0-c99.patch deleted file mode 100644 index f0caba2045a6..000000000000 --- a/sci-libs/cgnslib/files/cgnslib-4.4.0-c99.patch +++ /dev/null @@ -1,55 +0,0 @@ -https://github.com/CGNS/CGNS/pull/757 -https://github.com/CGNS/CGNS/pull/757 - -From 4d791bccf1f2341de9091eb22d2ce225ec9139f7 Mon Sep 17 00:00:00 2001 -From: Mickael Philit <mickey.phy@gmail.com> -Date: Sun, 3 Mar 2024 20:54:39 +0100 -Subject: [PATCH] backport gcc14 fedora patch - ---- - src/cgnstools/tkogl/gencyl.c | 4 ++-- - src/cgnstools/tkogl/tkogl.c | 8 +++++++- - 2 files changed, 9 insertions(+), 3 deletions(-) - -diff --git a/src/cgnstools/tkogl/gencyl.c b/src/cgnstools/tkogl/gencyl.c -index cc36c4ba6..b64d777f4 100644 ---- a/src/cgnstools/tkogl/gencyl.c -+++ b/src/cgnstools/tkogl/gencyl.c -@@ -682,8 +682,8 @@ RenderModel (Model* model) - Vector normal; - GLdouble v [3]; - obj = gluNewTess(); -- gluTessCallback(obj, GLU_BEGIN, glBegin); -- gluTessCallback(obj, GLU_VERTEX, glVertex3fv); -+ gluTessCallback(obj, GLU_BEGIN, (_GLUfuncptr)glBegin); -+ gluTessCallback(obj, GLU_VERTEX, (_GLUfuncptr)glVertex3fv); - gluTessCallback(obj, GLU_END, glEnd); - if (flags&CLOSE_FIRST) { - CrossSection *a = model->cross [0]; -diff --git a/src/cgnstools/tkogl/tkogl.c b/src/cgnstools/tkogl/tkogl.c -index e697e735e..506599d54 100644 ---- a/src/cgnstools/tkogl/tkogl.c -+++ b/src/cgnstools/tkogl/tkogl.c -@@ -22,6 +22,12 @@ - #include "printstr.h" - #include "feedback.h" - -+#if ! defined(__WIN32__) && ! defined(_WIN32) -+/* For TkWmAddToColormapWindows. */ -+#define _TKPORT /* Typical installations cannot find tkPort.h. */ -+#include <tkInt.h> -+#endif -+ - #ifndef CONST - # define CONST - #endif -@@ -599,7 +605,7 @@ OGLwinCmd(clientData, interp, argc, argv) - - if ((Tk_Parent(tkwin) != NULL) && - (Tk_Colormap(tkwin) != Tk_Colormap (Tk_Parent(tkwin)))) { -- TkWmAddToColormapWindows(tkwin); -+ TkWmAddToColormapWindows((TkWindow *)tkwin); - } - - /* See if this window will share display lists with another */ - diff --git a/sci-libs/cgnslib/files/cgnslib-4.5.0-rpath.patch b/sci-libs/cgnslib/files/cgnslib-4.5.0-rpath.patch deleted file mode 100644 index 3dafe5a50b5a..000000000000 --- a/sci-libs/cgnslib/files/cgnslib-4.5.0-rpath.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -438,20 +438,6 @@ endif () - #################### - - if (CGNS_BUILD_SHARED) -- # use, i.e. don't skip the full RPATH for the build tree -- set(CMAKE_SKIP_BUILD_RPATH FALSE) -- -- # when building, don't use the install RPATH already -- # (but later on when installing) -- set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) -- -- # the RPATH to be used when installing -- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}; ${CMAKE_INSTALL_PREFIX}/lib") -- -- # add the automatically determined parts of the RPATH -- # which point to directories outside the build tree to the install RPATH -- set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) -- - if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set(CMAKE_MACOSX_RPATH TRUE) - endif() diff --git a/sci-libs/cgnslib/files/cgnslib-4.5.0-tk-internal.patch b/sci-libs/cgnslib/files/cgnslib-4.5.0-tk-internal.patch deleted file mode 100644 index fb05b0aeb6f3..000000000000 --- a/sci-libs/cgnslib/files/cgnslib-4.5.0-tk-internal.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://bugs.gentoo.org/959272 ---- a/src/cgnstools/tkogl/tkogl.c -+++ b/src/cgnstools/tkogl/tkogl.c -@@ -25,7 +25,7 @@ - #if ! defined(__WIN32__) && ! defined(_WIN32) - /* For TkWmAddToColormapWindows. */ - #define _TKPORT /* Typical installations cannot find tkPort.h. */ --#include <tk-private/generic/tkInt.h> -+#include <tkInt.h> - #endif - - #ifndef CONST diff --git a/sci-libs/cgnslib/metadata.xml b/sci-libs/cgnslib/metadata.xml deleted file mode 100644 index 978347af49e6..000000000000 --- a/sci-libs/cgnslib/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - The Computational Fluid Dynamics General Notation System (CGNS) provides a - general, portable, and extensible standard for the storage and retrieval of - computational fluid dynamics (CFD) analysisdata. It consists of a collection - of conventions, and free and open software implementing those conventions. It - is self-descriptive, machine-independent, well-documented, and administered by - an international steering committee. - </longdescription> - <use> - <flag name="base-scope">Enable base scoped families or connectivities</flag> - <flag name="legacy">Enable or disable building legacy code (3.0 compatible)</flag> - <flag name="scoping">Enable scoping of enumeration values</flag> - <flag name="tools"> - A number of utility programs: - cgnscheck, cgnscompress, cgnsdiff, cgnslist, cgnsnames, cgnsupdate, cgnsconvert, adf2hdf, hdf2adf. - </flag> - </use> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">CGNS/CGNS</remote-id> - <remote-id type="sourceforge">cgns</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cholmod/Manifest b/sci-libs/cholmod/Manifest deleted file mode 100644 index 4a2c13d1b097..000000000000 --- a/sci-libs/cholmod/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST cholmod-3.0.13.tar.bz2 696002 BLAKE2B 40a065fe1a3585897b3ca554a25fa80ffc68ac70798f2f803e34a231ec4f532d113a3d00ab7ab61f5eb02503a84e1459cdb7e96cb0b0d1dc6975ed3d533104fe SHA512 c6c80d099386bac27e385a1b8ee8941cd2fb4f2dcfcf302b4b17d6477ac9ee17ad8030aae9191f92576dfaeb521e2c98ec24e867281c2405e42f95580e14f0ab -DIST cholmod-3.0.14.tar.bz2 696981 BLAKE2B 855927c18833235b3f0835bfba455d83957b9161c0ee885c2d31d126f0f473067f55bcf2cfa163c72efb5de573589ffa54b484a8cf89bc44c9dbf64d43fda5d9 SHA512 f8c12fc3c8787be38bca6c6f84a8279c1380fbe4fabbfba754235fdb042d7050bfb7b5a21ea87ef59dbd5184d28e8cb7667966c38f5dcad78fe8d47111896a3c diff --git a/sci-libs/cholmod/cholmod-3.0.13.ebuild b/sci-libs/cholmod/cholmod-3.0.13.ebuild deleted file mode 100644 index a8a60e52059a..000000000000 --- a/sci-libs/cholmod/cholmod-3.0.13.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools cuda toolchain-funcs - -DESCRIPTION="Sparse Cholesky factorization and update/downdate library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" - -LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~sparc x86" -IUSE="cuda doc +lapack +matrixops +modify +partition" - -BDEPEND="virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND=" - >=sci-libs/amd-2.4 - >=sci-libs/colamd-2.9 - cuda? ( - x11-drivers/nvidia-drivers - dev-util/nvidia-cuda-toolkit - ) - lapack? ( virtual/lapack ) - partition? ( - >=sci-libs/camd-2.4 - >=sci-libs/ccolamd-2.9 - >=sci-libs/metis-5.1.0 - )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.14-fix-CUDA.patch" -) - -src_prepare() { - use cuda && cuda_src_prepare - - default - # patch is modifying Makefile.am - eautoreconf -} - -src_configure() { - local lapack_libs=no - local blas_libs=no - if use lapack; then - blas_libs=$($(tc-getPKG_CONFIG) --libs blas) - lapack_libs=$($(tc-getPKG_CONFIG) --libs lapack) - fi - - local cudaconfargs=( $(use_with cuda) ) - if use cuda ; then - cudaconfargs+=( - --with-cublas-libs="-L${EPREFIX}/opt/cuda/$(get_libdir) -lcublas" - --with-cublas-cflags="-I${EPREFIX}/opt/cuda/include" - ) - fi - - econf \ - --disable-static \ - --with-blas="${blas_libs}" \ - --with-lapack="${lapack_libs}" \ - $(use_with doc) \ - $(use_with modify) \ - $(use_with matrixops) \ - $(use_with partition) \ - $(use_with partition camd) \ - $(use_with lapack supernodal) \ - "${cudaconfargs[@]}" -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild b/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild deleted file mode 100644 index 8c7277220da1..000000000000 --- a/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools cuda toolchain-funcs - -DESCRIPTION="Sparse Cholesky factorization and update/downdate library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" -SLOT="0/3" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="cuda doc +lapack +matrixops +modify +partition" - -BDEPEND="virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND=" - sci-libs/amd - sci-libs/colamd - cuda? ( - dev-util/nvidia-cuda-toolkit - x11-drivers/nvidia-drivers - ) - lapack? ( virtual/lapack ) - partition? ( - sci-libs/camd - sci-libs/ccolamd - >=sci-libs/metis-5.1.0 - )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.14-fix-CUDA.patch" -) - -src_prepare() { - use cuda && cuda_src_prepare - - default - # patch is modifying Makefile.am - eautoreconf -} - -src_configure() { - local lapack_libs=no - local blas_libs=no - if use lapack; then - blas_libs=$($(tc-getPKG_CONFIG) --libs blas) - lapack_libs=$($(tc-getPKG_CONFIG) --libs lapack) - fi - - local cudaconfargs=( $(use_with cuda) ) - if use cuda ; then - cudaconfargs+=( - --with-cublas-libs="-L${EPREFIX}/opt/cuda/$(get_libdir) -lcublas" - --with-cublas-cflags="-I${EPREFIX}/opt/cuda/include" - ) - fi - - econf \ - --disable-static \ - --with-blas="${blas_libs}" \ - --with-lapack="${lapack_libs}" \ - $(use_with doc) \ - $(use_with modify) \ - $(use_with matrixops) \ - $(use_with partition) \ - $(use_with partition camd) \ - $(use_with lapack supernodal) \ - "${cudaconfargs[@]}" -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/cholmod/cholmod-4.0.3.ebuild b/sci-libs/cholmod/cholmod-4.0.3.ebuild deleted file mode 100644 index 062fd9373aa1..000000000000 --- a/sci-libs/cholmod/cholmod-4.0.3.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib toolchain-funcs - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Sparse Cholesky factorization and update/downdate library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" -SLOT="0/4" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+cholesky cuda doc openmp +matrixops +modify +partition +supernodal test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.0.3 - >=sci-libs/colamd-3.0.3 - supernodal? ( virtual/lapack ) - partition? ( - >=sci-libs/camd-3.0.3 - >=sci-libs/ccolamd-3.0.3 - ) - cuda? ( - dev-util/nvidia-cuda-toolkit - x11-drivers/nvidia-drivers - )" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -REQUIRED_USE="supernodal? ( cholesky ) - modify? ( cholesky ) - test? ( cholesky matrixops supernodal )" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -multilib_src_configure() { - # Not that "N" prefixed options are negative options - # so they need to be turned OFF if you want that option. - # Fortran is turned off as it is only used to compile (untested) demo programs. - local mycmakeargs=( - -DNSTATIC=ON - -DENABLE_CUDA=$(usex cuda) - -DNOPENMP=$(usex openmp OFF ON) - -DNFORTRAN=ON - -DNCHOLESKY=$(usex cholesky OFF ON) - -DNMATRIXOPS=$(usex matrixops OFF ON) - -DNMODIFY=$(usex modify OFF ON) - -DNPARTITION=$(usex partition OFF ON) - -DNSUPERNODAL=$(usex supernodal OFF ON) - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run demo files - ./cholmod_demo < "${S}"/Demo/Matrix/bcsstk01.tri || die "failed testing" - ./cholmod_l_demo < "${S}"/Demo/Matrix/bcsstk01.tri || die "failed testing" - ./cholmod_demo < "${S}"/Demo/Matrix/lp_afiro.tri || die "failed testing" - ./cholmod_l_demo < "${S}"/Demo/Matrix/lp_afiro.tri || die "failed testing" - ./cholmod_demo < "${S}"/Demo/Matrix/can___24.mtx || die "failed testing" - ./cholmod_l_demo < "${S}"/Demo/Matrix/can___24.mtx || die "failed testing" - ./cholmod_demo < "${S}"/Demo/Matrix/c.tri || die "failed testing" - ./cholmod_l_demo < "${S}"/Demo/Matrix/c.tri || die "failed testing" - ./cholmod_simple < "${S}"/Demo/Matrix/c.tri || die "failed testing" - ./cholmod_simple < "${S}"/Demo/Matrix/can___24.mtx || die "failed testing" - ./cholmod_simple < "${S}"/Demo/Matrix/bcsstk01.tri || die "failed testing" -} - -multilib_src_install() { - if use doc; then - pushd "${S}/Doc" - rm -rf *.pdf - emake - popd - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/cholmod/cholmod-5.3.4-r1.ebuild b/sci-libs/cholmod/cholmod-5.3.4-r1.ebuild deleted file mode 100644 index c9d786f2a378..000000000000 --- a/sci-libs/cholmod/cholmod-5.3.4-r1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -inherit cmake toolchain-funcs - -DESCRIPTION="Sparse Cholesky factorization and update/downdate library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" -SLOT="0/5" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+cholesky cuda doc openmp +matrixops +modify +partition +supernodal test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.3.4 - >=sci-libs/colamd-3.3.5 - supernodal? ( virtual/lapack ) - partition? ( - >=sci-libs/camd-3.3.5 - >=sci-libs/ccolamd-3.3.5 - ) - cuda? ( - dev-util/nvidia-cuda-toolkit - x11-drivers/nvidia-drivers - )" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -REQUIRED_USE="supernodal? ( cholesky ) - modify? ( cholesky ) - test? ( cholesky matrixops supernodal )" - -PATCHES=( "${FILESDIR}"/${P}-{metis,gklib}-cmake4.patch ) # bug 957609 - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # Note that "N" prefixed options are negative options - # so, they need to be turned OFF if you want that option. - # Fortran is turned off as it is only used to compile (untested) demo programs. - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DCHOLMOD_USE_CUDA=$(usex cuda) - -DCHOLMOD_USE_OPENMP=$(usex openmp) - -DSUITESPARSE_HAS_FORTRAN=OFF - -DCHOLMOD_CHOLESKY=$(usex cholesky) - -DCHOLMOD_MATRIXOPS=$(usex matrixops) - -DCHOLMOD_MODIFY=$(usex modify) - -DCHOLMOD_PARTITION=$(usex partition) - -DCHOLMOD_SUPERNODAL=$(usex supernodal) - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - - if has_version 'virtual/blas[index64]'; then - mycmakeargs+=( -DSUITESPARSE_USE_64BIT_BLAS=ON ) - fi - - if has_version 'virtual/blas[flexiblas]'; then - mycmakeargs+=( -DBLA_VENDOR=FlexiBLAS ) - else - mycmakeargs+=( -DBLA_VENDOR=Generic ) - fi - # TODO: Figure out how to make sci-libs/mkl work. Bug 974246 - - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Run demo files - local type=( - di - dl - si - sl - ) - local prog=( - demo - simple - ) - local matrix_file=( - bcsstk01.tri - lp_afiro.tri - can___24.mtx - c.tri - bcsstk02.tri - ) - local i - local j - local k - for i in ${type[@]}; do - for k in ${prog[@]}; do - for j in ${matrix_file[@]}; do - ./cholmod_${i}_${k} < "${S}/Demo/Matrix/${j}" \ - || die "failed testing cholmod_${i}_${k} with ${j}" - done - done - done - einfo "All tests passed" -} - -src_install() { - if use doc; then - pushd "${S}/Doc" || die - emake clean - rm -rf *.pdf || die - emake - popd || die - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/cholmod/files/cholmod-3.0.14-fix-CUDA.patch b/sci-libs/cholmod/files/cholmod-3.0.14-fix-CUDA.patch deleted file mode 100644 index 75cdee80bfe1..000000000000 --- a/sci-libs/cholmod/files/cholmod-3.0.14-fix-CUDA.patch +++ /dev/null @@ -1,109 +0,0 @@ -https://bugs.gentoo.org/715610#c16 -https://bugs.gentoo.org/attachment.cgi?id=749631 - ---- cholmod-3.0.14.old/GPU/Makefile.am 2020-09-29 22:59:54.000000000 +0300 -+++ cholmod-3.0.14/GPU/Makefile.am 2021-11-09 02:20:06.579908785 +0300 -@@ -11,7 +11,7 @@ - libcholmodl_gpu_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG - - libcholmod_gpu_la_SOURCES = cholmod_gpu_kernels.cu --libcholmod_gpu_la_LIBADD = libcholmodi_gpu.la libcholmodl_gpu.la -+libcholmod_gpu_la_LIBADD = libcholmodi_gpu.la libcholmodl_gpu.la cholmod_gpu_kernels.o - --.cu.lo: -- $(LIBTOOL) --tag=CC --mode=compile $(NVCC) -c $< -+.cu.o: -+ $(NVCC) $(NVCCFLAGS) -o $@ -c $< ---- cholmod-3.0.14.old/GPU/cholmod_gpu.h 1970-01-01 03:00:00.000000000 +0300 -+++ cholmod-3.0.14/GPU/cholmod_gpu.h 2021-11-08 12:13:12.018328369 +0300 -@@ -0,0 +1,80 @@ -+/* ========================================================================== */ -+/* === Include/cholmod_gpu.h ================================================ */ -+/* ========================================================================== */ -+ -+/* ----------------------------------------------------------------------------- -+ * CHOLMOD/Include/cholmod_gpu.h. -+ * Copyright (C) 2014, Timothy A. Davis -+ * http://www.suitesparse.com -+ * -------------------------------------------------------------------------- */ -+ -+/* CHOLMOD GPU module -+ */ -+ -+#ifndef CHOLMOD_GPU_H -+#define CHOLMOD_GPU_H -+ -+#ifdef GPU_BLAS -+#include "omp.h" -+#include <fenv.h> -+#ifndef SUITESPARSE_GPU_EXTERN_ON -+#include <cuda.h> -+#include <cuda_runtime.h> -+#endif -+#endif -+ -+/* CHOLMOD_GPU_PRINTF: for printing GPU debug error messages */ -+/* -+#define CHOLMOD_GPU_PRINTF(args) printf args -+*/ -+#define CHOLMOD_GPU_PRINTF(args) -+ -+/* define supernode requirements for processing on GPU */ -+#define CHOLMOD_ND_ROW_LIMIT 256 /* required descendant rows */ -+#define CHOLMOD_ND_COL_LIMIT 32 /* required descendnat cols */ -+#define CHOLMOD_POTRF_LIMIT 512 /* required cols for POTRF & TRSM on GPU */ -+ -+/* # of host supernodes to perform before checking for free pinned buffers */ -+#define CHOLMOD_GPU_SKIP 3 -+ -+#define CHOLMOD_HANDLE_CUDA_ERROR(e,s) {if (e) {ERROR(CHOLMOD_GPU_PROBLEM,s);}} -+ -+typedef struct cholmod_gpu_pointers -+{ -+ double *h_Lx [CHOLMOD_HOST_SUPERNODE_BUFFERS] ; -+ double *d_Lx [CHOLMOD_DEVICE_STREAMS] ; -+ double *d_C ; -+ double *d_A [CHOLMOD_DEVICE_STREAMS] ; -+ void *d_Ls ; -+ void *d_Map ; -+ void *d_RelativeMap ; -+ -+} cholmod_gpu_pointers ; -+ -+int cholmod_gpu_memorysize /* GPU memory size available, 1 if no GPU */ -+( -+ size_t *total_mem, -+ size_t *available_mem, -+ cholmod_common *Common -+) ; -+ -+int cholmod_l_gpu_memorysize /* GPU memory size available, 1 if no GPU */ -+( -+ size_t *total_mem, -+ size_t *available_mem, -+ cholmod_common *Common -+) ; -+ -+int cholmod_gpu_probe ( cholmod_common *Common ) ; -+int cholmod_l_gpu_probe ( cholmod_common *Common ) ; -+ -+int cholmod_gpu_deallocate ( cholmod_common *Common ) ; -+int cholmod_l_gpu_deallocate ( cholmod_common *Common ) ; -+ -+void cholmod_gpu_end ( cholmod_common *Common ) ; -+void cholmod_l_gpu_end ( cholmod_common *Common ) ; -+ -+int cholmod_gpu_allocate ( cholmod_common *Common ) ; -+int cholmod_l_gpu_allocate ( cholmod_common *Common ) ; -+ -+#endif ---- cholmod-3.0.14.old/configure.ac 2020-09-29 22:59:54.000000000 +0300 -+++ cholmod-3.0.14/configure.ac 2021-11-08 12:17:00.865381081 +0300 -@@ -80,6 +80,7 @@ - NVCC, - nvcc,,) - AC_SUBST([NVCC]) -+ AC_SUBST([NVCCFLAGS]) - AX_CHECK_PKG_LIB( - [cublas], - [cublas_v2.h], diff --git a/sci-libs/cholmod/files/cholmod-5.3.4-gklib-cmake4.patch b/sci-libs/cholmod/files/cholmod-5.3.4-gklib-cmake4.patch deleted file mode 100644 index d5091d91304a..000000000000 --- a/sci-libs/cholmod/files/cholmod-5.3.4-gklib-cmake4.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 1a3ad8669f6c8f4288941487b4f2dba125c9f420 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Sun, 17 May 2026 19:28:49 +0200 -Subject: [PATCH] Raise minimum CMake version to 3.10 - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - SuiteSparse_metis/GKlib/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/SuiteSparse_metis/GKlib/CMakeLists.txt b/SuiteSparse_metis/GKlib/CMakeLists.txt -index 9cd1b4b..f15507f 100644 ---- a/SuiteSparse_metis/GKlib/CMakeLists.txt -+++ b/SuiteSparse_metis/GKlib/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8) -+cmake_minimum_required(VERSION 3.10) - project(GKlib) - - get_filename_component(abs "." ABSOLUTE) --- -2.54.0 - diff --git a/sci-libs/cholmod/files/cholmod-5.3.4-metis-cmake4.patch b/sci-libs/cholmod/files/cholmod-5.3.4-metis-cmake4.patch deleted file mode 100644 index 8213708e9c10..000000000000 --- a/sci-libs/cholmod/files/cholmod-5.3.4-metis-cmake4.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 350931887dfc00c2e3cb7551c5abf30e0297126a Mon Sep 17 00:00:00 2001 -From: George Karypis <karypis@umn.edu> -Date: Fri, 4 Jul 2025 14:44:10 -0500 -Subject: [PATCH] updated the minimum CMAKE version - ---- - SuiteSparse_metis/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/SuiteSparse_metis/CMakeLists.txt b/SuiteSparse_metis/CMakeLists.txt -index a15d19a..ef34603 100644 ---- a/SuiteSparse_metis/CMakeLists.txt -+++ b/SuiteSparse_metis/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8) -+cmake_minimum_required(VERSION 3.10) - project(METIS) - - # added for SuiteSparse: diff --git a/sci-libs/cholmod/metadata.xml b/sci-libs/cholmod/metadata.xml deleted file mode 100644 index baceb4a3e5f7..000000000000 --- a/sci-libs/cholmod/metadata.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="cholesky"> - Enable sparse Cholesky factorisation - </flag> - <flag name="matrixops"> - Support basic sparse and dense matrix operations (add, multiply, - scale, et cetera) - </flag> - <flag name="modify"> - Enable Cholesky-modification routines like update, downdate, - row-add, and row-delete - </flag> - <flag name="partition"> - Enable graph partitioning and graph-partition-based orderings - through <pkg>sci-libs/metis</pkg> (using a bundled fork in 4.0.0+) - or <pkg>sci-libs/parmetis</pkg> - </flag> - <flag name="supernodal"> - supernodal cholesky factorisation - </flag> - </use> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/clashscore-db/Manifest b/sci-libs/clashscore-db/Manifest deleted file mode 100644 index f2d8ddced6f2..000000000000 --- a/sci-libs/clashscore-db/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST molprobity-3.17.tgz 26429898 BLAKE2B f2ed8f71c4f71c19aac6278eed40cba0db53e88dc1be7ccb6e3e831d4202456822efe93ded2cc8ca3226efb9ef10999895b191e8b5d5188d577b78c9fa5a8c66 SHA512 a6e986f285ff7e8d167e2d1c935a55b080446c9809d352c95e2ffa32265892b59cd1611730e75ca88aa28387495d3ebd84226e1a9cdd33f0b27b1a8a1b6a469f diff --git a/sci-libs/clashscore-db/clashscore-db-3.17-r1.ebuild b/sci-libs/clashscore-db/clashscore-db-3.17-r1.ebuild deleted file mode 100644 index 7f3296d009ab..000000000000 --- a/sci-libs/clashscore-db/clashscore-db-3.17-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Clashscore-db for clashlist" -HOMEPAGE="http://kinemage.biochem.duke.edu/" -SRC_URI="mirror://gentoo/molprobity-${PV}.tgz" -S="${WORKDIR}" - -LICENSE="richardson" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RESTRICT="binchecks strip" - -src_install() { - insinto /usr/share/clashscore - doins molprobity3/lib/clashscore.db.tab -} diff --git a/sci-libs/clashscore-db/metadata.xml b/sci-libs/clashscore-db/metadata.xml deleted file mode 100644 index e490bcb8aa87..000000000000 --- a/sci-libs/clashscore-db/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/clblas/Manifest b/sci-libs/clblas/Manifest deleted file mode 100644 index 5ccea72193cb..000000000000 --- a/sci-libs/clblas/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST clblas-2.12.tar.gz 1157445 BLAKE2B 27352a7775db94808ce21f2b4a39fe505d4f37be4305dc7fb5a4068a86d3f51a9e4863931f634150762b31256f9f7e8e5d0d8b70f404b5a9ddb8a489b800aea6 SHA512 5d9b0c58adde69e83d95e9c713e0cdc5f64785fe7e05553a14c57fa483c4ef39e9dc780c26880a7f15924967d5ce4ea29035c29d63eac7ee5a2ae5ddacac2b72 diff --git a/sci-libs/clblas/clblas-2.12-r2.ebuild b/sci-libs/clblas/clblas-2.12-r2.ebuild deleted file mode 100644 index 504863aa4bb9..000000000000 --- a/sci-libs/clblas/clblas-2.12-r2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DOCS_BUILDER="doxygen" -DOCS_DEPEND="<dev-libs/mathjax-3" -DOCS_CONFIG_NAME="clBLAS.doxy" -DOCS_DIR="doc" - -inherit python-any-r1 toolchain-funcs cmake docs - -MYPN="clBLAS" - -DESCRIPTION="Library containing BLAS routines for OpenCL" -HOMEPAGE="https://github.com/clMathLibraries/clBLAS" -SRC_URI="https://github.com/clMathLibraries/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MYPN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/2" # soname version -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="+client examples ktest performance test" -# the testsuite is hopelessly broken and upstream is pretty much dead -RESTRICT="test" - -RDEPEND=" - virtual/opencl - client? ( virtual/cblas ) -" -DEPEND=" - ${RDEPEND} - dev-util/opencl-headers -" -BDEPEND="${PYTHON_DEPS} - client? ( virtual/pkgconfig ) -" - -CMAKE_USE_DIR="${S}/src" - -PATCHES=( - "${FILESDIR}"/${PN}-2.12-disable-multilib-cflags.patch - "${FILESDIR}"/${PN}-2.12-fix-pthread-linkage.patch - "${FILESDIR}"/${PN}-2.12-fix-doxygen-output-dir.patch - "${FILESDIR}"/${PN}-2.12-use-system-mathjax.patch - "${FILESDIR}"/${PN}-2.12-reproducible-build.patch - "${FILESDIR}"/${PN}-2.12-use-boost-dynamic-libs.patch - "${FILESDIR}"/${PN}-2.12-Detect-CBLAS-when-building-the-client.patch -) - -src_configure() { - local mycmakeargs=( - -DBUILD_RUNTIME=ON - -DBUILD_SAMPLE=OFF - # tests are beyond repair - -DBUILD_TEST=OFF - -DBUILD_CLIENT=$(usex client) - -DBUILD_KTEST=$(usex ktest) - -DBUILD_PERFORMANCE=$(usex performance) - -DPYTHON_EXECUTABLE="${PYTHON}" - ) - use client && mycmakeargs+=( - -DNetlib_LIBRARIES="$($(tc-getPKG_CONFIG) --libs cblas blas)" - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - docs_compile -} - -src_install() { - cmake_src_install - - dodoc CHANGELOG CONTRIBUTING.md NOTICE README.md - if use examples; then - docinto examples - dodoc -r src/samples/. - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/sci-libs/clblas/files/clblas-2.12-Detect-CBLAS-when-building-the-client.patch b/sci-libs/clblas/files/clblas-2.12-Detect-CBLAS-when-building-the-client.patch deleted file mode 100644 index bfe94dfd7074..000000000000 --- a/sci-libs/clblas/files/clblas-2.12-Detect-CBLAS-when-building-the-client.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Ghislain Antony Vaillant <ghisvail@gmail.com> -Date: Sat, 21 Jan 2017 16:49:27 +0000 -Subject: Detect CBLAS when building the client - ---- - src/CMakeLists.txt | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index bf351c1..28d6a60 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -267,10 +267,7 @@ if( BUILD_TEST ) - endif( ) - - if( BUILD_CLIENT ) -- if( NETLIB_FOUND ) -- else( ) -- message( WARNING "Not find Netlib; BUILD_CLIENT needs the Netlib CBLAS library" ) -- endif() -+ find_package( Netlib COMPONENTS BLAS REQUIRED ) - endif() - - diff --git a/sci-libs/clblas/files/clblas-2.12-disable-multilib-cflags.patch b/sci-libs/clblas/files/clblas-2.12-disable-multilib-cflags.patch deleted file mode 100644 index 8e8f14871ef1..000000000000 --- a/sci-libs/clblas/files/clblas-2.12-disable-multilib-cflags.patch +++ /dev/null @@ -1,26 +0,0 @@ -Description: disable multilib flags -Author: Ghislain Antony Vaillant <ghisvail@gmail.com> -Forwarded: not-needed ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -305,18 +305,6 @@ - # Don't use -rpath. - set(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE) - -- # Need to determine the target machine of the C compiler, because -- # the '-m32' and '-m64' flags are supported on x86 but not on e.g. ARM. -- exec_program( "${CMAKE_C_COMPILER} -dumpmachine" -- OUTPUT_VARIABLE CMAKE_C_COMPILER_MACHINE ) -- message( STATUS "CMAKE_C_COMPILER_MACHINE: ${CMAKE_C_COMPILER_MACHINE}" ) -- # The "86" regular expression matches x86, x86_64, i686, etc. -- if(${CMAKE_C_COMPILER_MACHINE} MATCHES "86") -- set(CMAKE_C_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_C_FLAGS}") -- set(CMAKE_CXX_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_CXX_FLAGS}") -- set(CMAKE_Fortran_FLAGS "-m${TARGET_PLATFORM} ${CMAKE_Fortran_FLAGS}") -- endif() -- - if(TARGET_PLATFORM EQUAL 32) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-builtin") - endif() diff --git a/sci-libs/clblas/files/clblas-2.12-fix-doxygen-output-dir.patch b/sci-libs/clblas/files/clblas-2.12-fix-doxygen-output-dir.patch deleted file mode 100644 index 31abb89b1c3a..000000000000 --- a/sci-libs/clblas/files/clblas-2.12-fix-doxygen-output-dir.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: use system mathjax instead of remote -Author: Ghislain Antony Vaillant <ghisvail@gmail.com> -Forwarded: not-needed ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/doc/clBLAS.doxy -+++ b/doc/clBLAS.doxy -@@ -52,7 +52,7 @@ - # If a relative path is entered, it will be relative to the location - # where doxygen was started. If left blank the current directory will be used. - --OUTPUT_DIRECTORY = ..\..\bin\clBLAS.doxy -+OUTPUT_DIRECTORY = - - # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create - # 4096 sub-directories (in 2 levels) under the output directory of each output diff --git a/sci-libs/clblas/files/clblas-2.12-fix-pthread-linkage.patch b/sci-libs/clblas/files/clblas-2.12-fix-pthread-linkage.patch deleted file mode 100644 index c920c8140d8d..000000000000 --- a/sci-libs/clblas/files/clblas-2.12-fix-pthread-linkage.patch +++ /dev/null @@ -1,18 +0,0 @@ -Description: fix missing linkage with pthread -Author: Ghislain Antony Vaillant <ghisvail@gmail.com> -Forwarded: no ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/src/library/CMakeLists.txt -+++ b/src/library/CMakeLists.txt -@@ -889,6 +889,10 @@ - set_target_properties( clBLAS PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" ) - target_link_libraries(clBLAS ${OPENCL_LIBRARIES} ${MATH_LIBRARY} ${THREAD_LIBRARY}) - -+set(THREADS_PREFER_PTHREAD_FLAG ON) -+find_package(Threads REQUIRED) -+target_link_libraries(clBLAS ${CMAKE_THREAD_LIBS_INIT}) -+ - # CPack configuration; include the executable into the package - install( TARGETS clBLAS - EXPORT Library diff --git a/sci-libs/clblas/files/clblas-2.12-reproducible-build.patch b/sci-libs/clblas/files/clblas-2.12-reproducible-build.patch deleted file mode 100644 index 9d7c2b771e41..000000000000 --- a/sci-libs/clblas/files/clblas-2.12-reproducible-build.patch +++ /dev/null @@ -1,17 +0,0 @@ -Description: make package build reproducible - By disabling the HTML timestamp setting in Doxygen. -Author: Ghislain Antony Vaillant <ghisvail@gmail.com> -Forwarded: not-needed ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/doc/clBLAS.doxy -+++ b/doc/clBLAS.doxy -@@ -974,7 +974,7 @@ - # page will contain the date and time when the page was generated. Setting - # this to NO can help when comparing the output of multiple runs. - --HTML_TIMESTAMP = YES -+HTML_TIMESTAMP = NO - - # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML - # documentation will contain sections that can be hidden and shown after the diff --git a/sci-libs/clblas/files/clblas-2.12-use-boost-dynamic-libs.patch b/sci-libs/clblas/files/clblas-2.12-use-boost-dynamic-libs.patch deleted file mode 100644 index 64388c90dc48..000000000000 --- a/sci-libs/clblas/files/clblas-2.12-use-boost-dynamic-libs.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: use Boost shared libraries instead of static -Author: Ghislain Antony Vaillant <ghisvail@gmail.com> -Forwarded: no ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -279,7 +279,7 @@ - - # Find Boost on the system, and configure the type of boost build we want - set( Boost_USE_MULTITHREADED ON ) --set( Boost_USE_STATIC_LIBS ON ) -+set( Boost_USE_STATIC_LIBS OFF ) - set( Boost_DETAILED_FAILURE_MSG ON ) - # set( Boost_DEBUG ON ) - set( Boost_ADDITIONAL_VERSIONS "1.44.0" "1.44" "1.47.0" "1.47" "1.60.0" "1.60" ) diff --git a/sci-libs/clblas/files/clblas-2.12-use-system-mathjax.patch b/sci-libs/clblas/files/clblas-2.12-use-system-mathjax.patch deleted file mode 100644 index 775a669e96a8..000000000000 --- a/sci-libs/clblas/files/clblas-2.12-use-system-mathjax.patch +++ /dev/null @@ -1,18 +0,0 @@ -Description: fix output directory for documentation - Use default doxygen directory, i.e. under docs/html, rather than the - inappropriate path set by upstream. -Author: Ghislain Antony Vaillant <ghisvail@gmail.com> -Forwarded: no ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/doc/clBLAS.doxy -+++ b/doc/clBLAS.doxy -@@ -1223,7 +1223,7 @@ - # installing MathJax. However, it is strongly recommended to install a local - # copy of MathJax from http://www.mathjax.org before deployment. - --MATHJAX_RELPATH = http://www.mathjax.org/mathjax -+MATHJAX_RELPATH = /usr/share/javascript/mathjax - - # The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension - # names that should be enabled during MathJax rendering. diff --git a/sci-libs/clblas/metadata.xml b/sci-libs/clblas/metadata.xml deleted file mode 100644 index 20731f32a8e9..000000000000 --- a/sci-libs/clblas/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - clBLAS is the code for the OpenCL BLAS portion of clMath. The - complete set of BLAS level 1, 2 and 3 routines is implemented. See - Netlib BLAS for the list of supported routines. In addition to GPU - devices, the library also supports running on CPU devices to - facilitate debugging and multicore programming. - </longdescription> - <use> - <flag name="client"> - Build a command line clBLAS client program. - </flag> - <flag name="ktest"> - A command line tool for testing single clBLAS kernel. - </flag> - <flag name="performance"> - Copy performance scripts that can measure and graph performance. - </flag> - </use> - <upstream> - <remote-id type="github">clMathLibraries/clBLAS</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/clblast/Manifest b/sci-libs/clblast/Manifest deleted file mode 100644 index 20cead082658..000000000000 --- a/sci-libs/clblast/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST clblast-1.5.2.tar.gz 419730 BLAKE2B 9954e39b490b75f3d989969260146ff9e9f5311865f13779e0ee8bc70578d6c51fd7c5e27af777a9d6c9703992d5acb164211aec39568f2f0ba1cf10db211b24 SHA512 6693704321bb7623a632ebfc71dcf07bbe4ba6c6f03a2ecf52bc10b401ae546bf82cdd3f6cc28aa9ea10f40dc7b2e86a6530f32cfbd522e24d4cf6a75c8c1100 -DIST clblast-1.5.3.tar.gz 425339 BLAKE2B 3773dbc5b7db1fe26097b7c813fd34178733e75e08c033bcbec5264da215f702cdbd5b6b4b2858570b653de0800c3f53bb4cdf68cb716a1f94ef7459fa717621 SHA512 58cb3ca88cd7a3c52292d31f7b00a160b49f2131d925249e8b83e0fe3c538b509805e7a64e0d13521780024000be1ca6909f47735c2ede161674cb9894170458 -DIST clblast-1.6.3.tar.gz 464039 BLAKE2B 43807e4d250c49c142f0bbf92aa56037d43abd51bd957fbb60b27dd350db21adbaaad112bb1653dd400ba4e59c3dcedd72b6d47655d2ee3ac72b1063dffe61ac SHA512 cc93afd4e4860789c4fed8a82bb0019f039285060e74aa65a1916bf061aaa67cc6dc675000b28500046062f40570472abd9c34c210d130e10b8e5c591ceb8ad7 diff --git a/sci-libs/clblast/clblast-1.5.2-r1.ebuild b/sci-libs/clblast/clblast-1.5.2-r1.ebuild deleted file mode 100644 index c762f83c6443..000000000000 --- a/sci-libs/clblast/clblast-1.5.2-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MYPN="CLBlast" - -DESCRIPTION="Tuned OpenCL BLAS" -HOMEPAGE="https://github.com/CNugteren/CLBlast" -SRC_URI="https://github.com/CNugteren/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MYPN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -# Cuda is still beta, default to opencl -IUSE="client cuda examples +opencl test" -REQUIRED_USE=" - ^^ ( cuda opencl ) - test? ( client ) -" -# Tests require write access to /dev/dri/renderD... -RESTRICT="test" -# RESTRICT="!test? ( test )" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - client? ( virtual/cblas ) - opencl? ( virtual/opencl ) -" - -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/level2_xtrsv.patch - "${FILESDIR}"/level3_xtrsv.patch -) - -src_prepare() { - # no forced optimisation, libdir - sed -e 's/-O3//g' \ - -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \ - -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - mycmakeargs+=( - -DBUILD_SHARED_LIBS=ON - -DSAMPLES="$(usex examples)" - -DCLIENTS="$(usex client)" - -DNETLIB="$(usex client)" - -DTESTS="$(usex test)" - -DOPENCL="$(usex opencl)" - -DCUDA="$(usex cuda)" - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc README.md ROADMAP.md CONTRIBUTING.md CHANGELOG - dodoc -r doc -} diff --git a/sci-libs/clblast/clblast-1.5.2.ebuild b/sci-libs/clblast/clblast-1.5.2.ebuild deleted file mode 100644 index f2b6e3024b9a..000000000000 --- a/sci-libs/clblast/clblast-1.5.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MYPN="CLBlast" - -DESCRIPTION="Tuned OpenCL BLAS" -HOMEPAGE="https://github.com/CNugteren/CLBlast" -SRC_URI="https://github.com/CNugteren/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MYPN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# Cuda is still beta, default to opencl -IUSE="client cuda examples +opencl test" -REQUIRED_USE=" - ^^ ( cuda opencl ) - test? ( client ) -" -# Tests require write access to /dev/dri/renderD... -RESTRICT="test" -# RESTRICT="!test? ( test )" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - client? ( virtual/cblas ) - opencl? ( virtual/opencl ) -" - -DEPEND="${RDEPEND}" - -src_prepare() { - # no forced optimisation, libdir - sed -e 's/-O3//g' \ - -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \ - -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - mycmakeargs+=( - -DBUILD_SHARED_LIBS=ON - -DSAMPLES="$(usex examples)" - -DCLIENTS="$(usex client)" - -DNETLIB="$(usex client)" - -DTESTS="$(usex test)" - -DOPENCL="$(usex opencl)" - -DCUDA="$(usex cuda)" - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc README.md ROADMAP.md CONTRIBUTING.md CHANGELOG - dodoc -r doc -} diff --git a/sci-libs/clblast/clblast-1.5.3.ebuild b/sci-libs/clblast/clblast-1.5.3.ebuild deleted file mode 100644 index 50f951c47c94..000000000000 --- a/sci-libs/clblast/clblast-1.5.3.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MYPN="CLBlast" - -DESCRIPTION="Tuned OpenCL BLAS" -HOMEPAGE="https://github.com/CNugteren/CLBlast" -SRC_URI="https://github.com/CNugteren/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MYPN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -# Cuda is still beta, default to opencl -IUSE="client cuda examples +opencl test" -REQUIRED_USE=" - ^^ ( cuda opencl ) - test? ( client ) -" -# Tests require write access to /dev/dri/renderD... -RESTRICT="test" -# RESTRICT="!test? ( test )" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - client? ( virtual/cblas ) - opencl? ( virtual/opencl ) -" - -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/level2_xtrsv.patch - "${FILESDIR}"/level3_xtrsv.patch -) - -src_prepare() { - # no forced optimisation, libdir - sed -e 's/-O3//g' \ - -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \ - -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - mycmakeargs+=( - -DBUILD_SHARED_LIBS=ON - -DSAMPLES="$(usex examples)" - -DCLIENTS="$(usex client)" - -DNETLIB="$(usex client)" - -DTESTS="$(usex test)" - -DOPENCL="$(usex opencl)" - -DCUDA="$(usex cuda)" - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc README.md ROADMAP.md CONTRIBUTING.md CHANGELOG - dodoc -r doc -} diff --git a/sci-libs/clblast/clblast-1.6.3.ebuild b/sci-libs/clblast/clblast-1.6.3.ebuild deleted file mode 100644 index a24fec378d58..000000000000 --- a/sci-libs/clblast/clblast-1.6.3.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MYPN="CLBlast" - -DESCRIPTION="Tuned OpenCL BLAS" -HOMEPAGE="https://github.com/CNugteren/CLBlast" -SRC_URI="https://github.com/CNugteren/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MYPN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -# Cuda is still beta, default to opencl -IUSE="client cuda examples +opencl test" -REQUIRED_USE=" - ^^ ( cuda opencl ) - test? ( client ) -" -# Tests require write access to /dev/dri/renderD... -RESTRICT="test" -# RESTRICT="!test? ( test )" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - client? ( virtual/cblas ) - opencl? ( virtual/opencl ) -" - -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/level2_xtrsv.patch - "${FILESDIR}"/level3_xtrsv.patch - "${FILESDIR}"/${P}-cmake.patch -) - -src_prepare() { - # no forced optimisation, libdir - sed -e 's/-O3//g' \ - -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \ - -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - mycmakeargs+=( - -DBUILD_SHARED_LIBS=ON - -DSAMPLES="$(usex examples)" - -DCLIENTS="$(usex client)" - -DNETLIB="$(usex client)" - -DTESTS="$(usex test)" - -DOPENCL="$(usex opencl)" - -DCUDA="$(usex cuda)" - ) - cmake_src_configure -} - -src_install() { - local DOCS=( README.md CONTRIBUTING.md CHANGELOG doc ) - cmake_src_install -} diff --git a/sci-libs/clblast/files/clblast-1.6.3-cmake.patch b/sci-libs/clblast/files/clblast-1.6.3-cmake.patch deleted file mode 100644 index 70a34d18d370..000000000000 --- a/sci-libs/clblast/files/clblast-1.6.3-cmake.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt 2026-03-24 17:47:31.397917260 +0100 -+++ b/CMakeLists.txt 2026-03-24 17:48:34.501175422 +0100 -@@ -9,7 +9,7 @@ - # - # ================================================================================================== - --cmake_minimum_required(VERSION 2.8.11) -+cmake_minimum_required(VERSION 3.10) - - # Overrides for MSVC static runtime - option(OVERRIDE_MSVC_FLAGS_TO_MT "Override compiler flags for MSVC to build with a static runtime (/MT instead of /MD)" ON) diff --git a/sci-libs/clblast/files/level2_xtrsv.patch b/sci-libs/clblast/files/level2_xtrsv.patch deleted file mode 100644 index c1e5890c986b..000000000000 --- a/sci-libs/clblast/files/level2_xtrsv.patch +++ /dev/null @@ -1,14 +0,0 @@ -This fixes a bug in the upstream code. There is an extra argument in -the call to the x_buffer.CopyToAsync function that must be removed. Otherwise -the build fails when CUDA is enabled. ---- CLBlast/src/routines/level2/xtrsv.cpp 2022-05-21 08:44:13.811816246 -0600 -+++ CLBlast_fixed/src/routines/level2/xtrsv.cpp 2022-05-21 08:28:34.601124921 -0600 -@@ -154,7 +154,7 @@ - } - - // Retrieves the results -- x_buffer.CopyToAsync(queue_, x_size, b_buffer, event_); -+ x_buffer.CopyToAsync(queue_, x_size, b_buffer); - } - - // ================================================================================================= diff --git a/sci-libs/clblast/files/level3_xtrsv.patch b/sci-libs/clblast/files/level3_xtrsv.patch deleted file mode 100644 index abba1cd23026..000000000000 --- a/sci-libs/clblast/files/level3_xtrsv.patch +++ /dev/null @@ -1,14 +0,0 @@ -This fixes a problem in the upstream code. There is an extra argument in -the call to the x_buffer.CopyToAsync function that must be removed. Otherwise -the build fails when CUDA is enabled. ---- CLBlast/src/routines/level3/xtrsm.cpp 2022-05-21 08:44:13.815816361 -0600 -+++ CLBlast_fixed/src/routines/level3/xtrsm.cpp 2022-05-21 08:28:06.756355738 -0600 -@@ -246,7 +246,7 @@ - } - - // Retrieves the results -- x_buffer.CopyToAsync(queue_, b_size, b_buffer, event_); -+ x_buffer.CopyToAsync(queue_, b_size, b_buffer); - } - - // ================================================================================================= diff --git a/sci-libs/clblast/metadata.xml b/sci-libs/clblast/metadata.xml deleted file mode 100644 index a6b955fc76b2..000000000000 --- a/sci-libs/clblast/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - CLBlast is a modern, lightweight, performant and tunable OpenCL - BLAS library written in C++11. It is designed to leverage the full - performance potential of a wide variety of OpenCL devices from - different vendors, including desktop and laptop GPUs, embedded - GPUs, and other accelerators. CLBlast implements BLAS routines: - basic linear algebra subprograms operating on vectors and - matrices. - </longdescription> - <use> - <flag name="client"> - Enable compilation of the clients to test and compare performance with reference libraries - </flag> - <flag name="cuda"> - Build with support for cuda instead of opencl (beta!) - </flag> - </use> - <upstream> - <remote-id type="github">CNugteren/CLBlast</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cln/Manifest b/sci-libs/cln/Manifest deleted file mode 100644 index e5bdbfc5120a..000000000000 --- a/sci-libs/cln/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cln-1.3.7.tar.bz2 1337235 BLAKE2B 92a3b18ca7d9b87c1e51840ec3f58ca2ae28f012ab3a92707970698900a5efbbe1c2aca107983eff49d8d8892a5a0ec97db8dbdef9543789fb6084d13fe06848 SHA512 39abfae41504030cce16d0ed0547eafaa9a819f1225289d262cdd8e50d9af5bdb695d6e5a7f4b3577af29bedaf2e31700655b07a624b4232aecf8d795f697a1b diff --git a/sci-libs/cln/cln-1.3.7.ebuild b/sci-libs/cln/cln-1.3.7.ebuild deleted file mode 100644 index 9aceefa109a5..000000000000 --- a/sci-libs/cln/cln-1.3.7.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic - -DESCRIPTION="Class library (C++) for numbers" -HOMEPAGE="https://www.ginac.de/CLN/" -SRC_URI="https://www.ginac.de/CLN/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86" -IUSE="doc examples" - -RDEPEND="dev-libs/gmp:0=" -DEPEND="${RDEPEND} - doc? ( virtual/latex-base )" - -pkg_setup() { - use sparc && append-cppflags -DNO_ASM - use hppa && append-cppflags -DNO_ASM - use arm && append-cppflags -DNO_ASM -} - -src_prepare() { - default - # avoid building examples - # do it in Makefile.in to avoid time consuming eautoreconf - sed -i \ - -e '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' \ - Makefile.in || die -} - -src_configure() { - econf --disable-static -} - -src_compile() { - default - if use doc; then - pushd doc > /dev/null - export VARTEXFONTS="${T}/fonts" - emake html pdf - DOCS=( doc/cln.pdf ) - HTML_DOCS=( doc/cln.html ) - fi -} - -src_install() { - default - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - docinto examples - dodoc examples/*.cc - fi - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/cln/metadata.xml b/sci-libs/cln/metadata.xml deleted file mode 100644 index 400e4795fc35..000000000000 --- a/sci-libs/cln/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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"> - A Class Library for Numbers is a library for computations with all - kinds of numbers in arbitrary precision. It has a set of number - classes, including integers (with unlimited precision), reals with - various precisions (including unlimited), rationals, complex numbers - and polynomials. The kernel is written in assembly language. It uses - automatic garbage collection. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/cmpfit/Manifest b/sci-libs/cmpfit/Manifest deleted file mode 100644 index b089f0f5f071..000000000000 --- a/sci-libs/cmpfit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cmpfit-1.4.tar.gz 30659 BLAKE2B f076f69e83d1eb78eda2894cded85f920cef1c95bcb60b042e98d33919e12cac62ffe4ad76ddc9ca0ef17f887289dc37b0bde969e4e04470b491b03b841bbeea SHA512 0a0c869bcf202a0dbc9fd6b6939a6382cc8701f09ca9aada90dde809135c2a8436709a84a8be53696e8d09f49f1d14f80c9d4c8c1c6cd418260939fc0ec5dced diff --git a/sci-libs/cmpfit/cmpfit-1.4.ebuild b/sci-libs/cmpfit/cmpfit-1.4.ebuild deleted file mode 100644 index 760c939e7e62..000000000000 --- a/sci-libs/cmpfit/cmpfit-1.4.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="MINPACK-1 Least Squares Fitting Library in C" -HOMEPAGE="https://pages.physics.wisc.edu/~craigm/idl/cmpfit.html" -SRC_URI="https://pages.physics.wisc.edu/~craigm/idl/down/${P}.tar.gz" - -LICENSE="public-domain minpack" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DOCS=( README DISCLAIMER ) - -src_compile() { - $(tc-getCC) ${CFLAGS} ${CPPFLAGS} -fPIC -c mpfit.c -o mpfit.so || die "PIC compilation failed" - $(tc-getCC) ${LDFLAGS} -shared -Wl,-soname=libmpfit.so mpfit.so -lm -o libmpfit.so || die "linking failed" -} - -src_test() { - $(tc-getCC) ${CFLAGS} ${CPPFLAGS} testmpfit.c -L. -lmpfit -lm -o testmpfit || die - LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH} ./testmpfit || die -} - -src_install() { - dolib.so libmpfit.so - doheader mpfit.h - einstalldocs -} diff --git a/sci-libs/cmpfit/metadata.xml b/sci-libs/cmpfit/metadata.xml deleted file mode 100644 index df8582d0bfcc..000000000000 --- a/sci-libs/cmpfit/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - MPFIT uses the Levenberg-Marquardt technique to solve the - least-squares problem. In its typical use, MPFIT will be used to fit - a user-supplied function (the "model") to user-supplied data points - (the "data") by adjusting a set of parameters. MPFIT is based upon - MINPACK-1 (LMDIF.F) by More' and collaborators. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/coinasl/Manifest b/sci-libs/coinasl/Manifest deleted file mode 100644 index f1c1de49d7b9..000000000000 --- a/sci-libs/coinasl/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST coin-or-tools-BuildTools-20208f47f7bbc0056a92adefdfd43fded969f674.tar.gz 110238 BLAKE2B dd1965fd0a3aca6a1d0116d38c1c30edda1d2f38976ea919a4dd6e06da70171ab4a768e34a1320e7c8487c259968566aa94a585f36d96964296b2b5a240250ae SHA512 82b7f14f2ae735001d41b05b592914f4c1c710536a4ec5ed4db3aefa0f0ce181b90f44d6a91e6216d3c8dc87f760df2571837a062bf6aa3f3444a0d70f8a7a19 -DIST coinasl-2.0.1.tar.gz 252385 BLAKE2B 7276c9e4325542817a49c61b0d08b5d3bd60a4d9beb981fdd164fdad80d6695c6ba83c4c0cbddeac119be4572c1fe4f0534b0adcc45541324b23e7bc2d60a303 SHA512 37c05677ebc82d56228cd80382c37ae44546fd5681063488bd2cd3c35c2155c2f85e6e8fbcbe41913eeafeb3ac12d2972919893de75affade3016e64f75e034b -DIST coinasl-2.1.0.tar.gz 260750 BLAKE2B c5b6b6e6914c94dbe7b667c868ba75fbe0bd8210789d9b4cac7995fda392a4b0c59b82d409fcef4012cd0c6635cd8393a8bc270333f17e834c1bbaacc3e30f0f SHA512 bf441389628d4d9697b3a07f588967b7ce121d4c83034bd753e399bae9942d35cdd36050c9337246acb589bac2d0244bdea792a372ffdf9849ffeb7f97ee189a -DIST solvers-1.0.1.tar.gz 1589055 BLAKE2B b375089423bac504aefe8e96a24359c067c7ca36f1538c607a1236d3f948f66ad6e72084cca018173a3500b4b2d8560599d6f97ff329564040d79c9f3615f5e5 SHA512 0510794489dd9e8404c4b5240ffabbca5a1a6112678c80443421f040893edbd23925b3c8fa7e3e4a9e41aeb2d7555fa747aa2070e7b1bd31da177c7aa8969211 -DIST solvers-64919f75f.tgz 360043 BLAKE2B 08b81c638bc9154e3089a87409585dd8e6f64be48ef0e431e5d5e907f5fa7c21c755890baf480924c17e25e8da6220d90f9d3ad1aa3146f40134f4bde0ca9f06 SHA512 dfb001d1feb4218b3122f4d6fe7a101f03bbb8277e8af0adda6a1ae9295b6eb7fc1ef62550bc6cc724a54754c713e36f526555c66d9f0bcb9a08ed61414bbe26 diff --git a/sci-libs/coinasl/coinasl-2.0.1-r1.ebuild b/sci-libs/coinasl/coinasl-2.0.1-r1.ebuild deleted file mode 100644 index 7990f129db7a..000000000000 --- a/sci-libs/coinasl/coinasl-2.0.1-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Ampl Solver Library (ASL)" -HOMEPAGE="https://github.com/coin-or-tools/ThirdParty-ASL" -BUILD_TOOLS_VERSION="20208f47f7bbc0056a92adefdfd43fded969f674" -SOLVERS_SHA="64919f75f" -SRC_URI="https://coin-or-tools.github.io/ThirdParty-ASL/solvers-${SOLVERS_SHA}.tgz - https://github.com/coin-or-tools/ThirdParty-ASL/archive/refs/tags/releases/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/coin-or-tools/BuildTools/archive/${BUILD_TOOLS_VERSION}.tar.gz -> coin-or-tools-BuildTools-${BUILD_TOOLS_VERSION}.tar.gz" -S="${WORKDIR}/ThirdParty-ASL-releases-${PV}" - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( - "${FILESDIR}/${P}-getrusage.patch" - "${FILESDIR}/${P}-dtoa.patch" -) - -src_unpack() { - default - mv solvers "${S}" || die -} - -src_prepare() { - default - AT_M4DIR="${WORKDIR}/BuildTools-${BUILD_TOOLS_VERSION}" - eautoreconf -} - -src_configure() { - econf --enable-shared -} - -src_install() { - default - rm "${D}/usr/$(get_libdir)/libcoinasl.la" || die -} diff --git a/sci-libs/coinasl/coinasl-2.1.0.ebuild b/sci-libs/coinasl/coinasl-2.1.0.ebuild deleted file mode 100644 index de627e257594..000000000000 --- a/sci-libs/coinasl/coinasl-2.1.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Ampl Solver Library (ASL)" -HOMEPAGE="https://github.com/coin-or-tools/ThirdParty-ASL" -BUILD_TOOLS_VERSION="20208f47f7bbc0056a92adefdfd43fded969f674" -SOLVERS_VERSION="1.0.1" -SRC_URI="https://github.com/ampl/asl/archive/refs/tags/v${SOLVERS_VERSION}.tar.gz -> solvers-${SOLVERS_VERSION}.tar.gz - https://github.com/coin-or-tools/ThirdParty-ASL/archive/refs/tags/releases/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/coin-or-tools/BuildTools/archive/${BUILD_TOOLS_VERSION}.tar.gz -> coin-or-tools-BuildTools-${BUILD_TOOLS_VERSION}.tar.gz" -S="${WORKDIR}/ThirdParty-ASL-releases-${PV}" - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_unpack() { - default - mv "asl-${SOLVERS_VERSION}/src/solvers" "${S}" || die -} - -src_prepare() { - default - AT_M4DIR="${WORKDIR}/BuildTools-${BUILD_TOOLS_VERSION}" - eautoreconf -} - -src_configure() { - econf --enable-shared -} - -src_install() { - default - rm "${D}/usr/$(get_libdir)/libcoinasl.la" || die -} diff --git a/sci-libs/coinasl/files/coinasl-2.0.1-dtoa.patch b/sci-libs/coinasl/files/coinasl-2.0.1-dtoa.patch deleted file mode 100644 index 72efc195307a..000000000000 --- a/sci-libs/coinasl/files/coinasl-2.0.1-dtoa.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/solvers/dtoa1.c -+++ b/solvers/dtoa1.c -@@ -16,6 +16,8 @@ - of or in connection with the use or performance of this software. - *******************************************************************/ - -+#include <stddef.h> -+ - #ifndef No_dtoa /*{{*/ - #ifdef __cplusplus - #include "memory.h" diff --git a/sci-libs/coinasl/files/coinasl-2.0.1-getrusage.patch b/sci-libs/coinasl/files/coinasl-2.0.1-getrusage.patch deleted file mode 100644 index 9d6c193605bd..000000000000 --- a/sci-libs/coinasl/files/coinasl-2.0.1-getrusage.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 59e033d..2544237 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -51,7 +51,7 @@ AM_CONDITIONAL([ASL_INT64],[test "$intsize" = 64]) - # The critical function for NO_RUSAGE is getrusage(). Use a standard test. - AC_MSG_CHECKING([for getrusage]) - AC_LINK_IFELSE( -- [AC_LANG_PROGRAM([[]],[[getrusage()]])], -+ [AC_LANG_PROGRAM([#include <sys/resource.h>],[struct rusage r; getrusage(RUSAGE_SELF, &r)])], - [AC_MSG_RESULT([yes])], - [CPPFLAGS="$CPPFLAGS -DNO_RUSAGE" - AC_MSG_RESULT([no])]) diff --git a/sci-libs/coinasl/metadata.xml b/sci-libs/coinasl/metadata.xml deleted file mode 100644 index 8e63c7114d93..000000000000 --- a/sci-libs/coinasl/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>audvare@gmail.com</email> - <name>Andrew Udvare</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">coin-or-tools/ThirdParty-ASL</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-alps/Manifest b/sci-libs/coinor-alps/Manifest deleted file mode 100644 index ac4d5e0e8949..000000000000 --- a/sci-libs/coinor-alps/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-alps-1.5.7.tar.gz 893834 BLAKE2B af881b9bd7db8b323ba7c7bd82f9180d3685a1b3d3b30b7b20c0d9c5d539caa8fb13e11b866f4f61e9baaf98d32e17953b3bdb408c32fc6aea20e3d83be57078 SHA512 7c3d838bfa8366f0a440dfe1cc9fbff1ca23e6528c3d89348fb4df8bab50b1a7c666523cde20ecd9f09ad54e599ffed1e6ed48631078dbd4d6885e2b10e9e495 diff --git a/sci-libs/coinor-alps/coinor-alps-1.5.7.ebuild b/sci-libs/coinor-alps/coinor-alps-1.5.7.ebuild deleted file mode 100644 index f93a7c3ce3c0..000000000000 --- a/sci-libs/coinor-alps/coinor-alps-1.5.7.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR Framework for implementing parallel graph search algorithms" -HOMEPAGE="https://projects.coin-or.org/CHiPPS/" -SRC_URI="https://github.com/coin-or/CHiPPS-ALPS/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CHiPPS-ALPS-releases-${PV}/Alps" - -LICENSE="EPL-1.0" -SLOT="0" # formerly 0/3, upstream went from so.3 to so.0 -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND="sci-libs/coinor-utils:=" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-cgl )" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - # Needed given "make check" is a noop and it skips the working one. - emake test -} - -src_install() { - default - dodoc -r examples - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-alps/metadata.xml b/sci-libs/coinor-alps/metadata.xml deleted file mode 100644 index 1bb91f861312..000000000000 --- a/sci-libs/coinor-alps/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - CHiPPS is the COIN-OR High-Performance Parallel Search Framework, a - framework for implementing parallel algorithms based on tree - search. The current CHiPPS architecture consists of three - layers. The Abstract Library for Parallel Search (ALPS) is the base - layer of a hierarchy consisting of implementations of various tree - search algorithms for specific problem types. - </longdescription> - <upstream> - <remote-id type="github">coin-or/CHiPPS-ALPS</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-bcp/Manifest b/sci-libs/coinor-bcp/Manifest deleted file mode 100644 index 48b96db42feb..000000000000 --- a/sci-libs/coinor-bcp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-bcp-1.4.4.tar.gz 1983573 BLAKE2B 79265c0336ca719b417825df2f27e88c08c314e599693e8886170fe69755b3272aa05469bfc069660c979e4a273ca63a25fc4d3a86a695838039121fa98a14bd SHA512 066ad631a67ccf33eebc175451f4734cbf190cb4fd9866dec987d80688a69400b76415de65ee9399b1a8ccfdf3bf3af307245610481a6d673598bc157c3963bc diff --git a/sci-libs/coinor-bcp/coinor-bcp-1.4.4.ebuild b/sci-libs/coinor-bcp/coinor-bcp-1.4.4.ebuild deleted file mode 100644 index ef0440f8bf59..000000000000 --- a/sci-libs/coinor-bcp/coinor-bcp-1.4.4.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR Branch-Cut-Price Framework" -HOMEPAGE="https://projects.coin-or.org/Bcp/" -SRC_URI="https://github.com/coin-or/Bcp/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Bcp-releases-${PV}/Bcp" - -LICENSE="CPL-1.0" -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sci-libs/coinor-clp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/coinor-vol:=" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -PATCHES=( - "${FILESDIR}"/${P}-gcc11-exceptions.patch -) - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - # Unneeded for Bcp given, while "make check" exists, it fails unlike - # other coinor-*'s noop. Kept as safety not to lose tests in bumps. - emake test -} - -src_install() { - default - dodoc -r examples - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-bcp/files/coinor-bcp-1.4.4-gcc11-exceptions.patch b/sci-libs/coinor-bcp/files/coinor-bcp-1.4.4-gcc11-exceptions.patch deleted file mode 100644 index d37e8b024396..000000000000 --- a/sci-libs/coinor-bcp/files/coinor-bcp-1.4.4-gcc11-exceptions.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://github.com/coin-or/Bcp/commit/e581a2dd4b55352eb318c15e8281b3cc9d8abe23.patch -https://bugs.gentoo.org/786306 - -From e581a2dd4b55352eb318c15e8281b3cc9d8abe23 Mon Sep 17 00:00:00 2001 -From: Julien Schueller <schueller@phimeca.com> -Date: Fri, 14 Aug 2020 09:58:47 +0200 -Subject: [PATCH] Fix deprecated dynamic exception warning - -warning: dynamic exception specifications are deprecated in C++11 ---- a/src/include/BCP_buffer.hpp -+++ b/src/include/BCP_buffer.hpp -@@ -101,13 +101,13 @@ class BCP_buffer{ - /**@name Modifying methods */ - /*@{*/ - /** Position the read head in the buffer. Must be between 0 and size(). */ -- inline void set_position(const int pos) throw(BCP_fatal_error) { -+ inline void set_position(const int pos) { - if (pos < 0 || pos > size()) - throw BCP_fatal_error("Incorrest buffer position setting.\n"); - _pos = pos; - } - /** Cut off the end of the buffer. Must be between 0 and size(). */ -- inline void set_size(const int s) throw(BCP_fatal_error) { -+ inline void set_size(const int s) { - if (s < 0 || s > size()) - throw BCP_fatal_error("Incorrest buffer position setting.\n"); - _size = s; -@@ -221,7 +221,7 @@ class BCP_buffer{ - */ - template <class T> BCP_buffer& unpack(T*& values, int& length, - bool allocate = true) -- throw(BCP_fatal_error) { -+ { - if (allocate) { - #ifdef PARANOID - if (_pos + sizeof(int) > _size) diff --git a/sci-libs/coinor-bcp/metadata.xml b/sci-libs/coinor-bcp/metadata.xml deleted file mode 100644 index d88846c101e8..000000000000 --- a/sci-libs/coinor-bcp/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - BCP is a parallel framework for implementing branch, cut, and price - algorithms for solving mixed integer programs (MIPs). BCP provides - the user with an object-oriented framework that can be used to - develop an efficient problem class specific MIP solver without all - the implementational effort. involved with implementing a branch and - bound framework from scratch. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Bcp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-bcps/Manifest b/sci-libs/coinor-bcps/Manifest deleted file mode 100644 index a015d588db98..000000000000 --- a/sci-libs/coinor-bcps/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-bcps-0.94.5.tar.gz 701818 BLAKE2B 3f01e0fac2e892a3cf59e7dba78c58a23f465f48b0a44be933acfb7d59e84012bed3e05f2f8d1b3c578ad24f4f9c23af9d5e7d54e47b45b0500d389dcfbcf47f SHA512 b53a2ad62a832d4beb0ce2b5c7fd0e81eeb01b9039c0b78ce849adb94b44ad2300aad0f6357ecbcf41f5a5bb427508bde931667dfe40eaa83de50e3d696e3211 diff --git a/sci-libs/coinor-bcps/coinor-bcps-0.94.5.ebuild b/sci-libs/coinor-bcps/coinor-bcps-0.94.5.ebuild deleted file mode 100644 index 6694773c0a97..000000000000 --- a/sci-libs/coinor-bcps/coinor-bcps-0.94.5.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR BiCePS data handling library" -HOMEPAGE="https://projects.coin-or.org/CHiPPS/" -SRC_URI="https://github.com/coin-or/CHiPPS-BiCePS/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CHiPPS-BiCePS-releases-${PV}/Bcps" - -LICENSE="EPL-1.0" -SLOT="0" # formerly 0/1, upstream went from so.1 to so.0 -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -# Note: 0.99.x branch needs to-be-released >=coinor-alps-1.5.8 -RDEPEND=" - sci-libs/coinor-alps:= - sci-libs/coinor-utils:=" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( - sci-libs/coinor-cgl - sci-libs/coinor-sample - )" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - # Needed given "make check" is a noop and it skips the working one. - emake test -} - -src_install() { - default - dodoc -r examples - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-bcps/metadata.xml b/sci-libs/coinor-bcps/metadata.xml deleted file mode 100644 index 7fee4eba84f5..000000000000 --- a/sci-libs/coinor-bcps/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - CHiPPS is the COIN-OR High-Performance Parallel Search Framework, a - framework for implementing parallel algorithms based on tree - search. The current CHiPPS architecture consists of three - layers. The Branch, Constrain, and Price Software (BiCePS) is a data - management layer built on top of ALPS for implementing - relaxation-based branch and bound algorithms. - </longdescription> - <upstream> - <remote-id type="github">coin-or/CHiPPS-BiCePS</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-blis/Manifest b/sci-libs/coinor-blis/Manifest deleted file mode 100644 index 0f35c3940e03..000000000000 --- a/sci-libs/coinor-blis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-blis-0.94.8.tar.gz 4186086 BLAKE2B 6be1ea6f27913cf128947225b2d03b071ee20bc35f49ea319f5ed8ed77d2d89fac0a66bf2b5204ec4194c1a8444033c7ee797ac5c0adbc0572f9195d9a357735 SHA512 5b401eaf7b80af6cb724606655c38811918e92ae89d2f4a1fd5f318bdc8fa1463175a106c2f3ab43bf5eda677a6d7bbdb8a0f8bc0155135108a10bbcbb93070b diff --git a/sci-libs/coinor-blis/coinor-blis-0.94.8.ebuild b/sci-libs/coinor-blis/coinor-blis-0.94.8.ebuild deleted file mode 100644 index b8059b07aa52..000000000000 --- a/sci-libs/coinor-blis/coinor-blis-0.94.8.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR BiCePS Linear Integer Solver" -HOMEPAGE="https://projects.coin-or.org/CHiPPS/" -SRC_URI="https://github.com/coin-or/CHiPPS-BLIS/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CHiPPS-BLIS-releases-${PV}/Blis" - -LICENSE="EPL-1.0" -SLOT="0" # formerly 0/1, upstream went from so.1 to so.0 -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sci-libs/coinor-alps:= - sci-libs/coinor-bcps:= - sci-libs/coinor-cgl:= - sci-libs/coinor-clp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:=" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die - - gzip -d examples/data/{,hard/}*.gz || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - # Needed given "make check" is a noop and it skips the working one. - emake test -} - -src_install() { - default - dodoc -r examples - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-blis/metadata.xml b/sci-libs/coinor-blis/metadata.xml deleted file mode 100644 index 65866c853bea..000000000000 --- a/sci-libs/coinor-blis/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - CHiPPS is the COIN-OR High-Performance Parallel Search Framework, a - framework for implementing parallel algorithms based on tree - search. The current CHiPPS architecture consists of three - layers. The BiCePS Linear Integer Solver (BLIS) is a concretization - of the BiCePS layer for solving mixed-integer linear programs. - </longdescription> - <upstream> - <remote-id type="github">coin-or/CHiPPS-BLIS</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-bonmin/Manifest b/sci-libs/coinor-bonmin/Manifest deleted file mode 100644 index 49e4e68b3afb..000000000000 --- a/sci-libs/coinor-bonmin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-bonmin-1.8.8.tar.gz 1336718 BLAKE2B 3b72852d54b62274dc347758ae6c3fe0a2b1c04c39c3b01d87aa28fcc8593a3d80945b2e88aabd4db03da31c426396302a2def44aac8a07e6101cd5331321ed1 SHA512 66c3b07e743b6f352b4760e32c774268606deda4143e597c3be81068237dd5021210dec46e53ae0930f480db18bfbaaf284cbdb3d20f07e6d8543968509f8999 diff --git a/sci-libs/coinor-bonmin/coinor-bonmin-1.8.8.ebuild b/sci-libs/coinor-bonmin/coinor-bonmin-1.8.8.ebuild deleted file mode 100644 index 74947f795312..000000000000 --- a/sci-libs/coinor-bonmin/coinor-bonmin-1.8.8.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR Basic Open-source Nonlinear Mixed INteger programming" -HOMEPAGE="https://projects.coin-or.org/Bonmin/" -SRC_URI="https://github.com/coin-or/Bonmin/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Bonmin-releases-${PV}/Bonmin" - -LICENSE="EPL-1.0" -SLOT="0/4" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sci-libs/coinor-cbc:= - sci-libs/coinor-cgl:= - sci-libs/coinor-clp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/ipopt:= - virtual/blas" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - virtual/latex-base - ) - test? ( sci-libs/coinor-sample )" - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - # Needed given "make check" is a noop and it skips the working one. - emake test -} - -src_install() { - default - dodoc -r examples doc/BONMIN_UsersManual.pdf - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-bonmin/metadata.xml b/sci-libs/coinor-bonmin/metadata.xml deleted file mode 100644 index 98d7158cc33a..000000000000 --- a/sci-libs/coinor-bonmin/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - BONMIN (Basic Open-source Nonlinear Mixed INteger programming) is an - open-source code for solving general MINLP (Mixed Integer NonLinear - Programming) problems. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Bonmin</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-cbc/Manifest b/sci-libs/coinor-cbc/Manifest deleted file mode 100644 index ff79ae7271dc..000000000000 --- a/sci-libs/coinor-cbc/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST coinor-cbc-2.10.12.tar.gz 1687304 BLAKE2B 3521dc8811de0b092657434c526a31f9be6837531dadb3266ef2c9e1a0a862e320f39a78a9b8d3155955220dd77f6ea22fb6007059083e49f3ef7e5795deda5b SHA512 05ebe6c0eadeaef60ae785a0fcd614a4b9fc147dfda32a7ebf1ff5b30375da2bcc09e9cc84aad91df8ca3391de7df474c013dbf2862a0e177104389289fbe86c -DIST coinor-cbc-2.10.5.tar.gz 1639188 BLAKE2B 92321f0fc0b6eedbb5ebd37cc44d7f10d91d272109474f5ec343e1648b2684dd5cf7002c05d0f72cada1636f9642503ac85165b23ba68caae906fdcad8bcd8f2 SHA512 114ee23ee6e53c337d17bc0930f62d4438e761115e0bf48a04b67732cd82f63dbcc51c3e5b8069bc99bd2e1197b5116ec0be0c2a0a897619c5b79bc1d1751a4e diff --git a/sci-libs/coinor-cbc/coinor-cbc-2.10.12.ebuild b/sci-libs/coinor-cbc/coinor-cbc-2.10.12.ebuild deleted file mode 100644 index c16aafb21e07..000000000000 --- a/sci-libs/coinor-cbc/coinor-cbc-2.10.12.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=Cbc - -DESCRIPTION="COIN-OR branch-and-cut mixed integer program solver" -HOMEPAGE="https://github.com/coin-or/Cbc/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/3" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" -DEPEND="sci-libs/coinor-clp:= - sci-libs/coinor-cgl:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/coinor-vol:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-cbc/coinor-cbc-2.10.5.ebuild b/sci-libs/coinor-cbc/coinor-cbc-2.10.5.ebuild deleted file mode 100644 index 84fdeb9e669b..000000000000 --- a/sci-libs/coinor-cbc/coinor-cbc-2.10.5.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=Cbc - -DESCRIPTION="COIN-OR branch-and-cut mixed integer program solver" -HOMEPAGE="https://github.com/coin-or/Cbc/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/3" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" -DEPEND="sci-libs/coinor-clp:= - sci-libs/coinor-cgl:= - sci-libs/coinor-dylp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/coinor-vol:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-cbc/metadata.xml b/sci-libs/coinor-cbc/metadata.xml deleted file mode 100644 index 68443e3b8b18..000000000000 --- a/sci-libs/coinor-cbc/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - COIN-OR Branch-and-Cut is a Mixed integer linear programming - solver. It uses many of the COIN-OR components and is designed to be - used with COIN-OR CLP or COIN-OR Dylp. It is available as a library and as a - standalone solver. - </longdescription> - - <upstream> - <remote-id type="github">coin-or/Cbc</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-cgl/Manifest b/sci-libs/coinor-cgl/Manifest deleted file mode 100644 index 364b1864352b..000000000000 --- a/sci-libs/coinor-cgl/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST coinor-cgl-0.60.3.tar.gz 1267590 BLAKE2B 54a215c98bc05c65d46b6c7a469e28f06d04372e257825122693f0953582c8f1be2ede91efccdd21635dc365671653f0321d314ac41d1da01b561c2173a42da4 SHA512 e34080b893cfe46f99ffee093235618679ed47b6bed9798ea2d0dc0678716d9b8d947a66f6a6b283fe41807eb323dfcb512ba39d8d73fda1efafad92c408be9d -DIST coinor-cgl-0.60.9.tar.gz 1291554 BLAKE2B 878e1d913d8fa0ad8a69e31ce34986bbf4a38dcaa801e064d77e1df896724882314cacffa9ddf12dcebfde17b89c0d452f7f8439fc16f132d106ab4635b0d53f SHA512 c6134fd4e10ea6b574d8dd61a4be020d0ff0461400a675008003920dab343fd0c4fa75199d025b610dec14cb5e4f6e550dc3f8e3f94a0bc9dd52820eb9689a59 diff --git a/sci-libs/coinor-cgl/coinor-cgl-0.60.3.ebuild b/sci-libs/coinor-cgl/coinor-cgl-0.60.3.ebuild deleted file mode 100644 index 2d4d83b987d5..000000000000 --- a/sci-libs/coinor-cgl/coinor-cgl-0.60.3.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=Cgl - -DESCRIPTION="COIN-OR cut-generation library" -HOMEPAGE="https://projects.coin-or.org/Cgl/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/1" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -DEPEND="sci-libs/coinor-clp:= - sci-libs/coinor-dylp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/coinor-vol:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-cgl/coinor-cgl-0.60.9.ebuild b/sci-libs/coinor-cgl/coinor-cgl-0.60.9.ebuild deleted file mode 100644 index f95e61290e30..000000000000 --- a/sci-libs/coinor-cgl/coinor-cgl-0.60.9.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=Cgl - -DESCRIPTION="COIN-OR cut-generation library" -HOMEPAGE="https://projects.coin-or.org/Cgl/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/1" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -DEPEND="sci-libs/coinor-clp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/coinor-vol:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-cgl/metadata.xml b/sci-libs/coinor-cgl/metadata.xml deleted file mode 100644 index fb5abb11ea49..000000000000 --- a/sci-libs/coinor-cgl/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The COIN-OR Cut Generation Library (Cgl) is an open collection of - cutting plane implementations ("cut generators") for use in - teaching, research, and applications. Cgl can be used with other - COIN-OR packages that make use of cuts, such as the mixed-integer - linear programming. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Cgl</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-clp/Manifest b/sci-libs/coinor-clp/Manifest deleted file mode 100644 index 8e58bece9ca3..000000000000 --- a/sci-libs/coinor-clp/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST coinor-clp-1.17.10.tar.gz 2182570 BLAKE2B 058e72fbf8741176b105c83cb3bb93fabea8b20f7a0a5d8ce9a78b1923ee69968d2131d6a4d03d3c3fc4c228d6ed97bf5dc772ed888af46b2a6d5fab00ade2b7 SHA512 e98417eda771b2e3f4744249b925a3b26229f1495aef0f7ca9d8f542b1bed75234af916a22d8f0c488ad70624ae1db9841d33755f24fa019ffb8f08b183eb14d -DIST coinor-clp-1.17.6.tar.gz 2158530 BLAKE2B b1bf6ecfdf3669ff4393e31c23d24f9160124dcd69df611c96feaa73acf796bc3a13a54542a5d0495e9a68789e762f5392bd7f23c0fee20c0699df2d0b084891 SHA512 8a799d87ba988a27e3ba526ded65425979b4364e374db4e943f41a523f3743efb88a9964eb575c058151e47f58be6ba0ac1b368177f0322850be3704be6f24d1 diff --git a/sci-libs/coinor-clp/coinor-clp-1.17.10.ebuild b/sci-libs/coinor-clp/coinor-clp-1.17.10.ebuild deleted file mode 100644 index 835f1cdf95a9..000000000000 --- a/sci-libs/coinor-clp/coinor-clp-1.17.10.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DEPEND="media-gfx/graphviz" -DOCS_DIR="doxydoc" -DOCS_CONFIG_NAME="doxygen.conf" -inherit docs toolchain-funcs - -MY_PN=Clp - -DESCRIPTION="COIN-OR linear programming solver" -HOMEPAGE="https://github.com/coin-or/Clp" -SRC_URI="https://github.com/coin-or/Clp/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -LICENSE="EPL-1.0" -SLOT="0/1" # major soname component -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="examples glpk metis mpi mumps sparse static-libs test" -REQUIRED_USE="mpi? ( mumps )" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND=" - virtual/fortran - virtual/pkgconfig - test? ( sci-libs/coinor-sample ) -" -DEPEND=" - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - glpk? ( sci-mathematics/glpk:= sci-libs/amd ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps[mpi?] ) - sparse? ( sci-libs/cholmod ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - mumpslibs="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" - - if use mumps; then - if use mpi; then - # https://github.com/coin-or/Clp/issues/199 - eapply "${FILESDIR}/${P}-remove-extern-C-for-MPI.patch" - export CXX=mpicxx - else - # The file ClpCholeskyMumps.cpp does #include "mpi.h", and we - # need to point it to the right file. Our sci-libs/mumps ebuild - # is so ridiculous that I can't even tell if this is our fault - # or if it's something that should be reported upstream. - ln -s "${EPREFIX}/usr/include/mpiseq/mpi.h" src/mpi.h || die - mumpslibs="${mumpslibs} -lmpiseq" - fi - fi - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s|lib/pkgconfig|$(get_libdir)/pkgconfig|g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - # The --enable-aboca flag is temporarily disabled, because the build - # is broken with it (see https://github.com/coin-or/Clp/issues/139). - # There's a fix, but I'm not going to bother with a patch for an - # an experimental feature. - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}"/usr - $(use_with doc dot) - ) - if use glpk; then - myeconfargs+=( - --with-amd-incdir="${EPREFIX}"/usr/include - --with-amd-lib=-lamd - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk - ) - else - myeconfargs+=( --without-glpk ) - fi - if use sparse; then - myeconfargs+=( - --with-amd-incdir="${EPREFIX}"/usr/include - --with-amd-lib=-lamd - --with-cholmod-incdir="${EPREFIX}"/usr/include - --with-cholmod-lib=-lcholmod - ) - else - myeconfargs+=( --without-amd --without-cholmod ) - fi - if use metis; then - myeconfargs+=( - --with-metis-incdir="$($(tc-getPKG_CONFIG) --cflags metis | sed s/-I//)" - --with-metis-lib="$($(tc-getPKG_CONFIG) --libs metis)" - ) - else - myeconfargs+=( --without-metis ) - fi - if use mumps; then - myeconfargs+=( - --with-mumps-incdir="${EPREFIX}"/usr/include - --with-mumps-lib="$mumpslibs" - ) - else - myeconfargs+=( --without-mumps ) - fi - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all - docs_compile -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - emake DESTDIR="${ED}" install - einstalldocs - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-clp/coinor-clp-1.17.6-r1.ebuild b/sci-libs/coinor-clp/coinor-clp-1.17.6-r1.ebuild deleted file mode 100644 index 2d6f3654b7f5..000000000000 --- a/sci-libs/coinor-clp/coinor-clp-1.17.6-r1.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DEPEND="media-gfx/graphviz" -DOCS_DIR="doxydoc" -DOCS_CONFIG_NAME="doxygen.conf" -inherit docs toolchain-funcs - -MY_PN=Clp - -DESCRIPTION="COIN-OR linear programming solver" -HOMEPAGE="https://github.com/coin-or/Clp" -SRC_URI="https://github.com/coin-or/Clp/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -LICENSE="EPL-1.0" -SLOT="0/1" # major soname component -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="examples glpk metis mpi mumps sparse static-libs test" -REQUIRED_USE="mpi? ( mumps )" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND=" - virtual/fortran - virtual/pkgconfig - test? ( sci-libs/coinor-sample ) -" -DEPEND=" - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - glpk? ( sci-mathematics/glpk:= sci-libs/amd ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps[mpi?] ) - sparse? ( sci-libs/cholmod ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - mumpslibs="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" - - if use mumps; then - if use mpi; then - # https://github.com/coin-or/Clp/issues/199 - eapply "${FILESDIR}/${P}-remove-extern-C-for-MPI.patch" - export CXX=mpicxx - else - # The file ClpCholeskyMumps.cpp does #include "mpi.h", and we - # need to point it to the right file. Our sci-libs/mumps ebuild - # is so ridiculous that I can't even tell if this is our fault - # or if it's something that should be reported upstream. - ln -s "${EPREFIX}/usr/include/mpiseq/mpi.h" src/mpi.h || die - mumpslibs="${mumpslibs} -lmpiseq" - fi - fi - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s|lib/pkgconfig|$(get_libdir)/pkgconfig|g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - # The --enable-aboca flag is temporarily disabled, because the build - # is broken with it (see https://github.com/coin-or/Clp/issues/139). - # There's a fix, but I'm not going to bother with a patch for an - # an experimental feature. - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}"/usr - $(use_with doc dot) - ) - if use glpk; then - myeconfargs+=( - --with-amd-incdir="${EPREFIX}"/usr/include - --with-amd-lib=-lamd - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk - ) - else - myeconfargs+=( --without-glpk ) - fi - if use sparse; then - myeconfargs+=( - --with-amd-incdir="${EPREFIX}"/usr/include - --with-amd-lib=-lamd - --with-cholmod-incdir="${EPREFIX}"/usr/include - --with-cholmod-lib=-lcholmod - ) - else - myeconfargs+=( --without-amd --without-cholmod ) - fi - if use metis; then - myeconfargs+=( - --with-metis-incdir="$($(tc-getPKG_CONFIG) --cflags metis | sed s/-I//)" - --with-metis-lib="$($(tc-getPKG_CONFIG) --libs metis)" - ) - else - myeconfargs+=( --without-metis ) - fi - if use mumps; then - myeconfargs+=( - --with-mumps-incdir="${EPREFIX}"/usr/include - --with-mumps-lib="$mumpslibs" - ) - else - myeconfargs+=( --without-mumps ) - fi - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all - docs_compile -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - emake DESTDIR="${ED}" install - einstalldocs - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-clp/coinor-clp-1.17.6.ebuild b/sci-libs/coinor-clp/coinor-clp-1.17.6.ebuild deleted file mode 100644 index 0888bf4c426a..000000000000 --- a/sci-libs/coinor-clp/coinor-clp-1.17.6.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -MY_PN=Clp - -DESCRIPTION="COIN-OR linear programming solver" -HOMEPAGE="https://github.com/coin-or/Clp/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/1" - -KEYWORDS="~amd64 ~x86" -IUSE="doc examples glpk metis mumps sparse static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -# USE=mpi is disabled on sci-libs/mumps because mumps/scotch are in -# total disarray, but in particular for bugs 670759 and 695962. There -# used to be some conditional USE=mpi stuff in src_prepare() that will -# need to be put back if you restore the ability to build against -# mumps[mpi]. -DEPEND="sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - glpk? ( sci-mathematics/glpk:= sci-libs/amd ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps[-mpi] ) - sparse? ( sci-libs/cholmod )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # The file ClpCholeskyMumps.cpp does #include "mpi.h", and we - # need to point it to the right file. Our sci-libs/mumps ebuild - # is so ridiculous that I can't even tell if this is our fault - # or if it's something that should be reported upstream. - ln -s "${EPREFIX}"/usr/include/mpiseq/mpi.h src/mpi.h || die - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - # The --enable-aboca flag is temporarily disabled, because the build - # is broken with it (see https://github.com/coin-or/Clp/issues/139). - # There's a fix, but I'm not going to bother with a patch for an - # an experimental feature. - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}"/usr - $(use_with doc dot) - ) - if use glpk; then - myeconfargs+=( - --with-amd-incdir="${EPREFIX}"/usr/include - --with-amd-lib=-lamd - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk ) - else - myeconfargs+=( --without-glpk ) - fi - if use sparse; then - myeconfargs+=( - --with-amd-incdir="${EPREFIX}"/usr/include - --with-amd-lib=-lamd - --with-cholmod-incdir="${EPREFIX}"/usr/include - --with-cholmod-lib=-lcholmod ) - else - myeconfargs+=( --without-amd --without-cholmod ) - fi - if use metis; then - myeconfargs+=( - --with-metis-incdir="$($(tc-getPKG_CONFIG) --cflags metis | sed s/-I//)" - --with-metis-lib="$($(tc-getPKG_CONFIG) --libs metis)" ) - else - myeconfargs+=( --without-metis ) - fi - if use mumps; then - myeconfargs+=( - --with-mumps-incdir="${EPREFIX}"/usr/include - --with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps -lmpiseq" ) - else - myeconfargs+=( --without-mumps ) - fi - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-clp/files/coinor-clp-1.17.6-remove-extern-C-for-MPI.patch b/sci-libs/coinor-clp/files/coinor-clp-1.17.6-remove-extern-C-for-MPI.patch deleted file mode 100644 index 04e5c731a241..000000000000 --- a/sci-libs/coinor-clp/files/coinor-clp-1.17.6-remove-extern-C-for-MPI.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/src/ClpCholeskyMumps.cpp -+++ b/src/ClpCholeskyMumps.cpp -@@ -11,7 +11,6 @@ - #define JOB_INIT -1 - #define JOB_END -2 - #define USE_COMM_WORLD -987654 --extern "C" { - #include "dmumps_c.h" - // In newer ThirdParty/Mumps, mpi.h is renamed to mumps_mpi.h. - // We get informed about this by having COIN_USE_MUMPS_MPI_H defined. -@@ -20,7 +19,6 @@ - #else - #include "mpi.h" - #endif --} - - #include "ClpCholeskyMumps.hpp" - #include "ClpMessage.hpp" diff --git a/sci-libs/coinor-clp/metadata.xml b/sci-libs/coinor-clp/metadata.xml deleted file mode 100644 index 8a5bed6e5bac..000000000000 --- a/sci-libs/coinor-clp/metadata.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Clp (Coin-OR linear programming) is an open-source linear - programming solver written in C++. It is primarily meant to be - used as a callable library, but a basic, stand-alone executable - version is also available. It is designed to find solutions of - constrained linear mathematical optimization problems. - </longdescription> - <use> - <flag name="glpk"> - Enable GNU Linear Programming Kit - <pkg>sci-mathematics/glpk</pkg> support - </flag> - <flag name="metis">Enable partitioning with - <pkg>sci-libs/metis</pkg></flag> - <flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag> - <flag name="sparse"> - Enable support for sparse matrix with <pkg>sci-libs/cholmod</pkg> - </flag> - </use> - <upstream> - <remote-id type="github">coin-or/Clp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-couenne/Manifest b/sci-libs/coinor-couenne/Manifest deleted file mode 100644 index fd39c9add365..000000000000 --- a/sci-libs/coinor-couenne/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-couenne-0.5.8.tar.gz 1321163 BLAKE2B 841a4af3d76fd308ef5abe481157fa1ecf307e7fae03fa0cb931483be74443febc7eb1ba7e85f47c3dca5d5447a74ae86dc0f3dbeb6c0f0032f543861462e0a1 SHA512 bf474503bd77be6536f9d00b40ff45041b3976ea2167d64e667fa580aa8ed6a383861ec67d57eec83623b6542f7779ed7d50d9b72347c3f77ef36a194a3f9e71 diff --git a/sci-libs/coinor-couenne/coinor-couenne-0.5.8-r1.ebuild b/sci-libs/coinor-couenne/coinor-couenne-0.5.8-r1.ebuild deleted file mode 100644 index ec3bd428771e..000000000000 --- a/sci-libs/coinor-couenne/coinor-couenne-0.5.8-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fortran-2 - -DESCRIPTION="COIN-OR Convex Over and Under ENvelopes for Nonlinear Estimation" -HOMEPAGE="https://projects.coin-or.org/Couenne/" -SRC_URI="https://github.com/coin-or/Couenne/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Couenne-releases-${PV}/Couenne" - -LICENSE="EPL-1.0" -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND=" - sci-libs/coinor-bonmin:= - sci-libs/coinor-cbc:= - sci-libs/coinor-cgl:= - sci-libs/coinor-clp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/ipopt:=[lapack] - virtual/blas" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - virtual/latex-base - )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.5.8-fix-build-with-gcc11.patch -) - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_install() { - default - dodoc doc/couenne-user-manual.pdf - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-couenne/files/coinor-couenne-0.5.8-fix-build-with-gcc11.patch b/sci-libs/coinor-couenne/files/coinor-couenne-0.5.8-fix-build-with-gcc11.patch deleted file mode 100644 index 7cae89c1ada8..000000000000 --- a/sci-libs/coinor-couenne/files/coinor-couenne-0.5.8-fix-build-with-gcc11.patch +++ /dev/null @@ -1,46 +0,0 @@ -https://github.com/coin-or/Couenne/pull/57 -https://github.com/coin-or/Couenne/commit/fdfe17562c59518b4db478ca51c18ab5e01a59a5 (later found post-patch) - -https://bugs.gentoo.org/792798 - -From debc5de2d0ac9654c01db080448df064b808c56e Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Tue, 15 Jun 2021 04:24:22 +0000 -Subject: [PATCH] Fix build with GCC 11 -diff --git a/src/problem/CouenneProblem.hpp b/src/problem/CouenneProblem.hpp -index e5b54a5..db28cfd 100644 ---- a/src/problem/CouenneProblem.hpp -+++ b/src/problem/CouenneProblem.hpp -@@ -74,7 +74,7 @@ class Nauty; - #define COUENNE_EPS_SYMM 1e-8 - - struct myclass0 { -- inline bool operator() (register const Node &a, register const Node &b) { -+ inline bool operator() (register const Node &a, register const Node &b) const { - - return (( a.get_code () < b.get_code ()) || - (( a.get_code () == b.get_code () && -@@ -120,7 +120,7 @@ class Nauty; - - - struct myclass { -- inline bool operator() (register const Node &a, register const Node &b) { -+ inline bool operator() (register const Node &a, register const Node &b) const { - return (a.get_index() < b.get_index() ); - } - }; - ---- a/src/cut/sdpcuts/CouenneMatrix.hpp -+++ b/src/cut/sdpcuts/CouenneMatrix.hpp -@@ -69,7 +69,7 @@ namespace Couenne { - - struct compare_scalars { - inline bool operator() (register CouenneScalar * const &a, -- register CouenneScalar * const &b) -+ register CouenneScalar * const &b) const - {return a -> getIndex () < b -> getIndex ();} - }; - --- -2.32.0 - diff --git a/sci-libs/coinor-couenne/metadata.xml b/sci-libs/coinor-couenne/metadata.xml deleted file mode 100644 index e5191e273e83..000000000000 --- a/sci-libs/coinor-couenne/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Couenne (Convex Over and Under ENvelopes for Nonlinear Estimation) - is a spatial branch and bound algorithm that implements linearization, bound - reduction, and branching techniques for Mixed-integer, Nonlinear - Programming (MINLP) problems. The purpose of Couenne is to find global - optima of nonconvex MINLPs. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Couenne</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-csdp/Manifest b/sci-libs/coinor-csdp/Manifest deleted file mode 100644 index c116a33ba755..000000000000 --- a/sci-libs/coinor-csdp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-csdp-6.2.0.tar.gz 526179 BLAKE2B af2ac8cb4268aef006cf68fb85d344a0f9eb9f47b78c38e176c24f87ac1c88059cf47eb40cf638d131e093b6d469b6a458a1eb59fa8eb33c53b49d1a4c50aae2 SHA512 6362e174f2935645dac359c48879c42cfd387c403fc264974922322de2f02f5ffac5a35f991eb793cf8ba5516a144f5e107d1cddd0ec0da79e7ebb9c1375269f diff --git a/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild b/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild deleted file mode 100644 index f6edabb3ebb2..000000000000 --- a/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic multilib toolchain-funcs - -MY_PN="Csdp" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="COIN-OR C Library for Semi-Definite Programming" -HOMEPAGE="https://projects.coin-or.org/Csdp/" -SRC_URI="https://www.coin-or.org/download/source/${MY_PN}/${MY_P}.tgz -> ${P}.tar.gz" - -LICENSE="EPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples openmp" - -RDEPEND="virtual/blas - virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-6.2.0_toolchain-vars.patch -) - -S="${WORKDIR}"/${MY_P} - -_get_version_component_count() { - local cnt=( $(ver_rs 1- ' ') ) - echo ${#cnt[@]} || die -} - -static_to_shared() { - local libstatic=${1} - shift - local libname=$(basename ${libstatic%.a}) - local soname=${libname}$(get_libname $(ver_cut 1-2)) - local libdir=$(dirname ${libstatic}) - - einfo "Making ${soname} from ${libstatic}" - if [[ ${CHOST} == *-darwin* ]] ; then - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ - -Wl,-all_load -Wl,${libstatic} \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - else - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - - if [[ $(_get_version_component_count) -ge 1 ]] ; then - ln -s ${soname} ${libdir}/${libname}$(get_libname $(ver_cut 1)) || die - fi - - ln -s ${soname} ${libdir}/${libname}$(get_libname) || die - fi -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - - append-cflags -DNOSHORTS -DUSEGETTIME -I../include - - if use openmp; then - append-cflags -DUSEOPENMP - - if [[ $(tc-getCC) == *icc* ]]; then - append-cflags -openmp - else - append-cflags -fopenmp - append-ldflags -fopenmp - fi - fi - - use amd64 && append-cflags -DBIT64 - - [[ $($(tc-getPKG_CONFIG) --libs blas) =~ atlas ]] && append-cflags -DUSEATLAS - - tc-export CC -} - -src_compile() { - emake CFLAGS="${CFLAGS} -fPIC" -C lib - local libs="$($(tc-getPKG_CONFIG) --libs blas lapack)" || die - static_to_shared lib/libsdp.a ${libs} - emake -C solver LIBS="${libs} -L../lib -lsdp -lm" - emake -C theta LIBS="${libs} -L../lib -lsdp -lm" -} - -src_test() { - LD_LIBRARY_PATH="${S}/lib" emake -C test -} - -src_install() { - dobin solver/csdp theta/{theta,graphtoprob,complement,rand_graph} - dolib.so lib/libsdp$(get_libname)* - insinto /usr/include/${PN} - doins include/* - dodoc AUTHORS README - use doc && dodoc doc/csdpuser.pdf - if use examples; then - docinto examples - dodoc example/* - fi -} diff --git a/sci-libs/coinor-csdp/files/coinor-csdp-6.2.0_toolchain-vars.patch b/sci-libs/coinor-csdp/files/coinor-csdp-6.2.0_toolchain-vars.patch deleted file mode 100644 index d00528f66fe1..000000000000 --- a/sci-libs/coinor-csdp/files/coinor-csdp-6.2.0_toolchain-vars.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- a/example/Makefile -+++ b/example/Makefile -@@ -6,7 +6,7 @@ - # This builds the example code. - # - example: example.o -- $(CC) $(CFLAGS) example.o $(LIBS) -o example -+ $(CC) $(CFLAGS) $(LDFLAGS) example.o $(LIBS) -o example - # - # To clean up the directory. - # ---- a/lib/Makefile -+++ b/lib/Makefile -@@ -2,7 +2,7 @@ - # Build the library. - # - libsdp.a: readprob.o sdp.o op_o.o psd_feas.o op_a.o op_at.o Fnorm.o calc_pobj.o calc_dobj.o trace_prod.o zero_mat.o mat_mult.o sym_mat.o copy_mat.o addscaledmat.o user_exit.o make_i.o allocmat.o initsoln.o initparams.o add_mat.o writesol.o readsol.o easysdp.o writeprob.o solvesys.o makefill.o mat_multsp.o norms.o linesearch.o matvec.o chol.o qreig.o tweakgap.o freeprob.o packed.o sortentries.o -- ar cr libsdp.a readprob.o sdp.o op_o.o psd_feas.o op_a.o op_at.o Fnorm.o calc_pobj.o calc_dobj.o trace_prod.o zero_mat.o mat_mult.o sym_mat.o copy_mat.o addscaledmat.o user_exit.o make_i.o allocmat.o initsoln.o initparams.o add_mat.o writesol.o readsol.o easysdp.o writeprob.o solvesys.o makefill.o mat_multsp.o norms.o linesearch.o matvec.o chol.o qreig.o tweakgap.o freeprob.o packed.o sortentries.o -+ $(AR) cr libsdp.a readprob.o sdp.o op_o.o psd_feas.o op_a.o op_at.o Fnorm.o calc_pobj.o calc_dobj.o trace_prod.o zero_mat.o mat_mult.o sym_mat.o copy_mat.o addscaledmat.o user_exit.o make_i.o allocmat.o initsoln.o initparams.o add_mat.o writesol.o readsol.o easysdp.o writeprob.o solvesys.o makefill.o mat_multsp.o norms.o linesearch.o matvec.o chol.o qreig.o tweakgap.o freeprob.o packed.o sortentries.o - # - # On some systems, you might need to add after "ar cr libsdp.a ..." - # ranlib libsdp.a ---- a/solver/Makefile -+++ b/solver/Makefile -@@ -2,7 +2,7 @@ - # This builds the stand alone solver. - # - csdp: csdp.o -- $(CC) $(CFLAGS) csdp.o $(LIBS) -o csdp -+ $(CC) $(CFLAGS) $(LDFLAGS) csdp.o $(LIBS) -o csdp - # - # To clean out the directory: - # ---- a/theta/Makefile -+++ b/theta/Makefile -@@ -6,23 +6,23 @@ - # This builds the theta number code. - # - theta: theta.o -- $(CC) $(CFLAGS) theta.o $(LIBS) -o theta -+ $(CC) $(CFLAGS) $(LDFLAGS) theta.o $(LIBS) -o theta - # - # Complement computes the complement of a graph. - # - complement: complement.o -- $(CC) $(CFLAGS) complement.o $(LIBS) -o complement -+ $(CC) $(CFLAGS) $(LDFLAGS) complement.o $(LIBS) -o complement - # - # rand_graph generates a random graph. - # - rand_graph: rand_graph.o -- $(CC) $(CFLAGS) rand_graph.o $(LIBS) -o rand_graph -+ $(CC) $(CFLAGS) $(LDFLAGS) rand_graph.o $(LIBS) -o rand_graph - # - # graphtoprob converts a file in the graph format to an SDP problem in our - # SDP format. - # - graphtoprob: graphtoprob.o -- $(CC) $(CFLAGS) graphtoprob.o $(LIBS) -o graphtoprob -+ $(CC) $(CFLAGS) $(LDFLAGS) graphtoprob.o $(LIBS) -o graphtoprob - # - # To clean up the directory. - # diff --git a/sci-libs/coinor-csdp/metadata.xml b/sci-libs/coinor-csdp/metadata.xml deleted file mode 100644 index 19747ce777f5..000000000000 --- a/sci-libs/coinor-csdp/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - CSDP is a library of routines that implements a predictor corrector - variant of the semidefinite programming algorithm of Helmberg, - Rendl, Vanderbei, and Wolkowicz. The main advantages of this code - are that it is written to be used as a callable subroutine, it is - written in C for efficiency, the code runs in parallel on shared - memory multi-processor systems, and it makes effective use of - sparsity in the constraint matrices. CSDP has been compiled on many - different systems. The code should work on any system with an ANSI - C Compiler and BLAS/LAPACK libraries. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/coinor-dip/Manifest b/sci-libs/coinor-dip/Manifest deleted file mode 100644 index e6972011d45c..000000000000 --- a/sci-libs/coinor-dip/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-dip-0.95.0.tar.gz 5213061 BLAKE2B 6f40e5d20832b0463e302519da168a30bdeea011a45047acb9dbe904763fc94ccaffbee3599b6f959e0eea5e40a0456771012707b9daafc50875194a1ff9967e SHA512 a9ea2bc23d625fa19e11943f46b3bf2db49aa894fe336c8de4a9a0c735e1569bd8bef015fd671eb856ee39a334adf06c95e2708bd69c4735d5f6bf994c9e41a2 diff --git a/sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild b/sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild deleted file mode 100644 index 20541aa013dd..000000000000 --- a/sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR Decomposition in Integer Programming library" -HOMEPAGE="https://projects.coin-or.org/Dip/" -SRC_URI="https://github.com/coin-or/Dip/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Dip-releases-${PV}/Dip" - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sci-libs/coinor-alps:= - sci-libs/coinor-cbc:= - sci-libs/coinor-cgl:= - sci-libs/coinor-clp:= - sci-libs/coinor-osi:= - >=sci-libs/coinor-symphony-5.6:= - sci-libs/coinor-utils:=" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die - - # Prevent python:2.7 automagic for dippy (bug #778965) - sed -i 's/@HAVE_PYTHON_TRUE@/#/' src/Makefile.in || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - # Needed given "make check" is a noop and it skips the working one. - emake test -} - -src_install() { - default - dodoc -r examples - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-dip/metadata.xml b/sci-libs/coinor-dip/metadata.xml deleted file mode 100644 index 6f9a1359dff0..000000000000 --- a/sci-libs/coinor-dip/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - DIP (Decomposition for Integer Programming) is an open-source - extensible software framework for implementing decomposition-based - bounding algorithms for use in solving large-scale discrete - optimization problems. The framework provides a simple API for - experimenting with various decomposition-based algorithms, such as - Dantzig-Wolfe decomposition, Lagrangian relaxation, and various - cutting plane methods. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Dip</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-dylp/Manifest b/sci-libs/coinor-dylp/Manifest deleted file mode 100644 index 5d9d4789a8fb..000000000000 --- a/sci-libs/coinor-dylp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-dylp-1.10.4.tar.gz 2820973 BLAKE2B 29f74c314940e32b0e1c9c9bf6b9fc0515eeb98674d88e914445efaec2f97c92ff6e9de7d9b55f2427a1cf3d92fddb976915fbdc1ddd1df9fd0985e5b078ed2d SHA512 2fe3298007568cc9ed7626e72e7ed5c45611fb15120db06cdefd21e02b34a2c11a498b360489df1f00e8a897023419688e43dbb77edb690350b3ee2d4cd2781c diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild deleted file mode 100644 index b4274b31b605..000000000000 --- a/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=DyLP - -inherit flag-o-matic libtool - -DESCRIPTION="COIN-OR dynamic simplex linear program solver" -HOMEPAGE="https://github.com/coin-or/DyLP/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/1" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -DEPEND="sci-libs/coinor-osi:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default - elibtoolize -} - -src_configure() { - # heavily vintage autotools relies on UB to detect SunOS - # https://bugs.gentoo.org/878143 - # https://github.com/coin-or/DyLP/issues/27 - filter-lto - - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}"/usr - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - find "${ED}" -type f -name '*.la' -delete || die - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-dylp/metadata.xml b/sci-libs/coinor-dylp/metadata.xml deleted file mode 100644 index 2829ababa7e6..000000000000 --- a/sci-libs/coinor-dylp/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - DyLP is designed to find solutions of constrained linear - mathematical optimization problems. To this end, it is using a - full implementation of the so called dynamic simplex algorithm for - linear programming. DyLP is part of the larger COIN-OR initiative - (Computational Infrastructure for Operations Research). - </longdescription> - <upstream> - <remote-id type="github">coin-or/DyLP</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-flopcpp/Manifest b/sci-libs/coinor-flopcpp/Manifest deleted file mode 100644 index 3a1b310154ed..000000000000 --- a/sci-libs/coinor-flopcpp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-flopcpp-1.2.5.tar.gz 615614 BLAKE2B ff356ca41ed7639c2916c55f04ae561abfaeef041bd04730d0ca774cb6506f023c1c31e3463d93a34f41d534fb189cb794a20daa155dbdf43303c22272a6c986 SHA512 45d9e5b976d2fb26be34d5e201a7aed24ec8717472902f4848c353a12f17488903b00e6675e2a3e90ac0da58581afb6fd48d3869b8fd7ce962cef98622755d7d diff --git a/sci-libs/coinor-flopcpp/coinor-flopcpp-1.2.5.ebuild b/sci-libs/coinor-flopcpp/coinor-flopcpp-1.2.5.ebuild deleted file mode 100644 index 520d766f9f22..000000000000 --- a/sci-libs/coinor-flopcpp/coinor-flopcpp-1.2.5.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR algebraic modeling language for linear optimization" -HOMEPAGE="https://projects.coin-or.org/FlopC++/" -SRC_URI="https://github.com/coin-or/FlopCpp/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/FlopCpp-releases-${PV}/FlopCpp" - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND=" - sci-libs/coinor-osi:= - sci-libs/coinor-utils:=" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] )" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - emake -j1 test -} - -src_install() { - default - dodoc -r examples - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-flopcpp/metadata.xml b/sci-libs/coinor-flopcpp/metadata.xml deleted file mode 100644 index 71cd1bc29c42..000000000000 --- a/sci-libs/coinor-flopcpp/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The COIN-OR Formulation of Linear Optimization Problems in C++ - (FLOPC++) is a linear optimization modelling language that can be - specified in a declarative style, similar to algebraic modelling - languages such as GAMS and AMPL, within a C++ program. As a result - the traditional strengths of algebraic modelling languages are - preserved, while embedding linear optimization models in software - applications is facilitated. - </longdescription> - <upstream> - <remote-id type="github">coin-or/FlopCpp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-mp/Manifest b/sci-libs/coinor-mp/Manifest deleted file mode 100644 index a1adbe1fa880..000000000000 --- a/sci-libs/coinor-mp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-mp-1.8.4.tar.gz 4142865 BLAKE2B 4f3f37378a13236ccab60ed0d9ec0e6716d7df8c264ec26f69e3117aaccf87cbdff42415cd4d86b936ba0fea87681592a66fef610f95ade68f5ea6cd185f4999 SHA512 ecb7761407df0a8d40ac2416fdbdfe62bb5e78f3cc4859e45c0912e6d06ca9b2d4bdf5fda2204bb1813d45289db9e8dbc48cce171950e8c3881d4a3fb3402fab diff --git a/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild b/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild deleted file mode 100644 index ad5c83848d66..000000000000 --- a/sci-libs/coinor-mp/coinor-mp-1.8.4.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL" -HOMEPAGE="https://projects.coin-or.org/CoinMP/" -SRC_URI="https://github.com/coin-or/CoinMP/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CoinMP-releases-${PV}/CoinMP" - -LICENSE="CPL-1.0" -SLOT="0/1" -KEYWORDS="~amd64 ~loong ~riscv ~x86" - -RDEPEND=" - sci-libs/coinor-cbc:= - sci-libs/coinor-cgl:= - sci-libs/coinor-clp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:=" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - # Also installation of unneeded files in a double ${D}. - sed -i '/--libs.*addlibs.txt/d; s/ install-addlibsDATA//' \ - Makefile.in || die -} - -src_test() { - emake -j1 test -} - -src_install() { - default - dodoc -r examples - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-mp/metadata.xml b/sci-libs/coinor-mp/metadata.xml deleted file mode 100644 index 7eeed3b865df..000000000000 --- a/sci-libs/coinor-mp/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The COmputational INfrastructure for Operations Research (COIN-OR) - MP is a C-API interface library that supports most of the - functionality of the CLP (Coin LP), CBC (Coin Branch-and-Cut), and - CGL (Cut Generation Library) projects. - </longdescription> - <upstream> - <remote-id type="github">coin-or/CoinMP</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-netlib/Manifest b/sci-libs/coinor-netlib/Manifest deleted file mode 100644 index 6ba8cbcfae3c..000000000000 --- a/sci-libs/coinor-netlib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-netlib-1.2.9.tar.gz 3958648 BLAKE2B cbfceeb602c9482adb2463399dee180da8867b40775fbba4ca5824149a06971580fac51b32009238e33334ae88c7846ea9a0e1ce7d148a9c3b90a2d6dcc09216 SHA512 def9da137840ba40df4e9dc57114b0ae09dc020446f3f12d05d2d5d812e98880b206873b04581b0268535c4c113e86fb40aaf3fb3169ff47634152744184be66 diff --git a/sci-libs/coinor-netlib/coinor-netlib-1.2.9.ebuild b/sci-libs/coinor-netlib/coinor-netlib-1.2.9.ebuild deleted file mode 100644 index 759a6d50c399..000000000000 --- a/sci-libs/coinor-netlib/coinor-netlib-1.2.9.ebuild +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR netlib models" -HOMEPAGE="https://projects.coin-or.org/svn/Data/Netlib/" -SRC_URI="https://github.com/coin-or-tools/Data-Netlib/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Data-Netlib-releases-${PV}" - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" diff --git a/sci-libs/coinor-netlib/metadata.xml b/sci-libs/coinor-netlib/metadata.xml deleted file mode 100644 index 98c002b80d81..000000000000 --- a/sci-libs/coinor-netlib/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">coin-or-tools/Data-Netlib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-osi/Manifest b/sci-libs/coinor-osi/Manifest deleted file mode 100644 index 0733a089e4d7..000000000000 --- a/sci-libs/coinor-osi/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST coinor-osi-0.108.11.tar.gz 1037739 BLAKE2B b6a712f6b74e96e5cbd9be3d4986cfeb7f7a5b8698ace7e70c03db82b3c7d0dbceb4fb215c3fa1f6d3fd518b00d685f873c8b0add260c1c0bffbf92dea5e8039 SHA512 54e6b88d3b862cbf6e37a1c771aa8860e3573448b99c248e913b425cd6de7fe6a1cc595d87098cfde2403e2eaf3fb8a75252166e2d0e4f9f0c10826e9f051622 -DIST coinor-osi-0.108.6.tar.gz 1015556 BLAKE2B b22e2afb3de728275c10163897deab7889be42bb595bc5c3a5f1163caca6da2ec454ce9c96378420bbfea272465b43d92c405a990351b05dc848dbd50dbbef5a SHA512 757a404487a58a99eaf778a08898befd3431d0a6b64e46c429d3bb83d57c99bd396736dda3a75a1f1c05d3e397925041b386280deef6e23fa1ba5277b81f1d8d diff --git a/sci-libs/coinor-osi/coinor-osi-0.108.11.ebuild b/sci-libs/coinor-osi/coinor-osi-0.108.11.ebuild deleted file mode 100644 index 73dd5f233925..000000000000 --- a/sci-libs/coinor-osi/coinor-osi-0.108.11.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=Osi - -DESCRIPTION="COIN-OR Open Solver Interface" -HOMEPAGE="https://github.com/coin-or/Osi/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/1" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" - -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" -DEPEND="sci-libs/coinor-utils:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}"/usr - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" - -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-osi/coinor-osi-0.108.6.ebuild b/sci-libs/coinor-osi/coinor-osi-0.108.6.ebuild deleted file mode 100644 index 86fa7d421850..000000000000 --- a/sci-libs/coinor-osi/coinor-osi-0.108.6.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=Osi - -DESCRIPTION="COIN-OR Open Solver Interface" -HOMEPAGE="https://github.com/coin-or/Osi/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/1" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" - -# No USE=glpk because upstream only supports an ancient version of it. The -# following issues were all closed by... documenting that it doesn't work: -# -# * https://github.com/coin-or/Osi/issues/71 -# * https://github.com/coin-or/Osi/issues/107 -# * https://github.com/coin-or/Osi/issues/118 -# -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" -DEPEND="sci-libs/coinor-utils:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}"/usr - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" - -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-osi/metadata.xml b/sci-libs/coinor-osi/metadata.xml deleted file mode 100644 index 03d23c939f98..000000000000 --- a/sci-libs/coinor-osi/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The COIN-OR Open Solver Interface is a uniform API for interacting - with callable solver libraries. It supports linear programming - solvers as well as the ability to "finish off" a mixed-integer - problem calling the solver library's MIP solver. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Osi</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-sample/Manifest b/sci-libs/coinor-sample/Manifest deleted file mode 100644 index 934d31ddb9bd..000000000000 --- a/sci-libs/coinor-sample/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-sample-1.2.12.tar.gz 366746 BLAKE2B 2779320ae3b58acd9018f8e7129c334b0f9dc90ba836877e34704c467a863bea1d6eef1dd239bf8e2a7e7f71039bdedcb563aa4d3540df851ab23ad11829a541 SHA512 a15989da64ab9ebb32ae24ff7e999c03961b8688ff57b316956171a7d9145ddf723abc6d78c83879de6b018b92a4d1ab748f2dd7e2ed54b194d80ec460916ced diff --git a/sci-libs/coinor-sample/coinor-sample-1.2.12.ebuild b/sci-libs/coinor-sample/coinor-sample-1.2.12.ebuild deleted file mode 100644 index 58427d420598..000000000000 --- a/sci-libs/coinor-sample/coinor-sample-1.2.12.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=Data-Sample - -DESCRIPTION="COIN-OR Sample models" -HOMEPAGE="https://github.com/coin-or-tools/Data-Sample/" -SRC_URI="https://github.com/coin-or-tools/${MY_PN}/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="" - -S="${WORKDIR}/${MY_PN}-releases-${PV}" diff --git a/sci-libs/coinor-sample/metadata.xml b/sci-libs/coinor-sample/metadata.xml deleted file mode 100644 index d8eb623fac0e..000000000000 --- a/sci-libs/coinor-sample/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The COmputational INfrastructure for Operations Research (COIN-OR) - sample models. These datasets are required to run the test suites - of most COIN-OR packages in Gentoo. - </longdescription> - <upstream> - <remote-id type="github">coin-or-tools/Data-Sample</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-smi/Manifest b/sci-libs/coinor-smi/Manifest deleted file mode 100644 index f5432192a27b..000000000000 --- a/sci-libs/coinor-smi/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-smi-0.96.1.tar.gz 653402 BLAKE2B 7a81d0c67168ecd7059a814af7ba8fea57c8bc0316db95ea6a8a8a1717d7584ecfafe623b7de6b66908b5f85bc02cd0b1d1781fb7145c901efe6a8ddeb92afe6 SHA512 cadb4c89c0a385b762fab985a6a8880dd659feb4496e39826f337a9a323ea5de1fbed51f4b414b1f6eb36fbd02292ed42a1d216bf54d27f2d5bb242012b571c9 diff --git a/sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild b/sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild deleted file mode 100644 index 5ad248472788..000000000000 --- a/sci-libs/coinor-smi/coinor-smi-0.96.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR Stochastic modelling interface" -HOMEPAGE="https://projects.coin-or.org/Smi/" -SRC_URI="https://github.com/coin-or/Smi/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Smi-releases-${PV}/Smi" - -LICENSE="CPL-1.0" -SLOT="0/2" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND=" - sci-libs/coinor-clp:= - sci-libs/coinor-flopcpp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:=" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] )" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die -} - -src_configure() { - econf $(use_with doc dot) -} - -src_compile() { - emake all $(usex doc doxydoc '') -} - -src_test() { - # Needed given "make check" is a noop and it skips the working one. - emake test -} - -src_install() { - default - dodoc -r examples flopcpp_examples - use doc && dodoc -r doxydoc/html - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-smi/metadata.xml b/sci-libs/coinor-smi/metadata.xml deleted file mode 100644 index 190db663c340..000000000000 --- a/sci-libs/coinor-smi/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The COIN-OR Stochastic Modeling Interface (SMI) is an interface for - problems in which uncertainty and optimization appear - together. There are many modeling and algorithmic approaches that - could belong here, like: recourse programming, chance constrained - programming, stochastic control and dynamic programming, robust - optimization, etc, etc. SMI is intended to be like OSI in the sense - that an SmiXX object is an implementation derived from a base class - that takes care of a number of commonly encountered programming - issues, like handling probability distributions, managing problem - generation, interacting with solvers to obtain solution information, - etc. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Smi</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-symphony/Manifest b/sci-libs/coinor-symphony/Manifest deleted file mode 100644 index b26b3b1a6634..000000000000 --- a/sci-libs/coinor-symphony/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-symphony-5.6.17.tar.gz 1848015 BLAKE2B 0e1222f51809fb836530000348351d0e2a0928ec898a11ec21d2b0cad88a2ee4a635bc91a6d92607af67cf7d44a7187683528dd2a37b288fee1b2d947058d7b1 SHA512 eb0022184b1d0325729bb8f5390093ff1cfdfc87edf1dfdf20e62f07830c69604ec373b69c6de13755611a8e96f79ee8d1009efde0a35c9e7c0fab6652375ff7 diff --git a/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild b/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild deleted file mode 100644 index c3950572c5b6..000000000000 --- a/sci-libs/coinor-symphony/coinor-symphony-5.6.17.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="COIN-OR solver for mixed-integer linear programs" -HOMEPAGE="https://projects.coin-or.org/SYMPHONY/" -SRC_URI="https://github.com/coin-or/SYMPHONY/archive/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/SYMPHONY-releases-${PV}/SYMPHONY" - -LICENSE="EPL-1.0" -SLOT="0/3" -KEYWORDS="~amd64 ~x86" -IUSE="doc glpk test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sci-libs/coinor-cgl:= - sci-libs/coinor-clp:= - sci-libs/coinor-dylp:= - sci-libs/coinor-osi:= - sci-libs/coinor-utils:= - sci-libs/coinor-vol:= - glpk? ( sci-mathematics/glpk:= )" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - dev-tex/latex2html - dev-texlive/texlive-latexextra - virtual/latex-base - ) - test? ( - sci-libs/coinor-netlib - sci-libs/coinor-sample - )" - -src_prepare() { - default - # Prevent unneeded call to pkg-config that needs ${ED}'s in path. - sed -i '/--libs.*addlibs.txt/d' Makefile.in || die - - # Fix manual color errors. - sed -i 's/usenames/usenames,dvipsnames/' Doc/man.tex || die -} - -src_configure() { - econf $(usex glpk --with-glpk-lib=-lglpk --without-glpk) -} - -src_compile() { - default - - if use doc; then - pushd Doc >/dev/null || die - pdflatex Walkthrough || die - pdflatex man || die - popd >/dev/null || die - fi -} - -src_test() { - # Needed given "make check" is a noop and it skips the working one. - emake test -} - -src_install() { - default - use doc && dodoc Doc/*.pdf - - # Other coinor-* use lowercase e, stay in-line with them. - docinto examples - dodoc -r Examples/. - - # Duplicate or irrelevant files. - rm -r "${ED}"/usr/share/coin/doc || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/coinor-symphony/metadata.xml b/sci-libs/coinor-symphony/metadata.xml deleted file mode 100644 index f9f4b36e6d14..000000000000 --- a/sci-libs/coinor-symphony/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> - SYMPHONY is a generic mixed-integer linear programs - (MILP) solver, callable library, and extensible framework for implementing - customized solvers. SYMPHONY has a number of advanced capabilities, - including the ability to solve multi-objective MILPs, the ability to - warm start its solution procedure. - SYMPHONY is part of the larger COIN-OR initiative (Computational - Infrastructurefor Operations Research). -</longdescription> -<use> - <flag name="glpk">Enable GNU Linear Programming Kit - <pkg>sci-mathematics/glpk</pkg> support</flag> -</use> -<upstream> - <remote-id type="github">coin-or/SYMPHONY</remote-id> -</upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-utils/Manifest b/sci-libs/coinor-utils/Manifest deleted file mode 100644 index a566b2b2d19a..000000000000 --- a/sci-libs/coinor-utils/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST coinor-utils-2.11.12.tar.gz 1244728 BLAKE2B 1a8415d47099b51ed3484d6871fed924a3bf9af7805adafc38515745baca2834df082f127803499da7a1e77fc3d13477782382fdc7a56aa2f562653d3c6c5f06 SHA512 9737817d273e1245ebcfa849e16cefec5dc2823e6f2d04544c7f5044cbabcf986f92c3b1a4858af720021610de9cf5a4e9288773e6c1dcc288673d36ddaabbeb -DIST coinor-utils-2.11.4.tar.gz 1225148 BLAKE2B d55f9b3efbb3ce1c04fb9193ec70f62d8f130cd2f7ddf033c0df35f37006c542bd39e345662c271b4466b00c4bb1ec3cc14965bfe35f5b89370071d675113f4d SHA512 a7ac337b0f0bb11d578c44fd12d292ba8e77568362eaaaecbed8f4bc22ed85aaee911e2dd3153a2197b0165df082821969336d73fe1c5f0374a4636755d9a4ad -DIST coinor-utils-2.11.9.tar.gz 1234195 BLAKE2B 5fb097c9c0fc0e76f9b3c269357d70320a1386ea5850ea1f4520da44ef9337ed3540e9a3624676c6094f5571ef62bb3f4fd89d8b49643fb2901850597ad7195b SHA512 c9343edd0ce2dac5a7f025cc8d4a06e48cf966d9b9581d97e787ec801ceda9fbb7ab54c32618304573fed873ba7e291c2562f015fe0446a959b347d32365c2bb diff --git a/sci-libs/coinor-utils/coinor-utils-2.11.12.ebuild b/sci-libs/coinor-utils/coinor-utils-2.11.12.ebuild deleted file mode 100644 index 0677f8235ace..000000000000 --- a/sci-libs/coinor-utils/coinor-utils-2.11.12.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MY_PN=CoinUtils - -DESCRIPTION="COIN-OR Matrix, Vector and other utility classes" -HOMEPAGE="https://github.com/coin-or/CoinUtils/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -# major soname component -SLOT="0/3" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="bzip2 doc glpk blas lapack static-libs test zlib" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" -DEPEND="sys-libs/readline:0= - blas? ( virtual/blas ) - bzip2? ( app-arch/bzip2 ) - glpk? ( sci-mathematics/glpk:= ) - lapack? ( virtual/lapack ) - zlib? ( virtual/zlib )" -RDEPEND="${DEPEND}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_enable zlib) - $(use_enable bzip2 bzlib) - $(use_with doc dot) - ) - if use blas; then - myeconfargs+=( --with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)" ) - else - myeconfargs+=( --without-blas ) - fi - if use glpk; then - myeconfargs+=( - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk - ) - else - myeconfargs+=( --without-glpk ) - fi - if use lapack; then - myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) - else - myeconfargs+=( --without-lapack ) - fi - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${ED}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die -} diff --git a/sci-libs/coinor-utils/coinor-utils-2.11.4.ebuild b/sci-libs/coinor-utils/coinor-utils-2.11.4.ebuild deleted file mode 100644 index 149c753a0276..000000000000 --- a/sci-libs/coinor-utils/coinor-utils-2.11.4.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -MY_PN=CoinUtils - -DESCRIPTION="COIN-OR Matrix, Vector and other utility classes" -HOMEPAGE="https://github.com/coin-or/CoinUtils/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/3" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="bzip2 doc glpk blas lapack static-libs test zlib" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" -DEPEND="sys-libs/readline:0= - blas? ( virtual/blas ) - bzip2? ( app-arch/bzip2 ) - glpk? ( sci-mathematics/glpk:= ) - lapack? ( virtual/lapack ) - zlib? ( virtual/zlib:= )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_enable zlib) - $(use_enable bzip2 bzlib) - $(use_with doc dot) - ) - if use blas; then - myeconfargs+=( --with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)" ) - else - myeconfargs+=( --without-blas ) - fi - if use glpk; then - myeconfargs+=( - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk - ) - else - myeconfargs+=( --without-glpk ) - fi - if use lapack; then - myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) - else - myeconfargs+=( --without-lapack ) - fi - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die -} diff --git a/sci-libs/coinor-utils/coinor-utils-2.11.9.ebuild b/sci-libs/coinor-utils/coinor-utils-2.11.9.ebuild deleted file mode 100644 index a34d659f8056..000000000000 --- a/sci-libs/coinor-utils/coinor-utils-2.11.9.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MY_PN=CoinUtils - -DESCRIPTION="COIN-OR Matrix, Vector and other utility classes" -HOMEPAGE="https://github.com/coin-or/CoinUtils/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/3" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="bzip2 doc glpk blas lapack static-libs test zlib" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" -DEPEND="sys-libs/readline:0= - blas? ( virtual/blas ) - bzip2? ( app-arch/bzip2 ) - glpk? ( sci-mathematics/glpk:= ) - lapack? ( virtual/lapack ) - zlib? ( virtual/zlib:= )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.11.9-drop-register.patch -) - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_enable zlib) - $(use_enable bzip2 bzlib) - $(use_with doc dot) - ) - if use blas; then - myeconfargs+=( --with-blas-lib="$($(tc-getPKG_CONFIG) --libs blas)" ) - else - myeconfargs+=( --without-blas ) - fi - if use glpk; then - myeconfargs+=( - --with-glpk-incdir="${EPREFIX}"/usr/include - --with-glpk-lib=-lglpk - ) - else - myeconfargs+=( --without-glpk ) - fi - if use lapack; then - myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" ) - else - myeconfargs+=( --without-lapack ) - fi - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${ED}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die -} diff --git a/sci-libs/coinor-utils/files/coinor-utils-2.11.9-drop-register.patch b/sci-libs/coinor-utils/files/coinor-utils-2.11.9-drop-register.patch deleted file mode 100644 index f8ade78207d5..000000000000 --- a/sci-libs/coinor-utils/files/coinor-utils-2.11.9-drop-register.patch +++ /dev/null @@ -1,71 +0,0 @@ -https://github.com/coin-or/CoinUtils/commit/1700ed92c2bc1562aabe65dee3b4885bd5c87fb9 -From: Stefan Vigerske <svigerske@gams.com> -Date: Wed, 18 Aug 2021 15:09:53 +0200 -Subject: [PATCH] remove use of register storage class specifier - -- removed in C++17 ---- - src/CoinOslC.h | 16 ++++++++-------- - src/CoinOslFactorization2.cpp | 4 ++-- - 2 files changed, 10 insertions(+), 10 deletions(-) - -diff --git a/src/CoinOslC.h b/src/CoinOslC.h -index 2f6d10aae..d8103f86b 100644 ---- a/src/CoinOslC.h -+++ b/src/CoinOslC.h -@@ -33,30 +33,30 @@ - extern "C" { - #endif - --int c_ekkbtrn(register const EKKfactinfo *fact, -+int c_ekkbtrn(const EKKfactinfo *fact, - double *dwork1, - int *mpt, int first_nonzero); --int c_ekkbtrn_ipivrw(register const EKKfactinfo *fact, -+int c_ekkbtrn_ipivrw(const EKKfactinfo *fact, - double *dwork1, - int *mpt, int ipivrw, int *spare); - --int c_ekketsj(register /*const*/ EKKfactinfo *fact, -+int c_ekketsj(/*const*/ EKKfactinfo *fact, - double *dwork1, - int *mpt2, double dalpha, int orig_nincol, - int npivot, int *nuspikp, - const int ipivrw, int *spare); --int c_ekkftrn(register const EKKfactinfo *fact, -+int c_ekkftrn(const EKKfactinfo *fact, - double *dwork1, - double *dpermu, int *mpt, int numberNonZero); - --int c_ekkftrn_ft(register EKKfactinfo *fact, -+int c_ekkftrn_ft(EKKfactinfo *fact, - double *dwork1, int *mpt, int *nincolp); --void c_ekkftrn2(register EKKfactinfo *fact, double *dwork1, -+void c_ekkftrn2(EKKfactinfo *fact, double *dwork1, - double *dpermu1, int *mpt1, int *nincolp, - double *dwork1_ft, int *mpt_ft, int *nincolp_ft); - --int c_ekklfct(register EKKfactinfo *fact); --int c_ekkslcf(register const EKKfactinfo *fact); -+int c_ekklfct(EKKfactinfo *fact); -+int c_ekkslcf(const EKKfactinfo *fact); - inline void c_ekkscpy(int n, const int *marr1, int *marr2) - { - CoinMemcpyN(marr1, n, marr2); -diff --git a/src/CoinOslFactorization2.cpp b/src/CoinOslFactorization2.cpp -index ab3225923..177ac437b 100644 ---- a/src/CoinOslFactorization2.cpp -+++ b/src/CoinOslFactorization2.cpp -@@ -19,9 +19,9 @@ - extern int ets_count; - extern int ets_check; - #endif --#define COIN_REGISTER register -+#define COIN_REGISTER - #define COIN_REGISTER2 --#define COIN_REGISTER3 register -+#define COIN_REGISTER3 - #ifdef COIN_USE_RESTRICT - #define COIN_RESTRICT2 __restrict - #else - diff --git a/sci-libs/coinor-utils/metadata.xml b/sci-libs/coinor-utils/metadata.xml deleted file mode 100644 index 1068aea82b3a..000000000000 --- a/sci-libs/coinor-utils/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - CoinUtils (Coin-or Utilities) is a collection of classes that are - generally useful to COmputational INfrastructure for Operations - Research (COIN-OR) projects. These include vector, matrix, mps - file reading classes. - </longdescription> - <use> - <flag name="glpk"> - Enable GNU Linear Programming Kit - <pkg>sci-mathematics/glpk</pkg> support - </flag> - </use> - <upstream> - <remote-id type="github">coin-or/CoinUtils</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-vol/Manifest b/sci-libs/coinor-vol/Manifest deleted file mode 100644 index d3fe7651453c..000000000000 --- a/sci-libs/coinor-vol/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-vol-1.5.4.tar.gz 983625 BLAKE2B b1c78f94d1232d773aa325227ac01ad469d3ff56571119ae95ddb9a34eb7d55d004111e81dc89bb4bae1b5754da29cd4e93983772e158afa131a4da0b187b03c SHA512 ba489b909dab45a9a48a32804a571fc9ad966b268ce8a81a391a743b523bce393bd649aaf15c51f401267fe05fb2ff7623a1f7208c0b9d6c24af9b659a230780 diff --git a/sci-libs/coinor-vol/coinor-vol-1.5.4.ebuild b/sci-libs/coinor-vol/coinor-vol-1.5.4.ebuild deleted file mode 100644 index eaeec8171d1b..000000000000 --- a/sci-libs/coinor-vol/coinor-vol-1.5.4.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=Vol - -DESCRIPTION="COIN-OR volume algorithm linear program solver" -HOMEPAGE="https://github.com/coin-or/Vol/" -SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="EPL-1.0" - -# major soname component -SLOT="0/1" - -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="doc examples static-libs test" -RESTRICT="!test? ( test )" - -# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR -# packages contain a check for it. Gentoo bug 601648 and upstream issue, -# -# https://github.com/coin-or/CoinUtils/issues/132 -# -BDEPEND="virtual/fortran - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - test? ( sci-libs/coinor-sample )" - -DEPEND="sci-libs/coinor-osi:= - sci-libs/coinor-utils:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}" - -PATCHES=( - "${FILESDIR}"/${P}-musl-1.2.3-null.patch -) - -src_prepare() { - # Needed to make the --with-coin-instdir in src_configure happy. - dodir /usr - - # They don't need to guess at this, but they do, and get it wrong... - sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ - -i configure \ - || die "failed to fix the pkgconfig path in ${S}/configure" - - default -} - -src_configure() { - local myeconfargs=( - --enable-dependency-linking - --with-coin-instdir="${ED}/usr" - $(use_with doc dot) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - emake all $(usex doc doxydoc "") -} - -src_test() { - # NOT redundant! The build system has a "make check" target that does - # nothing, so if you don't specify "test" here, you'll get a no-op. - emake test -} - -src_install() { - use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/") - - emake DESTDIR="${D}" install - - # Duplicate junk, and in the wrong location. - rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die - - # Portage still throws a warning for these, but it's a bug - # as far as I can tell: https://bugs.gentoo.org/721516 - docompress -x "/usr/share/doc/${PF}/examples/Volume-LP/data.mps.gz" - docompress -x "/usr/share/doc/${PF}/examples/VolUfl/data.gz" - use examples && dodoc -r examples -} diff --git a/sci-libs/coinor-vol/files/coinor-vol-1.5.4-musl-1.2.3-null.patch b/sci-libs/coinor-vol/files/coinor-vol-1.5.4-musl-1.2.3-null.patch deleted file mode 100644 index 96a154740ed4..000000000000 --- a/sci-libs/coinor-vol/files/coinor-vol-1.5.4-musl-1.2.3-null.patch +++ /dev/null @@ -1,24 +0,0 @@ -https://bugs.gentoo.org/841746 -https://github.com/coin-or/Vol/commit/7b65983cfbf66f9a615c1babcc28a7cd87eee3c4 - -From: Stefan Vigerske <svigerske@gams.com> -Date: Sat, 1 Feb 2020 17:45:41 +0000 -Subject: [PATCH] there should be no need to cast NULL, closes #1 - ---- a/src/OsiVol/OsiVolSolverInterfaceIO.cpp -+++ b/src/OsiVol/OsiVolSolverInterfaceIO.cpp -@@ -423,10 +423,10 @@ OsiVolSolverInterface::writeMps(const char *filename, - writer.setMpsData(*getMatrixByCol(), getInfinity(), - getColLower(), getColUpper(), - getObjCoefficients(), -- reinterpret_cast<const char *> (NULL) /*integrality*/, -+ NULL /*integrality*/, - getRowLower(), getRowUpper(), -- reinterpret_cast<const char **> (NULL) /*colnam*/, -- reinterpret_cast<const char **> (NULL) /*rownam*/); -+ NULL /*colnam*/, -+ NULL /*rownam*/); - std::string fname = filename; - if (extension) - { if (extension[0] != '\0' && extension[0] != '.') - diff --git a/sci-libs/coinor-vol/metadata.xml b/sci-libs/coinor-vol/metadata.xml deleted file mode 100644 index 2a2dd8db1338..000000000000 --- a/sci-libs/coinor-vol/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Volume Algorithm is part of COIN-OR (COmputational INfrastructure - for Operations Research) project. Vol is an implementation of a - subgradient method that produces primal as well as dual solutions. - </longdescription> - <upstream> - <remote-id type="github">coin-or/Vol</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/colamd/Manifest b/sci-libs/colamd/Manifest deleted file mode 100644 index 22c48994aefc..000000000000 --- a/sci-libs/colamd/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST colamd-2.9.6.tar.bz2 298903 BLAKE2B e1e3cfa0153e21b742854d28fb6d3ede287c2ec22cfef4268a8aba8bb239be527433907f6984dad976341cf6e1ca9cb39f5c97029ad9bed032a874add9aa0e02 SHA512 f302d18f9ba004c9d1b0e1ada76e70f20fa1d11896815e5300983513b7ed4a7b969adef33adb1a57d67ce856a5ded410874c23d9bba42b6bf1a6a790430f5137 diff --git a/sci-libs/colamd/colamd-2.9.6.ebuild b/sci-libs/colamd/colamd-2.9.6.ebuild deleted file mode 100644 index 9d992809f6b8..000000000000 --- a/sci-libs/colamd/colamd-2.9.6.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Column approximate minimum degree ordering algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" - -BDEPEND="virtual/pkgconfig" -DEPEND=">=sci-libs/suitesparseconfig-5.4.0" -RDEPEND="${DEPEND}" - -src_configure() { - econf --disable-static -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/colamd/colamd-3.0.3.ebuild b/sci-libs/colamd/colamd-3.0.3.ebuild deleted file mode 100644 index 047249a003e4..000000000000 --- a/sci-libs/colamd/colamd-3.0.3.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Column approximate minimum degree ordering algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run demo files - ./colamd_example > colamd_example.out || die "failed to run test colamd_example" - diff "${S}"/Demo/colamd_example.out colamd_example.out || die "failed testing colamd_example" - ./colamd_l_example > colamd_l_example.out || die "failed to run test colamd_l_example" - diff "${S}"/Demo/colamd_l_example.out colamd_l_example.out || die "failed testing colamd_l_example" -} diff --git a/sci-libs/colamd/colamd-3.3.5.ebuild b/sci-libs/colamd/colamd-3.3.5.ebuild deleted file mode 100644 index 2b86ad2456ed..000000000000 --- a/sci-libs/colamd/colamd-3.3.5.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Column approximate minimum degree ordering algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="BSD" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Run demo files - ./colamd_example > colamd_example.out - diff "${S}"/Demo/colamd_example.out colamd_example.out || die "failed testing colamd_example" - ./colamd_l_example > colamd_l_example.out - diff "${S}"/Demo/colamd_l_example.out colamd_l_example.out || die "failed testing colamd_l_example" - - einfo "All tests passed" -} diff --git a/sci-libs/colamd/metadata.xml b/sci-libs/colamd/metadata.xml deleted file mode 100644 index 568cb46d3cfe..000000000000 --- a/sci-libs/colamd/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The COLumn Approximate Minimum Degree ordering algorithm - computes a permutation vector P such that the LU factorization of A - (:,P) tends to be sparser than that of A. The Cholesky factorization - of (A (:,P))\'*(A (:,P)) will also tend to be sparser than that of - A\'*A. SYMAMD is a symmetric minimum degree ordering method based on - COLAMD, available as a MATLAB-callable function. It constructs a - matrix M such that M\'*M has the same pattern as A, and then uses - COLAMD to compute a column ordering of M. - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/colpack/Manifest b/sci-libs/colpack/Manifest deleted file mode 100644 index 2eb2879ad6f9..000000000000 --- a/sci-libs/colpack/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST colpack-1.0.10.tar.gz 658087 BLAKE2B af6409969f0dfee465ad88515d0d4f82525047a8268ac9fd4b0784de1f4fd30ce7ba968502a5d92ad3a86f554fb8f1a786defb09396c8e678f62aeaa3cc25397 SHA512 566b7906c5d0dbcd6dcb9c359510ee8b13bf3249e56d8f88f7806493d1df14f54638a0558d601ab4dbc28f36093795eede57a059a7c4e66438b47bf5a0119808 -DIST colpack-1.0.10_p20190621.tar.gz 691679 BLAKE2B 6cca44a160ec973b1567bf7170c1cfca2f375689db8c9bae14cd0a79ea223a2d5d31e07d6bf1f727ebf51d75d316c21bd70b10979a1dedc1d1d1ab3755073ba3 SHA512 2f7216e817210785acc207599173b937233f3f890985df4e7a6d183d4cbd5ebeb3cbe58eaa39e87ce701d1ebdcc7776a03e68914faf04daf96a1e0fe667c088e diff --git a/sci-libs/colpack/colpack-1.0.10.ebuild b/sci-libs/colpack/colpack-1.0.10.ebuild deleted file mode 100644 index d9811760126a..000000000000 --- a/sci-libs/colpack/colpack-1.0.10.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools toolchain-funcs - -MYPN="ColPack" - -DESCRIPTION="C++ algorithms for specialized vertex coloring problems" -HOMEPAGE="https://cscapes.cs.purdue.edu/coloringpage/" -SRC_URI="https://github.com/CSCsw/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3 LGPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86" -IUSE="openmp" - -S="${WORKDIR}/${MYPN}-${PV}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - sed -e 's/-O3//' -i Makefile.am || die - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable openmp) -} - -src_install() { - default - rm -rf "${ED}"/usr/examples - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/colpack/colpack-1.0.10_p20190621.ebuild b/sci-libs/colpack/colpack-1.0.10_p20190621.ebuild deleted file mode 100644 index 1196626d214e..000000000000 --- a/sci-libs/colpack/colpack-1.0.10_p20190621.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -MY_PN="ColPack" - -DESCRIPTION="C++ algorithms for specialized vertex coloring problems" -HOMEPAGE="https://cscapes.cs.purdue.edu/coloringpage/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/CSCsw/ColPack.git" -else - if [[ ${PV} == *_p* ]] ; then - COMMIT="9a7293a8dfd66a60434496b8df5ebb4274d70339" - SRC_URI=" - https://github.com/CSCsw/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz - " - S="${WORKDIR}/${MY_PN}-${COMMIT}" - else - SRC_URI=" - https://github.com/CSCsw/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - " - S="${WORKDIR}/${MY_PN}-${PV}" - fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -LICENSE="BSD" -SLOT="0" - -IUSE="openmp" -RESTRICT="test" - -# Upstream is pretty much dead so we backport what's useful -PATCHES=( - "${FILESDIR}/${PN}-1.0.10-PR32.patch" # Fix install - "${FILESDIR}/${PN}-1.0.10-PR34.patch" # [cmake] Recovery .h -> .cpp - "${FILESDIR}/${PN}-1.0.10-PR43.patch" # NULL->string() to eliminate UB, support MSVC 2022 - "${FILESDIR}/${PN}-1.0.10-PR47.patch" # Update Main.cpp -) - -# "top-level" CMakeLists.txt is in build/cmake ... -CMAKE_USE_DIR="${S}/build/cmake" -BUILD_DIR="${S}_build" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -src_configure() { - local mycmakeargs=( - # -DENABLE_EXAMPLES="$(usex examples)" - -DENABLE_OPENMP="$(usex openmp)" - ) - - cmake_src_configure -} diff --git a/sci-libs/colpack/colpack-9999.ebuild b/sci-libs/colpack/colpack-9999.ebuild deleted file mode 100644 index 1196626d214e..000000000000 --- a/sci-libs/colpack/colpack-9999.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -MY_PN="ColPack" - -DESCRIPTION="C++ algorithms for specialized vertex coloring problems" -HOMEPAGE="https://cscapes.cs.purdue.edu/coloringpage/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/CSCsw/ColPack.git" -else - if [[ ${PV} == *_p* ]] ; then - COMMIT="9a7293a8dfd66a60434496b8df5ebb4274d70339" - SRC_URI=" - https://github.com/CSCsw/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz - " - S="${WORKDIR}/${MY_PN}-${COMMIT}" - else - SRC_URI=" - https://github.com/CSCsw/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - " - S="${WORKDIR}/${MY_PN}-${PV}" - fi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -LICENSE="BSD" -SLOT="0" - -IUSE="openmp" -RESTRICT="test" - -# Upstream is pretty much dead so we backport what's useful -PATCHES=( - "${FILESDIR}/${PN}-1.0.10-PR32.patch" # Fix install - "${FILESDIR}/${PN}-1.0.10-PR34.patch" # [cmake] Recovery .h -> .cpp - "${FILESDIR}/${PN}-1.0.10-PR43.patch" # NULL->string() to eliminate UB, support MSVC 2022 - "${FILESDIR}/${PN}-1.0.10-PR47.patch" # Update Main.cpp -) - -# "top-level" CMakeLists.txt is in build/cmake ... -CMAKE_USE_DIR="${S}/build/cmake" -BUILD_DIR="${S}_build" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -src_configure() { - local mycmakeargs=( - # -DENABLE_EXAMPLES="$(usex examples)" - -DENABLE_OPENMP="$(usex openmp)" - ) - - cmake_src_configure -} diff --git a/sci-libs/colpack/files/colpack-1.0.10-PR32.patch b/sci-libs/colpack/files/colpack-1.0.10-PR32.patch deleted file mode 100644 index c510fdf52785..000000000000 --- a/sci-libs/colpack/files/colpack-1.0.10-PR32.patch +++ /dev/null @@ -1,139 +0,0 @@ -From 70e0b8359855c0d29c45d1ea7893fdbdb72fa999 Mon Sep 17 00:00:00 2001 -From: ax487 <ax487@gmx.de> -Date: Mon, 28 Oct 2019 12:57:43 +0100 -Subject: [PATCH 1/2] Fix install on linux - ---- - build/cmake/CMakeLists.txt | 16 +++++----------- - 1 file changed, 5 insertions(+), 11 deletions(-) - -diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt -index 6c171c9..dafb92d 100644 ---- a/build/cmake/CMakeLists.txt -+++ b/build/cmake/CMakeLists.txt -@@ -69,13 +69,13 @@ if(ENABLE_OPENMP) - endif() - - # Define variables to use for organizing the installation. --include(GNUInstallDirs) -+include(GNUInstallDirs) - - if(WIN32) - set(COLPACK_INSTALL_CMAKEDIR ColPack_libs) - set(COLPACK_INSTALL_EXAMPLESBINDIR ColPack_examples) - else() -- set(COLPACK_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/ColPack_libs) -+ set(COLPACK_INSTALL_CMAKEDIR "lib/cmake/ColPack") - # To follow the UNIX Filsystem Hierarchy Standard, we should install - # examples somewhere else: - set(COLPACK_INSTALL_EXAMPLESBINDIR ${CMAKE_INSTALL_LIBDIR}/ColPack_examples) -@@ -141,10 +141,7 @@ endif() - - # "EXPORT" helps with creating a ColPackConfig.cmake file to place in the - # installation, to help downstream projects use ColPack. --install(TARGETS ColPack_static EXPORT ColPackTargets -- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/archive -- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/library -- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/runtime) -+install(TARGETS ColPack_static EXPORT ColPackTargets) - - - # Shared library. -@@ -170,12 +167,9 @@ if(ENABLE_OPENMP) - target_link_libraries(ColPack_shared PRIVATE ${OpenMP_CXX_FLAGS}) - endif() - --install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ColPack_headers) -+install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ColPack) - --install(TARGETS ColPack_shared EXPORT ColPackTargets -- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/shared_archive -- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/shared_library -- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/shared_runtime) -+install(TARGETS ColPack_shared EXPORT ColPackTargets) - - - - -From f2395664ec7819cd72bfdca23ecc0a3f2f362246 Mon Sep 17 00:00:00 2001 -From: ax487 <ax487@gmx.de> -Date: Mon, 28 Oct 2019 13:43:26 +0100 -Subject: [PATCH 2/2] Added namespaces to exported targets - ---- - build/cmake/CMakeLists.txt | 18 +++++++++++++----- - 1 file changed, 13 insertions(+), 5 deletions(-) - -diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt -index dafb92d..3722c38 100644 ---- a/build/cmake/CMakeLists.txt -+++ b/build/cmake/CMakeLists.txt -@@ -75,7 +75,7 @@ if(WIN32) - set(COLPACK_INSTALL_CMAKEDIR ColPack_libs) - set(COLPACK_INSTALL_EXAMPLESBINDIR ColPack_examples) - else() -- set(COLPACK_INSTALL_CMAKEDIR "lib/cmake/ColPack") -+ set(COLPACK_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/ColPack") - # To follow the UNIX Filsystem Hierarchy Standard, we should install - # examples somewhere else: - set(COLPACK_INSTALL_EXAMPLESBINDIR ${CMAKE_INSTALL_LIBDIR}/ColPack_examples) -@@ -132,7 +132,7 @@ target_include_directories(ColPack_static PRIVATE - # "$<BUILD_INTERFACE:${COLPACK_SOURCE_INCLUDE_DIRS}>") - # For clients of an installation of ColPack. - target_include_directories(ColPack_static INTERFACE -- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) -+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ColPack>) - - if(ENABLE_OPENMP) - set_target_properties(ColPack_static PROPERTIES COMPILE_FLAGS -@@ -141,7 +141,8 @@ endif() - - # "EXPORT" helps with creating a ColPackConfig.cmake file to place in the - # installation, to help downstream projects use ColPack. --install(TARGETS ColPack_static EXPORT ColPackTargets) -+install(TARGETS ColPack_static EXPORT ColPackTargets -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - - # Shared library. -@@ -159,7 +160,7 @@ target_include_directories(ColPack_shared PRIVATE - # "$<BUILD_INTERFACE:${COLPACK_SOURCE_INCLUDE_DIRS}>") - # For clients of an installation of ColPack. - target_include_directories(ColPack_shared INTERFACE -- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) -+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ColPack>) - - if(ENABLE_OPENMP) - set_target_properties(ColPack_shared PROPERTIES COMPILE_FLAGS -@@ -248,23 +249,30 @@ endforeach() - - # Create files that define the ColPack targets to import into other projects. - # https://cmake.org/cmake/help/v3.1/manual/cmake-packages.7.html --install(EXPORT ColPackTargets DESTINATION ${COLPACK_INSTALL_CMAKEDIR}) -+ -+install(EXPORT ColPackTargets -+ DESTINATION ${COLPACK_INSTALL_CMAKEDIR} -+ NAMESPACE "ColPack::") - - # CMake Config file., and version file, which CMake will look for when - # downstream projects use find_package(ColPack). - include(CMakePackageConfigHelpers) - # The ConfigVersion file determines if an installed copy of ColPack is - # compatible with a user's requested version for ColPack. -+ - write_basic_package_version_file( - "${CMAKE_BINARY_DIR}/ColPackConfigVersion.cmake" - VERSION ${COLPACK_VERSION} - COMPATIBILITY AnyNewerVersion) -+ - configure_package_config_file(ColPackConfig.cmake.in - "${CMAKE_BINARY_DIR}/ColPackConfigToInstall.cmake" - INSTALL_DESTINATION ${COLPACK_INSTALL_CMAKEDIR} - PATH_VARS CMAKE_INSTALL_PREFIX) -+ - install(FILES "${CMAKE_BINARY_DIR}/ColPackConfigToInstall.cmake" - DESTINATION ${COLPACK_INSTALL_CMAKEDIR} - RENAME ColPackConfig.cmake) -+ - install(FILES "${CMAKE_BINARY_DIR}/ColPackConfigVersion.cmake" - DESTINATION ${COLPACK_INSTALL_CMAKEDIR}) diff --git a/sci-libs/colpack/files/colpack-1.0.10-PR34.patch b/sci-libs/colpack/files/colpack-1.0.10-PR34.patch deleted file mode 100644 index d9e8caf45ee9..000000000000 --- a/sci-libs/colpack/files/colpack-1.0.10-PR34.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 4eca44e762cc32b8079575ab5e70572fa4b5d953 Mon Sep 17 00:00:00 2001 -From: Christopher Dembia <cld72@cornell.edu> -Date: Mon, 28 Oct 2019 08:46:31 -0700 -Subject: [PATCH] [cmake] Recovery .h -> .cpp - ---- - build/cmake/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt -index 6c171c9..f50ee51 100644 ---- a/build/cmake/CMakeLists.txt -+++ b/build/cmake/CMakeLists.txt -@@ -98,7 +98,7 @@ file(GLOB SOURCES - ${COLPACK_ROOT_DIR}/src/BipartiteGraphBicoloring/*.cpp - ${COLPACK_ROOT_DIR}/src/BipartiteGraphPartialColoring/*.cpp - ${COLPACK_ROOT_DIR}/src/GeneralGraphColoring/*.cpp -- ${COLPACK_ROOT_DIR}/src/Recovery/*.h -+ ${COLPACK_ROOT_DIR}/src/Recovery/*.cpp - ${COLPACK_ROOT_DIR}/src/SMPGC/*.cpp) - #${COLPACK_ROOT_DIR}/src/PartialD2SMPGC/*.cpp) - diff --git a/sci-libs/colpack/files/colpack-1.0.10-PR43.patch b/sci-libs/colpack/files/colpack-1.0.10-PR43.patch deleted file mode 100644 index 850307520868..000000000000 --- a/sci-libs/colpack/files/colpack-1.0.10-PR43.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 96ce0e7bc5ff6ced72f6ba072ac592024d3e9f81 Mon Sep 17 00:00:00 2001 -From: Conrad Poelman <cpgithub@stellarscience.com> -Date: Tue, 5 Oct 2021 15:50:36 -0400 -Subject: [PATCH] NULL->string() to eliminate UB, support MSVC 2022 - -Per https://www.cplusplus.com/reference/string/string/string: "If s is a null pointer ... it causes undefined behavior." - -This article by C++ Standards Committee member Aaron Ballman reinforces that: https://wiki.sei.cmu.edu/confluence/display/cplusplus/STR51-CPP.+Do+not+attempt+to+create+a+std%3A%3Astring+from+a+null+pointer - -The MSVC 2022 Preview release, with /std:c++latest, flags this lines as an error. ---- - src/Utilities/StringTokenizer.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Utilities/StringTokenizer.cpp b/src/Utilities/StringTokenizer.cpp -index 6a37b50..d50ace3 100644 ---- a/src/Utilities/StringTokenizer.cpp -+++ b/src/Utilities/StringTokenizer.cpp -@@ -221,7 +221,7 @@ namespace ColPack - - if (TokenStringLength == 0) - { -- return(NULL); -+ return string(); - } - - if (DelimiterStringLength == 0) diff --git a/sci-libs/colpack/files/colpack-1.0.10-PR47.patch b/sci-libs/colpack/files/colpack-1.0.10-PR47.patch deleted file mode 100644 index a3694998f8aa..000000000000 --- a/sci-libs/colpack/files/colpack-1.0.10-PR47.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 8d8a6c1e4c901c9a78126b1f4c231746062f005e Mon Sep 17 00:00:00 2001 -From: alexeyroytman <33158117+alexeyroytman@users.noreply.github.com> -Date: Sun, 20 Nov 2022 21:48:04 +0200 -Subject: [PATCH] Update Main.cpp - -Fixing multiple typos in help message. ---- - Examples/ColPackAll/Main.cpp | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -diff --git a/Examples/ColPackAll/Main.cpp b/Examples/ColPackAll/Main.cpp -index b6e3c49..237e892 100644 ---- a/Examples/ColPackAll/Main.cpp -+++ b/Examples/ColPackAll/Main.cpp -@@ -240,17 +240,17 @@ void usage(){ - " the following options shall be supported:\n" - "\n" - " -f files Indicates the graph file path name.\n" -- " -v Indicates verbose flag will be truned on and there will display more rich infomration.\n" -+ " -v Indicates verbose flag will be turned on and there will display more rich information.\n" - " -o orders Indicates the orderings. Could be 'RANDOM','NATURAL','LARGEST_FIRST','SMALLEST_LAST','DYNAMIC_LARGEST_FIRST','INCIDENCE_DEGREE'... . There could be some specific ordering for specific methods\n" -- " -m methods Indicates the methods. Could be 'DISTANCE_ONE','ACYCLIC','STAR','DISTNACE_TWO','ROW_PARTIAL_DISTANCE_TWO','D1_OMP_GMMP','PD2_OMP_GMMP',...\n" -+ " -m methods Indicates the methods. Could be 'DISTANCE_ONE','ACYCLIC','STAR','DISTANCE_TWO','ROW_PARTIAL_DISTANCE_TWO','D1_OMP_GMMP','PD2_OMP_GMMP',...\n" - " -nT Indicates number of threads used of parallel graph coloring\n" -- " -side Indiecate Row (L) or Column (R) side of coloring for parallel partial colroing.\n" -+ " -side Indicate Row (L) or Column (R) side of coloring for parallel partial coloring.\n" - "\n" - "DESCRIPTION\n" -- " if the method is one of 'DISTANCE_ONE','ACYCLIC','STAR','DISTANCE_TWO','ROW_PARTIAL_DISTANCE_TWO' The method belongs to gereral coloring on general graphs.\n" -- " if the method is one of 'ROW_PARTIAL_DISTANCE_TWO','COLUMN_PARTIAL_DISTANCE_TWO' The method belongs to partial coloring on bipartite graphs.\n" -- " if the method is one of 'IMPLICIT_COVERING__STAR_BICOLORING','EXPLICIT_COVERING__STAR_BICOLORING',EXPLICIT_COVERING__MODIFIED_STAR_BICOLORING','IMPLICIT_COVERING__GREEDY_STAR_BICOLORING'. The method belongs to bicoloring on bipartite graphs.\n" -- " if the method is one of 'D1_OMP_GM3P, D1_OMP_GM3P_LF, D1_OMP_GMMP, D1_OMP_GMMP_LF,D1_OMP_SERIAL, D1_OMP_SERIAL_LF, D1_OMP_JP, D1_OMP_JP_LF ,D1_OMP_MTJP, D1_OMP_MTJP_LF, D1_OMP_HBJP_GM3P, D1_OMP_HBJP_GM3P_.., D1_OMP_HBJP_GMMP.., D1_OMP_HBJP_.... ,D1_OMP_HBMTP_GM3P, D1_OMP_HBMTJP_GM3P_.., D1_OMP_HBMTJP_GMMP.., D1_OMP_HBMTJP_.... ,D2_OMP_GM3P, D2_OMP_GM3P_LF ,D2_OMP_GMMP, D2_OMP_GMMP_LF ,D2_OMP_SERIAL, D2_OMP_SERIAL_LF' the method belongs to parallel general graph coloring\n" -+ " If the method is one of 'DISTANCE_ONE','ACYCLIC','STAR','DISTANCE_TWO','ROW_PARTIAL_DISTANCE_TWO' the method belongs to general coloring on general graphs.\n" -+ " If the method is one of 'ROW_PARTIAL_DISTANCE_TWO','COLUMN_PARTIAL_DISTANCE_TWO' the method belongs to partial coloring on bipartite graphs.\n" -+ " If the method is one of 'IMPLICIT_COVERING__STAR_BICOLORING','EXPLICIT_COVERING__STAR_BICOLORING',EXPLICIT_COVERING__MODIFIED_STAR_BICOLORING','IMPLICIT_COVERING__GREEDY_STAR_BICOLORING' the method belongs to bicoloring on bipartite graphs.\n" -+ " If the method is one of 'D1_OMP_GM3P, D1_OMP_GM3P_LF, D1_OMP_GMMP, D1_OMP_GMMP_LF,D1_OMP_SERIAL, D1_OMP_SERIAL_LF, D1_OMP_JP, D1_OMP_JP_LF ,D1_OMP_MTJP, D1_OMP_MTJP_LF, D1_OMP_HBJP_GM3P, D1_OMP_HBJP_GM3P_.., D1_OMP_HBJP_GMMP.., D1_OMP_HBJP_.... ,D1_OMP_HBMTP_GM3P, D1_OMP_HBMTJP_GM3P_.., D1_OMP_HBMTJP_GMMP.., D1_OMP_HBMTJP_.... ,D2_OMP_GM3P, D2_OMP_GM3P_LF ,D2_OMP_GMMP, D2_OMP_GMMP_LF ,D2_OMP_SERIAL, D2_OMP_SERIAL_LF' the method belongs to parallel general graph coloring\n" - "\n" - "EXAMPLE\n" - "./ColPack -f ../Graphs/bcsstk01.mtx -o LARGEST_FIRST RANDOM -m DISTANCE_ONE -v\n" diff --git a/sci-libs/colpack/metadata.xml b/sci-libs/colpack/metadata.xml deleted file mode 100644 index 8eda231bb12f..000000000000 --- a/sci-libs/colpack/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - ColPack is a package comprising of implementations of algorithms for - the specialized vertex coloring problems as well as algorithms for a - variety of related supporting tasks in derivative computation. - </longdescription> - <upstream> - <remote-id type="github">CSCsw/ColPack</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/composable-kernel/Manifest b/sci-libs/composable-kernel/Manifest deleted file mode 100644 index ba4bc697830a..000000000000 --- a/sci-libs/composable-kernel/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST composable-kernel-6.3.0.tar.gz 3376552 BLAKE2B ad3dde27d0134fa8bf6b5935603f7cac17c959ab7b123e8d69cfe82bee188ade0fe9d3666d46d9819de479e875e46c0fdad2574f68a3bcf0e9acbb871f163b24 SHA512 4fa7be3f54d06d894dca7ef9fa8e3db24971fb857fee96e7ccff89844fa466789756d5f140d2791a984311d59a044b5351d0358e676c218ea0b0aadf60954d8e -DIST composable-kernel-6.4.3.tar.gz 4373178 BLAKE2B 1128f5de53e31365ff44d2c0b540ab662cd5c1659018d15f35e4c7036c8cf613ba5b95f910b7b3af94673a08ee36917fc38f9f19140140f2779252abda976fa4 SHA512 7073889f9af312a366eae9924771336e40b378255150a48308ce3975e254378da07bb49d615fbda7cc89dab35a14269df776ca88f483b803663cce325e463bb9 -DIST composable-kernel-7.0.2.tar.gz 5171930 BLAKE2B 2f54c21888ab8a0e76c0b4e5734b8e0c556b313e36ededed0610ea00ea8f0e4e72a757392cc2f47c84fa7fa7da0a72c41bd18b74b3a88b40e53ab7dd6ff2efbd SHA512 84c85ecad99d94a6c0bb159c1853d81e39fcb4d02c63a109cada84297f62b90aa9eb3d9102cb8e50b0c4f84982d8e5c8c8fdc5377acd014493621c9aec5439e0 -DIST composable-kernel-7.1.0.tar.gz 5363922 BLAKE2B 6976211fec2bc2921604dbe6c83a1dfa98708fb89cc6748120a9e97a233dfae616dd1e8d6d096c9af8eaad0d821dd7e842447b75ecb9a50a6e5784ecca337553 SHA512 39247817c4bc9d3bf7fb30accc2f513efda6db8a3e6359227243f31babe7238e88f64edcce7526f92e0dd893a412b8cbae2851f0fd286defc6ffd11b061250cc -DIST composable-kernel-7.2.0.tar.gz 6495090 BLAKE2B 1f5a6b06f14285074da54c850fd0ca118874cb6a9e0bd4b3a4e488abfd6c2c07ca70c815e4690fa81f9154f4276fd7b8b57310c5f59cc34f87d2edf3371e6f95 SHA512 1d91c3f6c5ccff67a3c2d9793e8ce4b26df2b39c86e24950086aa07d0efd8d35c8b254ef55045f8ddae0be27ce98566c5c21ea1d9146858378ce95edcd8f240b -DIST gtest-1.14.0_p20220421.tar.gz 849107 BLAKE2B e9c32d9c1d98959583b696430a6be411f5d69e3db96669b16cffc0f1dcad42512391c0a4733f6e829c82953ff33fa243ee782f3cf6e86436f0d290f45d1a3db7 SHA512 967aac7d85da0e216fe13b17d10f894a31d763d9b88201bac7d3dfc37600552b5472d30a166a6ef27f2778677e73fd3e43d082695a48f47824262eb9cd4fcd2f diff --git a/sci-libs/composable-kernel/composable-kernel-6.3.0.ebuild b/sci-libs/composable-kernel/composable-kernel-6.3.0.ebuild deleted file mode 100644 index 6567a8a3d5fd..000000000000 --- a/sci-libs/composable-kernel/composable-kernel-6.3.0.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# shellcheck disable=SC2317 -EAPI=8 - -ROCM_VERSION=${PV} -PYTHON_COMPAT=( python3_{13..14} ) - -inherit check-reqs cmake flag-o-matic multiprocessing python-r1 rocm - -GTEST_COMMIT="b85864c64758dec007208e56af933fc3f52044ee" -GTEST_FILE="gtest-1.14.0_p20220421.tar.gz" - -DESCRIPTION="High Performance Composable Kernel for AMD GPUs" -HOMEPAGE="https://github.com/ROCm/composable_kernel" -SRC_URI="https://github.com/ROCm/composable_kernel/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${GTEST_FILE} )" -S="${WORKDIR}/composable_kernel-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="debug profiler test" -REQUIRED_USE="${ROCM_REQUIRED_USE} ${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - ${PYTHON_DEPS} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-enable-examples.patch - "${FILESDIR}"/${PN}-6.1.1-no-git-no-hash.patch - "${FILESDIR}"/${PN}-6.3.0-no-inline-all.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-kernels.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-ckprofiler.patch - "${FILESDIR}"/${PN}-6.3.0-expand-isa.patch -) - -ck_check-reqs() { - [[ ${MERGE_TYPE} == binary ]] && return - - targets=($AMDGPU_TARGETS) - if [[ ${#targets[@]} -gt 1 ]]; then - ewarn "composable-kernel will be compiled for multiple GPU architectures," - ewarn "which will take a significant amount of time." - ewarn "Please consider setting AMDGPU_TARGETS USE_EXPAND variable to a single architecture." - fi - - # It takes ~2Gb of RAM per build thread - local user_jobs=$(makeopts_jobs) - local free_memory_mb=$(free -m | awk '/Mem:/ {print $4}') - local max_jobs=$(( free_memory_mb / 2048 )) - max_jobs=$(( max_jobs < 1 ? 1 : max_jobs )) - local limited_jobs=$(( user_jobs < max_jobs ? user_jobs : max_jobs )) - if [[ "${max_jobs}" -lt "${user_jobs}" ]]; then - ewarn "${free_memory_mb} MB of free RAM is not enough for ${user_jobs} parallel build jobs (~2Gb per job)." - ewarn "Please consider setting MAKEOPTS=\"-j${limited_jobs}\" for this package." - fi - - local CHECKREQS_MEMORY=$((user_jobs*2048))M - check-reqs_${EBUILD_PHASE_FUNC} -} - -pkg_pretend() { - ck_check-reqs -} - -pkg_setup() { - ck_check-reqs -} - -src_prepare() { - sed -e '/-Werror/d' -i cmake/EnableCompilerWarnings.cmake || die - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_DEV=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DBUILD_TESTING=$(usex test ON OFF) - -DCK_USE_PROFILER=$(usex profiler ON OFF) - -Wno-dev - ) - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_GTEST="${WORKDIR}/googletest-${GTEST_COMMIT}" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - - installation() { - python_domodule python/ck4inductor - - # install package-data manually, as there is no PEP517 compliance - shopt -s globstar - package_data=( - include/ck/**/*.hpp - library/src/tensor_operation_instance/gpu/gemm_universal/**/*.hpp - ) - shopt -u globstar - - inst_path="${D}$(python_get_sitedir)/ck4inductor" - for file in "${package_data[@]}"; do - location="${inst_path}/$(dirname "$file")" - mkdir -p "${location}" - cp "${file}" "${location}" - done - } - python_foreach_impl installation -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib cmake_src_test -j1 -} diff --git a/sci-libs/composable-kernel/composable-kernel-6.4.3.ebuild b/sci-libs/composable-kernel/composable-kernel-6.4.3.ebuild deleted file mode 100644 index 534da1b912a0..000000000000 --- a/sci-libs/composable-kernel/composable-kernel-6.4.3.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# shellcheck disable=SC2317 -EAPI=8 - -ROCM_VERSION=${PV} -PYTHON_COMPAT=( python3_{13..14} ) - -inherit check-reqs cmake flag-o-matic multiprocessing python-r1 rocm - -GTEST_COMMIT="b85864c64758dec007208e56af933fc3f52044ee" -GTEST_FILE="gtest-1.14.0_p20220421.tar.gz" - -DESCRIPTION="High Performance Composable Kernel for AMD GPUs" -HOMEPAGE="https://github.com/ROCm/composable_kernel" -SRC_URI="https://github.com/ROCm/composable_kernel/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${GTEST_FILE} )" -S="${WORKDIR}/composable_kernel-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="debug profiler test" -REQUIRED_USE="${ROCM_REQUIRED_USE} ${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - ${PYTHON_DEPS} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-enable-examples.patch - "${FILESDIR}"/${PN}-6.1.1-no-git-no-hash.patch - "${FILESDIR}"/${PN}-6.3.0-no-inline-all.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-kernels.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-ckprofiler.patch - "${FILESDIR}"/${PN}-6.4.1-expand-isa.patch -) - -ck_check-reqs() { - [[ ${MERGE_TYPE} == binary ]] && return - - targets=($AMDGPU_TARGETS) - if [[ ${#targets[@]} -gt 1 ]]; then - ewarn "composable-kernel will be compiled for multiple GPU architectures," - ewarn "which will take a significant amount of time." - ewarn "Please consider setting AMDGPU_TARGETS USE_EXPAND variable to a single architecture." - fi - - # It takes ~2Gb of RAM per build thread - local user_jobs=$(makeopts_jobs) - local available_memory_mb=$(free -m | awk '/Mem:/ {print $7}') - local max_jobs=$(( available_memory_mb / 2048 )) - max_jobs=$(( max_jobs < 1 ? 1 : max_jobs )) - local limited_jobs=$(( user_jobs < max_jobs ? user_jobs : max_jobs )) - if [[ "${max_jobs}" -lt "${user_jobs}" ]]; then - ewarn "${available_memory_mb} MB of free RAM is not enough for ${user_jobs} parallel build jobs (~2Gb per job)." - ewarn "Please consider setting MAKEOPTS=\"-j${limited_jobs}\" for this package." - fi - - local CHECKREQS_MEMORY=$((user_jobs*2048))M - check-reqs_${EBUILD_PHASE_FUNC} -} - -pkg_pretend() { - ck_check-reqs -} - -pkg_setup() { - ck_check-reqs -} - -src_prepare() { - sed -e '/-Werror/d' -i cmake/EnableCompilerWarnings.cmake || die - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_DEV=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DBUILD_TESTING=$(usex test ON OFF) - -DCK_USE_PROFILER=$(usex profiler ON OFF) - -Wno-dev - ) - - # Since 6.4.1 "fallback" DL kernels should be enabled manually... - if use amdgpu_targets_gfx1010 || use amdgpu_targets_gfx1011 || use amdgpu_targets_gfx1012 \ - || use amdgpu_targets_gfx1030 || use amdgpu_targets_gfx1031 ; then - mycmakeargs+=(-DDL_KERNELS=ON) - fi - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_GTEST="${WORKDIR}/googletest-${GTEST_COMMIT}" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - - installation() { - python_domodule python/ck4inductor - - # install package-data manually, as there is no PEP517 compliance - shopt -s globstar - package_data=( - include/ck/**/*.hpp - library/src/tensor_operation_instance/gpu/gemm_universal/**/*.hpp - ) - shopt -u globstar - - inst_path="${D}$(python_get_sitedir)/ck4inductor" - for file in "${package_data[@]}"; do - location="${inst_path}/$(dirname "$file")" - mkdir -p "${location}" - cp "${file}" "${location}" - done - } - python_foreach_impl installation -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib cmake_src_test -j1 -} diff --git a/sci-libs/composable-kernel/composable-kernel-7.0.2.ebuild b/sci-libs/composable-kernel/composable-kernel-7.0.2.ebuild deleted file mode 100644 index 319b1f7da34e..000000000000 --- a/sci-libs/composable-kernel/composable-kernel-7.0.2.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -PYTHON_COMPAT=( python3_{13..14} ) - -inherit check-reqs cmake flag-o-matic multiprocessing python-r1 rocm - -GTEST_COMMIT="b85864c64758dec007208e56af933fc3f52044ee" -GTEST_FILE="gtest-1.14.0_p20220421.tar.gz" - -DESCRIPTION="High Performance Composable Kernel for AMD GPUs" -HOMEPAGE="https://github.com/ROCm/composable_kernel" -SRC_URI="https://github.com/ROCm/composable_kernel/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${GTEST_FILE} )" -S="${WORKDIR}/composable_kernel-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="debug profiler test" -REQUIRED_USE="${ROCM_REQUIRED_USE} ${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - ${PYTHON_DEPS} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-no-git-no-hash.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-kernels.patch - "${FILESDIR}"/${PN}-7.0.1-conditional-ckprofiler.patch - "${FILESDIR}"/${PN}-6.4.1-expand-isa.patch - "${FILESDIR}"/${PN}-7.0.1-libcxx-includes.patch -) - -ck_check-reqs() { - [[ ${MERGE_TYPE} == binary ]] && return - - targets=($AMDGPU_TARGETS) - if [[ ${#targets[@]} -gt 1 ]]; then - ewarn "composable-kernel will be compiled for multiple GPU architectures," - ewarn "which will take a significant amount of time." - ewarn "Please consider setting AMDGPU_TARGETS USE_EXPAND variable to a single architecture." - fi - - # It takes ~2Gb of RAM per build thread - local user_jobs=$(makeopts_jobs) - local available_memory_mb=$(free -m | awk '/Mem:/ {print $7}') - local max_jobs=$(( available_memory_mb / 2048 )) - max_jobs=$(( max_jobs < 1 ? 1 : max_jobs )) - local limited_jobs=$(( user_jobs < max_jobs ? user_jobs : max_jobs )) - if [[ "${max_jobs}" -lt "${user_jobs}" ]]; then - ewarn "${available_memory_mb} MB of free RAM is not enough for ${user_jobs} parallel build jobs (~2Gb per job)." - ewarn "Please consider setting MAKEOPTS=\"-j${limited_jobs}\" for this package." - fi - - local CHECKREQS_MEMORY=$((user_jobs*2048))M - check-reqs_${EBUILD_PHASE_FUNC} -} - -pkg_pretend() { - ck_check-reqs -} - -pkg_setup() { - ck_check-reqs -} - -src_prepare() { - sed -e '/-Werror/d' -i cmake/EnableCompilerWarnings.cmake || die - - # don't build examples - sed -e "/add_subdirectory(example)/d" -i CMakeLists.txt || die - - # Flag -amdgpu-early-inline-all explodes memory consumption - # https://github.com/llvm/llvm-project/issues/86332 - sed -e "/-amdgpu-early-inline-all/d" -e "/-amdgpu-function-calls/d" -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_DEV=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DBUILD_TESTING=$(usex test ON OFF) - -DCK_USE_PROFILER=$(usex profiler ON OFF) - -Wno-dev - ) - - # Since 6.4.1 "fallback" DL kernels should be enabled manually... - if use amdgpu_targets_gfx1010 || use amdgpu_targets_gfx1011 || use amdgpu_targets_gfx1012 \ - || use amdgpu_targets_gfx1030 || use amdgpu_targets_gfx1031 ; then - mycmakeargs+=(-DDL_KERNELS=ON) - fi - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_GTEST="${WORKDIR}/googletest-${GTEST_COMMIT}" - ) - fi - - # rocminfo call during configuration; should not happen - # Bug: https://github.com/ROCm/composable_kernel/issues/2994 - rocm_add_sandbox -w - addpredict /dev/random - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # shellcheck disable=SC2329 - installation() { - python_domodule python/ck4inductor - - # install package-data manually, as there is no PEP517 compliance - shopt -s globstar - package_data=( - include/ck/**/*.hpp - library/src/tensor_operation_instance/gpu/gemm_universal/**/*.hpp - ) - shopt -u globstar - - inst_path="${D}$(python_get_sitedir)/ck4inductor" - for file in "${package_data[@]}"; do - location="${inst_path}/$(dirname "$file")" - mkdir -p "${location}" - cp "${file}" "${location}" - done - } - python_foreach_impl installation -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib cmake_src_test -j1 -} diff --git a/sci-libs/composable-kernel/composable-kernel-7.1.0.ebuild b/sci-libs/composable-kernel/composable-kernel-7.1.0.ebuild deleted file mode 100644 index 350b9b325ff3..000000000000 --- a/sci-libs/composable-kernel/composable-kernel-7.1.0.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -PYTHON_COMPAT=( python3_{13..14} ) - -inherit check-reqs cmake flag-o-matic multiprocessing python-r1 rocm - -GTEST_COMMIT="b85864c64758dec007208e56af933fc3f52044ee" -GTEST_FILE="gtest-1.14.0_p20220421.tar.gz" - -DESCRIPTION="High Performance Composable Kernel for AMD GPUs" -HOMEPAGE="https://github.com/ROCm/composable_kernel" -SRC_URI="https://github.com/ROCm/composable_kernel/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${GTEST_FILE} )" -S="${WORKDIR}/composable_kernel-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="debug profiler test" -REQUIRED_USE="${ROCM_REQUIRED_USE} ${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - ${PYTHON_DEPS} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-no-git-no-hash.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-kernels.patch - "${FILESDIR}"/${PN}-7.0.1-conditional-ckprofiler.patch - "${FILESDIR}"/${PN}-7.0.1-libcxx-includes.patch - "${FILESDIR}"/${PN}-7.1.0-expand-isa.patch -) - -ck_check-reqs() { - [[ ${MERGE_TYPE} == binary ]] && return - - targets=($AMDGPU_TARGETS) - if [[ ${#targets[@]} -gt 1 ]]; then - ewarn "composable-kernel will be compiled for multiple GPU architectures," - ewarn "which will take a significant amount of time." - ewarn "Please consider setting AMDGPU_TARGETS USE_EXPAND variable to a single architecture." - fi - - # It takes ~3GB of RAM per build thread - local user_jobs=$(makeopts_jobs) - local available_memory_mb=$(free -m | awk '/Mem:/ {print $7}') - local max_jobs=$(( available_memory_mb / 2048 )) - max_jobs=$(( max_jobs < 1 ? 1 : max_jobs )) - local limited_jobs=$(( user_jobs < max_jobs ? user_jobs : max_jobs )) - if [[ "${max_jobs}" -lt "${user_jobs}" ]]; then - ewarn "${available_memory_mb} MB of free RAM is not enough for ${user_jobs} parallel build jobs (~2Gb per job)." - ewarn "Please consider setting MAKEOPTS=\"-j${limited_jobs}\" for this package." - fi - - local CHECKREQS_MEMORY=$((user_jobs*3072))M - check-reqs_${EBUILD_PHASE_FUNC} -} - -pkg_pretend() { - ck_check-reqs -} - -pkg_setup() { - ck_check-reqs -} - -src_prepare() { - sed -e '/-Werror/d' -i cmake/EnableCompilerWarnings.cmake || die - - # don't build examples - sed -e "/add_subdirectory(example)/d" -i CMakeLists.txt || die - - # Flag -amdgpu-early-inline-all explodes memory consumption - # https://github.com/llvm/llvm-project/issues/86332 - sed -e "/-amdgpu-early-inline-all/d" -e "/-amdgpu-function-calls/d" -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_DEV=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DBUILD_TESTING=$(usex test ON OFF) - -DCK_USE_PROFILER=$(usex profiler ON OFF) - -Wno-dev - ) - - # Since 6.4.1 "fallback" DL kernels should be enabled manually... - if use amdgpu_targets_gfx1010 || use amdgpu_targets_gfx1011 || use amdgpu_targets_gfx1012 \ - || use amdgpu_targets_gfx1030 || use amdgpu_targets_gfx1031 ; then - mycmakeargs+=(-DDL_KERNELS=ON) - fi - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_GTEST="${WORKDIR}/googletest-${GTEST_COMMIT}" - ) - fi - - # rocminfo call during configuration; should not happen - # Bug: https://github.com/ROCm/composable_kernel/issues/2994 - rocm_add_sandbox -w - addpredict /dev/random - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # shellcheck disable=SC2329 - installation() { - python_domodule python/ck4inductor - - # install package-data manually, as there is no PEP517 compliance - shopt -s globstar - package_data=( - include/ck/**/*.hpp - library/src/tensor_operation_instance/gpu/gemm_universal/**/*.hpp - ) - shopt -u globstar - - inst_path="${D}$(python_get_sitedir)/ck4inductor" - for file in "${package_data[@]}"; do - location="${inst_path}/$(dirname "$file")" - mkdir -p "${location}" - cp "${file}" "${location}" - done - } - python_foreach_impl installation -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib cmake_src_test -j1 -} diff --git a/sci-libs/composable-kernel/composable-kernel-7.2.0.ebuild b/sci-libs/composable-kernel/composable-kernel-7.2.0.ebuild deleted file mode 100644 index e26e7a7055d5..000000000000 --- a/sci-libs/composable-kernel/composable-kernel-7.2.0.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -PYTHON_COMPAT=( python3_{13..14} ) - -inherit check-reqs cmake flag-o-matic multiprocessing python-r1 rocm - -GTEST_COMMIT="b85864c64758dec007208e56af933fc3f52044ee" -GTEST_FILE="gtest-1.14.0_p20220421.tar.gz" - -DESCRIPTION="High Performance Composable Kernel for AMD GPUs" -HOMEPAGE="https://github.com/ROCm/composable_kernel" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/composablekernel.tar.gz -> ${P}.tar.gz - test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${GTEST_FILE} )" -S="${WORKDIR}/composablekernel" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="debug profiler test" -REQUIRED_USE="${ROCM_REQUIRED_USE} ${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - ${PYTHON_DEPS} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-no-git-no-hash.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-kernels.patch - "${FILESDIR}"/${PN}-7.0.1-conditional-ckprofiler.patch - "${FILESDIR}"/${PN}-7.0.1-libcxx-includes.patch - "${FILESDIR}"/${PN}-7.1.0-expand-isa.patch -) - -ck_check-reqs() { - [[ ${MERGE_TYPE} == binary ]] && return - - targets=($AMDGPU_TARGETS) - if [[ ${#targets[@]} -gt 1 ]]; then - ewarn "composable-kernel will be compiled for multiple GPU architectures," - ewarn "which will take a significant amount of time." - ewarn "Please consider setting AMDGPU_TARGETS USE_EXPAND variable to a single architecture." - fi - - # It takes ~3GB of RAM per build thread - local user_jobs=$(makeopts_jobs) - local available_memory_mb=$(free -m | awk '/Mem:/ {print $7}') - local max_jobs=$(( available_memory_mb / 2048 )) - max_jobs=$(( max_jobs < 1 ? 1 : max_jobs )) - local limited_jobs=$(( user_jobs < max_jobs ? user_jobs : max_jobs )) - if [[ "${max_jobs}" -lt "${user_jobs}" ]]; then - ewarn "${available_memory_mb} MB of free RAM is not enough for ${user_jobs} parallel build jobs (~2Gb per job)." - ewarn "Please consider setting MAKEOPTS=\"-j${limited_jobs}\" for this package." - fi - - local CHECKREQS_MEMORY=$((user_jobs*3072))M - check-reqs_${EBUILD_PHASE_FUNC} -} - -pkg_pretend() { - ck_check-reqs -} - -pkg_setup() { - ck_check-reqs -} - -src_prepare() { - sed -e '/-Werror/d' -i cmake/EnableCompilerWarnings.cmake || die - - # don't build examples - cmake_comment_add_subdirectory example - - # Flag -amdgpu-early-inline-all explodes memory consumption - # https://github.com/llvm/llvm-project/issues/86332 - sed -e "/-amdgpu-early-inline-all/d" -e "/-amdgpu-function-calls/d" -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_DEV=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DBUILD_TESTING=$(usex test ON OFF) - -DCK_USE_PROFILER=$(usex profiler ON OFF) - - # Builds 2x less files, but faster. - # See https://github.com/ROCm/TheRock/blob/5cb6abaa43ad664c85a99ac37bd4d3abf9b6260e/ml-libs/CMakeLists.txt#L37 - -DMIOPEN_REQ_LIBS_ONLY=ON - -Wno-dev - ) - - # Since 6.4.1 "fallback" DL kernels should be enabled manually... - if use amdgpu_targets_gfx1010 || use amdgpu_targets_gfx1011 || use amdgpu_targets_gfx1012 \ - || use amdgpu_targets_gfx1030 || use amdgpu_targets_gfx1031 ; then - mycmakeargs+=(-DDL_KERNELS=ON) - fi - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_GTEST="${WORKDIR}/googletest-${GTEST_COMMIT}" - ) - fi - - # rocminfo call during configuration; should not happen - # Bug: https://github.com/ROCm/composable_kernel/issues/2994 - rocm_add_sandbox -w - addpredict /dev/random - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # shellcheck disable=SC2329 - installation() { - python_domodule python/ck4inductor - - # install package-data manually, as there is no PEP517 compliance - shopt -s globstar - package_data=( - include/ck/**/*.hpp - library/src/tensor_operation_instance/gpu/gemm_universal/**/*.hpp - ) - shopt -u globstar - - inst_path="${D}$(python_get_sitedir)/ck4inductor" - for file in "${package_data[@]}"; do - location="${inst_path}/$(dirname "$file")" - mkdir -p "${location}" - cp "${file}" "${location}" - done - } - python_foreach_impl installation -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib cmake_src_test -j1 -} diff --git a/sci-libs/composable-kernel/files/composable-kernel-6.1.1-enable-examples.patch b/sci-libs/composable-kernel/files/composable-kernel-6.1.1-enable-examples.patch deleted file mode 100644 index bedc79c562bd..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-6.1.1-enable-examples.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -470,7 +470,10 @@ if(NOT DEFINED INSTANCES_ONLY) - LIBRARY_NAME composablekernel - PACKAGE_NAME examples - ) -- add_subdirectory(example) -+ option(BUILD_EXAMPLES "Build examples" OFF) -+ if(BUILD_EXAMPLES) -+ add_subdirectory(example) -+ endif() - if(BUILD_TESTING) - add_subdirectory(test) - endif() diff --git a/sci-libs/composable-kernel/files/composable-kernel-6.1.1-no-git-no-hash.patch b/sci-libs/composable-kernel/files/composable-kernel-6.1.1-no-git-no-hash.patch deleted file mode 100644 index 6c6b161b1a14..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-6.1.1-no-git-no-hash.patch +++ /dev/null @@ -1,14 +0,0 @@ -Fix "Could NOT find Git (missing: GIT_EXECUTABLE)", git is not needed for releases ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -84,9 +84,7 @@ include(getopt) - # CK config file to record supported datatypes, etc. - configure_file(include/ck/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/ck/config.h) - --# CK version file to record release version as well as git commit hash --find_package(Git REQUIRED) --execute_process(COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD OUTPUT_VARIABLE COMMIT_ID OUTPUT_STRIP_TRAILING_WHITESPACE) -+# CK version file to record release version - configure_file(include/ck/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/ck/version.h) - - set(ROCM_SYMLINK_LIBS OFF) diff --git a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-conditional-ckprofiler.patch b/sci-libs/composable-kernel/files/composable-kernel-6.3.0-conditional-ckprofiler.patch deleted file mode 100644 index 5a0c81de9879..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-conditional-ckprofiler.patch +++ /dev/null @@ -1,17 +0,0 @@ -Add a flag to build without ckprofiler, which takes few GB of space and not used in many cases. ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -561,11 +561,13 @@ if(NOT GPU_ARCHS AND USER_GPU_TARGETS) - endif() - endif() - -+if(CK_USE_PROFILER) - rocm_package_setup_component(profiler - LIBRARY_NAME composablekernel - PACKAGE_NAME ckprofiler - ) - add_subdirectory(profiler) -+endif() - - if(CK_USE_CODEGEN AND (GPU_TARGETS MATCHES "gfx9" OR GPU_ARCHS)) - add_subdirectory(codegen) diff --git a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-conditional-kernels.patch b/sci-libs/composable-kernel/files/composable-kernel-6.3.0-conditional-kernels.patch deleted file mode 100644 index 64a8e0b96905..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-conditional-kernels.patch +++ /dev/null @@ -1,16 +0,0 @@ -Fix component discovery, when some targets are not installed. -Upstream bug: https://github.com/ROCm/composable_kernel/issues/1646 ---- a/Config.cmake.in -+++ b/Config.cmake.in -@@ -6,6 +6,10 @@ foreach(_comp ${composable_kernel_FIND_COMPONENTS}) - if(NOT _comp IN_LIST _composable_kernel_supported_components) - set(composable_kernel_FOUND False) - set(composable_kernel_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") -+ elseif(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/composable_kernel${_comp}Targets.cmake") -+ set(composable_kernel_FOUND False) -+ set(composable_kernel_NOT_FOUND_MESSAGE "Unsupported component for current targets: ${_comp}") -+ else() -+ include("${CMAKE_CURRENT_LIST_DIR}/composable_kernel${_comp}Targets.cmake") - endif() -- include("${CMAKE_CURRENT_LIST_DIR}/composable_kernel${_comp}Targets.cmake") - endforeach() diff --git a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-expand-isa.patch b/sci-libs/composable-kernel/files/composable-kernel-6.3.0-expand-isa.patch deleted file mode 100644 index 2593e8c5e25e..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-expand-isa.patch +++ /dev/null @@ -1,140 +0,0 @@ -Fix for "undeclared identifier 'CK_BUFFER_RESOURCE_3RD_DWORD'" for AMDGPU_TARGETS="gfx1012". -Combines of 3 patches from https://github.com/ROCm/composable_kernel/issues/775#issuecomment-2726315348 - -Bug: https://bugs.gentoo.org/947583 ---- a/include/ck/ck.hpp -+++ b/include/ck/ck.hpp -@@ -78,7 +78,7 @@ CK_DECLARE_ENV_VAR_BOOL(CK_LOGGING) - #define CK_BUFFER_RESOURCE_3RD_DWORD -1 - #elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx906__) || defined(__gfx9__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x00020000 --#elif defined(__gfx103__) -+#elif defined(__gfx101__) || defined(__gfx103__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x31014000 - #elif defined(__gfx11__) || defined(__gfx12__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x31004000 -@@ -86,12 +86,12 @@ CK_DECLARE_ENV_VAR_BOOL(CK_LOGGING) - - // FMA instruction - #ifndef __HIP_DEVICE_COMPILE__ // for host code, define nothing --#elif defined(__gfx803__) || defined(__gfx900__) // for GPU code --#define CK_USE_AMD_V_MAC_F32 --#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) // for GPU code -+#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) || defined(__gfx1011__) || defined(__gfx1012__) // for GPU code - #define CK_USE_AMD_V_FMAC_F32 - #define CK_USE_AMD_V_DOT2_F32_F16 - #define CK_USE_AMD_V_DOT4_I32_I8 -+#elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx101__) // for GPU code -+#define CK_USE_AMD_V_MAC_F32 - #elif defined(__gfx11__) || defined(__gfx12__) - #define CK_USE_AMD_V_FMAC_F32 - #define CK_USE_AMD_V_DOT2_F32_F16 ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_dl.hpp -@@ -71,7 +71,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx908__) || \ -- defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx103__) || defined(__gfx11__) || \ -+ defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || \ - defined(__gfx12__)) - - const index_t num_blocks_per_batch = ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_dl.hpp -@@ -51,7 +51,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx908__) || \ -- defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx103__) || defined(__gfx11__) || \ -+ defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || \ - defined(__gfx12__)) - - constexpr index_t shared_block_size = ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_dl.hpp -@@ -48,7 +48,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx103__) || \ -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || \ - defined(__gfx90a__) || defined(__gfx908__) || defined(__gfx94__) || defined(__gfx11__) || \ - defined(__gfx12__)) - const index_t num_blocks_per_batch = ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_multiple_d_nhwc_kyxc_nhwk.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_multiple_d_nhwc_kyxc_nhwk.hpp -@@ -90,7 +90,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx103__) || \ -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || \ - defined(__gfx90a__) || defined(__gfx908__) || defined(__gfx94__) || defined(__gfx11__) || \ - defined(__gfx12__)) - // offset base pointer for each work-group ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_nhwc_kyxc_nhwk.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_nhwc_kyxc_nhwk.hpp -@@ -106,7 +106,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx103__) || \ -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || \ - defined(__gfx11__) || defined(__gfx12__)) - // offset base pointer for each work-group - const index_t num_blocks_per_batch = ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_dl.hpp -@@ -40,7 +40,7 @@ __global__ void - const CDEElementwiseOperation cde_element_op) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx908__) || \ -- defined(__gfx90a__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx94__) || \ -+ defined(__gfx90a__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx94__) || \ - defined(__gfx12__)) - __shared__ char p_shared[GridwiseGemm::GetSharedMemoryNumberOfByte()]; - ---- a/include/ck/tensor_operation/gpu/grid/gridwise_gemm_dpp.hpp -+++ b/include/ck/tensor_operation/gpu/grid/gridwise_gemm_dpp.hpp -@@ -28,7 +28,7 @@ __global__ void - #endif - kernel_gemm_dpp(const typename GridwiseGemm::Argument karg) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx103__) || defined(__gfx11__)) -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__)) - __shared__ char p_shared[GridwiseGemm::GetSharedMemoryNumberOfByte()]; - - const auto a_grid_desc_ak0_m_ak1 = amd_wave_read_first_lane( ---- a/include/ck/tensor_operation/gpu/grid/gridwise_tensor_rearrange.hpp -+++ b/include/ck/tensor_operation/gpu/grid/gridwise_tensor_rearrange.hpp -@@ -36,7 +36,7 @@ __global__ void - const ComputePtrOffsetOfStridedBatch compute_ptr_offset_of_batch) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx908__) || \ -- defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx103__) || defined(__gfx11__) || \ -+ defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || \ - defined(__gfx12__)) - GridwiseTensorRearrangeKernel::Run(in_grid_desc, - p_in_global, ---- a/include/ck_tile/core/config.hpp -+++ b/include/ck_tile/core/config.hpp -@@ -10,6 +10,9 @@ - #if defined(__gfx940__) || defined(__gfx941__) || defined(__gfx942__) - #define __gfx94__ - #endif -+#if defined(__gfx1010__) || defined(__gfx1011__) || defined(__gfx1012__) -+#define __gfx101__ -+#endif - #if defined(__gfx1030__) || defined(__gfx1031__) || defined(__gfx1032__) || \ - defined(__gfx1034__) || defined(__gfx1035__) || defined(__gfx1036__) - #define __gfx103__ -@@ -177,7 +180,7 @@ - #elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx906__) || \ - defined(__gfx9__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x00020000 --#elif defined(__gfx103__) // for GPU code -+#elif defined(__gfx101__) || defined(__gfx103__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x31014000 - #elif defined(__gfx11__) || defined(__gfx12__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x31004000 diff --git a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-no-inline-all.patch b/sci-libs/composable-kernel/files/composable-kernel-6.3.0-no-inline-all.patch deleted file mode 100644 index 5ccf5239cb1e..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-6.3.0-no-inline-all.patch +++ /dev/null @@ -1,16 +0,0 @@ -Flag -amdgpu-early-inline-all explodes memory consumption, so that build does not fit 64GB of RAM. -LLVM bug: https://github.com/llvm/llvm-project/issues/86332 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -213,11 +213,6 @@ if(NOT WIN32 AND check-coerce AND ${hip_VERSION_FLAT} GREATER 600241132 AND ${hi - message("Adding the amdgpu-coerce-illegal-types=1") - add_compile_options("SHELL: -mllvm -amdgpu-coerce-illegal-types=1") - endif() --if(NOT WIN32 AND ${hip_VERSION_FLAT} GREATER 600241132) -- message("Adding -amdgpu-early-inline-all=true and -amdgpu-function-calls=false") -- add_compile_options("SHELL: -mllvm -amdgpu-early-inline-all=true") -- add_compile_options("SHELL: -mllvm -amdgpu-function-calls=false") --endif() - # - # Seperate linking jobs from compiling - # Too many concurrent linking jobs can break the build diff --git a/sci-libs/composable-kernel/files/composable-kernel-6.4.1-expand-isa.patch b/sci-libs/composable-kernel/files/composable-kernel-6.4.1-expand-isa.patch deleted file mode 100644 index 48ffb25369f0..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-6.4.1-expand-isa.patch +++ /dev/null @@ -1,140 +0,0 @@ -Fix for "undeclared identifier 'CK_BUFFER_RESOURCE_3RD_DWORD'" for AMDGPU_TARGETS="gfx1012". -Combines of 3 patches from https://github.com/ROCm/composable_kernel/issues/775#issuecomment-2726315348 - -Bug: https://bugs.gentoo.org/947583 ---- a/include/ck/ck.hpp -+++ b/include/ck/ck.hpp -@@ -82,7 +82,7 @@ CK_DECLARE_ENV_VAR_BOOL(CK_LOGGING) - #define CK_BUFFER_RESOURCE_3RD_DWORD -1 - #elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx906__) || defined(__gfx9__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x00020000 --#elif defined(__gfx103__) -+#elif defined(__gfx101__) || defined(__gfx103__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x31014000 - #elif defined(__gfx11__) || defined(__gfx12__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x31004000 -@@ -90,12 +90,12 @@ CK_DECLARE_ENV_VAR_BOOL(CK_LOGGING) - - // FMA instruction - #ifndef __HIP_DEVICE_COMPILE__ // for host code, define nothing --#elif defined(__gfx803__) || defined(__gfx900__) // for GPU code --#define CK_USE_AMD_V_MAC_F32 --#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) // for GPU code -+#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) || defined(__gfx1011__) || defined(__gfx1012__) // for GPU code - #define CK_USE_AMD_V_FMAC_F32 - #define CK_USE_AMD_V_DOT2_F32_F16 - #define CK_USE_AMD_V_DOT4_I32_I8 -+#elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx101__) // for GPU code -+#define CK_USE_AMD_V_MAC_F32 - #elif defined(__gfx11__) || defined(__gfx12__) - #define CK_USE_AMD_V_FMAC_F32 - #define CK_USE_AMD_V_DOT2_F32_F16 ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_dl.hpp -@@ -71,7 +71,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx908__) || \ -- defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx103__) || defined(__gfx11__) || \ -+ defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || \ - defined(__gfx12__)) - - const index_t num_blocks_per_batch = ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_dl.hpp -@@ -51,7 +51,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx9__) || \ -- defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) -+ defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) - - constexpr index_t shared_block_size = - GridwiseGemm::GetSharedMemoryNumberOfByte() / sizeof(ABDataType); ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_dl.hpp -@@ -48,7 +48,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx103__) || \ -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || \ - defined(__gfx90a__) || defined(__gfx908__) || defined(__gfx94__) || defined(__gfx11__) || \ - defined(__gfx12__)) - const index_t num_blocks_per_batch = ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_multiple_d_nhwc_kyxc_nhwk.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_multiple_d_nhwc_kyxc_nhwk.hpp -@@ -90,7 +90,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx103__) || \ -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || \ - defined(__gfx90a__) || defined(__gfx908__) || defined(__gfx94__) || defined(__gfx11__) || \ - defined(__gfx12__)) - // offset base pointer for each work-group ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_nhwc_kyxc_nhwk.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_nhwc_kyxc_nhwk.hpp -@@ -106,7 +106,7 @@ __global__ void - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx103__) || \ -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || \ - defined(__gfx11__) || defined(__gfx12__)) - // offset base pointer for each work-group - const index_t num_blocks_per_batch = ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_dl.hpp -@@ -40,7 +40,7 @@ __global__ void - const CDEElementwiseOperation cde_element_op) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx908__) || \ -- defined(__gfx90a__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx94__) || \ -+ defined(__gfx90a__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx94__) || \ - defined(__gfx12__)) - __shared__ char p_shared[GridwiseGemm::GetSharedMemoryNumberOfByte()]; - ---- a/include/ck/tensor_operation/gpu/grid/gridwise_gemm_dpp.hpp -+++ b/include/ck/tensor_operation/gpu/grid/gridwise_gemm_dpp.hpp -@@ -28,7 +28,7 @@ __global__ void - #endif - kernel_gemm_dpp(const typename GridwiseGemm::Argument karg) - { --#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx103__) || defined(__gfx11__)) -+#if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__)) - __shared__ char p_shared[GridwiseGemm::GetSharedMemoryNumberOfByte()]; - - const auto a_grid_desc_ak0_m_ak1 = amd_wave_read_first_lane( ---- a/include/ck/tensor_operation/gpu/grid/gridwise_tensor_rearrange.hpp -+++ b/include/ck/tensor_operation/gpu/grid/gridwise_tensor_rearrange.hpp -@@ -36,7 +36,7 @@ __global__ void - const ComputePtrOffsetOfStridedBatch compute_ptr_offset_of_batch) - { - #if(!defined(__HIP_DEVICE_COMPILE__) || defined(__gfx906__) || defined(__gfx908__) || \ -- defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx103__) || defined(__gfx11__) || \ -+ defined(__gfx90a__) || defined(__gfx94__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || \ - defined(__gfx12__)) - GridwiseTensorRearrangeKernel::Run(in_grid_desc, - p_in_global, ---- a/include/ck_tile/core/config.hpp -+++ b/include/ck_tile/core/config.hpp -@@ -10,6 +10,9 @@ - #if defined(__gfx940__) || defined(__gfx941__) || defined(__gfx942__) || defined(__gfx950__) - #define __gfx94__ - #endif -+#if defined(__gfx1010__) || defined(__gfx1011__) || defined(__gfx1012__) -+#define __gfx101__ -+#endif - #if defined(__gfx1030__) || defined(__gfx1031__) || defined(__gfx1032__) || \ - defined(__gfx1034__) || defined(__gfx1035__) || defined(__gfx1036__) || \ - defined(__gfx10_3_generic__) -@@ -199,7 +202,7 @@ - #elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx906__) || \ - defined(__gfx9__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x00020000 --#elif defined(__gfx103__) // for GPU code -+#elif defined(__gfx101__) || defined(__gfx103__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x31014000 - #elif defined(__gfx11__) || defined(__gfx12__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x31004000 diff --git a/sci-libs/composable-kernel/files/composable-kernel-7.0.1-conditional-ckprofiler.patch b/sci-libs/composable-kernel/files/composable-kernel-7.0.1-conditional-ckprofiler.patch deleted file mode 100644 index c9a762aae5ee..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-7.0.1-conditional-ckprofiler.patch +++ /dev/null @@ -1,12 +0,0 @@ -Add a flag to build without ckprofiler, which takes few GB of space and not used in many cases. ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -645,7 +645,7 @@ if(NOT GPU_ARCHS AND USER_GPU_TARGETS AND NOT MIOPEN_REQ_LIBS_ONLY) - endif() - endif() - --if (NOT MIOPEN_REQ_LIBS_ONLY) -+if (NOT MIOPEN_REQ_LIBS_ONLY OR CK_USE_PROFILER) - rocm_package_setup_component(profiler - LIBRARY_NAME composablekernel - PACKAGE_NAME ckprofiler diff --git a/sci-libs/composable-kernel/files/composable-kernel-7.0.1-libcxx-includes.patch b/sci-libs/composable-kernel/files/composable-kernel-7.0.1-libcxx-includes.patch deleted file mode 100644 index f17d44aa614f..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-7.0.1-libcxx-includes.patch +++ /dev/null @@ -1,420 +0,0 @@ ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_contraction_multiple_d_wmma_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_contraction_multiple_d_wmma_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_xdl_cshuffle_v3.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_xdl_cshuffle_v3.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_softmax_gemm_permute_wmma_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_softmax_gemm_permute_wmma_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - #include <numeric> - #include <initializer_list> ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_wmma_cshuffle_v3.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_wmma_cshuffle_v3.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl_fpAintB_b_scale.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl_fpAintB_b_scale.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_contraction_multiple_abd_xdl_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_contraction_multiple_abd_xdl_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - #include <vector> - ---- a/include/ck/tensor_operation/gpu/device/impl/device_fpAintB_gemm_wmma.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_fpAintB_gemm_wmma.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_dpp.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_dpp.hpp -@@ -3,6 +3,7 @@ - - #pragma once - -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_abd_xdl_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_abd_xdl_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_layernorm_xdl_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_layernorm_xdl_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_wmma_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_wmma_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle.hpp -@@ -5,6 +5,7 @@ - - #ifndef __HIPCC_RTC__ - #include <iostream> -+#include <map> - #include <sstream> - #include "ck/host_utility/device_prop.hpp" - #include "ck/host_utility/kernel_launch.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_lds_direct_load.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_lds_direct_load.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3_ab_scale.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3_ab_scale.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3_b_preshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3_b_preshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3_blockscale_bpreshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_xdl_cshuffle_v3_blockscale_bpreshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_wmma.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_wmma.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_wmma_cshuffle_v3.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_wmma_cshuffle_v3.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_lds_direct_load.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_lds_direct_load.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_streamk_v3.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_streamk_v3.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v2.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v2.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3_b_preshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3_b_preshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3_b_scale.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3_b_scale.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3_mx.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3_mx.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3r1.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_cshuffle_v3r1.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - #include <typeinfo> - ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_splitk_c_shuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_splitk_c_shuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_splitk_c_shuffle_lds_direct_load.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_xdl_splitk_c_shuffle_lds_direct_load.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_two_stage_xdl_cshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_two_stage_xdl_cshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <numeric> - #include <sstream> - ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_abd_xdl_cshuffle_v3.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_abd_xdl_cshuffle_v3.hpp -@@ -6,6 +6,7 @@ - #include <functional> - #include <iostream> - #include <iterator> -+#include <map> - #include <numeric> - #include <sstream> - ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_xdl_cshuffle_tile_loop.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_xdl_cshuffle_tile_loop.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - #include <tuple> - ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_query_attention_forward_wmma.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_query_attention_forward_wmma.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - #include <numeric> - #include <initializer_list> ---- a/include/ck/tensor_operation/gpu/device/impl/device_moe_gemm.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_moe_gemm.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_moe_gemm_blockscale.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_moe_gemm_blockscale.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - #include <hip/hip_runtime.h> - ---- a/include/ck/tensor_operation/gpu/device/impl/device_moe_mx_gemm.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_moe_mx_gemm.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_moe_mx_gemm_bns.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_moe_mx_gemm_bns.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_moe_mx_gemm_bpreshuffle.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_moe_mx_gemm_bpreshuffle.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - - #include "ck/utility/common_header.hpp" ---- a/include/ck/tensor_operation/gpu/device/impl/device_multi_query_attention_forward_wmma.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_multi_query_attention_forward_wmma.hpp -@@ -4,6 +4,7 @@ - #pragma once - - #include <iostream> -+#include <map> - #include <sstream> - #include <numeric> - #include <initializer_list> diff --git a/sci-libs/composable-kernel/files/composable-kernel-7.1.0-expand-isa.patch b/sci-libs/composable-kernel/files/composable-kernel-7.1.0-expand-isa.patch deleted file mode 100644 index dc10cd017c97..000000000000 --- a/sci-libs/composable-kernel/files/composable-kernel-7.1.0-expand-isa.patch +++ /dev/null @@ -1,140 +0,0 @@ -Fix for "undeclared identifier 'CK_BUFFER_RESOURCE_3RD_DWORD'" for AMDGPU_TARGETS="gfx1012". -Combines of 3 patches from https://github.com/ROCm/composable_kernel/issues/775#issuecomment-2726315348 - -Bug: https://bugs.gentoo.org/947583 ---- a/include/ck/ck.hpp -+++ b/include/ck/ck.hpp -@@ -78,7 +78,7 @@ - #define CK_BUFFER_RESOURCE_3RD_DWORD -1 - #elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx906__) || defined(__gfx9__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x00020000 --#elif defined(__gfx103__) -+#elif defined(__gfx101__) || defined(__gfx103__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x31014000 - #elif defined(__gfx11__) || defined(__gfx12__) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x31004000 -@@ -86,12 +86,12 @@ - - // FMA instruction - #ifndef __HIP_DEVICE_COMPILE__ // for host code, define nothing --#elif defined(__gfx803__) || defined(__gfx900__) // for GPU code --#define CK_USE_AMD_V_MAC_F32 --#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) // for GPU code -+#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) || defined(__gfx1011__) || defined(__gfx1012__) // for GPU code - #define CK_USE_AMD_V_FMAC_F32 - #define CK_USE_AMD_V_DOT2_F32_F16 - #define CK_USE_AMD_V_DOT4_I32_I8 -+#elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx101__) // for GPU code -+#define CK_USE_AMD_V_MAC_F32 - #elif defined(__gfx11__) || defined(__gfx12__) - #define CK_USE_AMD_V_FMAC_F32 - #define CK_USE_AMD_V_DOT2_F32_F16 ---- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_multiple_d_dl.hpp -@@ -71,7 +71,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - const Block2CTileMap block_2_ctile_map) - { - #if(defined(__gfx906__) || defined(__gfx908__) || defined(__gfx90a__) || defined(__gfx94__) || \ -- defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) -+ defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) - - const index_t num_blocks_per_batch = - __builtin_amdgcn_readfirstlane(get_grid_size() / batch_count); ---- a/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_gemm_multiple_d_dl.hpp -@@ -50,7 +50,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - const CGridDesc_M0_M10_M11_N0_N10_N11 e_grid_desc_m0_m10_m11_n0_n10_n11, - const Block2CTileMap block_2_ctile_map) - { --#if(defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) || defined(__gfx11__) || \ -+#if(defined(__gfx906__) || defined(__gfx9__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || \ - defined(__gfx12__)) - - constexpr index_t shared_block_size = ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_bwd_weight_dl.hpp -@@ -48,7 +48,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(defined(__gfx906__) || defined(__gfx103__) || defined(__gfx90a__) || defined(__gfx908__) || \ -+#if(defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx90a__) || defined(__gfx908__) || \ - defined(__gfx94__) || defined(__gfx11__) || defined(__gfx12__)) - const index_t num_blocks_per_batch = - __builtin_amdgcn_readfirstlane(get_grid_size() / batch_count); ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_multiple_d_nhwc_kyxc_nhwk.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_multiple_d_nhwc_kyxc_nhwk.hpp -@@ -90,7 +90,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(defined(__gfx906__) || defined(__gfx103__) || defined(__gfx90a__) || defined(__gfx908__) || \ -+#if(defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx90a__) || defined(__gfx908__) || \ - defined(__gfx94__) || defined(__gfx11__) || defined(__gfx12__)) - // offset base pointer for each work-group - const index_t num_blocks_per_batch = ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_nhwc_kyxc_nhwk.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_dl_nhwc_kyxc_nhwk.hpp -@@ -106,7 +106,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - const Block2CTileMap block_2_ctile_map, - const ComputePtrOffsetOfBatch compute_ptr_offset_of_batch) - { --#if(defined(__gfx906__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) -+#if(defined(__gfx906__) || defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) - // offset base pointer for each work-group - const index_t num_blocks_per_batch = - __builtin_amdgcn_readfirstlane(get_grid_size() / batch_count); ---- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_dl.hpp -+++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_gemm_multiple_d_dl.hpp -@@ -40,7 +40,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - const BElementwiseOperation b_element_op, - const CDEElementwiseOperation cde_element_op) - { --#if(defined(__gfx906__) || defined(__gfx908__) || defined(__gfx90a__) || defined(__gfx103__) || \ -+#if(defined(__gfx906__) || defined(__gfx908__) || defined(__gfx90a__) || defined(__gfx101__) || defined(__gfx103__) || \ - defined(__gfx11__) || defined(__gfx94__) || defined(__gfx12__)) - __shared__ char p_shared[GridwiseGemm::GetSharedMemoryNumberOfByte()]; - ---- a/include/ck/tensor_operation/gpu/grid/gridwise_gemm_dpp.hpp -+++ b/include/ck/tensor_operation/gpu/grid/gridwise_gemm_dpp.hpp -@@ -28,7 +28,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - #endif - kernel_gemm_dpp(const typename GridwiseGemm::Argument karg) - { --#if(defined(__gfx103__) || defined(__gfx11__)) -+#if(defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__)) - __shared__ char p_shared[GridwiseGemm::GetSharedMemoryNumberOfByte()]; - - const auto a_grid_desc_ak0_m_ak1 = amd_wave_read_first_lane( ---- a/include/ck/tensor_operation/gpu/grid/gridwise_tensor_rearrange.hpp -+++ b/include/ck/tensor_operation/gpu/grid/gridwise_tensor_rearrange.hpp -@@ -36,7 +36,7 @@ __launch_bounds__(CK_MAX_THREAD_PER_BLOCK, CK_MIN_BLOCK_PER_CU) - const ComputePtrOffsetOfStridedBatch compute_ptr_offset_of_batch) - { - #if(defined(__gfx906__) || defined(__gfx908__) || defined(__gfx90a__) || defined(__gfx94__) || \ -- defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) -+ defined(__gfx101__) || defined(__gfx103__) || defined(__gfx11__) || defined(__gfx12__)) - GridwiseTensorRearrangeKernel::Run(in_grid_desc, - p_in_global, - out_grid_desc, ---- a/include/ck_tile/core/config.hpp -+++ b/include/ck_tile/core/config.hpp -@@ -9,6 +9,9 @@ - #if defined(__gfx942__) || defined(__gfx950__) - #define __gfx94__ - #endif -+#if defined(__gfx1010__) || defined(__gfx1011__) || defined(__gfx1012__) -+#define __gfx101__ -+#endif - #if defined(__gfx1030__) || defined(__gfx1031__) || defined(__gfx1032__) || \ - defined(__gfx1034__) || defined(__gfx1035__) || defined(__gfx1036__) || \ - defined(__gfx10_3_generic__) -@@ -200,7 +203,7 @@ - #elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx906__) || \ - defined(__gfx9__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x00020000 --#elif defined(__gfx103__) // for GPU code -+#elif defined(__gfx101__) || defined(__gfx103__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x31014000 - #elif defined(__gfx11__) || defined(__gfx12__) // for GPU code - #define CK_TILE_BUFFER_RESOURCE_3RD_DWORD 0x31004000 diff --git a/sci-libs/composable-kernel/metadata.xml b/sci-libs/composable-kernel/metadata.xml deleted file mode 100644 index 74121c46ec75..000000000000 --- a/sci-libs/composable-kernel/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/composable_kernel</remote-id> - </upstream> - <use> - <flag name="profiler">Build and install the Composable Kernal profiler (ckProfiler)</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/cqrlib/Manifest b/sci-libs/cqrlib/Manifest deleted file mode 100644 index 3c16b17f14e1..000000000000 --- a/sci-libs/cqrlib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cqrlib-1.1.4.tar.gz 41521 BLAKE2B 2b69dbf401de9908886798425ec33c28c55ef4b892d35883ffe3c715ddff03fb81b32222b6c755c3c690a016b2ded72e965d83408f14b316913e6f8c7ebb5a41 SHA512 14f49ebc5f562b31081cd53c738aa1571cbefb369ebfe4ca8c27af07a691e4eae288fcf374527453b8d6e36a114a97be26204909be478bd67fb8d94934b1bec7 diff --git a/sci-libs/cqrlib/cqrlib-1.1.4.ebuild b/sci-libs/cqrlib/cqrlib-1.1.4.ebuild deleted file mode 100644 index 5ecae1971434..000000000000 --- a/sci-libs/cqrlib/cqrlib-1.1.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MY_PN=CQRlib -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Utility library for quaternion arithmetic / rotation math (ANSI C implemented)" -HOMEPAGE="http://cqrlib.sourceforge.net/" -SRC_URI="https://github.com/yayahjb/${PN}/archive/${MY_P}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~ppc ~x86" -IUSE="" - -RDEPEND="dev-libs/cvector" -DEPEND="${RDEPEND}" - -DOCS=( README_CQRlib.txt ) -HTML_DOCS=( README_CQRlib.html ) - -S="${WORKDIR}"/${PN}-${MY_P} - -PATCHES=( - "${FILESDIR}/${PV}-libtool.patch" # 778911 - "${FILESDIR}/${PV}-build.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_compile() { - emake all -} - -src_test() { - emake tests -} - -src_install() { - emake install DESTDIR="${D}" - einstalldocs - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/cqrlib/files/1.1.4-build.patch b/sci-libs/cqrlib/files/1.1.4-build.patch deleted file mode 100644 index d7b20e33338e..000000000000 --- a/sci-libs/cqrlib/files/1.1.4-build.patch +++ /dev/null @@ -1,331 +0,0 @@ -Upstream-PR: https://github.com/yayahjb/cqrlib/pull/1 - -From d1a82913a39168bb6d519fd7d2e14e23f4e9f291 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sat, 18 Jun 2022 23:39:18 -0700 -Subject: [PATCH 1/7] build: Fix parallel make - -The build will fail with slibtool when the required directories do not -yet exist. This is because slibtool is significantly faster than GNU -libtool... ---- - Makefile.in | 26 ++++++++------------------ - 1 file changed, 8 insertions(+), 18 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index fe556ff..59a508e 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -189,12 +189,13 @@ default: - # - # Compile the library and examples - # --all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \ -+all: $(LIB)/.tag $(BIN)/.tag $(SOURCE) $(HEADERS) \ - $(LIB)/libCQRlib.$(LIB_EXT) \ - $(BIN)/CQRlibTest $(BIN)/CPPQRTest - --install: all $(INSTALLDIR) $(INSTALLDIR)/lib $(INSTALLDIR)/include \ -- $(INC) $(LIB)/libCQRlib.$(LIB_EXT) $(INC)/cqrlib.h -+install: all $(LIB)/libCQRlib.$(LIB_EXT) $(INC)/cqrlib.h -+ @mkdir -p $(INSTALLDIR)/lib -+ @mkdir -p $(INSTALLDIR)/include - $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) - $(INSTALL_FINISH_COMMAND) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) - -cp $(INSTALLDIR)/include/cqrlib.h $(INSTALLDIR)/include/CQRlib_old.h -@@ -228,24 +229,13 @@ install: all $(INSTALLDIR) $(INSTALLDIR)/lib $(INSTALLDIR)/include \ - # - # Directories - # --$(INSTALLDIR): -- mkdir -p $(INSTALLDIR) -- --$(INSTALLDIR)/lib: $(INSTALLDIR) -- mkdir -p $(INSTALLDIR)/lib -- --$(INSTALLDIR)/bin: $(INSTALLDIR) -- mkdir -p $(INSTALLDIR)/bin -- --$(INSTALLDIR)/include: $(INSTALLDIR) -- mkdir -p $(INSTALLDIR)/include -- -- --$(LIB): -+$(LIB)/.tag: - mkdir $(LIB) -+ @touch $@ - --$(BIN): -+$(BIN)/.tag: - mkdir $(BIN) -+ @touch $@ - - # - # CQRlib library - -From 3cdf6a442228d63c8f771fc0822d74d75fe8b486 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sat, 18 Jun 2022 23:40:46 -0700 -Subject: [PATCH 2/7] build: Use the .la file to link - -The correct way to link with internal dependencies and libtool is to use -the .la files. When using the linker flag directly the build will fail -with slibtool when it doesn't know where the required library is -located. ---- - Makefile.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 59a508e..ab21e89 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -203,13 +203,13 @@ install: all $(LIB)/libCQRlib.$(LIB_EXT) $(INC)/cqrlib.h - chmod 644 $(INSTALLDIR)/include/cqrlib.h - echo "Testing final install dynamic" - $(BUILD_COMMAND_DYNAMIC) $(EXAMPLES)/CQRlibTest.c \ -- -lCQRlib -lm -o $(BIN)/CQRlibTest_dynamic -+ $(LIB)/libCQRlib.la -lm -o $(BIN)/CQRlibTest_dynamic - $(BIN)/CQRlibTest_dynamic > $(TESTDATA)/CQRlibTest_dynamic.lst - diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ - $(TESTDATA)/CQRlibTest_dynamic.lst - echo "Testing final install static" - $(BUILD_COMMAND_STATIC) $(EXAMPLES)/CQRlibTest.c \ -- -lCQRlib -lm -o $(BIN)/CQRlibTest_static -+ $(LIB)/libCQRlib.la -lm -o $(BIN)/CQRlibTest_static - $(BIN)/CQRlibTest_static > $(TESTDATA)/CQRlibTest_static.lst - diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ - $(TESTDATA)/CQRlibTest_static.lst - -From b81e63099004e53f1bfd984f00a4b878485b13b1 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sat, 18 Jun 2022 23:59:24 -0700 -Subject: [PATCH 3/7] build: Use standard install variables - ---- - Makefile.in | 40 ++++++++++++++++++++++------------------ - 1 file changed, 22 insertions(+), 18 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index ab21e89..22e1ffd 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -72,8 +72,12 @@ SRC = $(top_builddir) - INC = $(top_builddir) - EXAMPLES = $(top_builddir) - TESTDATA = $(top_builddir) --#INSTALLDIR = /usr/local --INSTALLDIR = $(HOME) -+ -+prefix := @prefix@ -+exec_prefix := @exec_prefix@ -+ -+LIBDIR := @libdir@ -+INCDIR := @includedir@ - - # - # Include directories -@@ -85,15 +89,15 @@ INCLUDES = -I$(INC) - endif - - COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c --LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(INSTALLDIR)/lib -+LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(LIBDIR) - BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) --BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib --BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib -+BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic $(INCLUDES) -+BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static $(INCLUDES) - CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CXX) $(CPPFLAGS) $(INCLUDES) $(WARNINGS) -c --CPPLIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CXX) -version-info $(VERSION) -rpath $(INSTALLDIR)/lib -+CPPLIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CXX) -version-info $(VERSION) -rpath $(LIBDIR) - CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) $(INCLUDES) --CPPBUILD_COMMAND_DYNAMIC= $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -dynamic -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib --CPPBUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -static -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib -+CPPBUILD_COMMAND_DYNAMIC= $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -dynamic $(INCLUDES) -+CPPBUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -static $(INCLUDES) - INSTALL_COMMAND = $(LIBTOOL) --mode=install cp - INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish - -@@ -162,9 +166,9 @@ default: - @echo ' ' - @echo ' The current values are :' - @echo ' ' -- @echo ' $(INSTALLDIR) ' -- @echo ' $(INSTALL_COMMAND) ' -- @echo ' $(INSTALL_FINISH) ' -+ @echo ' $(DESTDIR) ' -+ @echo ' $(INSTALL_COMMAND) ' -+ @echo ' $(INSTALL_FINISH) ' - @echo ' ' - @echo ' To compile the CQRlib library and example programs type:' - @echo ' ' -@@ -194,13 +198,13 @@ all: $(LIB)/.tag $(BIN)/.tag $(SOURCE) $(HEADERS) \ - $(BIN)/CQRlibTest $(BIN)/CPPQRTest - - install: all $(LIB)/libCQRlib.$(LIB_EXT) $(INC)/cqrlib.h -- @mkdir -p $(INSTALLDIR)/lib -- @mkdir -p $(INSTALLDIR)/include -- $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) -- $(INSTALL_FINISH_COMMAND) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) -- -cp $(INSTALLDIR)/include/cqrlib.h $(INSTALLDIR)/include/CQRlib_old.h -- cp $(INC)/cqrlib.h $(INSTALLDIR)/include/cqrlib.h -- chmod 644 $(INSTALLDIR)/include/cqrlib.h -+ @mkdir -p $(DESTDIR)$(INCDIR) -+ @mkdir -p $(DESTDIR)$(LIBDIR) -+ $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(DESTDIR)$(LIBDIR)/libCQRlib.$(LIB_EXT) -+ $(INSTALL_FINISH_COMMAND) $(DESTDIR)$(LIBDIR)/libCQRlib.$(LIB_EXT) -+ -cp $(DESTDIR)$(INCDIR)/cqrlib.h $(DESTDIR)$(INCDIR)/CQRlib_old.h -+ cp $(INC)/cqrlib.h $(DESTDIR)$(INCDIR)/cqrlib.h -+ chmod 644 $(DESTDIR)$(INCDIR)/cqrlib.h - echo "Testing final install dynamic" - $(BUILD_COMMAND_DYNAMIC) $(EXAMPLES)/CQRlibTest.c \ - $(LIB)/libCQRlib.la -lm -o $(BIN)/CQRlibTest_dynamic - -From f3f780c5504b0f689a37062bb8820a638e0abeb6 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sun, 19 Jun 2022 00:04:58 -0700 -Subject: [PATCH 4/7] build: Support LDFLAGS - ---- - Makefile.in | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 22e1ffd..192aef9 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -49,6 +49,7 @@ CC = @CC@ - CXX = @CXX@ - CFLAGS = -g -O2 -Wall -ansi -pedantic - CPPFLAGS = $(CFLAGS) -DCQR_NOCCODE=1 -+LDFLAGS = @LDFLAGS@ - - # Build directory - top_builddir = @top_builddir@ -@@ -89,12 +90,12 @@ INCLUDES = -I$(INC) - endif - - COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c --LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(LIBDIR) -+LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(LIBDIR) $(LDFLAGS) - BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) - BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic $(INCLUDES) - BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static $(INCLUDES) - CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CXX) $(CPPFLAGS) $(INCLUDES) $(WARNINGS) -c --CPPLIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CXX) -version-info $(VERSION) -rpath $(LIBDIR) -+CPPLIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CXX) -version-info $(VERSION) -rpath $(LIBDIR) $(LDFLAGS) - CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) $(INCLUDES) - CPPBUILD_COMMAND_DYNAMIC= $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -dynamic $(INCLUDES) - CPPBUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -static $(INCLUDES) - -From dd4f0a4fb0cd30a472140cd1c3a3b35b1bb063a4 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sun, 19 Jun 2022 00:36:06 -0700 -Subject: [PATCH 5/7] build: Fix make install - ---- - Makefile.in | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 192aef9..3613e37 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -203,7 +203,6 @@ install: all $(LIB)/libCQRlib.$(LIB_EXT) $(INC)/cqrlib.h - @mkdir -p $(DESTDIR)$(LIBDIR) - $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(DESTDIR)$(LIBDIR)/libCQRlib.$(LIB_EXT) - $(INSTALL_FINISH_COMMAND) $(DESTDIR)$(LIBDIR)/libCQRlib.$(LIB_EXT) -- -cp $(DESTDIR)$(INCDIR)/cqrlib.h $(DESTDIR)$(INCDIR)/CQRlib_old.h - cp $(INC)/cqrlib.h $(DESTDIR)$(INCDIR)/cqrlib.h - chmod 644 $(DESTDIR)$(INCDIR)/cqrlib.h - echo "Testing final install dynamic" - -From 59b95069aab8885919c8b91c825c14384c3d8087 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sun, 19 Jun 2022 20:09:46 -0700 -Subject: [PATCH 6/7] build: Fix compile flags - -This sets the compile flags using the configure process and changes -CPPFLAGS to CXXFLAGS as is standard. CPPFLAGS is also supported now -which are for setting defines for both C and CXX builds. ---- - Makefile.in | 27 ++++++++++++++++----------- - 1 file changed, 16 insertions(+), 11 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 3613e37..e4c6942 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -47,8 +47,10 @@ RELEASE = @PACKAGE_VERSION@ - # - CC = @CC@ - CXX = @CXX@ --CFLAGS = -g -O2 -Wall -ansi -pedantic --CPPFLAGS = $(CFLAGS) -DCQR_NOCCODE=1 -+CFLAGS = @CFLAGS@ -+CXXFLAGS = @CXXFLAGS@ -+CPPFLAGS = @CPPFLAGS@ -+WARNINGS = -Wall -ansi -pedantic - LDFLAGS = @LDFLAGS@ - - # Build directory -@@ -89,16 +91,19 @@ else - INCLUDES = -I$(INC) - endif - --COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c --LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(LIBDIR) $(LDFLAGS) --BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) --BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic $(INCLUDES) --BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static $(INCLUDES) --CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CXX) $(CPPFLAGS) $(INCLUDES) $(WARNINGS) -c -+COMPILE_C = $(CC) -std=c90 $(WARNINGS) $(CPPFLAGS) $(CFLAGS) -+COMPILE_CXX = $(CXX) -std=c++98 $(WARNINGS) $(CPPFLAGS) -DCQR_NOCCODE=1 $(CXXFLAGS) -+ -+COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(COMPILE_C) $(INCLUDES) -c -+LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(LIBDIR) $(LDFLAGS) -+BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(COMPILE_C) $(INCLUDES) -+BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(COMPILE_C) -dynamic $(INCLUDES) -+BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(COMPILE_C) -static $(INCLUDES) -+CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(COMPILE_CXX) $(INCLUDES) -c - CPPLIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CXX) -version-info $(VERSION) -rpath $(LIBDIR) $(LDFLAGS) --CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) $(INCLUDES) --CPPBUILD_COMMAND_DYNAMIC= $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -dynamic $(INCLUDES) --CPPBUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CXX) $(CPPFLAGS) -static $(INCLUDES) -+CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(COMPILE_CXX) $(INCLUDES) -+CPPBUILD_COMMAND_DYNAMIC= $(LIBTOOL) --mode=link $(COMPILE_CXX) -dynamic $(INCLUDES) -+CPPBUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(COMPILE_CXX) -static $(INCLUDES) - INSTALL_COMMAND = $(LIBTOOL) --mode=install cp - INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish - - -From 87cd184f4df7188380251346dcda502fa21f8cdd Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sun, 19 Jun 2022 20:28:48 -0700 -Subject: [PATCH 7/7] build: Change -dynamic to -shared - -With libtool shared libraries can be created with -shared. ---- - Makefile.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index e4c6942..9b407c1 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -97,12 +97,12 @@ COMPILE_CXX = $(CXX) -std=c++98 $(WARNINGS) $(CPPFLAGS) -DCQR_NOCCODE=1 $(CXXFLA - COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(COMPILE_C) $(INCLUDES) -c - LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(LIBDIR) $(LDFLAGS) - BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(COMPILE_C) $(INCLUDES) --BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(COMPILE_C) -dynamic $(INCLUDES) -+BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(COMPILE_C) -shared $(INCLUDES) - BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(COMPILE_C) -static $(INCLUDES) - CPPCOMPILE_COMMAND = $(LIBTOOL) --mode=compile $(COMPILE_CXX) $(INCLUDES) -c - CPPLIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CXX) -version-info $(VERSION) -rpath $(LIBDIR) $(LDFLAGS) - CPPBUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(COMPILE_CXX) $(INCLUDES) --CPPBUILD_COMMAND_DYNAMIC= $(LIBTOOL) --mode=link $(COMPILE_CXX) -dynamic $(INCLUDES) -+CPPBUILD_COMMAND_DYNAMIC= $(LIBTOOL) --mode=link $(COMPILE_CXX) -shared $(INCLUDES) - CPPBUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(COMPILE_CXX) -static $(INCLUDES) - INSTALL_COMMAND = $(LIBTOOL) --mode=install cp - INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish diff --git a/sci-libs/cqrlib/files/1.1.4-libtool.patch b/sci-libs/cqrlib/files/1.1.4-libtool.patch deleted file mode 100644 index da189845f0e5..000000000000 --- a/sci-libs/cqrlib/files/1.1.4-libtool.patch +++ /dev/null @@ -1,105 +0,0 @@ -Bug: https://bugs.gentoo.org/778911 -Upstream-PR: https://github.com/yayahjb/cqrlib/pull/1 - -From 23f422c3049185ad0f24b9f0317b52a21ea771f3 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sat, 18 Jun 2022 23:02:44 -0700 -Subject: [PATCH] build: Add minimal configure.ac - -When building with slibtool using the rlibtool symlink the build will -fail when it fails to find the generated libtool. This file is required -for rlibtool because it is used to determine if building shared or -static. - -This will require these commands to build: - - autoreconf -fi - ./configure - make - -Gentoo Bug: https://bugs.gentoo.org/778911 ---- - Makefile => Makefile.in | 29 +++++++++++++---------------- - configure.ac | 10 ++++++++++ - 2 files changed, 23 insertions(+), 16 deletions(-) - rename Makefile => Makefile.in (97%) - create mode 100644 configure.ac - -diff --git a/Makefile b/Makefile.in -similarity index 97% -rename from Makefile -rename to Makefile.in -index 555e370..fe556ff 100644 ---- a/Makefile -+++ b/Makefile.in -@@ -40,41 +40,38 @@ - - # Version string - VERSION = 3:0:1 --RELEASE = 1.1.0 -- -+RELEASE = @PACKAGE_VERSION@ - - # - # Compiler and compilation flags - # --CC = gcc --CXX = g++ -+CC = @CC@ -+CXX = @CXX@ - CFLAGS = -g -O2 -Wall -ansi -pedantic - CPPFLAGS = $(CFLAGS) -DCQR_NOCCODE=1 - -+# Build directory -+top_builddir = @top_builddir@ -+ - # - # libtool path if system default is not suitable - # --#LIBTOOL = $(HOME)/bin/libtool --ifndef LIBTOOL -- LIBTOOL = libtool --endif -+LIBTOOL = @LIBTOOL@ - - # - # If local headers must be quoted uncomment the next line - # - #USE_LOCAL_HEADERS = 1 - -- - # - # Directories - # --ROOT = . --LIB = $(ROOT)/lib --BIN = $(ROOT)/bin --SRC = $(ROOT) --INC = $(ROOT) --EXAMPLES = $(ROOT) --TESTDATA = $(ROOT) -+LIB = $(top_builddir)/lib -+BIN = $(top_builddir)/bin -+SRC = $(top_builddir) -+INC = $(top_builddir) -+EXAMPLES = $(top_builddir) -+TESTDATA = $(top_builddir) - #INSTALLDIR = /usr/local - INSTALLDIR = $(HOME) - -diff --git a/configure.ac b/configure.ac -new file mode 100644 -index 0000000..6af5b28 ---- /dev/null -+++ b/configure.ac -@@ -0,0 +1,10 @@ -+AC_INIT([cqrlib], [1.1.4]) -+AC_CONFIG_FILES([Makefile]) -+ -+LT_INIT -+ -+AC_PROG_CXX -+ -+AC_SUBST([top_builddir], [$abs_builddir]) -+ -+AC_OUTPUT diff --git a/sci-libs/cqrlib/metadata.xml b/sci-libs/cqrlib/metadata.xml deleted file mode 100644 index b8e1e1e8db7d..000000000000 --- a/sci-libs/cqrlib/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">cqrlib</remote-id> - <remote-id type="github">yayahjb/cqrlib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/cxsparse/Manifest b/sci-libs/cxsparse/Manifest deleted file mode 100644 index 2684cf415d0e..000000000000 --- a/sci-libs/cxsparse/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST cxsparse-3.2.0.tar.bz2 2080196 BLAKE2B 9b89469c45e518077c4348ad3efd8d89d248e4c039057c0286ee44b493ab595075894d01530cbfbe845b91ef5e43cfbfdd102721cfeefe943a1cb4bc5f171843 SHA512 9931dac5b319b61a39ccb5f34309acb4240602b5f55d029c790ed0b7319a373cb925c4b83994526af4bc5b19b88c723f04581068d1fc80960a290c9d6d1e1aef diff --git a/sci-libs/cxsparse/cxsparse-3.2.0.ebuild b/sci-libs/cxsparse/cxsparse-3.2.0.ebuild deleted file mode 100644 index 0fe6e01e5662..000000000000 --- a/sci-libs/cxsparse/cxsparse-3.2.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib-minimal - -DESCRIPTION="Extended sparse matrix package" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86" - -RDEPEND=">=sci-libs/suitesparseconfig-5.4.0[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${PN}-3.2.0-header.patch ) - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf --disable-static -} - -multilib_src_install_all() { - einstalldocs - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/cxsparse/cxsparse-4.0.3.ebuild b/sci-libs/cxsparse/cxsparse-4.0.3.ebuild deleted file mode 100644 index 18eaf91c7428..000000000000 --- a/sci-libs/cxsparse/cxsparse-4.0.3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Extended sparse matrix package" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/4" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${Sparse_P}/CXSparse" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Programs assume that they can access the Matrix folder in ${S} - ln -s "${S}/Matrix" || die "cannot link to the Matrix folder" - # Run demo files - ./cs_idemo < Matrix/t2 || die "failed testing" - ./cs_ldemo < Matrix/t2 || die "failed testing" - ./cs_demo1 < Matrix/t1 || die "failed testing" - ./cs_demo2 < Matrix/t1 || die "failed testing" - ./cs_demo2 < Matrix/fs_183_1 || die "failed testing" - ./cs_demo2 < Matrix/west0067 || die "failed testing" - ./cs_demo2 < Matrix/lp_afiro || die "failed testing" - ./cs_demo2 < Matrix/ash219 || die "failed testing" - ./cs_demo2 < Matrix/mbeacxc || die "failed testing" - ./cs_demo2 < Matrix/bcsstk01 || die "failed testing" - ./cs_demo3 < Matrix/bcsstk01 || die "failed testing" - ./cs_demo2 < Matrix/bcsstk16 || die "failed testing" - ./cs_demo3 < Matrix/bcsstk16 || die "failed testing" - ./cs_di_demo1 < Matrix/t1 || die "failed testing" - ./cs_di_demo2 < Matrix/t1 || die "failed testing" - ./cs_di_demo2 < Matrix/fs_183_1 || die "failed testing" - ./cs_di_demo2 < Matrix/west0067 || die "failed testing" - ./cs_di_demo2 < Matrix/lp_afiro || die "failed testing" - ./cs_di_demo2 < Matrix/ash219 || die "failed testing" - ./cs_di_demo2 < Matrix/mbeacxc || die "failed testing" - ./cs_di_demo2 < Matrix/bcsstk01 || die "failed testing" - ./cs_di_demo3 < Matrix/bcsstk01 || die "failed testing" - ./cs_di_demo2 < Matrix/bcsstk16 || die "failed testing" - ./cs_di_demo3 < Matrix/bcsstk16 || die "failed testing" - ./cs_dl_demo1 < Matrix/t1 || die "failed testing" - ./cs_dl_demo2 < Matrix/t1 || die "failed testing" - ./cs_dl_demo2 < Matrix/fs_183_1 || die "failed testing" - ./cs_dl_demo2 < Matrix/west0067 || die "failed testing" - ./cs_dl_demo2 < Matrix/lp_afiro || die "failed testing" - ./cs_dl_demo2 < Matrix/ash219 || die "failed testing" - ./cs_dl_demo2 < Matrix/mbeacxc || die "failed testing" - ./cs_dl_demo2 < Matrix/bcsstk01 || die "failed testing" - ./cs_dl_demo3 < Matrix/bcsstk01 || die "failed testing" - ./cs_dl_demo2 < Matrix/bcsstk16 || die "failed testing" - ./cs_dl_demo3 < Matrix/bcsstk16 || die "failed testing" - ./cs_ci_demo1 < Matrix/t2 || die "failed testing" - ./cs_ci_demo2 < Matrix/t2 || die "failed testing" - ./cs_ci_demo2 < Matrix/t3 || die "failed testing" - ./cs_ci_demo2 < Matrix/t4 || die "failed testing" - ./cs_ci_demo2 < Matrix/c_west0067 || die "failed testing" - ./cs_ci_demo2 < Matrix/c_mbeacxc || die "failed testing" - ./cs_ci_demo2 < Matrix/young1c || die "failed testing" - ./cs_ci_demo2 < Matrix/qc324 || die "failed testing" - ./cs_ci_demo2 < Matrix/neumann || die "failed testing" - ./cs_ci_demo2 < Matrix/c4 || die "failed testing" - ./cs_ci_demo3 < Matrix/c4 || die "failed testing" - ./cs_ci_demo2 < Matrix/mhd1280b || die "failed testing" - ./cs_ci_demo3 < Matrix/mhd1280b || die "failed testing" - ./cs_cl_demo1 < Matrix/t2 || die "failed testing" - ./cs_cl_demo2 < Matrix/t2 || die "failed testing" - ./cs_cl_demo2 < Matrix/t3 || die "failed testing" - ./cs_cl_demo2 < Matrix/t4 || die "failed testing" - ./cs_cl_demo2 < Matrix/c_west0067 || die "failed testing" - ./cs_cl_demo2 < Matrix/c_mbeacxc || die "failed testing" - ./cs_cl_demo2 < Matrix/young1c || die "failed testing" - ./cs_cl_demo2 < Matrix/qc324 || die "failed testing" - ./cs_cl_demo2 < Matrix/neumann || die "failed testing" - ./cs_cl_demo2 < Matrix/c4 || die "failed testing" - ./cs_cl_demo3 < Matrix/c4 || die "failed testing" - ./cs_cl_demo2 < Matrix/mhd1280b || die "failed testing" - ./cs_cl_demo3 < Matrix/mhd1280b || die "failed testing" -} diff --git a/sci-libs/cxsparse/cxsparse-4.4.2.ebuild b/sci-libs/cxsparse/cxsparse-4.4.2.ebuild deleted file mode 100644 index 50557958b355..000000000000 --- a/sci-libs/cxsparse/cxsparse-4.4.2.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Extended sparse matrix package" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/CXSparse" -LICENSE="LGPL-2.1" -SLOT="0/4" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" -RDEPEND="${DEPEND}" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Programs assume that they can access the Matrix folder in ${S} - ln -s "${S}/Matrix" || die - # cs_demo2, cs_di_demo2, cs_dl_demo2 - local demo_set_1=( - ash219 - bcsstk01 - bcsstk16 - fs_183_1 - lp_afiro - mbeacxc - t1 - west0067 - ) - # cs_demo3, cs_di_demo3, cs_dl_demo3 - local demo_set_2=( - bcsstk01 - bcsstk16 - ) - # cs_ci_demo2, cs_cl_demo2 - local demo_set_3=( - c4 - c_mbeacxc - c_west0067 - mhd1280b - neumann - qc324 - t2 - t3 - t4 - young1c - ) - # cs_ci_demo3, cs_cl_demo3 - local demo_set_4=( - c4 - mhd1280b - ) - - declare -A testsuite - testsuite+=( - ["cs_idemo"]=t2 - ["cs_ldemo"]=t2 - - ["cs_demo1"]=t1 - ["cs_demo2"]=${demo_set_1[@]} - ["cs_demo3"]=${demo_set_2[@]} - - ["cs_ci_demo1"]=t2 - ["cs_ci_demo2"]=${demo_set_3[@]} - ["cs_ci_demo3"]=${demo_set_4[@]} - - ["cs_cl_demo1"]=t2 - ["cs_cl_demo2"]=${demo_set_3[@]} - ["cs_cl_demo3"]=${demo_set_4[@]} - - ["cs_di_demo1"]=t1 - ["cs_di_demo2"]=${demo_set_1[@]} - ["cs_di_demo3"]=${demo_set_2[@]} - - ["cs_dl_demo1"]=t1 - ["cs_dl_demo2"]=${demo_set_1[@]} - ["cs_dl_demo3"]=${demo_set_2[@]} - ) - - # Run demo files - local i - local j - for i in ${!testsuite[@]}; do - for j in ${testsuite[${i[@]}]}; do - ./${i} < Matrix/${j} || die "failed testing ${i} with ${j}" - done - done - einfo "All tests passed" -} diff --git a/sci-libs/cxsparse/files/cxsparse-3.2.0-header.patch b/sci-libs/cxsparse/files/cxsparse-3.2.0-header.patch deleted file mode 100644 index 0eaaeda69fd6..000000000000 --- a/sci-libs/cxsparse/files/cxsparse-3.2.0-header.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/CXSparse/Include/cs.h b/CXSparse/Include/cs.h -index a47ee115..dbdf3017 100644 ---- a/Include/cs.h -+++ b/Include/cs.h -@@ -43,9 +43,9 @@ extern "C" { - #endif - - #define CS_VER 3 /* CXSparse Version */ --#define CS_SUBVER 1 --#define CS_SUBSUB 9 --#define CS_DATE "May 4, 2016" /* CXSparse release date */ -+#define CS_SUBVER 2 -+#define CS_SUBSUB 0 -+#define CS_DATE "Sept 12, 2017" /* CSparse release date */ - #define CS_COPYRIGHT "Copyright (c) Timothy A. Davis, 2006-2016" - #define CXSPARSE - diff --git a/sci-libs/cxsparse/metadata.xml b/sci-libs/cxsparse/metadata.xml deleted file mode 100644 index 7a0611fccc34..000000000000 --- a/sci-libs/cxsparse/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - CXSparse is an extended version of CSparse, a sparse matrix package, - with support for double or complex matrices, with int or long - integers. - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/dcmtk/Manifest b/sci-libs/dcmtk/Manifest deleted file mode 100644 index 0b011de6386f..000000000000 --- a/sci-libs/dcmtk/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST dcmtk-3.6.7.tar.gz 6877857 BLAKE2B 242ba19ed3876b27c8eeb6917f9264911c951e91ab27d2ebd3e95ab5dcf55a0e18986cede87c8ab7e6280eafeb19fda120ccb2114d24a16f222b411b44cc28d8 SHA512 b9c227f496de65424256636fa7ad266affc6593f72c6849271da94837b68c93a5b8e056ecd09d46550b6ac0530c406ab9f71751d317a5fd4171a222f9fc9ca45 -DIST dcmtk-3.6.8.tar.gz 9628364 BLAKE2B 367885c3fda65b7b2e42555ba648800f9585cbd4c4d94e01f737110fc726ce3396df50ccd6f2c9bacc59284fc1381683b72506a3c566f795c8157da39a95fb2a SHA512 1bb2aad1aa63e0a1b79d92d7c932a969deccde03fdb484dbd44198effb58d50de44a2b0cda150ce7df63e4e986af5bc1f694c8a7988b4c049c578d83ba81184a -DIST dcmtk-3.6.9.tar.gz 9628334 BLAKE2B c60a9620a522b2a2fb976549ec1a3addce9ccd2fee90dad85376b56c105b28450d8ac2c8e8afe397e1bce532f8dd08f3fdb1135513bce3b314bdd7bbae7c06c9 SHA512 1ea4140940f33b34e21895cd7aa6b05be109fcecfbed45f61f8a4a248ea98deae59f2b362e518051d6054f588189d5ef9bba0ab81afa73b219c9ebcf415a0ca0 diff --git a/sci-libs/dcmtk/dcmtk-3.6.7-r2.ebuild b/sci-libs/dcmtk/dcmtk-3.6.7-r2.ebuild deleted file mode 100644 index 6e2a2996d806..000000000000 --- a/sci-libs/dcmtk/dcmtk-3.6.7-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic cmake - -DESCRIPTION="The DICOM Toolkit" -HOMEPAGE="https://dicom.offis.de/dcmtk.php.en" -SRC_URI="https://dicom.offis.de/download/dcmtk/release/${P}.tar.gz" - -LICENSE="OFFIS" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -SLOT="0" -IUSE="doc png ssl tcpd tiff +threads xml zlib" - -RDEPEND=" - dev-libs/icu:= - png? ( media-libs/libpng:* ) - ssl? ( dev-libs/openssl:= ) - tcpd? ( sys-apps/tcp-wrappers ) - tiff? ( media-libs/tiff:= ) - xml? ( dev-libs/libxml2:2= ) - zlib? ( virtual/zlib:= ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( - app-text/doxygen - virtual/latex-base -)" - -src_prepare() { - cmake_src_prepare - - sed -e "s:share/doc/dcmtk:&-${PV}:" \ - -e "s:DIR \"/:DIR \"/usr/:" \ - -e "s:usr/etc:etc:" \ - -e "s:/lib\":/$(get_libdir)\":" \ - -e "s:COPYRIGHT::" \ - -i CMakeLists.txt || die - sed -e 's:${CMAKE_INSTALL_PREFIX}/::' \ - -i dcmwlm/data/CMakeLists.txt doxygen/CMakeLists.txt || die - # Temporary workaround: docs are not built with CMake - sed -i -e '/include/d' doxygen/Makefile.in || die - - # fix -D deprecation warnings - sed -i -e "s|_BSD_SOURCE|_DEFAULT_SOURCE|g" \ - "${S}"/config/configure.in \ - "${S}"/CMakeLists.txt || die -} - -src_configure() { - # bug 908398 - use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE - - local mycmakeargs=( - -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" - -DDCMTK_WITH_ICU=ON - -DDCMTK_WITH_TIFF=$(usex tiff) - -DDCMTK_WITH_PNG=$(usex png) - -DDCMTK_WITH_XML=$(usex xml) - -DDCMTK_WITH_ZLIB=$(usex zlib) - -DDCMTK_WITH_OPENSSL=$(usex ssl) - -DDCMTK_WITH_DOXYGEN=$(usex doc) - -DDCMTK_WITH_THREADS=$(usex threads) - ) - - cmake_src_configure - - if use doc; then - cd "${S}"/doxygen || die - econf - fi -} - -src_compile() { - cmake_src_compile - - if use doc; then - emake -C "${S}"/doxygen - fi -} - -src_install() { - doman doxygen/manpages/man1/* - - if use doc; then - local HTML_DOCS=( "${S}"/doxygen/htmldocs/. ) - fi - cmake_src_install -} diff --git a/sci-libs/dcmtk/dcmtk-3.6.8-r1.ebuild b/sci-libs/dcmtk/dcmtk-3.6.8-r1.ebuild deleted file mode 100644 index 83a04b1a97f0..000000000000 --- a/sci-libs/dcmtk/dcmtk-3.6.8-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic cmake - -DESCRIPTION="The DICOM Toolkit" -HOMEPAGE="https://dicom.offis.de/dcmtk.php.en" -SRC_URI="https://dicom.offis.de/download/dcmtk/release/${P}.tar.gz" - -LICENSE="OFFIS" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="doc png ssl tcpd tiff +threads xml zlib" - -RDEPEND=" - dev-libs/icu:= - png? ( media-libs/libpng:* ) - ssl? ( dev-libs/openssl:= ) - tcpd? ( sys-apps/tcp-wrappers ) - tiff? ( media-libs/tiff:= ) - xml? ( dev-libs/libxml2:2= ) - zlib? ( virtual/zlib:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( - app-text/doxygen - virtual/latex-base - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.6.8-docdir.patch -) - -src_prepare() { - cmake_src_prepare - - sed -i -e "s:COPYRIGHT::" CMakeLists.txt || die - # Temporary workaround: docs are not built with CMake - sed -i -e '/include/d' doxygen/Makefile.in || die - - # Fix -D deprecation warnings - sed -i -e "s|_BSD_SOURCE|_DEFAULT_SOURCE|g" \ - "${S}"/config/configure.in \ - "${S}"/CMakeLists.txt || die -} - -src_configure() { - # ODR violations (bug #862699). Reported upstream by email on 2024-03-11. - # master seems fixed, so >3.6.8 should be able to drop this. - filter-lto - - # bug 908398 - use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE - - local mycmakeargs=( - -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" - -DDCMTK_WITH_ICU=ON - -DDCMTK_WITH_TIFF=$(usex tiff) - -DDCMTK_WITH_PNG=$(usex png) - -DDCMTK_WITH_XML=$(usex xml) - -DDCMTK_WITH_ZLIB=$(usex zlib) - -DDCMTK_WITH_OPENSSL=$(usex ssl) - -DDCMTK_WITH_DOXYGEN=$(usex doc) - -DDCMTK_WITH_THREADS=$(usex threads) - ) - - cmake_src_configure - - if use doc; then - cd "${S}"/doxygen || die - econf - fi -} - -src_compile() { - cmake_src_compile - - if use doc; then - emake -C "${S}"/doxygen - fi -} - -src_install() { - doman doxygen/manpages/man1/* - - if use doc; then - local HTML_DOCS=( "${S}"/doxygen/htmldocs/. ) - fi - cmake_src_install -} diff --git a/sci-libs/dcmtk/dcmtk-3.6.9-r1.ebuild b/sci-libs/dcmtk/dcmtk-3.6.9-r1.ebuild deleted file mode 100644 index 61b941c09fa5..000000000000 --- a/sci-libs/dcmtk/dcmtk-3.6.9-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic cmake - -DESCRIPTION="The DICOM Toolkit" -HOMEPAGE="https://dicom.offis.de/dcmtk.php.en" -SRC_URI="https://dicom.offis.de/download/dcmtk/release/${P}.tar.gz" - -LICENSE="OFFIS" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="doc png ssl tcpd tiff +threads xml zlib" - -RDEPEND=" - png? ( media-libs/libpng:* ) - ssl? ( dev-libs/openssl:= ) - tcpd? ( sys-apps/tcp-wrappers ) - tiff? ( media-libs/tiff:= ) - xml? ( dev-libs/libxml2:2= ) - zlib? ( virtual/zlib:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( - app-text/doxygen - virtual/latex-base - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.6.9-docdir.patch -) - -src_prepare() { - cmake_src_prepare - - sed -i -e "s:COPYRIGHT::" CMakeLists.txt || die - # Temporary workaround: docs are not built with CMake - sed -i -e '/include/d' doxygen/Makefile.in || die -} - -src_configure() { - # ODR violations (bug #862699). They seem to have reappeared in 3.6.9. - # Not yet reported upstream. - filter-lto - - # bug 908398 - use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE - - local mycmakeargs=( - -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" - -DDCMTK_WITH_TIFF=$(usex tiff) - -DDCMTK_WITH_PNG=$(usex png) - -DDCMTK_WITH_XML=$(usex xml) - -DDCMTK_WITH_ZLIB=$(usex zlib) - -DDCMTK_WITH_OPENSSL=$(usex ssl) - -DDCMTK_WITH_DOXYGEN=$(usex doc) - -DDCMTK_WITH_THREADS=$(usex threads) - ) - - cmake_src_configure - - if use doc; then - cd "${S}"/doxygen || die - econf - fi -} - -src_compile() { - cmake_src_compile - - if use doc; then - emake -C "${S}"/doxygen - fi -} - -src_install() { - doman doxygen/manpages/man1/* - - if use doc; then - local HTML_DOCS=( "${S}"/doxygen/htmldocs/. ) - fi - - cmake_src_install -} diff --git a/sci-libs/dcmtk/files/dcmtk-3.6.8-docdir.patch b/sci-libs/dcmtk/files/dcmtk-3.6.8-docdir.patch deleted file mode 100644 index 291571d0ce37..000000000000 --- a/sci-libs/dcmtk/files/dcmtk-3.6.8-docdir.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/CMake/GenerateDCMTKConfigure.cmake -+++ b/CMake/GenerateDCMTKConfigure.cmake -@@ -202,9 +202,6 @@ else() - - # Modify the installation paths for configuration files, data files and documents - # by adding a subdirectory with the DCMTK name and version number -- set(CMAKE_INSTALL_FULL_SYSCONFDIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}") -- set(CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}") -- set(CMAKE_INSTALL_FULL_DOCDIR "${CMAKE_INSTALL_FULL_DOCDIR}-${DCMTK_COMPLETE_PACKAGE_VERSION}") - - # These variables are defined as macros in osconfig.h and must end with a path separator - set(DCMTK_DEFAULT_CONFIGURATION_DIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}/") diff --git a/sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch b/sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch deleted file mode 100644 index aa6faf0f5ef7..000000000000 --- a/sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/CMake/GenerateDCMTKConfigure.cmake -+++ b/CMake/GenerateDCMTKConfigure.cmake -@@ -193,12 +193,6 @@ else() - set(PATH_SEPARATOR "/") - set(ENVIRONMENT_PATH_SEPARATOR ":") - -- # Modify the installation paths for configuration files, data files and documents -- # by adding a subdirectory with the DCMTK name and version number -- set(CMAKE_INSTALL_SYSCONFDIR "${CMAKE_INSTALL_SYSCONFDIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}") -- set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATADIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}") -- set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DOCDIR}-${DCMTK_COMPLETE_PACKAGE_VERSION}") -- - # These variables are defined as macros in osconfig.h and must end with a path separator - if(CMAKE_VERSION VERSION_LESS 3.20.0) - # CMake versions prior to 3.20 expect the third parameter to be passed in ${dir} diff --git a/sci-libs/dcmtk/metadata.xml b/sci-libs/dcmtk/metadata.xml deleted file mode 100644 index 19b26d43007c..000000000000 --- a/sci-libs/dcmtk/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="github">DCMTK/dcmtk</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest deleted file mode 100644 index 9b9787efa308..000000000000 --- a/sci-libs/dealii/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST dealii-9.7.0-offline_documentation.tar.gz 469694580 BLAKE2B e075151d11b1b9ae5e65aaab53e98b61ec4cb9ccccc76964e61427967b3a7704c3ddc47ad96efac0b2e96463fb9f1467ca085a97113ac761eba98106683c3e97 SHA512 528c01778ef6e2868f17dbf394583b64aba274e997336b718208cac7b71bfc1e587c5239e5ba798f758423eb843b6fd2a1d50277e117fa103d10f48f65e13f22 -DIST dealii-9.7.1.tar.gz 42305872 BLAKE2B 167ece1415828a22f53c22a5fc6494804860c1db7e3e449440889634e52512067fac122217cb58651d914a8a352b9e569ec10a8088be655e568c895b0b14839c SHA512 538e162c5801b3e95892c4ee693e7f5cbf9d09b42a24a210b89f96860841358c4ed8989c445b782d05dc5941d5d97e63e77118484892c727e919ff345c8c3c40 diff --git a/sci-libs/dealii/dealii-9.7.1.ebuild b/sci-libs/dealii/dealii-9.7.1.ebuild deleted file mode 100644 index 299241bf2c36..000000000000 --- a/sci-libs/dealii/dealii-9.7.1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Solving partial differential equations with the finite element method" -HOMEPAGE="https://www.dealii.org/" - -DOC_PV="9.7.0" - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dealii/dealii.git" -else - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz - doc? ( - https://github.com/${PN}/${PN}/releases/download/v${DOC_PV}/${PN}-${DOC_PV}-offline_documentation.tar.gz - )" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE=" - adolc arborx assimp arpack cgal cpu_flags_x86_avx cpu_flags_x86_avx512f - cpu_flags_x86_sse2 +debug doc +examples ginkgo gmsh +gsl hdf5 int64 - +lapack metis mpi mumps muparser opencascade p4est petsc scalapack slepc - +sparse sundials symengine trilinos vtk -" - -# TODO: add slepc use flag once slepc is packaged for gentoo-science -REQUIRED_USE=" - arborx? ( trilinos ) - p4est? ( mpi ) - slepc? ( petsc ) - trilinos? ( mpi )" - -RDEPEND="dev-libs/boost:= - app-arch/bzip2 - virtual/zlib:= - dev-cpp/magic_enum:= - dev-cpp/taskflow:= - arborx? ( sci-libs/arborx[mpi=] ) - adolc? ( sci-libs/adolc ) - arpack? ( sci-libs/arpack[mpi=] ) - assimp? ( media-libs/assimp:= ) - cgal? ( sci-mathematics/cgal ) - ginkgo? ( sci-libs/ginkgo ) - gmsh? ( sci-libs/gmsh ) - gsl? ( sci-libs/gsl:= ) - hdf5? ( sci-libs/hdf5:=[mpi=] ) - lapack? ( virtual/lapack ) - metis? ( - >=sci-libs/metis-5 - mpi? ( >=sci-libs/parmetis-4 ) - ) - mpi? ( virtual/mpi ) - mumps? ( sci-libs/mumps[mpi] ) - muparser? ( dev-cpp/muParser ) - opencascade? ( sci-libs/opencascade:= ) - p4est? ( sci-libs/p4est[mpi] ) - petsc? ( sci-mathematics/petsc[mpi=,int64?] ) - scalapack? ( sci-libs/scalapack ) - slepc? ( sci-mathematics/slepc[mpi=] ) - sparse? ( sci-libs/umfpack ) - sundials? ( sci-libs/sundials:= ) - symengine? ( >=sci-libs/symengine-0.4:= ) - trilinos? ( sci-libs/trilinos ) - vtk? ( sci-libs/vtk ) - || ( - dev-cpp/kokkos - sci-libs/trilinos - ) - " - -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-text/doxygen[dot] dev-lang/perl )" - -PATCHES=( - "${FILESDIR}/${P}-remove_obsolete_files.patch" -) - -src_configure() { - # deal.II needs a custom build type: - local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release) - - local mycmakeargs=( - -DDEAL_II_PACKAGE_VERSION="${PV}" - -DCMAKE_CXX_STANDARD="20" - -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF - -DDEAL_II_ALLOW_AUTODETECTION=OFF - -DDEAL_II_ALLOW_BUNDLED=OFF - -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF - -DDEAL_II_COMPILE_EXAMPLES=OFF - -DDEAL_II_DOCHTML_RELDIR="share/doc/${PF}/html" - -DDEAL_II_DOCREADME_RELDIR="share/doc/${PF}" - -DDEAL_II_COMPILE_EXAMPLES=OFF - -DDEAL_II_EXAMPLES_RELDIR="share/doc/${PF}/examples" - -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)" - -DDEAL_II_SHARE_RELDIR="share/${PN}" - -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)" - -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)" - -DDEAL_II_WITH_64BIT_INDICES="$(usex int64)" - -DDEAL_II_WITH_ADOLC="$(usex adolc)" - -DDEAL_II_WITH_ARBORX="$(usex arborx)" - -DDEAL_II_WITH_ARPACK="$(usex arpack)" - -DDEAL_II_WITH_ASSIMP="$(usex assimp)" - -DDEAL_II_WITH_CGAL="$(usex cgal)" - -DDEAL_II_WITH_COMPLEX_VALUES=ON - -DDEAL_II_WITH_GINKGO="$(usex ginkgo)" - -DDEAL_II_WITH_GMSH="$(usex gmsh)" - -DDEAL_II_WITH_GSL="$(usex gsl)" - -DDEAL_II_WITH_HDF5="$(usex hdf5)" - -DDEAL_II_WITH_LAPACK="$(usex lapack)" - -DDEAL_II_WITH_MAGIC_ENUM=ON - -DDEAL_II_WITH_METIS="$(usex metis)" - -DDEAL_II_WITH_MPI="$(usex mpi)" - -DDEAL_II_WITH_MUMPS="$(usex mumps)" - -DDEAL_II_WITH_MUPARSER="$(usex muparser)" - -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)" - -DDEAL_II_WITH_P4EST="$(usex p4est)" - -DDEAL_II_WITH_PETSC="$(usex petsc)" - -DDEAL_II_WITH_SCALAPACK="$(usex scalapack)" - -DDEAL_II_WITH_SLEPC="$(usex slepc)" - -DDEAL_II_WITH_SUNDIALS="$(usex sundials)" - -DDEAL_II_WITH_SYMENGINE="$(usex symengine)" - -DDEAL_II_WITH_TASKFLOW=ON - -DDEAL_II_WITH_TBB=OFF - -DDEAL_II_WITH_TRILINOS="$(usex trilinos)" - -DDEAL_II_WITH_UMFPACK="$(usex sparse)" - -DDEAL_II_WITH_VTK="$(usex vtk)" - -DDEAL_II_WITH_ZLIB=ON - ) - - use opencascade && mycmakeargs+=( - -DCMAKE_PREFIX_PATH="/usr/$(get_libdir)/opencascade" - ) - - # Do a little dance for purely cosmetic QA reasons. The build system - # does query for the highest instruction set first and skips the other - # variables if a "higher" variant is set - if use cpu_flags_x86_avx512f; then - mycmakeargs+=( -DDEAL_II_HAVE_AVX512=yes ) - append-cxxflags "-mavx512f" - elif use cpu_flags_x86_avx; then - mycmakeargs+=( -DDEAL_II_HAVE_AVX=yes ) - append-cxxflags "-mavx2" - elif use cpu_flags_x86_avx; then - mycmakeargs+=( -DDEAL_II_HAVE_SSE2=yes ) - append-cxxflags "-msse2" - fi - - cmake_src_configure -} - -src_install() { - if use doc && [[ ${PV} != *9999* ]]; then - # copy missing images to the build directory: - cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \ - "${BUILD_DIR}"/doc/doxygen/deal.II || die - # replace links: - sed -i \ - 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \ - "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed" - fi - cmake_src_install - - # decompress the installed example sources: - use examples && docompress -x /usr/share/doc/${PF}/examples -} diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild deleted file mode 100644 index 712aa4132bc9..000000000000 --- a/sci-libs/dealii/dealii-9999.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Solving partial differential equations with the finite element method" -HOMEPAGE="https://www.dealii.org/" - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dealii/dealii.git" -else - SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz - doc? ( - https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz - )" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE=" - adolc arborx assimp arpack cgal cpu_flags_x86_avx cpu_flags_x86_avx512f - cpu_flags_x86_sse2 +debug doc +examples ginkgo gmsh +gsl hdf5 int64 - +lapack metis mpi mumps muparser opencascade p4est petsc scalapack slepc - +sparse sundials symengine trilinos vtk -" - -# TODO: add slepc use flag once slepc is packaged for gentoo-science -REQUIRED_USE=" - arborx? ( trilinos ) - p4est? ( mpi ) - slepc? ( petsc ) - trilinos? ( mpi )" - -RDEPEND="dev-libs/boost:= - app-arch/bzip2 - virtual/zlib:= - dev-cpp/magic_enum:= - dev-cpp/taskflow:= - arborx? ( sci-libs/arborx[mpi=] ) - adolc? ( sci-libs/adolc ) - arpack? ( sci-libs/arpack[mpi=] ) - assimp? ( media-libs/assimp:= ) - cgal? ( sci-mathematics/cgal ) - ginkgo? ( sci-libs/ginkgo ) - gmsh? ( sci-libs/gmsh ) - gsl? ( sci-libs/gsl:= ) - hdf5? ( sci-libs/hdf5:=[mpi=] ) - lapack? ( virtual/lapack ) - metis? ( - >=sci-libs/metis-5 - mpi? ( >=sci-libs/parmetis-4 ) - ) - mpi? ( virtual/mpi ) - mumps? ( sci-libs/mumps[mpi] ) - muparser? ( dev-cpp/muParser ) - opencascade? ( sci-libs/opencascade:= ) - p4est? ( sci-libs/p4est[mpi] ) - petsc? ( sci-mathematics/petsc[mpi=,int64?] ) - scalapack? ( sci-libs/scalapack ) - slepc? ( sci-mathematics/slepc[mpi=] ) - sparse? ( sci-libs/umfpack ) - sundials? ( sci-libs/sundials:= ) - symengine? ( >=sci-libs/symengine-0.4:= ) - trilinos? ( sci-libs/trilinos ) - vtk? ( sci-libs/vtk ) - || ( - dev-cpp/kokkos - sci-libs/trilinos - ) - " - -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-text/doxygen[dot] dev-lang/perl )" - -PATCHES=( -) - -src_configure() { - # deal.II needs a custom build type: - local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release) - - local mycmakeargs=( - -DDEAL_II_PACKAGE_VERSION="${PV}" - -DCMAKE_CXX_STANDARD="20" - -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF - -DDEAL_II_ALLOW_AUTODETECTION=OFF - -DDEAL_II_ALLOW_BUNDLED=OFF - -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF - -DDEAL_II_COMPILE_EXAMPLES=OFF - -DDEAL_II_DOCHTML_RELDIR="share/doc/${PF}/html" - -DDEAL_II_DOCREADME_RELDIR="share/doc/${PF}" - -DDEAL_II_COMPILE_EXAMPLES=OFF - -DDEAL_II_EXAMPLES_RELDIR="share/doc/${PF}/examples" - -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)" - -DDEAL_II_SHARE_RELDIR="share/${PN}" - -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)" - -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)" - -DDEAL_II_WITH_64BIT_INDICES="$(usex int64)" - -DDEAL_II_WITH_ADOLC="$(usex adolc)" - -DDEAL_II_WITH_ARBORX="$(usex arborx)" - -DDEAL_II_WITH_ARPACK="$(usex arpack)" - -DDEAL_II_WITH_ASSIMP="$(usex assimp)" - -DDEAL_II_WITH_CGAL="$(usex cgal)" - -DDEAL_II_WITH_COMPLEX_VALUES=ON - -DDEAL_II_WITH_GINKGO="$(usex ginkgo)" - -DDEAL_II_WITH_GMSH="$(usex gmsh)" - -DDEAL_II_WITH_GSL="$(usex gsl)" - -DDEAL_II_WITH_HDF5="$(usex hdf5)" - -DDEAL_II_WITH_LAPACK="$(usex lapack)" - -DDEAL_II_WITH_MAGIC_ENUM=ON - -DDEAL_II_WITH_METIS="$(usex metis)" - -DDEAL_II_WITH_MPI="$(usex mpi)" - -DDEAL_II_WITH_MUMPS="$(usex mumps)" - -DDEAL_II_WITH_MUPARSER="$(usex muparser)" - -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)" - -DDEAL_II_WITH_P4EST="$(usex p4est)" - -DDEAL_II_WITH_PETSC="$(usex petsc)" - -DDEAL_II_WITH_SCALAPACK="$(usex scalapack)" - -DDEAL_II_WITH_SLEPC="$(usex slepc)" - -DDEAL_II_WITH_SUNDIALS="$(usex sundials)" - -DDEAL_II_WITH_SYMENGINE="$(usex symengine)" - -DDEAL_II_WITH_TASKFLOW=ON - -DDEAL_II_WITH_TBB=OFF - -DDEAL_II_WITH_TRILINOS="$(usex trilinos)" - -DDEAL_II_WITH_UMFPACK="$(usex sparse)" - -DDEAL_II_WITH_VTK="$(usex vtk)" - -DDEAL_II_WITH_ZLIB=ON - ) - - use opencascade && mycmakeargs+=( - -DCMAKE_PREFIX_PATH="/usr/$(get_libdir)/opencascade" - ) - - # Do a little dance for purely cosmetic QA reasons. The build system - # does query for the highest instruction set first and skips the other - # variables if a "higher" variant is set - if use cpu_flags_x86_avx512f; then - mycmakeargs+=( -DDEAL_II_HAVE_AVX512=yes ) - append-cxxflags "-mavx512f" - elif use cpu_flags_x86_avx; then - mycmakeargs+=( -DDEAL_II_HAVE_AVX=yes ) - append-cxxflags "-mavx2" - elif use cpu_flags_x86_avx; then - mycmakeargs+=( -DDEAL_II_HAVE_SSE2=yes ) - append-cxxflags "-msse2" - fi - - cmake_src_configure -} - -src_install() { - if use doc && [[ ${PV} != *9999* ]]; then - # copy missing images to the build directory: - cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \ - "${BUILD_DIR}"/doc/doxygen/deal.II || die - # replace links: - sed -i \ - 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \ - "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed" - fi - cmake_src_install - - # decompress the installed example sources: - use examples && docompress -x /usr/share/doc/${PF}/examples -} diff --git a/sci-libs/dealii/files/dealii-9.7.1-remove_obsolete_files.patch b/sci-libs/dealii/files/dealii-9.7.1-remove_obsolete_files.patch deleted file mode 100644 index 9d4b0456ae92..000000000000 --- a/sci-libs/dealii/files/dealii-9.7.1-remove_obsolete_files.patch +++ /dev/null @@ -1,315 +0,0 @@ -From 1149f485e35ded31a3afa4d96046c2d22709102c Mon Sep 17 00:00:00 2001 -Upstream: https://github.com/dealii/dealii/pull/19269 -From: Matthias Maier <tamiko@43-1.org> -Date: Wed, 4 Feb 2026 11:07:54 -0600 -Subject: [PATCH] cmake/configure: remove TestBoostBug files - -The corresponding test in our configure is long gone. - -Let's remove the files as well. ---- - cmake/configure/TestBoostBug/CMakeLists.txt | 15 --- - .../TestBoostBug/polymorphic_base.hpp | 38 ------- - .../TestBoostBug/polymorphic_derived2.cpp | 47 --------- - .../TestBoostBug/polymorphic_derived2.hpp | 41 -------- - .../TestBoostBug/test_dll_exported.cpp | 98 ------------------- - cmake/configure/TestBoostBug/text_archive.hpp | 13 --- - 6 files changed, 252 deletions(-) - delete mode 100644 cmake/configure/TestBoostBug/CMakeLists.txt - delete mode 100644 cmake/configure/TestBoostBug/polymorphic_base.hpp - delete mode 100644 cmake/configure/TestBoostBug/polymorphic_derived2.cpp - delete mode 100644 cmake/configure/TestBoostBug/polymorphic_derived2.hpp - delete mode 100644 cmake/configure/TestBoostBug/test_dll_exported.cpp - delete mode 100644 cmake/configure/TestBoostBug/text_archive.hpp - -diff --git a/cmake/configure/TestBoostBug/CMakeLists.txt b/cmake/configure/TestBoostBug/CMakeLists.txt -deleted file mode 100644 -index 2ce762a065..0000000000 ---- a/cmake/configure/TestBoostBug/CMakeLists.txt -+++ /dev/null -@@ -1,15 +0,0 @@ --cmake_minimum_required(VERSION 3.1.0) --project(TestBoost) -- --include_directories(${BOOST_INCLUDE_DIRS}) -- --add_library(derived SHARED polymorphic_derived2.cpp) --add_executable(test_boost test_dll_exported.cpp) -- --target_link_libraries(derived ${BOOST_LIBRARIES}) --target_link_libraries(test_boost derived ${BOOST_LIBRARIES}) -- --add_custom_target(run -- COMMAND test_boost -- DEPENDS test_boost -- WORKING_DIRECTORY ${CMAKE_PROJECT_DIR}) -diff --git a/cmake/configure/TestBoostBug/polymorphic_base.hpp b/cmake/configure/TestBoostBug/polymorphic_base.hpp -deleted file mode 100644 -index 7da4d43abd..0000000000 ---- a/cmake/configure/TestBoostBug/polymorphic_base.hpp -+++ /dev/null -@@ -1,38 +0,0 @@ --#ifndef POLYMORPHIC_BASE_HPP --#define POLYMORPHIC_BASE_HPP -- --#include <boost/config.hpp> -- --#include <boost/serialization/access.hpp> --#include <boost/serialization/assume_abstract.hpp> --#include <boost/serialization/export.hpp> --#include <boost/serialization/type_info_implementation.hpp> --#include <boost/serialization/extended_type_info_no_rtti.hpp> -- --class BOOST_SYMBOL_VISIBLE polymorphic_base --{ -- friend class boost::serialization::access; -- template<class Archive> -- void serialize( -- Archive & /* ar */, -- const unsigned int /* file_version */ -- ){} --public: -- // note that since this class uses the "no_rtti" -- // extended_type_info implementation, it MUST -- // implement this function -- virtual const char * get_key() const = 0; -- virtual ~polymorphic_base(){}; --}; -- --BOOST_SERIALIZATION_ASSUME_ABSTRACT(polymorphic_base) -- --// the no_rtti system requires this !!! --BOOST_CLASS_EXPORT_KEY(polymorphic_base) -- --BOOST_CLASS_TYPE_INFO( -- polymorphic_base, -- boost::serialization::extended_type_info_no_rtti<polymorphic_base> --) -- --#endif // POLYMORPHIC_BASE_HPP -diff --git a/cmake/configure/TestBoostBug/polymorphic_derived2.cpp b/cmake/configure/TestBoostBug/polymorphic_derived2.cpp -deleted file mode 100644 -index 9cc7780ed8..0000000000 ---- a/cmake/configure/TestBoostBug/polymorphic_derived2.cpp -+++ /dev/null -@@ -1,47 +0,0 @@ --#include <boost/serialization/type_info_implementation.hpp> --#include <boost/serialization/extended_type_info_no_rtti.hpp> --#include <boost/serialization/export.hpp> -- --#include "polymorphic_derived2.hpp" -- --template<class Archive> --void polymorphic_derived2::serialize( -- Archive &ar, -- const unsigned int /* file_version */ --){ -- ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(polymorphic_base); --} -- --// instantiate code for text archives --#include <boost/archive/text_oarchive.hpp> --#include <boost/archive/text_iarchive.hpp> -- --template --void polymorphic_derived2::serialize( -- boost::archive::text_oarchive & ar, -- const unsigned int version --); --template --void polymorphic_derived2::serialize( -- boost::archive::text_iarchive & ar, -- const unsigned int version --); -- --// instantiate code for polymorphic archives --#include <boost/archive/polymorphic_iarchive.hpp> --#include <boost/archive/polymorphic_oarchive.hpp> -- --template --void polymorphic_derived2::serialize( -- boost::archive::polymorphic_oarchive & ar, -- const unsigned int version --); --template --/*POLYMORPHIC_DERIVED2_DLL_DECL*/ --void polymorphic_derived2::serialize( -- boost::archive::polymorphic_iarchive & ar, -- const unsigned int version --); -- --// note: export has to be AFTER #includes for all archive classes --BOOST_CLASS_EXPORT_IMPLEMENT(polymorphic_derived2) -diff --git a/cmake/configure/TestBoostBug/polymorphic_derived2.hpp b/cmake/configure/TestBoostBug/polymorphic_derived2.hpp -deleted file mode 100644 -index 5a5f5a3b37..0000000000 ---- a/cmake/configure/TestBoostBug/polymorphic_derived2.hpp -+++ /dev/null -@@ -1,41 +0,0 @@ --#ifndef POLYMORPHIC_DERIVED2_HPP --#define POLYMORPHIC_DERIVED2_HPP -- --#include <boost/config.hpp> -- --#include <boost/serialization/access.hpp> --#include <boost/serialization/nvp.hpp> --#include <boost/serialization/base_object.hpp> --#include <boost/serialization/type_info_implementation.hpp> --#include <boost/serialization/extended_type_info_typeid.hpp> -- --#include "polymorphic_base.hpp" -- --class polymorphic_derived2 : -- public polymorphic_base --{ -- friend class boost::serialization::access; -- template<class Archive> -- void serialize( -- Archive &ar, -- const unsigned int /* file_version */ -- ); -- virtual const char * get_key() const { -- return "polymorphic_derived2"; -- } --}; -- --// we use this because we want to assign a key to this type --// but we don't want to explicitly instantiate code every time --// we do so!!! If we don't do this, we end up with the same --// code in BOTH the DLL which implements polymorphic_derived2 --// as well as the main program. --BOOST_CLASS_EXPORT_KEY(polymorphic_derived2) -- --// note the mixing of type_info systems is supported. --BOOST_CLASS_TYPE_INFO( -- polymorphic_derived2, -- boost::serialization::extended_type_info_typeid<polymorphic_derived2> --) -- --#endif // POLYMORPHIC_DERIVED2_HPP -diff --git a/cmake/configure/TestBoostBug/test_dll_exported.cpp b/cmake/configure/TestBoostBug/test_dll_exported.cpp -deleted file mode 100644 -index c78b79bf02..0000000000 ---- a/cmake/configure/TestBoostBug/test_dll_exported.cpp -+++ /dev/null -@@ -1,98 +0,0 @@ --/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 --// test_dll_exported.cpp -- --// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . --// Use, modification and distribution is subject to the Boost Software --// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at --// http://www.boost.org/LICENSE_1_0.txt) -- --// should pass compilation and execution -- --// This is an overly complex test. The purpose of this test is to --// demonstrate and test the ability to serialize a hierarchy of class --// through a base class pointer even though that class might be --// implemented in different dlls and use different extended type info --// systems. --// --// polymorphic_ base is locally declared and defined. It use the --// "no_rtti" extended type info system. -- --// polymorphic_derived1 is locally declared and defined. It uses --// the default "type_id" extended type info system -- --// polymorphic_derived2 is declared in polymorphic_derived.hpp --// and defined in dll_polymorphic_derived2. It uses the typeid --// system. -- --#include <cstddef> // NULL --#include <fstream> -- --#include <boost/config.hpp> -- --#include <boost/archive/archive_exception.hpp> -- --#include <boost/serialization/base_object.hpp> --#include <boost/serialization/export.hpp> -- --#include <boost/archive/text_oarchive.hpp> --#include <boost/archive/text_iarchive.hpp> -- --#include "polymorphic_base.hpp" -- --#include "polymorphic_derived2.hpp" -- --// save exported polymorphic class --void save_exported(const char *testfile) --{ -- std::ofstream os(testfile); -- boost::archive::text_oarchive oa(os); -- -- polymorphic_base *rb2 = new polymorphic_derived2; -- polymorphic_derived2 *rd21 = new polymorphic_derived2; -- -- // export will permit correct serialization -- // through a pointer to a base class -- oa << BOOST_SERIALIZATION_NVP(rb2); -- oa << BOOST_SERIALIZATION_NVP(rd21); -- -- delete rb2; -- delete rd21; --} -- --// save exported polymorphic class --void load_exported(const char *testfile) --{ -- std::ifstream is(testfile); -- boost::archive::text_iarchive ia(is); -- -- polymorphic_base *rb2 = NULL; -- polymorphic_derived2 *rd21 = NULL; -- -- // export will permit correct serialization -- // through a pointer to a base class -- ia >> BOOST_SERIALIZATION_NVP(rb2); -- assert( -- boost::serialization::type_info_implementation<polymorphic_derived2> -- ::type::get_const_instance() -- == -- * boost::serialization::type_info_implementation<polymorphic_base> -- ::type::get_const_instance().get_derived_extended_type_info(*rb2)); -- ia >> BOOST_SERIALIZATION_NVP(rd21); -- assert( -- boost::serialization::type_info_implementation<polymorphic_derived2> -- ::type::get_const_instance() -- == -- * boost::serialization::type_info_implementation<polymorphic_derived2> -- ::type::get_const_instance().get_derived_extended_type_info(*rd21)); -- delete rb2; -- delete rd21; --} -- --int main( int /* argc */, char* /* argv */[] ) --{ -- save_exported("testfile"); -- load_exported("testfile"); -- return EXIT_SUCCESS; --} -- --// EOF -diff --git a/cmake/configure/TestBoostBug/text_archive.hpp b/cmake/configure/TestBoostBug/text_archive.hpp -deleted file mode 100644 -index 65425ce5a1..0000000000 ---- a/cmake/configure/TestBoostBug/text_archive.hpp -+++ /dev/null -@@ -1,13 +0,0 @@ --// (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com . --// Use, modification and distribution is subject to the Boost Software --// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at --// http://www.boost.org/LICENSE_1_0.txt) -- --// See http://www.boost.org for updates, documentation, and revision history. --// text_archive --#include <boost/archive/text_oarchive.hpp> --typedef boost::archive::text_oarchive test_oarchive; --typedef std::ofstream test_ostream; --#include <boost/archive/text_iarchive.hpp> --typedef boost::archive::text_iarchive test_iarchive; --typedef std::ifstream test_istream; --- -2.52.0 - diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml deleted file mode 100644 index 2e7f1680ad67..000000000000 --- a/sci-libs/dealii/metadata.xml +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - deal.II is a C++ program library targeted at the computational solution - of partial differential equations using adaptive finite elements. It uses - state-of-the-art programming techniques to offer you a modern interface - to the complex data structures and algorithms required. - </longdescription> - <use> - <flag name="adolc">Adds support for ADOL-C (<pkg>sci-libs/adolc</pkg>)</flag> - <flag name="arborx">Adds support for ARBORX (<pkg>sci-libs/arborx</pkg>)</flag> - <flag name="arpack">Adds support for ARPACK (<pkg>sci-libs/arpack</pkg>)</flag> - <flag name="cgal">Adds support for CGAL (<pkg>sci-mathematics/cgal</pkg>)</flag> - <flag name="gmsh">Add support for gmsh (<pkg>sci-libs/gmsh</pkg>)</flag> - <flag name="int64">Use 64 bit indexes</flag> - <flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag> - <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag> - <flag name="muparser">Add support for muparser (<pkg>dev-cpp/muParser</pkg>)</flag> - <flag name="opencascade">Add support for opencascade (<pkg>sci-libs/opencascade</pkg>)</flag> - <flag name="p4est">Add support for p4est (<pkg>sci-libs/p4est</pkg>)</flag> - <flag name="petsc">Add support for petsc (<pkg>sci-mathematics/petsc</pkg>)</flag> - <flag name="scalapack">Add support for ScaLAPACK (<pkg>sci-libs/scalapack</pkg>)</flag> - <flag name="slepc">Add support for slepc (<pkg>sci-mathematics/slepc</pkg>)</flag> - <flag name="sparse">Add support for suitesparse (<pkg>sci-libs/suitesparse</pkg>)</flag> - <flag name="symengine">Add support for symengine (<pkg>sci-libs/symengine</pkg>)</flag> - <flag name="trilinos">Add support for trilinos (<pkg>sci-libs/trilinos</pkg>)</flag> - <flag name="assimp">Add support for assimp (<pkg>media-libs/assimp</pkg>)</flag> - <flag name="ginkgo">Add support for ginkgo (<pkg>sci-libs/ginkgo</pkg>)</flag> - <flag name="sundials">Add support for sundials (<pkg>sci-libs/sundials</pkg>)</flag> - <flag name="vtk">Add support for VTK (<pkg>sci-libs/vtk</pkg>)</flag> - </use> - <upstream> - <remote-id type="github">dealii/dealii</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/dlib/Manifest b/sci-libs/dlib/Manifest deleted file mode 100644 index 973ed155e611..000000000000 --- a/sci-libs/dlib/Manifest +++ /dev/null @@ -1,18 +0,0 @@ -DIST dlib-19.24.2.tar.gz 22252165 BLAKE2B cd6a911e16d9ff6cf94a4334e84983a9c48da42e3f696de20fb28a5bba9720507ec19ddc984bb753288f86359a1c19cdf15ed29f18c43769a1c17d3177d8dedf SHA512 a38a3079c169b16d81d7aca9fc294bcd63bd2dc1a21573f9141ca310542da3629b6523fa6f348be8b41bf5b478c0846a13a4c3fee77f1ac38dfbfc4a01effb57 -DIST dlib-19.24.8.tar.gz 18965261 BLAKE2B 3dbcfcd4d1a98737a21f3618994a96b3932cfc3c12ef26411ef919d8843227418460208911aa687d5a94552588e8e1eb4c99646afc86f4b43afc6972d22c65b8 SHA512 9092768628246b682e29322b101cfb8c0cd1d5a2af850510403cc7f912aa43370db1d4b5b07ff6ce6a575b3bd8cfe666b6b8f78f5e7c2ec751ae23569edcb517 -DIST dlib-20.0-FindCUDAToolkit.patch 30558 BLAKE2B 95f969cea3e2d0944dab13a6dc7bb3ca741b6d3b36786e7b1a26b17c9e8be391f7787c4362e3714f75a05963cf080e8f88cf739e6fe6d29af111284927dcb6c3 SHA512 d38136f19f7501891bd27a85358a218a74cf4f86b5c5b5f0bd51ec9bd6a9e41edc891332ba48315c56cec32a27adfc275ce90a4d5409174556f8e79b9d442657 -DIST dlib-20.0-Wcast-user-defined.patch 1453 BLAKE2B 39d3592f961ef518eb12523afd8b62650b6509f8ff47a56777e7f253ac8649be446e5e98152e34f7bde665445d93ff72a31caeba87d7ddd1e4ceea7281d2b8db SHA512 42826df16472b482e30ca1dfc8ca5bfcf525fbe83bc51fc551c27e3519772e351fcf1d0c7bb9c0f6e6aa118a8e982db266c6e43b1b392bec2b91353867d073e8 -DIST dlib-20.0-c++23-update.patch 1347 BLAKE2B 371130b1292bab2f19692dd308778e1d9f8ed7d0c0793536131ef93b21838769eaa8ecb9868103332b838584bfe78d625cfd7e90f70f4018b4945403b646a634 SHA512 0aef41f78d0dc3d2187a28247ad52ccfad527c46311770555b5aa5798f891cf91e3a0e5014430e93c7843757d2543ba316991dbcd89650222dbe2c04d757b800 -DIST dlib-20.0-docs-c++14.patch 1642 BLAKE2B 0853a6c64594b0ab0fed7740b5239d508e66e77a81e23873760d37516215819b21e25a14b0059c2c484d0d231ac87399f8b41ebd940fb4ae22ff9c6ce99e6f25 SHA512 5559888e3f22208b40a7108099a091a5341dac89801c685f597c694ba87014b460665d530ab451e87ff8d57748fd2623b54153193cea196d5090e0463cc2f045 -DIST dlib-20.0-enable-FFMpeg-7.1-API.patch 11425 BLAKE2B bbbae86e8332eb2226afdef86ee805b35ed559616b4bfdd4c9ab027ccc65abd27ce309ba5a5642b96dded08cac04472418ea32671b3408e6af239da785c37b77 SHA512 33581ada32697bdde461ea9957679347eacb1da83aa81fa1b0046cd98dd469fc745d4aca5d92363af7201dd59321e105596f243502ae99a1a3f21a02b41b774b -DIST dlib-20.0-fix-YOLO-loss-gradient.patch 2357 BLAKE2B b050eaec89e188580b9dede043735931d53c8ef610662206d1e76217751d526743d9ff19c436e109a56733bac91af15f77299299a4887485a117cf68468afe2d SHA512 83fcfd2de0de6a411a112955a6736ecba47f9a43c8224b92418c923a7ddac9c80867c9eb10c3653454d2e3f01e6aa88578d8af9cd1bccf480d54ca1cef12820c -DIST dlib-20.0-large-image-load.patch 7409 BLAKE2B c8eb5898efb8cf3090925a6d1b068b43cc6459e5c0555de8c9a2020f7b249b9fda94cd959c88f9d284ea1d7bea63520487a9c777528258c956b2a66982e8c38e SHA512 5b9ef720609f8ef716e0a67ca6e940b34d8e43c3cf9f54d4a7021e284399f2e270291fefbb34fe5a869123bba9fa5ade0f5421e9a7ed960b990fe498333b70fb -DIST dlib-20.0-matlab-ut-library.patch 1502 BLAKE2B a1b1f9718dd597ec2d20334e62e89066a79e6dc5c6f3746c96bd62f5c544b4b644f2ab855850015dc57a1cc4f136bbcce977b9fd08998811f3ff8e9e008136aa SHA512 6ceb084356d33b1e223176429813cfa6059fa9614babbbec9961cf1d4f6fbce6d24f6ccfd6ee70b8cbd4bc61aa13868f1b4409a74f5f9716ae19f6a1c05cefdd -DIST dlib-20.0-newer-python-tools.patch 4205 BLAKE2B 6f1c224a981c96eba483f996aff2be695d1ac64e3d8c4fe66f4a54a68fcecb833a2b3498b18316f1968ab83e2a7e5653cbb32ec4a6ceee8e02af2e24b638f55e SHA512 2250afd238d3fbb8eda17cfe5083aaae50e87c9e6ea57c2d9ba699b5ad44d87b6dbd99b411fa521dc7cf904748fb0808fdbd863d3e323f7af5a2bb1bc81298c0 -DIST dlib-20.0-pessimizing-move.patch 1260 BLAKE2B b721fca7d6fb6e9061696bada44ffbc386b1d046e21c4f0600f4938137cf4b57a4a1053bb7bfdbf2b5da6ad7e94389eac34c9fd7b8327921b5c51940243473f9 SHA512 eb2512a4c4d16d0658ca41e1df3c0789e2942fc87ee3b465d395fd966f06a77f8f9e0a29f0a05a54d50e6f09d692846482d898536a3373efebcd5bb076ca220a -DIST dlib-20.0-python-3.14-numpy-fix.patch 1878 BLAKE2B 8f2af074e8e8d011757d860419b8b1096879dd54f54acaff97b6943916a38d12bb5a9b5cacc44bf00ca41122dfd221d45a7e316ae2aac37c734112d0f1ae50cb SHA512 61c9fb7a5d3ed8653fa73b1acc870199b8de78de81ceaa9183545d15a35a5bbfc11c63561d0736e87d913ba5db1da08a7a056828061069e2d75eba1d6a387b65 -DIST dlib-20.0-regular-tools.patch 2940 BLAKE2B 85ee948f2cc43fda317eb00e2e10864af25fb9c6e29b7b4dcafa274d6dd19c9237dfa7991bef62a01828afd769b1f40309c02965e12e542ecde4b0610a67a7bb SHA512 389e9737c1e2df46c010359e40e2b80f62b57cbfcbe63d4b2fdf3991742d4339e30b8e49b7072da94fe4499e739dc4fc038c398579c5a8b63c5fc5770d62a032 -DIST dlib-20.0-test_loss_multibinary_log.patch 2930 BLAKE2B 4eb0b4d9b761f9700377f3a01036b1a9e77791f756cc9c6d8666a00f8891a2c346838239aaf6405b9cc4c3a036a4de529865b173f784842484482513325eeb4c SHA512 bf209df424a2aad3693763c73711619b1859e07bfab5b87f1a4f13a1a85a7244f3b57505d289ae260545caab5075dbfb17794807cf9720498c6677488c74c6ba -DIST dlib-20.0-throw-noexcept.patch 7265 BLAKE2B 590ed261b32723255b00659afaeb653d55aa6c17cecf9fa8be5e6f9767e0ea92978e019c58afdc57dcf86922f728b892ce7bbc369c322e8a0b3c31c9fdc77152 SHA512 4f55b84eb2cd4e0fd3a941218bdaa1a6ad22c867838d04513aed177e88cb52747218525c98c1f2ef4d034e88f58fc0ee8b48bb6fa6945d531209ddd854d7b8fa -DIST dlib-20.0-unicode.patch 2556 BLAKE2B fd8513a216c3ce74bcfdaad7f5b1e1cc18be9958edd0aa013e8e52c5a9065d4a310b4f0036a0f25bef384cb43e65cac5e83281ba1addd44531e1a8917c5e7d2b SHA512 2d17ad8161ae9a900bea3c0489481cdd1d43ddcb026c81013416d3ab2c0d73c32cb02c0e0c8429ad573075841605018b7864b10f39602841a1abb06faf0beb3f -DIST dlib-20.0.tar.gz 18977636 BLAKE2B 2621d5331e3fb2b6573abb0bfbb0529c6f36434ea99ffe677a38cb3838976edce79c3d9dd0516bdc60251650e54807cbef7cab467453622d257893c57d3d55bb SHA512 a4bcb2d013bd2b0000530d684c9c4b9f047f9fa6216174b3cb26d96f66c4a302d0bd1733d0ba35626d57133d9159f90114ab51a3af8fb9c493ff3e74dcc73911 diff --git a/sci-libs/dlib/dlib-19.24.2.ebuild b/sci-libs/dlib/dlib-19.24.2.ebuild deleted file mode 100644 index ee8ce0cdb701..000000000000 --- a/sci-libs/dlib/dlib-19.24.2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -inherit cmake cuda distutils-r1 - -DESCRIPTION="Numerical and networking C++ library" -HOMEPAGE="http://dlib.net/" -SRC_URI="https://github.com/davisking/dlib/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Boost-1.0" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="cblas cuda debug examples gif jpeg lapack mkl png python sqlite test X cpu_flags_x86_avx cpu_flags_x86_sse2 cpu_flags_x86_sse4_1" -REQUIRED_USE="python? ( png ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -# doc needs a bunch of deps not in portage -RDEPEND=" - cblas? ( virtual/cblas ) - cuda? ( dev-libs/cudnn:= ) - gif? ( media-libs/giflib:= ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - lapack? ( virtual/lapack ) - mkl? ( sci-libs/mkl ) - png? ( media-libs/libpng:0= ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND}" -BDEPEND=" - python? ( - ${DISTUTILS_DEPS} - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( docs/README.txt ) - -PATCHES=( - # Bug 939094 - "${FILESDIR}/${PN}-missing-include.patch" -) - -src_prepare() { - use cuda && cuda_src_prepare - cmake_src_prepare - use python && distutils-r1_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DDLIB_ENABLE_ASSERTS=$(usex debug) - -DDLIB_ENABLE_STACK_TRACE=$(usex debug) - -DDLIB_GIF_SUPPORT=$(usex gif) - -DDLIB_JPEG_SUPPORT=$(usex jpeg) - -DDLIB_PNG_SUPPORT=$(usex png) - -DDLIB_LINK_WITH_SQLITE3=$(usex sqlite) - -DDLIB_NO_GUI_SUPPORT=$(usex X OFF ON) - -DDLIB_USE_BLAS=$(usex cblas) - -DDLIB_USE_CUDA=$(usex cuda) - -DDLIB_USE_LAPACK=$(usex lapack) - -DUSE_AVX_INSTRUCTIONS=$(usex cpu_flags_x86_avx) - -DUSE_SSE2_INSTRUCTIONS=$(usex cpu_flags_x86_sse2) - -DUSE_SSE4_INSTRUCTIONS=$(usex cpu_flags_x86_sse4_1) - ) - cmake_src_configure - use python && distutils-r1_src_configure -} - -src_compile() { - cmake_src_compile - use python && distutils-r1_src_compile -} - -src_test() { - ( - local BUILD_DIR="${BUILD_DIR}"/dlib/test - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" >/dev/null || die - - local CMAKE_USE_DIR="${S}"/dlib/test - cmake_src_configure - cmake_build - - ./dtest --runall || die "Tests failed" - ) - - use python && distutils-r1_src_test -} - -python_test() { - epytest -} - -src_install() { - cmake_src_install - use python && distutils-r1_src_install - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} diff --git a/sci-libs/dlib/dlib-19.24.8.ebuild b/sci-libs/dlib/dlib-19.24.8.ebuild deleted file mode 100644 index 9f6b28548ce5..000000000000 --- a/sci-libs/dlib/dlib-19.24.8.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -inherit cmake cuda distutils-r1 - -DESCRIPTION="Numerical and networking C++ library" -HOMEPAGE="https://dlib.net/" -SRC_URI="https://github.com/davisking/dlib/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Boost-1.0" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="cblas cuda debug examples ffmpeg gif jpeg lapack mkl png python sqlite test webp X cpu_flags_x86_avx cpu_flags_x86_sse2 cpu_flags_x86_sse4_1" -REQUIRED_USE="python? ( png ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -# doc needs a bunch of deps not in portage -RDEPEND=" - cblas? ( virtual/cblas ) - cuda? ( dev-libs/cudnn:= ) - ffmpeg? ( media-video/ffmpeg:=[X?] ) - gif? ( media-libs/giflib:= ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - lapack? ( virtual/lapack ) - mkl? ( sci-libs/mkl ) - png? ( media-libs/libpng:0= ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 ) - webp? ( media-libs/libwebp:= ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND}" -BDEPEND=" - python? ( - ${DISTUTILS_DEPS} - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( docs/README.txt ) - -PATCHES=( - "${FILESDIR}/${P}"-disable-upstream-flags.patch -) - -src_prepare() { - use cuda && cuda_src_prepare - cmake_src_prepare - use python && distutils-r1_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DDLIB_ENABLE_ASSERTS=$(usex debug) - -DDLIB_ENABLE_STACK_TRACE=$(usex debug) - -DDLIB_USE_FFMPEG=$(usex ffmpeg) - -DDLIB_GIF_SUPPORT=$(usex gif) - -DDLIB_JPEG_SUPPORT=$(usex jpeg) - -DDLIB_PNG_SUPPORT=$(usex png) - -DDLIB_LINK_WITH_SQLITE3=$(usex sqlite) - -DDLIB_NO_GUI_SUPPORT=$(usex X OFF ON) - -DDLIB_USE_BLAS=$(usex cblas) - -DDLIB_USE_CUDA=$(usex cuda) - -DDLIB_USE_LAPACK=$(usex lapack) - -DDLIB_WEBP_SUPPORT=$(usex webp) - -DUSE_AVX_INSTRUCTIONS=$(usex cpu_flags_x86_avx) - -DUSE_SSE2_INSTRUCTIONS=$(usex cpu_flags_x86_sse2) - -DUSE_SSE4_INSTRUCTIONS=$(usex cpu_flags_x86_sse4_1) - ) - cmake_src_configure - use python && distutils-r1_src_configure -} - -src_compile() { - cmake_src_compile - use python && distutils-r1_src_compile -} - -src_test() { - ( - local BUILD_DIR="${BUILD_DIR}"/dlib/test - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" >/dev/null || die - - local CMAKE_USE_DIR="${S}"/dlib/test - cmake_src_configure - cmake_build - - ./dtest --runall || die "Tests failed" - ) - - use python && distutils-r1_src_test -} - -python_test() { - epytest -} - -src_install() { - cmake_src_install - use python && distutils-r1_src_install - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} diff --git a/sci-libs/dlib/dlib-20.0.ebuild b/sci-libs/dlib/dlib-20.0.ebuild deleted file mode 100644 index fb018f3a4ff2..000000000000 --- a/sci-libs/dlib/dlib-20.0.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -inherit cmake cuda distutils-r1 - -DESCRIPTION="Numerical and networking C++ library" -HOMEPAGE="https://dlib.net/" -SRC_URI=" - https://github.com/davisking/dlib/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/davisking/dlib/commit/e529d2a1f11ff9dac86251e21a0c90d4a58721e0.patch - -> ${P}-docs-c++14.patch - https://github.com/davisking/dlib/commit/a078e810f7e653daa4172b2ed19d8f0e22e26b6f.patch - -> ${P}-pessimizing-move.patch - https://github.com/davisking/dlib/commit/79e2d1373add8d9e265d6a16c4952f5273600e97.patch - -> ${P}-fix-YOLO-loss-gradient.patch - https://github.com/davisking/dlib/commit/d0f41798be7a64cb15f94611d960475cf3097b0c.patch - -> ${P}-matlab-ut-library.patch - https://github.com/davisking/dlib/commit/3cb1f350021b5d64771d05678672e887000062ce.patch - -> ${P}-large-image-load.patch - https://github.com/davisking/dlib/commit/131e46e4c5fb75a89a3c6ad89f6dccc7ed38473c.patch - -> ${P}-throw-noexcept.patch - https://github.com/davisking/dlib/commit/043bed89bd5e922446b0705e5c42ece51940b075.patch - -> ${P}-python-3.14-numpy-fix.patch - https://github.com/davisking/dlib/commit/e93a0ef1d81b3747b84d89f65bdd52974cac71b9.patch - -> ${P}-c++23-update.patch - https://github.com/davisking/dlib/commit/56b806d1d389ea016c845a4da546ab082c4ff7a0.patch - -> ${P}-regular-tools.patch - https://github.com/davisking/dlib/commit/4cf8f5759fe715b0defb0ba998ac1c354b814cca.patch - -> ${P}-newer-python-tools.patch - https://github.com/davisking/dlib/commit/fb0865ba8c7f04ee1f8fea3fe3d04870bda3ea08.patch - -> ${P}-Wcast-user-defined.patch - https://github.com/davisking/dlib/commit/0d2153abd0da7f9bba8104ba8c732a985d821461.patch - -> ${P}-enable-FFMpeg-7.1-API.patch - https://github.com/davisking/dlib/commit/ffe78814638d100cbd12e116990afb1903b82b5e.patch - -> ${P}-unicode.patch - https://github.com/davisking/dlib/commit/5ce4891406d32d8b49ee44253bd1bd1f1ca34c54.patch - -> ${P}-FindCUDAToolkit.patch - https://github.com/davisking/dlib/commit/35a8e1fa3fa1bd1689119f437bd2e3a27d548332.patch - -> ${P}-test_loss_multibinary_log.patch - " - -LICENSE="Boost-1.0" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="cblas cuda debug examples ffmpeg gif jpeg lapack mkl png python sqlite test webp X cpu_flags_x86_avx cpu_flags_x86_sse2 cpu_flags_x86_sse4_1" -REQUIRED_USE="python? ( png ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -# doc needs a bunch of deps not in portage -RDEPEND=" - cblas? ( virtual/cblas ) - cuda? ( dev-libs/cudnn:= ) - ffmpeg? ( media-video/ffmpeg:=[X?] ) - gif? ( media-libs/giflib:= ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - lapack? ( virtual/lapack ) - mkl? ( sci-libs/mkl ) - png? ( media-libs/libpng:0= ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 ) - webp? ( media-libs/libwebp:= ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND}" -BDEPEND=" - python? ( - ${DISTUTILS_DEPS} - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( docs/README.txt ) - -PATCHES=( - # Do not treat warnings as errors - "${FILESDIR}/${PN}-19.24.8-disable-upstream-flags.patch" - - # Docs: dlib requires c++14 (#3079) - "${DISTDIR}/${P}-docs-c++14.patch" - - # Remove std::move where clang warns of pessimizing- - # move (#3080) - "${DISTDIR}/${P}-pessimizing-move.patch" - - # Fix: Correct YOLO loss gradient for x,y coordinates (#3088) - "${DISTDIR}/${P}-fix-YOLO-loss-gradient.patch" - - # Fix the miss of including matlab ut library (#3089) - "${DISTDIR}/${P}-matlab-ut-library.patch" - - # Fix large images (40792x20480 RGBA PNG for ex.) - # read (#3091) - "${DISTDIR}/${P}-large-image-load.patch" - - # throw() -> noexcept (#3092) - "${DISTDIR}/${P}-throw-noexcept.patch" - - # Account for change in ref count in Python 3.14+ (#3098) - "${DISTDIR}/${P}-python-3.14-numpy-fix.patch" - - # std::aligned_storage_t is deprecated in c++23 (#3100) - "${DISTDIR}/${P}-c++23-update.patch" - - # Fix up build errors with the regular makefile - # and non-cmake builds - "${DISTDIR}/${P}-regular-tools.patch" - - # Update python packaging to work with newer - # toolchains (#3102) - "${DISTDIR}/${P}-newer-python-tools.patch" - - # Fix -Wcast-user-defined (#3103) - "${DISTDIR}/${P}-Wcast-user-defined.patch" - - # FFMpeg 7.1 API (#3105) - "${DISTDIR}/${P}-enable-FFMpeg-7.1-API.patch" - - # Fixed warning in convert_mbstring_to_wstring() (#3110) - "${DISTDIR}/${P}-unicode.patch" - - # Replace FindCUDA with FindCUDAToolkit (fix #2833) (#3090) - "${DISTDIR}/${P}-FindCUDAToolkit.patch" - - # Improve the somewhat flaky test_loss_multibinary_log - # by avoiding samples very close to class boundaries (#3112) - "${DISTDIR}/${P}-test_loss_multibinary_log.patch" -) - -src_prepare() { - # CUDA - use cuda && cuda_src_prepare - - # CMake - cmake_src_prepare - - # Python - use python && distutils-r1_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DDLIB_ENABLE_ASSERTS=$(usex debug) - -DDLIB_ENABLE_STACK_TRACE=$(usex debug) - -DDLIB_USE_FFMPEG=$(usex ffmpeg) - -DDLIB_GIF_SUPPORT=$(usex gif) - -DDLIB_JPEG_SUPPORT=$(usex jpeg) - -DDLIB_PNG_SUPPORT=$(usex png) - -DDLIB_LINK_WITH_SQLITE3=$(usex sqlite) - -DDLIB_NO_GUI_SUPPORT=$(usex X OFF ON) - -DDLIB_USE_BLAS=$(usex cblas) - -DDLIB_USE_CUDA=$(usex cuda) - -DDLIB_USE_LAPACK=$(usex lapack) - -DDLIB_WEBP_SUPPORT=$(usex webp) - -DUSE_AVX_INSTRUCTIONS=$(usex cpu_flags_x86_avx) - -DUSE_SSE2_INSTRUCTIONS=$(usex cpu_flags_x86_sse2) - -DUSE_SSE4_INSTRUCTIONS=$(usex cpu_flags_x86_sse4_1) - ) - cmake_src_configure - use python && distutils-r1_src_configure -} - -src_compile() { - cmake_src_compile - use python && distutils-r1_src_compile -} - -src_test() { - ( - local BUILD_DIR="${BUILD_DIR}"/dlib/test - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" >/dev/null || die - - local CMAKE_USE_DIR="${S}"/dlib/test - cmake_src_configure - cmake_build - - ./dtest --runall || die "Tests failed" - ) - - use python && distutils-r1_src_test -} - -python_test() { - epytest -} - -src_install() { - cmake_src_install - use python && distutils-r1_src_install - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} diff --git a/sci-libs/dlib/files/dlib-19.24.8-disable-upstream-flags.patch b/sci-libs/dlib/files/dlib-19.24.8-disable-upstream-flags.patch deleted file mode 100644 index 39befb2a38ba..000000000000 --- a/sci-libs/dlib/files/dlib-19.24.8-disable-upstream-flags.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff --git a/dlib/test/CMakeLists.txt b/dlib/test/CMakeLists.txt -index 330ac241..3d0df673 100644 ---- a/dlib/test/CMakeLists.txt -+++ b/dlib/test/CMakeLists.txt -@@ -168,58 +168,6 @@ add_executable(${target_name} main.cpp tester.cpp - get_filename_component(DLIB_FFMPEG_DATA ${CMAKE_SOURCE_DIR}/ffmpeg_data/details.cfg REALPATH) - target_compile_definitions(${target_name} PRIVATE DLIB_FFMPEG_DATA="${DLIB_FFMPEG_DATA}") - --if (CMAKE_COMPILER_IS_GNUCXX) -- # Turn on all warnings, and treat them as errors. -- add_compile_options(-W -Wall -Wextra -Wpedantic -Werror) -- add_compile_options(-fdiagnostics-color=always) -- # I don't care about unused testing functions though. I like to keep them -- # around. Don't warn about it. -- add_compile_options(-Wno-unused-function) -- add_compile_options(-Wno-strict-overflow) -- add_compile_options(-Wno-maybe-uninitialized) -- -- if ((CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 11.3.0 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 11.4.0) OR -- (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 14.0.0 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 14.0.1)) -- # These versions of gcc wrongly yield this warning: -- # dlib::row_major_layout::layout<double, 0, 2, dlib::memory_manager_stateless_kernel_1<char> >::data’ with nonzero offset 8 [-Werror=free-nonheap-object] -- # 61 | delete [] item; -- # Which by inspection of the dlib::row_major_layout::layout class you can see is clearly incorrect, as `data` is most -- # definitely heap allocated. -- add_compile_options(-Wno-free-nonheap-object) -- endif() -- -- if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 14.0.0 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 14.0.1) -- # These versions of gcc wrongly yield this warning: -- # In member function ‘allocate_array’, -- # inlined from ‘set_max_size’ at /builddir/build/BUILD/dlib-19.24.4/dlib/../dlib/svm/../matrix/../array/array_kernel.h:438:59, -- # inlined from ‘push_back.constprop’ at /builddir/build/BUILD/dlib-19.24.4/dlib/../dlib/svm/../matrix/../array/array_kernel.h:769:30: -- # /builddir/build/BUILD/dlib-19.24.4/dlib/../dlib/svm/../memory_manager_stateless/memory_manager_stateless_kernel_1.h:54:24: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] -- # 54 | return new T[size]; -- # when compiling dlib example programs that most definitely do not ask for such allocations. -- add_compile_options(-Wno-alloc-size-larger-than) -- endif() -- -- if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.13.0") -- # strip debug symbols to make the binary smaller -- target_link_options(${target_name} PRIVATE $<$<CONFIG:RELEASE>:-s>) -- endif() -- --elseif (MSVC) -- # Treat warnings as errors. -- add_compile_options(/WX) --else() # basically Clang -- # Treat warnings as errors, but do not turn on all warnings. -- add_compile_options(-W -Werror) -- # This is for the comment in face_detection_ex.cpp that says "faces/*.jpg" -- add_compile_options(-Wno-comment) -- -- if(${CMAKE_VERSION} VERSION_GREATER "3.8.0") -- # strip debug symbols to make the binary smaller -- target_link_options(${target_name} PRIVATE $<$<CONFIG:RELEASE>:-s>) -- endif() --endif() -- -- - target_link_libraries(${target_name} dlib::dlib ) - - diff --git a/sci-libs/dlib/files/dlib-missing-include.patch b/sci-libs/dlib/files/dlib-missing-include.patch deleted file mode 100644 index 41b556d09d48..000000000000 --- a/sci-libs/dlib/files/dlib-missing-include.patch +++ /dev/null @@ -1,22 +0,0 @@ -From dab9aa1fa5ae245c2f8becf1396205f7655b1c01 Mon Sep 17 00:00:00 2001 -From: pfeatherstone <45853521+pfeatherstone@users.noreply.github.com> -Date: Thu, 18 May 2023 13:03:15 +0100 -Subject: [PATCH] missing include (#2798) - -Co-authored-by: pf <pf@me> ---- - dlib/type_traits.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/dlib/type_traits.h b/dlib/type_traits.h -index 8391050699..a5bb863278 100644 ---- a/dlib/type_traits.h -+++ b/dlib/type_traits.h -@@ -10,6 +10,7 @@ - */ - - #include <type_traits> -+#include <cstdint> - - namespace dlib - { diff --git a/sci-libs/dlib/metadata.xml b/sci-libs/dlib/metadata.xml deleted file mode 100644 index 8acdef00ba04..000000000000 --- a/sci-libs/dlib/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - dlib is a C++ library for developing portable applications dealing with - networking, threads, graphical interfaces, data structures, linear - algebra, machine learning, XML and text parsing, numerical - optimization, Bayesian nets, and numerous other tasks. - </longdescription> - <use> - <flag name="cblas">Build with CBLAS <pkg>virtual/cblas</pkg></flag> - <flag name="cuda">Enable support for CUDA for Deep Neural Networks (cuDNN) on GPU (experimental)</flag> - <flag name="mkl">Enable support for Intel FFT <pkg>sci-libs/mkl</pkg></flag> - <flag name="python">Enable support for Python API bindings</flag> - </use> - <upstream> - <remote-id type="github">davisking/dlib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/dlpack/Manifest b/sci-libs/dlpack/Manifest deleted file mode 100644 index 8693e888b5dd..000000000000 --- a/sci-libs/dlpack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dlpack-1.3.tar.gz 220016 BLAKE2B 3c0152ed5a4a16bab345c5b5dc121215d4c2b8a72ea13a8be4090a3e1f26db46c0d8891c3299ff54ad4e6a79810c36b0a992239f44675349f956e71994f4a90c SHA512 e1945d863bf22f162b915f18482bddabec7665a3c9ca7b2554a32622d6dff15908eb15761b21838ecac7db75cfd9cd835cead1c2d4b005dca2a40e71e2889d3a diff --git a/sci-libs/dlpack/dlpack-1.3.ebuild b/sci-libs/dlpack/dlpack-1.3.ebuild deleted file mode 100644 index cb9dd0b68ff5..000000000000 --- a/sci-libs/dlpack/dlpack-1.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Common in-memory tensor structure" -HOMEPAGE="https://github.com/dmlc/dlpack" -SRC_URI="https://github.com/dmlc/dlpack/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( - app-text/doxygen - dev-python/breathe - dev-python/pydata-sphinx-theme - dev-python/sphinx -)" - -PATCHES=( - "${FILESDIR}/${PN}-1.1-dont-turn-warnings-into-errors-when-building-docs.patch" -) - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCS=$(usex doc) - -DBUILD_MOCK=$(usex test) - ) - - cmake_src_configure -} diff --git a/sci-libs/dlpack/files/dlpack-1.1-dont-turn-warnings-into-errors-when-building-docs.patch b/sci-libs/dlpack/files/dlpack-1.1-dont-turn-warnings-into-errors-when-building-docs.patch deleted file mode 100644 index 61f80f81c1dc..000000000000 --- a/sci-libs/dlpack/files/dlpack-1.1-dont-turn-warnings-into-errors-when-building-docs.patch +++ /dev/null @@ -1,16 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Don't turn warnings into errors when building docs. - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/docs/CMakeLists.txt -+++ b/docs/CMakeLists.txt -@@ -29,7 +29,7 @@ set(doxygen_xml_builddir ${doxygen_output_dir}/xml) - add_custom_target(Sphinx ALL - COMMAND ${SPHINX_EXECUTABLE} -b html - -Dbreathe_projects.dlpack=${doxygen_xml_builddir} -- ${sphinx_source} ${sphinx_build} -WT --keep-going -+ ${sphinx_source} ${sphinx_build} -T --keep-going - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMENT "Generating documentation with Sphinx" - VERBATIM) diff --git a/sci-libs/dlpack/metadata.xml b/sci-libs/dlpack/metadata.xml deleted file mode 100644 index 6872f976b4e5..000000000000 --- a/sci-libs/dlpack/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@paveloom.dev</email> - <name>Pavel Sobolev</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/dmlc/dlpack/issues</bugs-to> - <remote-id type="github">dmlc/dlpack</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/dmlc-core/Manifest b/sci-libs/dmlc-core/Manifest deleted file mode 100644 index 6eff176be348..000000000000 --- a/sci-libs/dmlc-core/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST dmlc-core-0.5.tar.gz 256340 BLAKE2B 1a2fd548c704e89adbba397b9f4306ad9439b969755bfd4fa24aad2e58855882dbe69b9c0550b830f8a81dfa41139e22c7ceed0ed707608e31fea1868b707ad4 SHA512 e8292bf71f9d7e31f17add69c984473f8f4d51768c5ac1451dceb9ff3c3e607dd85eea7fb3999f00cf34e962c5956ef1426713b7d8baa5fdbc3aa88e58bed66d -DIST dmlc-core-0_p20170719.tar.gz 160242 BLAKE2B 2752968c831b5468cb926fbd2783098d1d66f5dd7f06b1abf138e165c637a3c16d477b04b709a05826528ee8e35ed61b563bdaae958fb91c78591dd57761a5f4 SHA512 2e2d79800839652772f07deb5ea3aa470cc5a18d2d0e480b8f4a1598aca72443546a438f3309708268cc49cf2d65684c3366cfc6c33c085baf1b804b4c04f02e diff --git a/sci-libs/dmlc-core/dmlc-core-0.5.ebuild b/sci-libs/dmlc-core/dmlc-core-0.5.ebuild deleted file mode 100644 index 66f2bfd6dc1c..000000000000 --- a/sci-libs/dmlc-core/dmlc-core-0.5.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Common bricks library for building distributed machine learning" -HOMEPAGE="https://github.com/dmlc/dmlc-core" - -if [[ ${PV} == *9999* ]] ; then - EGIT_REPO_URI="https://github.com/dmlc/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/dmlc/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" - -# hdfs needs big java hdfs not yet in portage -# azure not yet in portage -IUSE="cpu_flags_x86_sse2 doc openmp s3 test" -RESTRICT="!test? ( test )" - -RDEPEND="s3? ( net-misc/curl[ssl] )" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( app-text/doxygen[dot] ) - test? ( dev-cpp/gtest )" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - cmake_src_prepare - - sed -e '/-O3/d' -e '/check_cxx_compiler_flag("-msse2"/d' \ - -e '/check_cxx.*SSE2/d' \ - -i CMakeLists.txt || die - - # All these hacks below to allow testing - sed -e 's|-O3||' -e 's|-std=c++11|-std=c++14|' \ - -e "s|-lm|-lm -L\"${BUILD_DIR}\" -ldmlc|g" \ - -i Makefile || die - sed -e "s|libdmlc.a||g" \ - -e "/^GTEST_LIB=/s|=.*|=/usr/$(get_libdir)|" \ - -e "/^GTEST_INC=/s|=.*|=/usr/include|" \ - -i test/dmlc_test.mk test/unittest/dmlc_unittest.mk || die - # Don't ever download gtest - sed -e 's/^if (NOT GTEST_FOUND)$/if (FALSE)/' \ - -i test/unittest/CMakeLists.txt || die - cat <<-EOF > config.mk - USE_SSE=$(usex cpu_flags_x86_sse2 1 0) - WITH_FPIC=1 - USE_OPENMP=$(usex openmp 1 0) - USE_S3=$(usex s3 1 0) - BUILD_TEST=$(usex test 1 0) - DMLC_CFLAGS=${CXXFLAGS} - DMLC_LDFLAGS=${LDFLAGS} - EOF -} - -src_configure() { - local mycmakeargs=( - -DGOOGLE_TEST=$(usex test) - -DSUPPORT_MSSE2=$(usex cpu_flags_x86_sse2) - -DUSE_CXX14_IF_AVAILABLE=YES # Newer gtest needs C++14 or later - -DUSE_S3=$(usex s3) - -DUSE_OPENMP=$(usex openmp) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && emake doxygen - use test && emake test -} - -src_test() { - DMLC_UNIT_TEST_LITTLE_ENDIAN=$([[ $(tc-endian) == little ]] && echo 1 || echo 0) \ - LD_LIBRARY_PATH="${BUILD_DIR}" \ - test/unittest/dmlc_unittest || die - - cmake_src_test -} - -src_install() { - cmake_src_install - - if use doc; then - dodoc -r doc/doxygen/html - docompress -x /usr/share/doc/${PF}/html - fi -} diff --git a/sci-libs/dmlc-core/dmlc-core-0_p20170719-r1.ebuild b/sci-libs/dmlc-core/dmlc-core-0_p20170719-r1.ebuild deleted file mode 100644 index 4c3199548d23..000000000000 --- a/sci-libs/dmlc-core/dmlc-core-0_p20170719-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Common bricks library for building distributed machine learning" -HOMEPAGE="https://github.com/dmlc/dmlc-core" - -if [[ ${PV} == *9999* ]] ; then - EGIT_REPO_URI="https://github.com/dmlc/${PN}.git" - inherit git-r3 -else - MY_COMMIT="54db57d5d1b2a7b93319053011802888b827a539" - inherit vcs-snapshot - SRC_URI="https://github.com/dmlc/dmlc-core/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" - - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" - -# hdfs needs big java hdfs not yet in portage -# azure not yet in portage -IUSE="doc openmp s3 test" -RESTRICT="!test? ( test )" - -RDEPEND="net-misc/curl[ssl]" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest )" -BDEPEND="doc? ( - app-text/doxygen - dev-texlive/texlive-fontutils - )" - -PATCHES=( "${FILESDIR}"/${PN}-install-dirs.patch ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - cmake_src_prepare - - # Respect user flags (SSE2 does nothing more than adding -msse2) - # Also doc installs everything, so remove - sed -e '/-O3/d' \ - -e '/check_cxx.*SSE2/d' \ - -i CMakeLists.txt || die - - # All these hacks below to allow testing - sed -e 's|-O3||' -e 's|-lm|-lm -L$(LD_LIBRARY_PATH) -ldmlc|g' -i Makefile || die - sed -e "s|libdmlc.a||g" \ - -i test/dmlc_test.mk test/unittest/dmlc_unittest.mk || die - cat <<-EOF > config.mk - USE_SSE=0 - WITH_FPIC=1 - USE_OPENMP=$(use openmp && echo 1 || echo 0) - USE_S3=$(use s3 && echo 1 || echo 0) - BUILD_TEST=$(use test && echo 1 || echo 0) - DMLC_CFLAGS=${CXXFLAGS} - DMLC_LDFLAGS=${LDFLAGS} - EOF -} - -src_configure() { - local mycmakeargs=( - -DUSE_S3=$(usex s3) - -DUSE_OPENMP=$(usex openmp) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - doxygen doc/Doxyfile || die - fi -} - -src_test() { - tc-export CXX - export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}" - - emake test - - test/unittest/dmlc_unittest || die -} - -src_install() { - cmake_src_install - - if use doc; then - dodoc -r doc/doxygen/html - docompress -x /usr/share/doc/${PF}/html - fi -} diff --git a/sci-libs/dmlc-core/files/dmlc-core-install-dirs.patch b/sci-libs/dmlc-core/files/dmlc-core-install-dirs.patch deleted file mode 100644 index 06f87f701754..000000000000 --- a/sci-libs/dmlc-core/files/dmlc-core-install-dirs.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 536ba11dfdaa7feacc7fe5726a3a50e4d663da13 Mon Sep 17 00:00:00 2001 -From: Maarten de Vries <maarten@de-vri.es> -Date: Fri, 26 May 2017 15:29:29 +0200 -Subject: [PATCH] Use GNUInstallDirs for standard conforming install target. - ---- - CMakeLists.txt | 18 +++++++----------- - 1 file changed, 7 insertions(+), 11 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0b3b3ec..316e2f5 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -121,18 +121,13 @@ endif() - add_library(dmlc ${SOURCE}) - target_link_libraries(dmlc ${dmlccore_LINKER_LIBS}) - --# ---[ Install Includes --if(INSTALL_INCLUDE_DIR) -- add_custom_command(TARGET dmlc POST_BUILD -- COMMAND ${CMAKE_COMMAND} -E copy_directory -- ${PROJECT_SOURCE_DIR}/include ${INSTALL_INCLUDE_DIR}/ -- ) --endif() -- - # ---[ Install the archive static lib and header files --install(TARGETS dmlc ARCHIVE DESTINATION lib) --install(DIRECTORY include DESTINATION .) --install(DIRECTORY doc DESTINATION .) -+include(GNUInstallDirs) -+install(TARGETS dmlc -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+) -+install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - # ---[ Linter target - if(MSVC) diff --git a/sci-libs/dmlc-core/metadata.xml b/sci-libs/dmlc-core/metadata.xml deleted file mode 100644 index 30a6ba0ac2dc..000000000000 --- a/sci-libs/dmlc-core/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Distributed Machine Learning Common Codebase Core is the backbone - library to support all DMLC projects, offers the bricks to build - efficient and scalable distributed machine learning libraries. - </longdescription> - <upstream> - <remote-id type="github">dmlc/dmlc-core</remote-id> - </upstream> - <use> - <flag name="s3">Support for the Amazon Simple Storage Service</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/dsdp/Manifest b/sci-libs/dsdp/Manifest deleted file mode 100644 index a7ad6a29eb95..000000000000 --- a/sci-libs/dsdp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST DSDP5.8.tar.gz 2608518 BLAKE2B d464db2956080a33c300520ed291e1b45aeedd28378d5aab753977688bfe74d953f1d40a7aa10c2af8b70808d97dc5ece0c98d2795f707a9a3d2128302658286 SHA512 0a32a34e33dcac151e95ed0f8cee62603bbe2b4ba1e448bba35324fe576376cb33c15908cde61ae5a7c0dcdea945f1ec544f19b3dd36524158573260182e080e diff --git a/sci-libs/dsdp/dsdp-5.8-r4.ebuild b/sci-libs/dsdp/dsdp-5.8-r4.ebuild deleted file mode 100644 index a34d56cb20c8..000000000000 --- a/sci-libs/dsdp/dsdp-5.8-r4.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib toolchain-funcs - -MY_P="${PN^^}${PV}" - -DESCRIPTION="Software for interior-point for semidefinite programming" -HOMEPAGE="https://www.mcs.anl.gov/hs/software/DSDP/" -SRC_URI="https://www.mcs.anl.gov/hs/software/DSDP/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86 ~x64-macos" -IUSE="doc examples" - -RDEPEND="virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-readsdpa.patch - "${FILESDIR}"/${P}-malloc.patch - "${FILESDIR}"/${P}-gold.patch -) - -make_shared_lib() { - local soname=$(basename "${1%.a}")$(get_libname $(ver_cut 1)) - local cflags=() - - if [[ ${CHOST} == *-darwin* ]] ; then - cflags+=( - "-Wl,-install_name" - "-Wl,${EPREFIX}/usr/$(get_libdir)/${soname}" - ) - else - cflags+=( - "-shared" "-Wl,-soname=${soname}" - "-Wl,--whole-archive" "${1}" "-Wl,--no-whole-archive" - ) - fi - einfo "Making ${soname}" - ${2:-$(tc-getCC)} ${LDFLAGS} \ - "${cflags[@]}" \ - -o $(dirname "${1}")/"${soname}" \ - -lm $($(tc-getPKG_CONFIG) --libs blas lapack) || return 1 -} - -src_prepare() { - default - # to do proper parallel compilation - while IFS="" read -d $'\0' -r file; do - sed -i -e 's:make :$(MAKE) :g' "${file}" || die - done < <(find . -name Makefile -print0) - sed -i -e 's:make clean:$(MAKE) clean:g' make.include || die - sed -i \ - -e "s|#\(DSDPROOT[[:space:]]*=\).*|\1${S}|" \ - -e "s|\(CC[[:space:]]*=\).*|\1$(tc-getCC)|" \ - -e "s|\(OPTFLAGS[[:space:]]*=\).*|\1${CFLAGS}|" \ - -e "s|\(CLINKER[[:space:]]*=\).*|\1 \${CC} ${LDFLAGS}|" \ - -e "s|\(LAPACKBLAS[[:space:]]*=\).*|\1 $($(tc-getPKG_CONFIG) --libs blas lapack)|" \ - -e "s|\(^ARCH[[:space:]]*=\).*|\1$(tc-getAR) cr|" \ - -e "s|\(^RANLIB[[:space:]]*=\).*|\1$(tc-getRANLIB)|" \ - make.include || die -} - -src_compile() { - emake OPTFLAGS="${CFLAGS} -fPIC" dsdplibrary - make_shared_lib lib/lib${PN}.a || die "doing shared lib failed" -} - -src_test() { - emake -j1 example test -} - -src_install() { - dolib.so lib/lib${PN}$(get_libname $(ver_cut 1)) - dosym lib${PN}$(get_libname $(ver_cut 1)) \ - /usr/$(get_libdir)/lib${PN}$(get_libname) - - doheader include/*.h src/sdp/*.h - - use doc && DOCS+=( docs/*.pdf ) - use examples && DOCS+=( examples/. ) - einstalldocs -} diff --git a/sci-libs/dsdp/files/dsdp-5.8-gold.patch b/sci-libs/dsdp/files/dsdp-5.8-gold.patch deleted file mode 100644 index ae677820ffc3..000000000000 --- a/sci-libs/dsdp/files/dsdp-5.8-gold.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/examples/Makefile b/examples/Makefile -index 8d7d433..11b9c8c 100644 ---- a/examples/Makefile -+++ b/examples/Makefile -@@ -4,7 +4,7 @@ default: - - include ../make.include - --EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS} -+EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS} -lm - - dsdp: exinfo clean - ${MEX} -I${DSDPROOT}/include dsdp.c ${DSDPLIB}; diff --git a/sci-libs/dsdp/files/dsdp-5.8-malloc.patch b/sci-libs/dsdp/files/dsdp-5.8-malloc.patch deleted file mode 100644 index 487c2a67d270..000000000000 --- a/sci-libs/dsdp/files/dsdp-5.8-malloc.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/sys/dsdploginfo.c -+++ b/src/sys/dsdploginfo.c -@@ -6,7 +6,6 @@ - #include <stdarg.h> - #include <sys/types.h> - #include <stdlib.h> --#include <malloc.h> - #include "dsdpsys.h" - #include "dsdpbasictypes.h" - diff --git a/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch b/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch deleted file mode 100644 index 799db6afd5ae..000000000000 --- a/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/examples/readsdpa.c -+++ b/examples/readsdpa.c -@@ -87,7 +87,7 @@ - double ddobj,ppobj,scl,dpot; - char problemname[100],thisline[100], filename[300],savefile[100]; - char directory[100]="/home/benson/sdpexamples/sdplib/"; -- char outputfile[50]="",suffix[20]=".dat-s", tablename[20]="results-dsdp-5.8"; -+ char outputfile[50]="",suffix[20]=".dat-s", tablename[100]="results-dsdp-5.8"; - char success='s',sformat; - FILE *fp1=0,*fp2=0,*fout; - DSDPData dddd; diff --git a/sci-libs/dsdp/metadata.xml b/sci-libs/dsdp/metadata.xml deleted file mode 100644 index 368ab6f3ec87..000000000000 --- a/sci-libs/dsdp/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The DSDP software is a free open source implementation of an - interior-point method for semidefinite programming. It provides - primal and dual solutions, exploits low-rank structure and sparsity - in the data, and has relatively low memory requirements for an - interior-point method. It allows feasible and infeasible starting - points and provides approximate certificates of infeasibility when - no feasible solution exists. The dual-scaling algorithm implemented - in this package has a convergence proof and worst-case polynomial - complexity under mild assumptions on the data. Furthermore, the - solver offers scalable parallel performance for large problems and a - well documented interface. Some of the most popular applications of - semidefinite programming and linear matrix inequalities (LMI) are - model control, truss topology design, and semidefinite relaxations - of combinatorial and global optimization problems. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/fetk/fetk-1.5.ebuild b/sci-libs/fetk/fetk-1.5.ebuild deleted file mode 100644 index 4de6e9199c4b..000000000000 --- a/sci-libs/fetk/fetk-1.5.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="The Finite Element ToolKit - Meta package" -HOMEPAGE="http://fetk.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RDEPEND=" - ~dev-libs/maloc-${PV} - ~media-libs/sg-${PV} - ~sci-libs/gamer-${PV} - ~sci-libs/mc-${PV} - ~sci-libs/punc-${PV} -" diff --git a/sci-libs/fetk/metadata.xml b/sci-libs/fetk/metadata.xml deleted file mode 100644 index 280c9bd148a7..000000000000 --- a/sci-libs/fetk/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> - <longdescription> - The Finite Element ToolKit (FETK) is a collaboratively developed, evolving - collection of adaptive finite element method (AFEM) software libraries and - tools for solving coupled systems of nonlinear geometric partial differential - equations (PDE). The FETK libraries and tools are written in an - object-oriented form of ANSI-C and in C++, and include a common portability - layer (MALOC) for all of FETK, a collection of standard numerical - libraries (PUNC), a stand-alone high-quality surface and volume simplex mesh - generator (GAMer), a stand-alone networked polygon display tool (SG), - a general nonlinear finite element modeling kernel (MC), - and a MATLAB toolkit (MCLite) for protyping finite element methods and - examining simplex meshes using MATLAB. The entire FETK Suite of tools is - highly portable (from iPhone to Blue Gene/L), thanks to use of - a small abstraction layer (MALOC). - </longdescription> -</pkgmetadata> diff --git a/sci-libs/fflas-ffpack/Manifest b/sci-libs/fflas-ffpack/Manifest deleted file mode 100644 index cbc8cdfe88a2..000000000000 --- a/sci-libs/fflas-ffpack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fflas-ffpack-2.5.0.tar.gz 1098354 BLAKE2B 34b0cd218e83a71c6540b1768c8231246a0dc360eb7e2353a923b5870d228e702291de14b0dc3e7c5055727fbd62e2bc1bd1d2ac432dd99df978a1edb513bfc0 SHA512 6753022f27d354160f5eb436c713002f61d24e9a942f2463e36bf324b19ec096f34dd9cacb8529ba566f245f88fa303dcfb448a40d0c39d340f7c337cd1788a4 diff --git a/sci-libs/fflas-ffpack/fflas-ffpack-2.5.0-r1.ebuild b/sci-libs/fflas-ffpack/fflas-ffpack-2.5.0-r1.ebuild deleted file mode 100644 index d906697ba56c..000000000000 --- a/sci-libs/fflas-ffpack/fflas-ffpack-2.5.0-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools toolchain-funcs - -DESCRIPTION="Library for dense linear algebra over word-size finite fields" -HOMEPAGE="https://linbox-team.github.io/fflas-ffpack/" -SRC_URI="https://github.com/linbox-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86 ~x64-macos" -IUSE="openmp" - -# Our autotools patch hacks in PKG_CHECK_MODULES calls. -BDEPEND="virtual/pkgconfig" -DEPEND="virtual/cblas - virtual/blas - virtual/lapack - dev-libs/gmp[cxx(+)] - =sci-libs/givaro-4.2*" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-2.5.0-blaslapack.patch" - "${FILESDIR}/${PN}-2.4.3-no-test-echelon.patch" - "${FILESDIR}/${PN}-2.4.3-fix-pc-libdir.patch" - "${FILESDIR}/${PN}-2.5.0-no-test-fsyr2k.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - tc-export PKG_CONFIG - - econf \ - --enable-precompilation \ - $(use_enable openmp) -} - -src_install() { - default - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-pc-libdir.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-pc-libdir.patch deleted file mode 100644 index e397758b5fc5..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-pc-libdir.patch +++ /dev/null @@ -1,21 +0,0 @@ -From b1f7cadc105bcf1264da68ab69e0cdc6f8a5aa63 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= <frp.bissey@gmail.com> -Date: Sun, 7 Aug 2022 14:15:49 +1200 -Subject: [PATCH] Fix fflas-ffpack.pc.in for issue #364 - ---- - fflas-ffpack.pc.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/fflas-ffpack.pc.in b/fflas-ffpack.pc.in -index b869dd8f..8d6c823a 100644 ---- a/fflas-ffpack.pc.in -+++ b/fflas-ffpack.pc.in -@@ -1,6 +1,6 @@ - prefix=@prefix@ - exec_prefix=@prefix@ --libdir=@prefix@/lib -+libdir=@libdir@ - includedir=@prefix@/include - - Name: fflas-ffpack diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-echelon.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-echelon.patch deleted file mode 100644 index 0b8b68fa6093..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-echelon.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 5be5c93ed41d0136730477beccad7b9f21d47e86 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Tue, 26 May 2020 09:45:50 -0400 -Subject: [PATCH 1/1] tests: disable test_echelon. - -There are two reported failures of test_echelon on Gentoo and Conda -that the Gentoo maintainers haven't been able to reproduce yet. Until -upstream has a chance to look at the failures, this commit disables -that particular test. - -Gentoo-bug: https://bugs.gentoo.org/724526 -Upstream-bug: https://github.com/linbox-team/fflas-ffpack/issues/282 ---- - tests/Makefile.am | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 4326820..62e92bc 100755 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -56,7 +56,6 @@ BASIC_TESTS = \ - test-rankprofiles \ - test-det \ - test-det-check \ -- test-echelon \ - test-charpoly \ - test-charpoly-check \ - test-minpoly \ -@@ -119,7 +118,6 @@ test_ftrsm_check_SOURCES = test-ftrsm-check.C - test_invert_check_SOURCES = test-invert-check.C - test_charpoly_check_SOURCES = test-charpoly-check.C - test_minpoly_SOURCES = test-minpoly.C --test_echelon_SOURCES = test-echelon.C - test_rankprofiles_SOURCES = test-rankprofiles.C - test_fgemm_SOURCES = test-fgemm.C - test_fger_SOURCES = test-fger.C --- -2.26.2 - diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.5.0-blaslapack.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.5.0-blaslapack.patch deleted file mode 100644 index 609aa034438d..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.5.0-blaslapack.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 8e350d3f47a1785eb4eea83dee43c596d6399459 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sat, 10 Feb 2024 07:30:37 -0500 -Subject: [PATCH] configure.ac,fflas-ffpack-config.in: use pkg-config to check - for blas - -Patching configure.ac for this is ugly, but in this case it is -actually the simplest way to get sane behavior out of the blas/lapack -check. ---- - configure.ac | 29 ++++++++++++++++++----------- - fflas-ffpack-config.in | 4 ++-- - 2 files changed, 20 insertions(+), 13 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 5390bcf..2f5fc46 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -133,17 +133,24 @@ FF_CHECK_GIVARO_USABILITY() - - AS_ECHO([---------------------------------------]) - --BLAS_FOUND=false -- --FF_CHECK_BLAS_CFLAGS --FF_CHECK_BLAS_LIBS --FF_CHECK_MKL --FF_CHECK_USER_BLAS --FF_CHECK_USER_LAPACK -- --FF_OPENBLAS_NUM_THREADS -- --# FF_CHECK_CUDA -+PKG_PROG_PKG_CONFIG -+ -+PKG_CHECK_MODULES([BLAS], [cblas blas],[ -+ AC_DEFINE(HAVE_BLAS,1,[Define if BLAS is installed]) -+ AC_DEFINE(HAVE_CBLAS,1,[Define if C interface to BLAS is installed]) -+ HAVE_BLAS=yes -+ BLAS_PATH="" -+ CBLAS_LIBS="${BLAS_LIBS}" -+ AC_SUBST(BLAS_LIBS) -+ AC_SUBST(CBLAS_LIBS) -+ AC_SUBST(BLAS_CFLAGS) -+ AC_SUBST(BLAS_PATH)]) -+ -+PKG_CHECK_MODULES([LAPACK], [lapack],[ -+ AC_DEFINE(HAVE_LAPACK,1,[Define if LAPACK is installed]) -+ AC_SUBST(LAPACK_LIBS)]) -+ -+AM_CONDITIONAL(FFLASFFPACK_HAVE_LAPACK, test "x$HAVE_LAPACK" == "x1") - - AS_ECHO([---------------------------------------]) - -diff --git a/fflas-ffpack-config.in b/fflas-ffpack-config.in -index 3e2f53f..e227ce0 100644 ---- a/fflas-ffpack-config.in -+++ b/fflas-ffpack-config.in -@@ -106,11 +106,11 @@ while test $# -gt 0; do - ;; - - --libs) -- echo @PARLIBS@ @PRECOMPILE_LIBS@ @BLAS_LIBS@ @GIVARO_LIBS@ -+ echo @PARLIBS@ @PRECOMPILE_LIBS@ @LAPACK_LIBS@ @BLAS_LIBS@ @GIVARO_LIBS@ - ;; - - --blas-libs) -- echo @BLAS_LIBS@ -+ echo @LAPACK_LIBS@ @BLAS_LIBS@ - ;; - - *) --- -2.43.0 - diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.5.0-no-test-fsyr2k.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.5.0-no-test-fsyr2k.patch deleted file mode 100644 index 102f5f7dd90b..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.5.0-no-test-fsyr2k.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 59ba369aee228b0d166cd7f86d365b17a0104777 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sun, 18 Feb 2024 07:39:09 -0500 -Subject: [PATCH 1/1] tests/Makefile.am: disable test-fsyr2k - -We have a report of this failing on Gentoo, and it's unlikely to get -fixed any time soon. In any case it's reported upstream at, - - https://github.com/linbox-team/fflas-ffpack/issues/393 - -Bug: https://bugs.gentoo.org/924880 ---- - tests/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index cd73818..2941182 100755 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -57,7 +57,6 @@ BASIC_TESTS = \ - test-quasisep \ - test-pluq-check \ - test-fsyrk \ -- test-fsyr2k \ - test-fsytrf \ - test-invert-check \ - test-rankprofiles \ --- -2.43.0 - diff --git a/sci-libs/fflas-ffpack/metadata.xml b/sci-libs/fflas-ffpack/metadata.xml deleted file mode 100644 index 3dd66b794a30..000000000000 --- a/sci-libs/fflas-ffpack/metadata.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <longdescription lang="en"> - FFLAS-FFPACK is a library for basic linear algebra operations over - a finite field. It is inspired by the BLAS interface (Basic Linear - Algebra Subprograms) and the LAPACK library for numerical linear - algebra, and shares part of their design. Yet it differs in many - aspects due to the specifics of computing over a finite field: it - is generic with respect to the finite field, so as to accommodate - a large variety of field sizes and implementations; consequently, - all routines use C++ template generics and the library is - primarily meant to be used as a source code library, to be - included and compiled in the user's software. - </longdescription> - - <upstream> - <remote-id type="github">linbox-team/fflas-ffpack</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/fftw/Manifest b/sci-libs/fftw/Manifest deleted file mode 100644 index 8837fa157ed7..000000000000 --- a/sci-libs/fftw/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fftw-3.3.10.tar.gz 4144100 BLAKE2B 3663872bd95a01d2c79af185f53918e1d1a9c91c620082402772c07f25b9b77d4920a78dc686fac6b51aa961b8d62b7e2cef3f3031e096bed40ced80b59b29d5 SHA512 2d34b5ccac7b08740dbdacc6ebe451d8a34cf9d9bfec85a5e776e87adf94abfd803c222412d8e10fbaa4ed46f504aa87180396af1b108666cde4314a55610b40 diff --git a/sci-libs/fftw/fftw-3.3.10-r1.ebuild b/sci-libs/fftw/fftw-3.3.10-r1.ebuild deleted file mode 100644 index ecbb2bda871b..000000000000 --- a/sci-libs/fftw/fftw-3.3.10-r1.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 libtool multibuild multilib-minimal toolchain-funcs - -DESCRIPTION="Fast C library for the Discrete Fourier Transform" -HOMEPAGE="https://www.fftw.org/" - -MY_P=${PN}-${PV/_p/-pl} - -if [[ ${PV} == *9999 ]]; then - inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/FFTW/fftw3.git" -else - SRC_URI="https://www.fftw.org/${PN}-${PV/_p/-pl}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" -fi - -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2+" -SLOT="3.0/3" -IUSE="cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 doc fortran mpi openmp test threads zbus" -RESTRICT="!test? ( test )" - -RDEPEND="mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-lang/perl )" - -HTML_DOCS=( doc/html/. ) - -QA_CONFIG_IMPL_DECL_SKIP=( - # check fails with any version of gcc. On <14: - # <artificial>:(.text.startup+0x19): undefined reference to `_rtc' - _rtc -) - -PATCHES=( - "${FILESDIR}"/${PN}-3.3.10-fixup-cmake-optional.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - FORTRAN_NEED_OPENMP=1 - fi - - fortran-2_pkg_setup - MULTIBUILD_VARIANTS=( single double longdouble ) -} - -src_prepare() { - default - - if [[ ${PV} == *9999 ]]; then - # fix info file for category directory - eautoreconf - else - elibtoolize - fi -} - -multilib_src_configure() { - local myconf=( - --enable-shared - --disable-static - $(use_enable "cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4)" fma) - $(use_enable fortran) - $(use_enable zbus mips-zbus-timer) - $(use_enable threads) - $(use_enable openmp) - ) - - [[ ${PV} == *9999 ]] && myconf+=( --enable-maintainer-mode ) - - # --enable-quad-precision is a brittle feature that requires - # __float128 support from the toolchain, which is lacking on - # most niche architectures. Bug #770346 - case "${MULTIBUILD_ID}" in - single-*) - # altivec, sse, single-paired only work for single - myconf+=( - --enable-single - $(use_enable cpu_flags_ppc_altivec altivec) - $(use_enable cpu_flags_x86_avx avx) - $(use_enable cpu_flags_x86_avx2 avx2) - $(use_enable cpu_flags_x86_sse sse) - $(use_enable cpu_flags_x86_sse2 sse2) - $(use_enable cpu_flags_arm_neon neon) - $(use_enable mpi) - ) - ;; - - double-*) - myconf+=( - $(use_enable cpu_flags_x86_avx avx) - $(use_enable cpu_flags_x86_avx2 avx2) - $(use_enable cpu_flags_x86_sse2 sse2) - $(use_enable mpi) - ) - ;; - - longdouble-*) - myconf+=( - --enable-long-double - $(use_enable mpi) - ) - ;; - - *) - die "${MULTIBUILD_ID%-*} precision not implemented in this ebuild" - ;; - esac - - ECONF_SOURCE="${S}" econf "${myconf[@]}" MPICC="$(tc-getCC)" -} - -src_configure() { - multibuild_foreach_variant multilib-minimal_src_configure -} - -src_compile() { - multibuild_foreach_variant multilib-minimal_src_compile -} - -multilib_src_test() { - emake -C tests smallcheck -} - -src_test() { - # Do not increase the number of threads, it will not help your performance - # local testbase="perl check.pl --nthreads=1 --estimate" - # ${testbase} -${p}d || die "Failure: ${n}" - multibuild_foreach_variant multilib-minimal_src_test -} - -src_install() { - multibuild_foreach_variant multilib-minimal_src_install - dodoc CONVENTIONS - - if use doc; then - dodoc doc/*.pdf - docinto faq - dodoc -r doc/FAQ/fftw-faq.html/. - else - rm -r "${ED}"/usr/share/doc/${PF}/html || die - fi - - augment_pc_files() { - local x - for x in "${ED}"/usr/$(get_libdir)/pkgconfig/*.pc; do - local u - for u in $(usev mpi) $(usev threads) $(usex openmp omp ""); do - sed -e "s|-lfftw3[flq]\?|&_${u} &|" "${x}" > "${x%.pc}_${u}.pc" || die - done - done - } - multilib_foreach_abi augment_pc_files - - # fftw uses pkg-config to record its private dependencies - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/fftw/fftw-9999.ebuild b/sci-libs/fftw/fftw-9999.ebuild deleted file mode 100644 index 77fb9689abc1..000000000000 --- a/sci-libs/fftw/fftw-9999.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 libtool multibuild multilib-minimal toolchain-funcs - -DESCRIPTION="Fast C library for the Discrete Fourier Transform" -HOMEPAGE="https://www.fftw.org/" - -MY_P=${PN}-${PV/_p/-pl} - -if [[ ${PV} == *9999 ]]; then - inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/FFTW/fftw3.git" -else - SRC_URI="https://www.fftw.org/${PN}-${PV/_p/-pl}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -fi - -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2+" -SLOT="3.0/3" -IUSE="cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 doc fortran mpi openmp test threads zbus" -RESTRICT="!test? ( test )" - -RDEPEND="mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-lang/perl )" - -HTML_DOCS=( doc/html/. ) - -QA_CONFIG_IMPL_DECL_SKIP=( - # check fails with any version of gcc. On <14: - # <artificial>:(.text.startup+0x19): undefined reference to `_rtc' - _rtc -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - FORTRAN_NEED_OPENMP=1 - fi - - fortran-2_pkg_setup - MULTIBUILD_VARIANTS=( single double longdouble ) -} - -src_prepare() { - default - - if [[ ${PV} == *9999 ]]; then - # fix info file for category directory - eautoreconf - else - elibtoolize - fi -} - -multilib_src_configure() { - local myconf=( - --enable-shared - --disable-static - $(use_enable "cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4)" fma) - $(use_enable fortran) - $(use_enable zbus mips-zbus-timer) - $(use_enable threads) - $(use_enable openmp) - ) - - [[ ${PV} == *9999 ]] && myconf+=( --enable-maintainer-mode ) - - # --enable-quad-precision is a brittle feature that requires - # __float128 support from the toolchain, which is lacking on - # most niche architectures. Bug #770346 - case "${MULTIBUILD_ID}" in - single-*) - # altivec, sse, single-paired only work for single - myconf+=( - --enable-single - $(use_enable cpu_flags_ppc_altivec altivec) - $(use_enable cpu_flags_x86_avx avx) - $(use_enable cpu_flags_x86_avx2 avx2) - $(use_enable cpu_flags_x86_sse sse) - $(use_enable cpu_flags_x86_sse2 sse2) - $(use_enable cpu_flags_arm_neon neon) - $(use_enable mpi) - ) - ;; - - double-*) - myconf+=( - $(use_enable cpu_flags_x86_avx avx) - $(use_enable cpu_flags_x86_avx2 avx2) - $(use_enable cpu_flags_x86_sse2 sse2) - $(use_enable mpi) - ) - ;; - - longdouble-*) - myconf+=( - --enable-long-double - $(use_enable mpi) - ) - ;; - - *) - die "${MULTIBUILD_ID%-*} precision not implemented in this ebuild" - ;; - esac - - ECONF_SOURCE="${S}" econf "${myconf[@]}" MPICC="$(tc-getCC)" -} - -src_configure() { - multibuild_foreach_variant multilib-minimal_src_configure -} - -src_compile() { - multibuild_foreach_variant multilib-minimal_src_compile -} - -multilib_src_test() { - emake -C tests smallcheck -} - -src_test() { - # Do not increase the number of threads, it will not help your performance - # local testbase="perl check.pl --nthreads=1 --estimate" - # ${testbase} -${p}d || die "Failure: ${n}" - multibuild_foreach_variant multilib-minimal_src_test -} - -src_install() { - multibuild_foreach_variant multilib-minimal_src_install - dodoc CONVENTIONS - - if use doc; then - dodoc doc/*.pdf - docinto faq - dodoc -r doc/FAQ/fftw-faq.html/. - else - rm -r "${ED}"/usr/share/doc/${PF}/html || die - fi - - augment_pc_files() { - local x - for x in "${ED}"/usr/$(get_libdir)/pkgconfig/*.pc; do - local u - for u in $(usev mpi) $(usev threads) $(usex openmp omp ""); do - sed -e "s|-lfftw3[flq]\?|&_${u} &|" "${x}" > "${x%.pc}_${u}.pc" || die - done - done - } - multilib_foreach_abi augment_pc_files - - # fftw uses pkg-config to record its private dependencies - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/fftw/files/fftw-3.3.10-fixup-cmake-optional.patch b/sci-libs/fftw/files/fftw-3.3.10-fixup-cmake-optional.patch deleted file mode 100644 index ea09c4c9741a..000000000000 --- a/sci-libs/fftw/files/fftw-3.3.10-fixup-cmake-optional.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://bugs.gentoo.org/913518 -https://github.com/FFTW/fftw3/issues/130 -https://github.com/FFTW/fftw3/pull/338 - -From f69fef7aa546d4477a2a3fd7f13fa8b2f6c54af7 Mon Sep 17 00:00:00 2001 -From: Tobias Mayer <tobim@fastmail.fm> -Date: Tue, 24 Oct 2023 13:46:33 +0200 -Subject: [PATCH] Fix the cmake config file when configured with autotools - -When the autotools based build is used the FFTW3ConfigDeps.cmake file is -not generated, so including it fails with an error. By making the -include optional, the config file can still be used in a limited -fashion. ---- a/FFTW3Config.cmake.in -+++ b/FFTW3Config.cmake.in -@@ -10,7 +10,7 @@ set (FFTW3@PREC_SUFFIX@_LIBRARIES fftw3@PREC_SUFFIX@) - set (FFTW3@PREC_SUFFIX@_LIBRARY_DIRS @CMAKE_INSTALL_FULL_LIBDIR@) - set (FFTW3@PREC_SUFFIX@_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@) - --include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake") -+include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake" OPTIONAL) - - if (CMAKE_VERSION VERSION_LESS 2.8.3) - set (CMAKE_CURRENT_LIST_DIR) - diff --git a/sci-libs/fftw/metadata.xml b/sci-libs/fftw/metadata.xml deleted file mode 100644 index 725a22ae5c28..000000000000 --- a/sci-libs/fftw/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The Fastest Fourier Transform in the West is a C subroutine library - for computing the Discrete Fourier Transform (DFT) in one or more - dimensions, of both real and complex data, and of arbitrary input - size. It is becoming the FFT library of choice for most - applications. Benchmarks, performed on a variety of platforms, show - that FFTW's performance is typically superior to that of other - publicly available FFT software. - </longdescription> - <use> - <flag name="zbus">Adds support for ZBus cycle-counter of mips</flag> - </use> - <upstream> - <remote-id type="github">FFTW/fftw3</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/flann/Manifest b/sci-libs/flann/Manifest deleted file mode 100644 index 7f8a6159e031..000000000000 --- a/sci-libs/flann/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST flann-1.9.2_p20221027-patches-r1.tar.xz 11420 BLAKE2B 9f3e49fbc2afcfc5caadd2894ba085bcb8701233264bef0e435f6d35360e68057b7f9b738367ca701d6395a6ed16301e7c8d51feba41a5f2aafe346c4e095d55 SHA512 723ac97e0b3adc6c6104bd9a9400ed3750cc1a7a63f2f14f704cd05bf6edf6b62ab345ce7df6ba25430a63949394fb9f6d46f39ec4d86579501abdf890cd9d35 -DIST flann-1.9.2_p20221027.tar.gz 34644592 BLAKE2B 822afa518a1efcfd552cee7c9bd9e14587a450d5ddae50c4d225453ab56d7297ca73f5b5bda153aea9ff37e736942057ae071ac41e3d26ac1aeb03a408171162 SHA512 14cd7d3249109ce66c43258f8b9d158efa3b57f654708e76751290eba25e2cb7fc8044a1d882c6b24d0cda1a8b206709acdb5338086ca1f2d60fef35f0fa85be diff --git a/sci-libs/flann/files/flann-1.9.1-build-oct-rather-than-mex-files-for-octave.patch b/sci-libs/flann/files/flann-1.9.1-build-oct-rather-than-mex-files-for-octave.patch deleted file mode 100644 index d0e9ea04bf09..000000000000 --- a/sci-libs/flann/files/flann-1.9.1-build-oct-rather-than-mex-files-for-octave.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 85d2acc120b0640d02d189089bf113d351c14bba Mon Sep 17 00:00:00 2001 -From: Alexander Golubev <fatzer2@gmail.com> -Date: Wed, 16 Feb 2022 21:37:55 +0300 -Subject: [PATCH] build *.oct rather than *.mex files for octave - - * build .oct filse rather than *.mex - * install the file to a sane location obtained from octave-config - * fix a build issue with a recent cmake doesn't like querying target - LOCATION - -Signed-off-by: Alexander Golubev <fatzer2@gmail.com> ---- a/src/matlab/CMakeLists.txt -+++ b/src/matlab/CMakeLists.txt -@@ -16,9 +16,6 @@ endif() - - find_program(OCT_CMD mkoctfile) - --get_property(FLANN_LIB_LOCATION TARGET flann_s PROPERTY LOCATION) --get_filename_component(FLANN_LIB_PATH ${FLANN_LIB_LOCATION} PATH) -- - if(MEX_CMD AND MEXEXT_CMD) - - get_filename_component(MEX_REAL_CMD ${MEX_CMD} ABSOLUTE) -@@ -48,7 +45,7 @@ if(MEX_CMD AND MEXEXT_CMD) - ADD_CUSTOM_COMMAND( - OUTPUT ${MEX_FILE} - COMMAND ${MEX_REAL_CMD} -- ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${FLANN_LIB_PATH} -lflann_s ${MEX_BUILD_FLAGS} -+ ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${PROJECT_BINARY_DIR}/lib -lflann_s ${MEX_BUILD_FLAGS} - DEPENDS flann_s ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp - COMMENT "Building MEX extension ${MEX_FILE}" - ) -@@ -66,11 +63,11 @@ if(MEX_CMD AND MEXEXT_CMD) - set(BUILD_MATLAB_BINDINGS OFF) - endif() - elseif(OCT_CMD) -- SET(MEX_FILE ${CMAKE_CURRENT_BINARY_DIR}/${MEX_NAME}.mex) -+ SET(MEX_FILE ${CMAKE_CURRENT_BINARY_DIR}/${MEX_NAME}.oct) - ADD_CUSTOM_COMMAND( - OUTPUT ${MEX_FILE} - COMMAND ${OCT_CMD} -- ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${FLANN_LIB_PATH} -DFLANN_STATIC -lflann_s -lgomp --mex -+ ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp -I${PROJECT_SOURCE_DIR}/src/cpp -L${PROJECT_BINARY_DIR}/lib -DFLANN_STATIC -lflann_s -lgomp - DEPENDS flann_s ${CMAKE_CURRENT_SOURCE_DIR}/${MEX_NAME}.cpp - COMMENT "Building MEX extension ${MEX_FILE}" - ) -@@ -79,10 +76,21 @@ elseif(OCT_CMD) - - FILE(GLOB MATLAB_SOURCES *.m) - -- INSTALL ( -- FILES ${MEX_FILE} ${MATLAB_SOURCES} -- DESTINATION share/flann/octave -- ) -+ find_program(OCTAVE_CONFIG_EXECUTABLE NAMES octave-config) -+ -+ if (OCTAVE_CONFIG_EXECUTABLE) -+ execute_process (COMMAND ${OCTAVE_CONFIG_EXECUTABLE} --m-site-dir -+ OUTPUT_VARIABLE OCTAVE_M_SITE_DIR -+ OUTPUT_STRIP_TRAILING_WHITESPACE) -+ -+ execute_process (COMMAND ${OCTAVE_CONFIG_EXECUTABLE} --oct-site-dir -+ OUTPUT_VARIABLE OCTAVE_OCT_SITE_DIR -+ OUTPUT_STRIP_TRAILING_WHITESPACE) -+ -+ endif() -+ -+ INSTALL (FILES ${MEX_FILE} DESTINATION ${OCTAVE_OCT_SITE_DIR}) -+ INSTALL (FILES ${MATLAB_SOURCES} DESTINATION ${OCTAVE_M_SITE_DIR}) - else() - message(WARNING "Cannot find MATLAB or Octave instalation. Make sure that the 'bin' directory from the MATLAB instalation or that mkoctfile is in PATH") - set(BUILD_MATLAB_BINDINGS OFF) --- -2.34.1 - diff --git a/sci-libs/flann/files/flann-1.9.2-asio-boost187.patch b/sci-libs/flann/files/flann-1.9.2-asio-boost187.patch deleted file mode 100644 index be8961c6af68..000000000000 --- a/sci-libs/flann/files/flann-1.9.2-asio-boost187.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 8972fc0ebb7f26e8f1f985d3ada52f9cd4510207 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Mon, 16 Dec 2024 15:48:52 +0100 -Subject: [PATCH] Update asio for boost 1.87 - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/src/cpp/flann/mpi/client.h b/src/cpp/flann/mpi/client.h -index 19a410c..8b7fbed 100644 ---- a/src/cpp/flann/mpi/client.h -+++ b/src/cpp/flann/mpi/client.h -@@ -45,9 +45,8 @@ class Client - public: - Client(const std::string& host, const std::string& service) - { -- tcp::resolver resolver(io_service_); -- tcp::resolver::query query(tcp::v4(), host, service); -- iterator_ = resolver.resolve(query); -+ boost::asio::ip::basic_resolver<tcp> resolver(io_service_); -+ iterator_ = resolver.resolve(tcp::v4(), host, service).begin(); - } - - -@@ -78,8 +77,8 @@ public: - - - private: -- boost::asio::io_service io_service_; -- tcp::resolver::iterator iterator_; -+ boost::asio::io_context io_service_; -+ boost::asio::ip::basic_resolver_iterator<tcp> iterator_; - }; - - -diff --git a/src/cpp/flann/mpi/server.h b/src/cpp/flann/mpi/server.h -index 2caab43..9d10280 100644 ---- a/src/cpp/flann/mpi/server.h -+++ b/src/cpp/flann/mpi/server.h -@@ -119,11 +119,11 @@ public: - void run() - { - boost::mpi::communicator world; -- boost::shared_ptr<boost::asio::io_service> io_service; -+ boost::shared_ptr<boost::asio::io_context> io_service; - boost::shared_ptr<tcp::acceptor> acceptor; - - if (world.rank()==0) { -- io_service.reset(new boost::asio::io_service()); -+ io_service.reset(new boost::asio::io_context()); - acceptor.reset(new tcp::acceptor(*io_service, tcp::endpoint(tcp::v4(), port_))); - std::cout << "Start listening for queries...\n"; - } --- -2.47.1 - diff --git a/sci-libs/flann/files/flann-1.9.2-boost-config-1.89.patch b/sci-libs/flann/files/flann-1.9.2-boost-config-1.89.patch deleted file mode 100644 index fbbbd39c9d3b..000000000000 --- a/sci-libs/flann/files/flann-1.9.2-boost-config-1.89.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 5127212278ef3675f36e962dc2f057583ab80f57 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Mon, 16 Dec 2024 16:02:03 +0100 -Subject: [PATCH] boost config - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 64ead01..0e0b4dc 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -108,7 +108,7 @@ endif(USE_MPI) - - - if (USE_MPI AND HDF5_IS_PARALLEL) -- find_package(Boost COMPONENTS mpi system serialization thread REQUIRED) -+ find_package(Boost 1.69 COMPONENTS mpi serialization thread REQUIRED CONFIG) - include_directories(${Boost_INCLUDE_DIRS}) - add_definitions("-DHAVE_MPI") - endif() --- -2.47.1 - diff --git a/sci-libs/flann/files/flann-1.9.2-gettimeofday.patch b/sci-libs/flann/files/flann-1.9.2-gettimeofday.patch deleted file mode 100644 index 5808211ec01e..000000000000 --- a/sci-libs/flann/files/flann-1.9.2-gettimeofday.patch +++ /dev/null @@ -1,15 +0,0 @@ -Fixes: - -src/cpp/flann/mpi/flann_mpi_client.cpp:21:5: error: ‘gettimeofday’ was not declared in this scope - 21 | gettimeofday(&start_time_,NULL); - | ^~~~~~~~~~~~ - ---- a/src/cpp/flann/mpi/flann_mpi_client.cpp -+++ b/src/cpp/flann/mpi/flann_mpi_client.cpp -@@ -1,5 +1,5 @@ - #include <stdio.h> --#include <time.h> -+#include <sys/time.h> - - #include <cstdlib> - #include <iostream> diff --git a/sci-libs/flann/files/flann-1.9.2-system-gtest.patch b/sci-libs/flann/files/flann-1.9.2-system-gtest.patch deleted file mode 100644 index f825cf3d529b..000000000000 --- a/sci-libs/flann/files/flann-1.9.2-system-gtest.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4001b11f20ccfc291a355c52a090fa16e2f5a5f1 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Mon, 6 Jan 2025 16:13:09 +0100 -Subject: [PATCH] system gtest - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/cmake/flann_utils.cmake b/cmake/flann_utils.cmake -index e02a6ff..544f87a 100644 ---- a/cmake/flann_utils.cmake -+++ b/cmake/flann_utils.cmake -@@ -41,6 +41,13 @@ macro(find_hdf5) - endmacro(find_hdf5) - - -+if(BUILD_TESTS) -+enable_testing() -+find_package(GTest) -+if(GTest_FOUND) -+ set(googletest_LIBRARIES GTest::gtest) -+ add_library(googletest ALIAS GTest::gtest) -+else() - # Enable ExternalProject CMake module - include(ExternalProject) - -@@ -69,6 +76,8 @@ set(googletest_INCLUDE_DIRS ${source_dir}/googletest/include) - ExternalProject_Get_Property(googletest binary_dir) - set(googletest_LIBRARIES ${binary_dir}/lib/libgtest.a) - include_directories(${googletest_INCLUDE_DIRS}) -+endif() -+endif() - - - macro(flann_add_gtest exe src) --- -2.47.1 diff --git a/sci-libs/flann/flann-1.9.2_p20221027-r1.ebuild b/sci-libs/flann/flann-1.9.2_p20221027-r1.ebuild deleted file mode 100644 index 530ddd9114ec..000000000000 --- a/sci-libs/flann/flann-1.9.2_p20221027-r1.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake cuda toolchain-funcs - -DESCRIPTION="Fast approximate nearest neighbor searches in high dimensional spaces" -HOMEPAGE="https://github.com/flann-lib/flann" -COMMIT="f9caaf609d8b8cb2b7104a85cf59eb92c275a25d" -SRC_URI=" - https://github.com/flann-lib/${PN}/archive/${COMMIT}.tar.gz - -> ${P}.tar.gz - https://github.com/negril/gentoo-overlay-vendored/raw/refs/heads/blobs/${P}-patches-r1.tar.xz -" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~x86" -IUSE="cuda doc examples mpi octave openmp test" -RESTRICT="!test? ( test )" - -BDEPEND=" - doc? ( - dev-tex/latex2html - ) -" -RDEPEND=" - app-arch/lz4:= - cuda? ( - dev-util/nvidia-cuda-toolkit:= - ) - examples? ( - sci-libs/hdf5:=[mpi?] - ) - mpi? ( - virtual/mpi - dev-libs/boost:=[mpi] - sci-libs/hdf5:= - ) - octave? ( - >=sci-mathematics/octave-3.6.4-r1:= - ) -" -DEPEND="${RDEPEND} - test? ( - dev-cpp/gtest - sci-libs/hdf5[mpi?] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.9.1-build-oct-rather-than-mex-files-for-octave.patch # bug 830424 - "${FILESDIR}"/${PN}-1.9.2-asio-boost187.patch - "${FILESDIR}"/${PN}-1.9.2-boost-config-1.89.patch - "${FILESDIR}"/${PN}-1.9.2-system-gtest.patch - "${FILESDIR}"/${PN}-1.9.2-gettimeofday.patch - - # "${FILESDIR}/${PN}-1.9.2-lz4-dependency-fix.patch" # https://github.com/flann-lib/flann/pull/523 - # "${FILESDIR}/${PN}-1.9.2-fix-build.patch" - # "${FILESDIR}/${PN}-1.9.2-allow-user-CUDAARCHS.patch" - # "${FILESDIR}/${PN}-1.9.2-use-gtest_discover_tests.patch" - # "${FILESDIR}/${PN}-1.9.2-loosen-test-precision.patch" - # "${FILESDIR}/${PN}-1.9.2-cleanup-find_HDF5.patch" - # "${FILESDIR}/${PN}-1.9.2-add-USE_CPACK.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - cmake_src_prepare - - for patch in "${WORKDIR}/${P}-patches-r1"/*; do - eapply "${patch}" - done -} - -src_configure() { - # python bindings were split off into dev-python/pyflann - local mycmakeargs=( - -DCMAKE_CXX_STANDARD=17 - -DBUILD_C_BINDINGS="yes" - -DBUILD_PYTHON_BINDINGS="no" - -DBUILD_CUDA_LIB="$(usex cuda)" - -DBUILD_EXAMPLES="$(usex examples)" - -DBUILD_DOC="$(usex doc)" - -DBUILD_TESTS="$(usex test)" - -DBUILD_MATLAB_BINDINGS="$(usex octave)" - -DUSE_MPI="$(usex mpi)" - -DUSE_OPENMP="$(usex openmp)" - -DCMAKE_BUILD_STATIC_LIBS="no" - ) - - if use cuda; then - cuda_add_sandbox -w - - export CUDAHOSTCXX="$(cuda_gccdir)" - export CUDAHOSTLD="$(tc-getCXX)" - fi - - use doc && mycmakeargs+=( -DDOCDIR="share/doc/${PF}" ) - - cmake_src_configure -} - -src_compile() { - local targets=( "all" ) - - use doc && targets+=( "doc" ) - - if use test; then - targets+=( "flann_gtests" ) - if use cuda; then - targets+=( "flann_cuda_test" ) - fi - fi - - cmake_src_compile "${targets[@]}" -} - -src_test() { - if use cuda; then - addpredict "/dev/char/" - cuda_add_sandbox -w - fi - - # some fail when run in parallel - cmake_src_test -j1 -} diff --git a/sci-libs/flann/metadata.xml b/sci-libs/flann/metadata.xml deleted file mode 100644 index f54c9e238fb6..000000000000 --- a/sci-libs/flann/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - FLANN is a library for performing fast approximate nearest neighbor - searches in high dimensional spaces. It contains a collection of - algorithms we found to work best for nearest neighbor search and a - system for automatically choosing the best algorithm and optimum - parameters depending on the dataset. - FLANN is written in C++ and contains bindings for the following - languages: C, MATLAB and Python. - </longdescription> - <use> - <flag name="octave">Add bindings for - <pkg>sci-mathematics/octave</pkg></flag> - </use> - <upstream> - <remote-id type="github">flann-lib/flann</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/flexiblas/Manifest b/sci-libs/flexiblas/Manifest deleted file mode 100644 index 2e66ccc4bd44..000000000000 --- a/sci-libs/flexiblas/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flexiblas-release-v3.5.0.tar.bz2 82678136 BLAKE2B e7f6b53df70ca27d95ab8606c14b84e3e174c376e7ec91017d67bdc46971314beacc9c9bb90f9d9efac695aa9c237fc612f87238d1628654e309bbcedd227330 SHA512 8e2dc3edb054cef487b83d66132fc56f906a447f3cdc1ca2e32021a171813655829bca4a81877b675f0027ea318a3bf052610573eae60699ef1a5ff5a89ec499 diff --git a/sci-libs/flexiblas/flexiblas-3.5.0.ebuild b/sci-libs/flexiblas/flexiblas-3.5.0.ebuild deleted file mode 100644 index ad02ae2eeea0..000000000000 --- a/sci-libs/flexiblas/flexiblas-3.5.0.ebuild +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic fortran-2 multilib toolchain-funcs - -MY_P=flexiblas-release-v${PV} -DESCRIPTION="A BLAS and LAPACK wrapper library with runtime exchangable backends" -HOMEPAGE=" - https://www.mpi-magdeburg.mpg.de/projects/flexiblas/ - https://gitlab.mpi-magdeburg.mpg.de/software/flexiblas-release/ -" -SRC_URI=" - https://gitlab.mpi-magdeburg.mpg.de/software/flexiblas-release/-/archive/v${PV}/${MY_P}.tar.bz2 -" -S=${WORKDIR}/${MY_P} - -# BSD for vendored cblas/lapacke -LICENSE="LGPL-3+ BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 x86" -IUSE="blis index64 mkl openblas openmp system-blas tbb test" -RESTRICT="!test? ( test )" - -# flexiblas only supports gnu-openmp using clang/gcc -DEPEND=" - sci-libs/lapack:=[deprecated,index64(-)?] - blis? ( sci-libs/blis:=[-64bit-index(-),index64(-)?] ) - mkl? ( - sci-libs/mkl:=[tbb?] - openmp? ( sci-libs/mkl[gnu-openmp] ) - ) - openblas? ( sci-libs/openblas:=[index64(-)?] ) - system-blas? ( sci-libs/lapack[flexiblas(-)] ) -" -RDEPEND=" - ${DEPEND} - system-blas? ( - !app-eselect/eselect-blas - !app-eselect/eselect-cblas - !app-eselect/eselect-lapack - !sci-libs/lapack[-flexiblas(-)] - !=sci-libs/blas-lapack-aux-wrapper-0-r0 - ) -" -PDEPEND=" - system-blas? ( - >=sci-libs/blas-lapack-aux-wrapper-0-r1[index64?] - ) -" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - fortran-2_pkg_setup - use openmp && tc-check-openmp - fi -} - -src_prepare() { - cmake_src_prepare - - # remove bundled netlib blas/lapack - # (we still need vendored cblas/lapacke) - rm -r contributed/lapack-* || die -} - -src_configure() { - # bug #963667 - filter-flags -fno-semantic-interposition - - BACKENDS=( $(usev blis) $(usev openblas) ) - local extra=${BACKENDS[*]} - local libdir="${ESYSROOT}/usr/$(get_libdir)" - local mycmakeargs=( - -DTESTS=$(usex test) - -DCBLAS=ON - -DINTEGER8=OFF - -DLAPACK=ON - -DLINK_OPENMP=$(usex openmp) - -DEXAMPLES=OFF - # prefer OpenBLAS if available - -DFLEXIBLAS_DEFAULT=$(usex openblas openblas netlib) - # we need to enable autodetection for mkl - -DBLAS_AUTO_DETECT=ON - # ...so we need to explicitly disable autodetecting other libraries - # that would be pinned to their openmp/pthread/serial variants - -DOpenBLASSerial=OFF - -DOpenBLASPThread=OFF - -DOpenBLASOpenMP=OFF - -DOpenBLASSerial64=OFF - -DOpenBLASPThread64=OFF - -DOpenBLASOpenMP64=OFF - -DBlisSerial=OFF - -DBlisPThread=OFF - -DBlisOpenMP=OFF - -DBlisSerial64=OFF - -DBlisPThread64=OFF - -DBlisOpenMP64=OFF - # variants we use autodetection for - -DMklSerial=$(usex mkl ON OFF) - -DMklOpenMP=$(usex mkl "$(usex openmp ON OFF)" OFF) - -DMklTBB=$(usex mkl "$(usex tbb ON OFF)" OFF) - # unsupported - -DCMAKE_DISABLE_FIND_PACKAGE_nvpl=ON - -DATLAS=OFF - -DTATLAS=OFF - # and then enable our custom names via EXTRA - -DEXTRA="${extra// /;}" - # respect CFLAGS - -DLTO=OFF - # these are used only with -DEXTRA - -Dblis_LIBRARY="${libdir}/libblis.so" - -Dopenblas_LIBRARY="${libdir}/libopenblas.so" - ) - - # use system sci-libs/lapack - if use system-blas; then - # this is sci-libs/lapack[flexiblas] install - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas-reference.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack-reference.so" - ) - else - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack.so" - ) - fi - - cmake_src_configure - - if use index64; then - mycmakeargs+=( - -DINTEGER8=ON - -Dblis_LIBRARY="${libdir}/libblis64.so" - -Dopenblas_LIBRARY="${libdir}/libopenblas64.so" - ) - - if use system-blas; then - # this is sci-libs/lapack[flexiblas] install - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas64-reference.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack64-reference.so" - ) - else - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas64.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack64.so" - ) - fi - - BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_configure - fi - - BACKENDS+=( netlib ) - BACKENDS_ILP64=( "${BACKENDS[@]}" ) - if use mkl; then - BACKENDS+=( - MklSerial - $(usev openmp MklOpenMP) - $(usev tbb MklTBB) - ) - BACKENDS_ILP64+=( - MklSerial64 - $(usev openmp MklOpenMP64) - $(usev tbb MklTBB64) - ) - fi -} - -src_compile() { - cmake_src_compile - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_compile -} - -my_test() { - # We run tests in parallel, so avoid having n^2 threads. - local -x BLIS_NUM_THREADS=1 - local -x MKL_NUM_THREADS=1 - local -x OMP_NUM_THREADS=1 - local -x OPENBLAS_NUM_THREADS=1 - - local backend - for backend in "${@}"; do - local args=() - if [[ ${backend} == Mkl* ]]; then - # XFAIL - args+=( -E 'cblat[23]' ) - fi - - local -x FLEXIBLAS_TEST=${backend} - local log=${BUILD_DIR}/Testing/Temporary/LastTest.log - einfo "Testing backend ${backend}" - cmake_src_test "${args[@]}" - if grep -q 'BLAS backend .* not found' "${log}"; then - die "Backend ${backend} failed to load while testing, see ${log}" - fi - done -} - -src_test() { - my_test "${BACKENDS[@]}" - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 my_test "${BACKENDS_ILP64[@]}" -} - -verify_backends() { - local lib=${1} - shift - cd "${ED}/usr/$(get_libdir)/${lib}" || die - - local missing=() - local backend - for backend in "${@}"; do - if [[ ! -f libflexiblas_${backend,,}$(get_libname) ]]; then - missing+=( "${backend}" ) - fi - done - - if [[ ${missing[@]} ]]; then - die "Not all requested ${lib} backends built. Missing: ${missing[*]}" - fi -} - -src_install() { - cmake_src_install - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_install - - # Verify built backends. - verify_backends flexiblas "${BACKENDS[@]}" - use index64 && verify_backends flexiblas64 "${BACKENDS_ILP64[@]}" - - # Install symlinks for system BLAS / LAPACK use. - if use system-blas; then - local libdir="/usr/$(get_libdir)" - local fn suffix - for fn in cblas.h lapack.h lapacke{,_config,_mangling,_utils}.h; do - dosym "flexiblas/${fn}" "/usr/include/${fn}" - done - - for suffix in '' $(usev index64 64); do - for fn in blas cblas lapack lapacke; do - dosym "libflexiblas${suffix}.so.3" \ - "${libdir}/lib${fn}${suffix}.so.3" - done - done - fi -} - -pkg_postinst() { - if use system-blas; then - # eselect-{blas,lapack} doesn't clean up its configs - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local files=( - "${EROOT}"/etc/ld.so.conf.d/81-blas-*.conf - "${EROOT}"/etc/ld.so.conf.d/82-lapack-*.conf - ) - ${prev_opt} - - if [[ ${files[@]} ]]; then - rm -v "${files[@]}" - fi - fi -} diff --git a/sci-libs/flexiblas/flexiblas-9999.ebuild b/sci-libs/flexiblas/flexiblas-9999.ebuild deleted file mode 100644 index a5ec5bfcc2b4..000000000000 --- a/sci-libs/flexiblas/flexiblas-9999.ebuild +++ /dev/null @@ -1,268 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic fortran-2 git-r3 multilib toolchain-funcs - -DESCRIPTION="A BLAS and LAPACK wrapper library with runtime exchangable backends" -HOMEPAGE=" - https://www.mpi-magdeburg.mpg.de/projects/flexiblas/ - https://gitlab.mpi-magdeburg.mpg.de/software/flexiblas-release/ -" -EGIT_REPO_URI=" - https://gitlab.mpi-magdeburg.mpg.de/software/flexiblas-release.git -" - -# BSD for vendored cblas/lapacke -LICENSE="LGPL-3+ BSD" -SLOT="0" -IUSE="blis index64 mkl openblas openmp system-blas tbb test" -RESTRICT="!test? ( test )" - -# flexiblas only supports gnu-openmp using clang/gcc -DEPEND=" - sci-libs/lapack:=[deprecated,index64(-)?] - blis? ( sci-libs/blis:=[-64bit-index(-),index64(-)?] ) - mkl? ( - sci-libs/mkl:=[tbb?] - openmp? ( sci-libs/mkl[gnu-openmp] ) - ) - openblas? ( sci-libs/openblas:=[index64(-)?] ) - system-blas? ( sci-libs/lapack[flexiblas(-)] ) -" -RDEPEND=" - ${DEPEND} - system-blas? ( - !app-eselect/eselect-blas - !app-eselect/eselect-cblas - !app-eselect/eselect-lapack - !sci-libs/lapack[-flexiblas(-)] - !=sci-libs/blas-lapack-aux-wrapper-0-r0 - ) -" -PDEPEND=" - system-blas? ( - >=sci-libs/blas-lapack-aux-wrapper-0-r1[index64?] - ) -" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - fortran-2_pkg_setup - use openmp && tc-check-openmp - fi -} - -src_prepare() { - cmake_src_prepare - - # remove bundled netlib blas/lapack - # (we still need vendored cblas/lapacke) - rm -r contributed/lapack-* || die -} - -src_configure() { - # bug #963667 - filter-flags -fno-semantic-interposition - - BACKENDS=( $(usev blis) $(usev openblas) ) - local extra=${BACKENDS[*]} - local libdir="${ESYSROOT}/usr/$(get_libdir)" - local mycmakeargs=( - -DTESTS=$(usex test) - -DCBLAS=ON - -DINTEGER8=OFF - -DLAPACK=ON - -DLINK_OPENMP=$(usex openmp) - -DEXAMPLES=OFF - # prefer OpenBLAS if available - -DFLEXIBLAS_DEFAULT=$(usex openblas openblas netlib) - # we need to enable autodetection for mkl - -DBLAS_AUTO_DETECT=ON - # ...so we need to explicitly disable autodetecting other libraries - # that would be pinned to their openmp/pthread/serial variants - -DOpenBLASSerial=OFF - -DOpenBLASPThread=OFF - -DOpenBLASOpenMP=OFF - -DOpenBLASSerial64=OFF - -DOpenBLASPThread64=OFF - -DOpenBLASOpenMP64=OFF - -DBlisSerial=OFF - -DBlisPThread=OFF - -DBlisOpenMP=OFF - -DBlisSerial64=OFF - -DBlisPThread64=OFF - -DBlisOpenMP64=OFF - # variants we use autodetection for - -DMklSerial=$(usex mkl ON OFF) - -DMklOpenMP=$(usex mkl "$(usex openmp ON OFF)" OFF) - -DMklTBB=$(usex mkl "$(usex tbb ON OFF)" OFF) - # unsupported - -DCMAKE_DISABLE_FIND_PACKAGE_nvpl=ON - -DATLAS=OFF - -DTATLAS=OFF - # and then enable our custom names via EXTRA - -DEXTRA="${extra// /;}" - # respect CFLAGS - -DLTO=OFF - # these are used only with -DEXTRA - -Dblis_LIBRARY="${libdir}/libblis.so" - -Dopenblas_LIBRARY="${libdir}/libopenblas.so" - ) - - # use system sci-libs/lapack - if use system-blas; then - # this is sci-libs/lapack[flexiblas] install - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas-reference.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack-reference.so" - ) - else - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack.so" - ) - fi - - cmake_src_configure - - if use index64; then - mycmakeargs+=( - -DINTEGER8=ON - -Dblis_LIBRARY="${libdir}/libblis64.so" - -Dopenblas_LIBRARY="${libdir}/libopenblas64.so" - ) - - if use system-blas; then - # this is sci-libs/lapack[flexiblas] install - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas64-reference.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack64-reference.so" - ) - else - mycmakeargs+=( - -DSYS_BLAS_LIBRARY="${libdir}/libblas64.so" - -DSYS_LAPACK_LIBRARY="${libdir}/liblapack64.so" - ) - fi - - BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_configure - fi - - BACKENDS+=( netlib ) - BACKENDS_ILP64=( "${BACKENDS[@]}" ) - if use mkl; then - BACKENDS+=( - MklSerial - $(usev openmp MklOpenMP) - $(usev tbb MklTBB) - ) - BACKENDS_ILP64+=( - MklSerial64 - $(usev openmp MklOpenMP64) - $(usev tbb MklTBB64) - ) - fi -} - -src_compile() { - cmake_src_compile - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_compile -} - -my_test() { - # We run tests in parallel, so avoid having n^2 threads. - local -x BLIS_NUM_THREADS=1 - local -x MKL_NUM_THREADS=1 - local -x OMP_NUM_THREADS=1 - local -x OPENBLAS_NUM_THREADS=1 - - local backend - for backend in "${@}"; do - local args=() - if [[ ${backend} == Mkl* ]]; then - # XFAIL - args+=( -E 'cblat[23]' ) - fi - - local -x FLEXIBLAS_TEST=${backend} - local log=${BUILD_DIR}/Testing/Temporary/LastTest.log - einfo "Testing backend ${backend}" - cmake_src_test "${args[@]}" - if grep -q 'BLAS backend .* not found' "${log}"; then - die "Backend ${backend} failed to load while testing, see ${log}" - fi - done -} - -src_test() { - my_test "${BACKENDS[@]}" - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 my_test "${BACKENDS_ILP64[@]}" -} - -verify_backends() { - local lib=${1} - shift - cd "${ED}/usr/$(get_libdir)/${lib}" || die - - local missing=() - local backend - for backend in "${@}"; do - if [[ ! -f libflexiblas_${backend,,}$(get_libname) ]]; then - missing+=( "${backend}" ) - fi - done - - if [[ ${missing[@]} ]]; then - die "Not all requested ${lib} backends built. Missing: ${missing[*]}" - fi -} - -src_install() { - cmake_src_install - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_install - - # Verify built backends. - verify_backends flexiblas "${BACKENDS[@]}" - use index64 && verify_backends flexiblas64 "${BACKENDS_ILP64[@]}" - - # Install symlinks for system BLAS / LAPACK use. - if use system-blas; then - local libdir="/usr/$(get_libdir)" - local fn suffix - for fn in cblas.h lapack.h lapacke{,_config,_mangling,_utils}.h; do - dosym "flexiblas/${fn}" "/usr/include/${fn}" - done - - for suffix in '' $(usev index64 64); do - for fn in blas cblas lapack lapacke; do - dosym "libflexiblas${suffix}.so.3" \ - "${libdir}/lib${fn}${suffix}.so.3" - done - done - fi -} - -pkg_postinst() { - if use system-blas; then - # eselect-{blas,lapack} doesn't clean up its configs - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local files=( - "${EROOT}"/etc/ld.so.conf.d/81-blas-*.conf - "${EROOT}"/etc/ld.so.conf.d/82-lapack-*.conf - ) - ${prev_opt} - - if [[ ${files[@]} ]]; then - rm -v "${files[@]}" - fi - fi -} diff --git a/sci-libs/flexiblas/metadata.xml b/sci-libs/flexiblas/metadata.xml deleted file mode 100644 index ac3f817d0ce9..000000000000 --- a/sci-libs/flexiblas/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <use> - <flag name="blis">Support <pkg>sci-libs/blis</pkg> provider</flag> - <flag name="index64">Build a separate ILP64 library in addition to LP64</flag> - <flag name="mkl">Support <pkg>sci-libs/mkl</pkg> provider</flag> - <flag name="openblas">Support <pkg>sci-libs/openblas</pkg> provider</flag> - <flag name="system-blas"> - Install symlinks to use FlexiBLAS as the system BLAS / LAPACK - provider. - </flag> - <flag name="tbb"> - Support <pkg>sci-libs/mkl</pkg> with <pkg>dev-cpp/tbb</pkg> - threading. - </flag> - </use> -</pkgmetadata> diff --git a/sci-libs/fplll/Manifest b/sci-libs/fplll/Manifest deleted file mode 100644 index 0c8bc1a9ae35..000000000000 --- a/sci-libs/fplll/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fplll-5.5.0.tar.gz 2633527 BLAKE2B 47a5b53fea261cb08ac04a939108414f692280806a7c12ebf851f309cfccbeb360dd1777ac595e9eacae1f23b51c6437c11c91964a04242f3a45af9f8b28de75 SHA512 c070dab206ebf692aa2afd8e6cdf412b5497488e8205332b4b726dd69283f415f86d1bcb55937a678cacd47b2068eea3f776eae8e050c4096e48d1cefd3de291 diff --git a/sci-libs/fplll/fplll-5.5.0.ebuild b/sci-libs/fplll/fplll-5.5.0.ebuild deleted file mode 100644 index eb7593559926..000000000000 --- a/sci-libs/fplll/fplll-5.5.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Implementations of the floating-point LLL reduction algorithm" -HOMEPAGE="https://github.com/fplll/fplll" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/8" -KEYWORDS="amd64 ~riscv ~x86" -IUSE="qd" - -BDEPEND="virtual/pkgconfig" -DEPEND="dev-libs/gmp:0 - dev-libs/mpfr:0 - qd? ( sci-libs/qd )" -RDEPEND="${DEPEND}" - -src_configure() { - econf \ - $(use_with qd) -} - -src_install() { - default - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sci-libs/fplll/metadata.xml b/sci-libs/fplll/metadata.xml deleted file mode 100644 index 7ea4c6f6f502..000000000000 --- a/sci-libs/fplll/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <upstream> - <remote-id type="github">fplll/fplll</remote-id> - </upstream> - <use> - <flag name="qd">Use <pkg>sci-libs/qd</pkg> for quad-double datatype</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/galib/Manifest b/sci-libs/galib/Manifest deleted file mode 100644 index 9a0f9f379530..000000000000 --- a/sci-libs/galib/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST galib-2.4.7-patches.tar.xz 4180 BLAKE2B 3e0f9bc5c7f3289c1839ef5c2151e72079e2ca19a884ce705bc723a379b76185bb5ebc83b5c465f6df2468e5ca8eaf18d3dbbd807ef9af5899f377d83a94535e SHA512 245fc139aed8f09ba39a0a78b0ed21ac6f8c7d33bdffe24f18f53f688beae00353ac0abfa3746ee733ee30efb1fbf4084b553e7a5b647f1a41fd019ab1218c1a -DIST galib247.tgz 374912 BLAKE2B d6f0d757cee9a1c26eb4525862dc2e9761449492edb323ba30ea70cde95b72da2a90fad4a931ab1d07d8bc0fca2b62672357ee790b1e67f3e9b480d5aff26106 SHA512 9c2aca29f24d3f8401ba65c246a0ca7d1fa67e4f756a5258cdb0da111842ea2903c2d70cfd9d60823c9703bcb3415ca670a731924e99878d5536c2f7eb0faba4 diff --git a/sci-libs/galib/galib-2.4.7-r2.ebuild b/sci-libs/galib/galib-2.4.7-r2.ebuild deleted file mode 100644 index 7c4e83983700..000000000000 --- a/sci-libs/galib/galib-2.4.7-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MY_PV="${PV//\./}" - -DESCRIPTION="Library for genetic algorithms in C++ programs" -HOMEPAGE="http://lancet.mit.edu/ga/" -SRC_URI=" - http://lancet.mit.edu/ga/dist/galib${MY_PV}.tgz - https://dev.gentoo.org/~soap/distfiles/${P}-patches.tar.xz" -S="${WORKDIR}/${PN}${MY_PV}" - -LICENSE="BSD examples? ( GPL-2 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples" - -PATCHES=( "${WORKDIR}"/patches ) - -src_configure() { - tc-export AR CXX - export LIBDIR="${EPREFIX}"/usr/$(get_libdir) - export INCDIR="${EPREFIX}"/usr/include -} - -src_compile() { - emake lib - emake -C examples clean -} - -src_install() { - use doc && HTML_DOCS=( doc/. ) - if use examples; then - dodoc -r examples - find "${ED}"/usr/share/doc/${PF}/examples -iname 'makefile*' -delete || die - docompress -x /usr/share/doc/${PF}/examples - fi - - default -} diff --git a/sci-libs/galib/metadata.xml b/sci-libs/galib/metadata.xml deleted file mode 100644 index 3f4942881286..000000000000 --- a/sci-libs/galib/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - GAlib contains a set of C++ genetic algorithm objects. The library - includes tools for using genetic algorithms to do optimization in - any C++ program using any representation and genetic operators. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/gamer/Manifest b/sci-libs/gamer/Manifest deleted file mode 100644 index 8dc96ca129fe..000000000000 --- a/sci-libs/gamer/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gamer-1.5.tar.gz 4232061 BLAKE2B d2cc861a3529678cd2c17bc6e333c99d2e155697ea935d91e1d2be65fa392e0a27b491eb102f5fb623c90a611d927482d8064a134124c1ecb20d7aa41060d64c SHA512 4911b208ae5cd7be7ef165bac8fc9680ff03c0936881ae3d162205df9ef4f3fb176455e27b2f4ca202c3129352156cf5166b1d7d99fde7b281b404e383f72a44 diff --git a/sci-libs/gamer/files/1.4-doc.patch b/sci-libs/gamer/files/1.4-doc.patch deleted file mode 100644 index 642601bcc17b..000000000000 --- a/sci-libs/gamer/files/1.4-doc.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am -index 4067c1c..43867e2 100644 ---- a/doc/doxygen/Makefile.am -+++ b/doc/doxygen/Makefile.am -@@ -9,13 +9,11 @@ - ## Author: Michael Holst - ## ########################################################################### - --docdir = @prefix@/doc/gamer -- - doc_DATA = gamer_doc - - gamer_doc: - $(doxygen_path) $(top_srcdir)/doc/doxygen/gamer.dox - - install-docDATA: -- mkdir -p $(docdir) -- cp -r ../api $(docdir)/ -+ mkdir -p $(DESTDIR)/@docdir@ -+ cp -r ../api $(DESTDIR)/@docdir@ diff --git a/sci-libs/gamer/files/1.4-multilib.patch b/sci-libs/gamer/files/1.4-multilib.patch deleted file mode 100644 index 3ebc8dcd7aab..000000000000 --- a/sci-libs/gamer/files/1.4-multilib.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am -index de1d7c3..b2420c8 100644 ---- a/src/aaa_lib/Makefile.am -+++ b/src/aaa_lib/Makefile.am -@@ -35,18 +35,17 @@ LIBTETGEN = libtetgen.la - #LIBTETGEN = - #endif - --libdir = ${prefix}/lib - lib_LTLIBRARIES = libgamer.la ${LIBTRIANGLE} ${LIBTETGEN} - - libgamer_la_SOURCES = --libgamer_la_LIBADD = ${BASE_LIBS} ${BIOM_LIBS} -+libgamer_la_LIBADD = ${BASE_LIBS} ${BIOM_LIBS} -lm -lstdc++ ../tetgen/libtetgen.la - libgamer_la_LDFLAGS = -version-info ${FETK_VERSION} - - libtriangle_la_SOURCES = --libtriangle_la_LIBADD = ${TRIANGLE_LIBS} -+libtriangle_la_LIBADD = ${TRIANGLE_LIBS} -lm - libtriangle_la_LDFLAGS = -version-info ${FETK_VERSION} - - libtetgen_la_SOURCES = --libtetgen_la_LIBADD = ${TETGEN_LIBS} -+libtetgen_la_LIBADD = ${TETGEN_LIBS} -lm -lstdc++ - libtetgen_la_LDFLAGS = -version-info ${FETK_VERSION} - diff --git a/sci-libs/gamer/gamer-1.5-r2.ebuild b/sci-libs/gamer/gamer-1.5-r2.ebuild deleted file mode 100644 index fe1ee685a674..000000000000 --- a/sci-libs/gamer/gamer-1.5-r2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Geometry-preserving Adaptive MeshER" -HOMEPAGE="http://fetk.org/codes/gamer/index.html" -SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc" - -RDEPEND=">=dev-libs/maloc-1.4" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( - media-gfx/graphviz - app-text/doxygen - )" - -PATCHES=( - "${FILESDIR}"/1.4-multilib.patch - "${FILESDIR}"/1.4-doc.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - export FETK_INCLUDE="${ESYSROOT}"/usr/include - export FETK_LIBRARY="${ESYSROOT}"/usr/$(get_libdir) - - econf \ - --disable-static \ - --disable-triplet \ - --with-doxygen=$(usex doc "${BROOT}"/usr/bin/doxygen '') \ - --with-dot=$(usex doc "${BROOT}"/usr/bin/dot '') -} - -src_install() { - default - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/gamer/metadata.xml b/sci-libs/gamer/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/sci-libs/gamer/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/gaul-devel/Manifest b/sci-libs/gaul-devel/Manifest deleted file mode 100644 index 08af6244f5c2..000000000000 --- a/sci-libs/gaul-devel/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gaul-devel-0.1849-0.tar.bz2 416827 BLAKE2B 7d35ed137731efccd823d580192a3648b075900d469e1506e2689017271e78bb81e7f5cfe256100e3469f92df5c69eceaeadf5b396f58a1a76df614103b00a12 SHA512 c9da2b983073c99b9f785b665b17c7c63b61a5d879c99c167c2014cc1dfd8ad689f89ec788d69a05e0ed391c97dbe1671d039d9122e58a354e8304785082c93d diff --git a/sci-libs/gaul-devel/files/gaul-devel-0.1849-as-needed.patch b/sci-libs/gaul-devel/files/gaul-devel-0.1849-as-needed.patch deleted file mode 100644 index aadea97e6929..000000000000 --- a/sci-libs/gaul-devel/files/gaul-devel-0.1849-as-needed.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- gaul-devel-0.1849-0.orig/src/Makefile.am 2005-04-20 16:25:27.000000000 +0200 -+++ gaul-devel-0.1849-0/src/Makefile.am 2010-02-13 16:57:55.051370268 +0100 -@@ -83,7 +83,7 @@ - gaul/ga_tabu.h \ - gaul.h - --libgaul_la_LIBFLAGS = -lm -+libgaul_la_LIBADD = $(top_srcdir)/util/libgaul_util.la -lm - libgaul_la_LDFLAGS = -version-info ${GA_MAJOR_VERSION}:${GA_LT_MINOR_VERSION}:0 - - ---- gaul-devel-0.1849-0.orig/util/Makefile.am 2005-04-20 16:25:53.000000000 +0200 -+++ gaul-devel-0.1849-0/util/Makefile.am 2010-02-13 17:00:00.128370192 +0100 -@@ -64,10 +64,10 @@ - gaul/table_util.h \ - gaul/timer_util.h - --libgaul_util_a_LIBFLAGS = -+libgaul_util_la_LIBADD = -lm - libgaul_util_la_LDFLAGS = -version-info ${GA_MAJOR_VERSION}:${GA_LT_MINOR_VERSION}:0 - --libnn_util_a_LIBFLAGS = -+libnn_util_la_LIBADD = -lm - libnn_util_la_LDFLAGS = -version-info ${GA_MAJOR_VERSION}:${GA_LT_MINOR_VERSION}:0 - - # Regenerate gaul_config.h with config.status whenever gaul_config.h.in changes. diff --git a/sci-libs/gaul-devel/files/gaul-devel-0.1849-slang2-error.patch b/sci-libs/gaul-devel/files/gaul-devel-0.1849-slang2-error.patch deleted file mode 100644 index 64b3c59a28bb..000000000000 --- a/sci-libs/gaul-devel/files/gaul-devel-0.1849-slang2-error.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur gaul-devel-0.1849-0/tests/test_slang.c gaul-devel-0.1849-0.new/tests/test_slang.c ---- gaul-devel-0.1849-0/tests/test_slang.c 2003-08-19 17:41:20.000000000 -0400 -+++ gaul-devel-0.1849-0.new/tests/test_slang.c 2008-02-09 10:42:43.000000000 -0500 -@@ -287,10 +287,11 @@ - */ - if (-1 == SLang_load_file(script_fname)) - { -+ int error = SLang_get_error(); - dief("Error %d interpreting the S-Lang script \"%s\".", -- SLang_Error, script_fname); -+ error, script_fname); - SLang_restart(1); /* reset interpreter. */ -- SLang_Error = 0; -+ SLang_set_error(0); - return FALSE; - } - -@@ -315,9 +316,10 @@ - */ - if (-1 == SLang_load_file(NULL)) - { -- dief("Error %d interpreting the SLang script from stdin.", SLang_Error); -+ int error = SLang_get_error(); -+ dief("Error %d interpreting the SLang script from stdin.", error); - SLang_restart(1); -- SLang_Error = 0; -+ SLang_set_error(0); - return FALSE; - } - diff --git a/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild b/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild deleted file mode 100644 index e7fd46a0708d..000000000000 --- a/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Genetic Algorithm Utility Library" -HOMEPAGE="https://gaul.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/gaul/${P}-0.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="slang" - -RDEPEND="slang? ( sys-libs/slang:= )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${P}-0" - -PATCHES=( - "${FILESDIR}"/${P}-slang2-error.patch - "${FILESDIR}"/${P}-as-needed.patch -) - -src_prepare() { - default - mv configure.{in,ac} || die - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable slang) -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/gaul-devel/metadata.xml b/sci-libs/gaul-devel/metadata.xml deleted file mode 100644 index 9050e7726d83..000000000000 --- a/sci-libs/gaul-devel/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The Genetic Algorithm Utility Library is a - flexible programming library designed to aid in the development of - applications that use genetic, or evolutionary, algorithms. It - provides data structures and functions for handling and manipulation - of the data required for serial and parallel evolutionary - algorithms. Additional stochastic algorithms are provided for - comparison to the genetic algorithms. Much of the functionality is - also available through a simple S-Lang interface. - </longdescription> - <upstream> - <remote-id type="sourceforge">gaul</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/gdal/Manifest b/sci-libs/gdal/Manifest deleted file mode 100644 index 01ac7be7cc69..000000000000 --- a/sci-libs/gdal/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST gdal-3.12.4.tar.xz 9604672 BLAKE2B a09e0dd2b5da00286e8e2e2b1ccebf3577bfb18fb25ac04b452858e0ccb2dedfbc26c6c741d0c11bd255026d614872920750cf1ab838f8b21acfdcdf71691819 SHA512 fe0fd9a8f3f22f331195be3ccfa92644630229c5a6dc9de67d22939d127ef484923247b88be61ab6bfb27131ec32c21eb74d32cc4940d987f9ad116bb760bdf8 -DIST gdal-3.13.0.tar.xz 9945444 BLAKE2B f8136f226bf2201a732e7acc61d23024a9f65fc9037386f18b3db4edb85672c054ac29703df1404a33efd97b266f0e40e716b0880e619dea3256e14afd366aaa SHA512 a38e6ca76198a12a33574a525965d3940293bec827e537ae5ac9283eb48ccd942b738968f201918c0924ae9cee7b7e9f9c61a0b0e7a95261acbf060f9f09ef77 -DIST gdalautotest-3.12.4.zip 23266101 BLAKE2B 4425fed6d5a17ae0a222a37e581923015054141d236f15b71179cd55efc0fcee7ec1b572e9af2c2a6c9cf54807a0753e90b7b9cd6d7fbd8ca93beab5a8b75cb2 SHA512 19eef02db070ddf71c213311e702f4a15b2d3dc86a55de6edb22d38396bc477c2da0634035e3186c5172e94bed526b6057e2e8a6c17b4d786ada116ceef41aba -DIST gdalautotest-3.13.0.zip 23801287 BLAKE2B 82c0e0cf8065d5cfa6a546008b3117493369b7c01fc630bd3b6365436929fdd95806c664dbfdb29af839ce1bc3853e64957371f0ac617db4c358672ca3a03c0b SHA512 1a20c90203641c100b541401dd41bdcae5e6fccddb322c7a35d737f511c6ad556be91cfc056f3b94984979c3bf0e87c48e605f88661c172989d0786476e92f0a diff --git a/sci-libs/gdal/gdal-3.12.4.ebuild b/sci-libs/gdal/gdal-3.12.4.ebuild deleted file mode 100644 index a277ba998c6c..000000000000 --- a/sci-libs/gdal/gdal-3.12.4.ebuild +++ /dev/null @@ -1,495 +0,0 @@ -# Copyright 2025-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{13..14} ) -inherit cmake distutils-r1 flag-o-matic java-pkg-opt-2 - -DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)" -HOMEPAGE="https://gdal.org/" -SRC_URI=" - https://download.osgeo.org/gdal/${PV}/${P}.tar.xz - test? ( https://download.osgeo.org/gdal/${PV}/gdalautotest-${PV}.zip ) -" - -LICENSE="BSD Info-ZIP MIT" -SLOT="0/38" # subslot is libgdal.so.<SONAME> (and GDAL_SOVERSION in gdal.cmake) -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE=" - archive armadillo avif blosc cryptopp +curl cpu_flags_arm_neon cpu_flags_x86_avx - cpu_flags_x86_avx2 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 - cpu_flags_x86_ssse3 exprtk fits geos gif gml hdf5 heif java jpeg jpeg2k jpegxl - lerc libaec libdeflate lz4 lzma mongodb +muparser mariadb netcdf odbc openexr - oracle parquet pdf png postgres python qhull spatialite sqlite test +tools webp - xls zstd -" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - spatialite? ( sqlite ) -" - -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-libs/expat - dev-libs/json-c:= - dev-libs/libxml2:2= - dev-libs/openssl:= - - media-libs/tiff:= - >=sci-libs/libgeotiff-1.5.1-r1:= - >=sci-libs/proj-6.0.0:= - sys-libs/zlib[minizip(+)] - archive? ( app-arch/libarchive:= ) - armadillo? ( sci-libs/armadillo:=[lapack] ) - avif? ( media-libs/libavif:= ) - blosc? ( dev-libs/c-blosc:= ) - cryptopp? ( dev-libs/crypto++:= ) - curl? ( net-misc/curl ) - fits? ( sci-libs/cfitsio:= ) - geos? ( >=sci-libs/geos-3.8.0 ) - gif? ( media-libs/giflib:= ) - gml? ( >=dev-libs/xerces-c-3.1:= ) - heif? ( media-libs/libheif:= ) - hdf5? ( >=sci-libs/hdf5-1.6.4:=[cxx,szip] ) - java? ( - >=virtual/jdk-1.8:* - ) - jpeg? ( media-libs/libjpeg-turbo:= ) - jpeg2k? ( media-libs/openjpeg:2= ) - jpegxl? ( media-libs/libjxl:= ) - lerc? ( media-libs/lerc:= ) - libaec? ( sci-libs/libaec:= ) - libdeflate? ( app-arch/libdeflate ) - lz4? ( app-arch/lz4:= ) - lzma? ( || ( - app-arch/xz-utils - app-arch/lzma - ) ) - mongodb? ( dev-db/mongodb:= ) - muparser? ( dev-cpp/muParser:= ) - mariadb? ( dev-db/mariadb-connector-c:= ) - netcdf? ( sci-libs/netcdf:= ) - odbc? ( dev-db/unixODBC ) - openexr? ( media-libs/openexr:= ) - oracle? ( dev-db/oracle-instantclient:= ) - parquet? ( dev-libs/apache-arrow:=[compute,dataset,parquet,lz4?,zlib,zstd?] ) - pdf? ( app-text/poppler:= ) - png? ( media-libs/libpng:= ) - postgres? ( >=dev-db/postgresql-8.4:= ) - qhull? ( media-libs/qhull:= ) - spatialite? ( dev-db/spatialite ) - sqlite? ( - >=dev-db/sqlite-3.31:3 - dev-libs/libpcre2:= - ) - webp? ( media-libs/libwebp:= ) - xls? ( dev-libs/freexl ) - zstd? ( app-arch/zstd:= ) -" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" -DEPEND="${COMMON_DEPEND} - exprtk? ( dev-cpp/exprtk ) - test? ( dev-cpp/gtest ) -" -BDEPEND=" - virtual/pkgconfig - java? ( - >=dev-java/ant-1.10.14-r3:0 - dev-lang/swig - ) - python? ( - ${DISTUTILS_DEPS} - dev-lang/swig - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - test? ( - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] - dev-python/pytest-env[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - parquet? ( dev-python/pyarrow[parquet,${PYTHON_USEDEP}] ) - ) - ') - ) -" - -QA_CONFIG_IMPL_DECL_SKIP=( - _wstat64 # Windows LFS -) - -EPYTEST_PLUGINS=( pytest-env ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 - -pkg_setup() { - use java && java-pkg-opt-2_pkg_setup -} - -src_prepare() { - if use test ; then - mv "${WORKDIR}"/gdalautotest-${PV} "${S}"/autotest || die - fi - java-pkg-opt-2_src_prepare - cmake_src_prepare -} - -python_configure_all() { - local -x BUILD_DIR="${S}_python" - # Generate required files with cmake and then use distutils-r1 to generate wheels - # https://github.com/OSGeo/gdal/issues/9965#issuecomment-2159222393 - mycmakeargs+=( -DBUILD_PYTHON_BINDINGS=ON ) - cmake_src_configure - cmake_build python_generated_files - cmake_build generate_gdal_version_h - sed -E -e "/(library_dirs|include_dirs) =/ { s|${BUILD_DIR}|${cmake_build_dir}| } " \ - -i "${BUILD_DIR}/swig/python/setup.py" || die -} - -src_configure() { - # sanity check subslot to give a friendly reminder to would-be drive by bumpers - local detected_soversion - detected_soversion="$(sed -n -e 's/set(GDAL_SOVERSION \(.*\))/\1/p' gdal.cmake)" - if [[ "${SLOT#0/}" != "${detected_soversion}" ]]; then - die "Subslot ${SLOT#0/} doesn't match upstream specified set(GDAL_SOVERSION ${detected_soversion}) in gdal.cmake." - fi - - # ODR violations - filter-lto - - local mycmakeargs=( - # https://gdal.org/en/stable/development/building_from_source.html - - -DBUILD_APPS=$(usex tools) - -DBUILD_TESTING=$(usex test) - -DENABLE_GNM=ON - -DENABLE_IPO=OFF - -DENABLE_PAM=ON # Persistent Auxiliary Metadata (not Pluggable Authentication Modules!) - -DOGR_ENABLE_DRIVER_SQLITE=$(usex sqlite) - -DGDAL_ENABLE_PLUGINS=OFF - -DGDAL_ENABLE_PLUGINS_NO_DEPS=OFF - -DGDAL_BUILD_OPTIONAL_DRIVERS=ON - -DOGR_BUILD_OPTIONAL_DRIVERS=ON - -DGDAL_USE_EXTERNAL_LIBS=ON - -DGDAL_USE_INTERNAL_LIBS=OFF - -DUSE_CCACHE=OFF - -DUSE_PRECOMPILED_HEADERS=OFF - - # bug #844874 and bug #845150 - -DCMAKE_INSTALL_INCLUDEDIR="include/gdal" - - -DGDAL_FIND_PACKAGE_PROJ_MODE=CONFIG - - # Options here are generally off because of one of: - # - Not yet packaged dependencies - # - # - Off for autotools build and didn't want more churn by - # enabling during port to CMake. Feel free to request them - # being turned on if useful for you. - # - # See cmake/helpers/CheckDependentLibraries.cmake for options - # *_*_package(Option) -> GDAL_USE_OPTION - -DGDAL_USE_ADBCDRIVERMANAGER=OFF - -DGDAL_USE_ARCHIVE=$(usex archive) - -DGDAL_USE_ARMADILLO=$(usex armadillo) - -DGDAL_USE_AVIF=$(usex avif) - -DGDAL_USE_ARROW=$(usex parquet) - -DGDAL_USE_BASISU=OFF - -DGDAL_USE_BLOSC=$(usex blosc) - -DGDAL_USE_BRUNSLI=OFF - -DGDAL_USE_CRNLIB=OFF - -DGDAL_USE_CFITSIO=$(usex fits) - -DGDAL_USE_CURL=$(usex curl) - -DGDAL_USE_CRYPTOPP=$(usex cryptopp) - -DGDAL_USE_DEFLATE=$(usex libdeflate) # complements zlib - -DGDAL_USE_ECW=OFF - -DGDAL_USE_EXPAT=ON - -DGDAL_USE_EXPRTK=$(usex exprtk) - -DGDAL_USE_FILEGDB=OFF - -DGDAL_USE_FREEXL=$(usex xls) - -DGDAL_USE_FYBA=OFF - -DGDAL_USE_GEOTIFF=ON - -DGDAL_USE_GEOS=$(usex geos) - -DGDAL_USE_GIF=$(usex gif) - -DGDAL_USE_GTA=OFF - -DGDAL_USE_HEIF=$(usex heif) - -DGDAL_USE_HDF4=OFF - -DGDAL_USE_HDF5=$(usex hdf5) - -DGDAL_USE_HDFS=OFF - -DGDAL_USE_ICONV=ON # TODO dep - -DGDAL_USE_IDB=OFF - - # Enable internal implementation so that tests pass with the use disabled - -DGDAL_USE_JPEG=$(usex jpeg) - -DGDAL_USE_JPEG_INTERNAL=$(usex !jpeg) - - # https://gdal.org/build_hints.html#jpeg12 - # Independent of whether using system libjpeg - -DGDAL_USE_JPEG12_INTERNAL=ON - - -DGDAL_USE_JSONC=ON - -DGDAL_USE_JXL=$(usex jpegxl) - -DGDAL_USE_JXL_THREADS=$(usex jpegxl) - -DGDAL_USE_KDU=OFF - -DGDAL_USE_KEA=OFF - -DGDAL_USE_LERC=$(usex lerc) - -DGDAL_USE_LIBAEC=$(usex libaec) - -DGDAL_USE_LIBKML=OFF - -DGDAL_USE_LIBLZMA=$(usex lzma) - -DGDAL_USE_LIBQB3=OFF - -DGDAL_USE_LIBXML2=ON - -DGDAL_USE_LZ4=$(usex lz4) # FIXME - -DGDAL_USE_MONGOCXX=$(usex mongodb) - -DGDAL_USE_MRSID=OFF - -DGDAL_USE_MSSQL_NCLI=OFF - -DGDAL_USE_MSSQL_ODBC=OFF - -DGDAL_USE_MUPARSER=$(usex muparser) - -DGDAL_USE_MYSQL=$(usex mariadb) - -DGDAL_USE_NETCDF=$(usex netcdf) - -DGDAL_USE_ODBC=$(usex odbc) - -DGDAL_USE_ODBCCPP=OFF - - # unpackaged - -DGDAL_USE_OPENCAD=OFF - -DGDAL_USE_OPENCAD_INTERNAL=ON - - -DGDAL_USE_OPENDRIVE=OFF - -DGDAL_USE_OPENEXR=$(usex openexr) - -DGDAL_USE_OPENJPEG=$(usex jpeg2k) - -DGDAL_USE_OPENSSL=ON - -DGDAL_USE_ORACLE=$(usex oracle) - -DGDAL_USE_PARQUET=$(usex parquet) - -DGDAL_USE_PCRE2=ON - -DGDAL_USE_PDFIUM=OFF - - # Enable internal implementation so that tests pass with the use disabled - -DGDAL_USE_PNG=$(usex png) - -DGDAL_USE_PNG_INTERNAL=$(usex !png) - - -DGDAL_USE_PODOFO=OFF - -DGDAL_USE_POPPLER=$(usex pdf) - -DGDAL_USE_POSTGRESQL=$(usex postgres) - -DGDAL_USE_QHULL=$(usex qhull) - -DGDAL_USE_RASTERLITE2=OFF - - # upstream recommends using the internal implementation - # bug #935567 - -DGDAL_USE_SHAPELIB=OFF - -DGDAL_USE_SHAPELIB_INTERNAL=ON - - -DGDAL_USE_SPATIALITE=$(usex spatialite) - -DGDAL_USE_SQLITE3=$(usex sqlite) - -DGDAL_USE_SFCGAL=OFF - -DGDAL_USE_TEIGHA=OFF - -DGDAL_USE_TIFF=ON - -DGDAL_USE_WEBP=$(usex webp) - -DGDAL_USE_XERCESC=$(usex gml) - -DGDAL_USE_ZLIB=ON - -DGDAL_USE_ZSTD=$(usex zstd) - - # Bindings - -DBUILD_PYTHON_BINDINGS=OFF # handled separately - -DBUILD_JAVA_BINDINGS=$(usex java) - # bug #845369 - -DBUILD_CSHARP_BINDINGS=OFF - - # Handled differently from x86 - # First checks if the platform supports neon and if it supports the option will be available - # See SSE2NEON_COMPILES in CMakeLists.txt and gdal.cmake - -DGDAL_ENABLE_ARM_NEON_OPTIMIZATIONS=$(usex cpu_flags_arm_neon) - ) - - if use x86 || use amd64 ; then - mycmakeargs+=( - # Check work/gdal-3.5.0_build/CMakeCache.txt after configure - # and https://github.com/OSGeo/gdal/blob/master/cmake/helpers/CheckCompilerMachineOption.cmake#L71 - # Commented out: not (yet?) implemented upstream. - # - # check_compiler_machine_option(flag <instruction set>) -> -Dtest_<instruction set> - -Dtest_avx=$(usex cpu_flags_x86_avx) - -Dtest_avx2=$(usex cpu_flags_x86_avx2) - -Dtest_sse=$(usex cpu_flags_x86_sse) - -Dtest_sse2=$(usex cpu_flags_x86_sse2) - #-Dtest_sse3=$(usex cpu_flags_x86_sse3) - -Dtest_sse4.1=$(usex cpu_flags_x86_sse4_1) - #-Dtest_sse4.2=$(usex cpu_flags_x86_sse4_2) - #-Dtest_sse4a=$(usex cpu_flags_x86_sse4a) - -Dtest_ssse3=$(usex cpu_flags_x86_ssse3) - #-Dtest_fma4=$(usex cpu_flags_x86_fma4) - #-Dtest_xop=$(usex cpu_flags_x86_xop) - ) - fi - - if use test ; then - mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) - fi - - cmake_src_configure - - local cmake_build_dir="${BUILD_DIR}" - use python && distutils-r1_src_configure -} - -python_compile() { - pushd "${S}_python/swig/python" >/dev/null || die - distutils-r1_python_compile - popd >/dev/null || die -} - -src_compile() { - cmake_src_compile - - local -x PATH="${BUILD_DIR}/apps:${PATH}" - local -x LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" - use python && distutils-r1_src_compile -} - -python_test() { - local -x GDAL_DATA="${S}/data" - - # note: testpaths in pytest.ini will fight EPYTEST_IGNORE - EPYTEST_IGNORE=( - # network-sandbox and deselecting tests turns into whac-a-mole with their interdependencies - "gcore/vsis3.py" - ) - - use !muparser && EPYTEST_IGNORE+=( "gdrivers/vrtpansharpen.py" ) - use !pdf && EPYTEST_IGNORE+=( "gdrivers/pdf.py" ) - - EPYTEST_DESELECT=( - # network-sandbox - "gcore/tiff_read.py::test_tiff_read_strace_check" - "gcore/vsioss.py::test_vsioss_6" - "gdrivers/gdalhttp.py::test_http_ssl_verifystatus" - "gdrivers/jp2openjpeg.py::test_jp2openjpeg_45" - "gdrivers/wms.py::test_wms_8" - "ogr/ogr_csv.py::test_ogr_csv_schema_override" - "ogr/ogr_geojson.py::test_ogr_geojson_schema_override" - "ogr/ogr_gml.py::test_ogr_gml_type_override" - "ogr/ogr_gmlas.py::test_ogr_gmlas_billion_laugh" - "ogr/ogr_parquet.py::test_ogr_parquet_coordinate_epoch" - "ogr/ogr_parquet.py::test_ogr_parquet_crs_identification_on_write" - "ogr/ogr_parquet.py::test_ogr_parquet_edges" - "ogr/ogr_parquet.py::test_ogr_parquet_geoarrow" - "ogr/ogr_parquet.py::test_ogr_parquet_geometry_types" - "ogr/ogr_parquet.py::test_ogr_parquet_polygon_orientation" - "ogr/ogr_sqlite.py::test_ogr_sqlite_schema_override" - "pyscripts/test_validate_geoparquet.py::test_validate_geoparquet_ok" - "utilities/test_gdalinfo_lib.py::test_gdalinfo_lib_2" - "utilities/test_gdalinfo_lib.py::test_gdalinfo_lib_5" - "utilities/test_gdalinfo_lib.py::test_gdalinfo_lib_json_color_table_and_rat" - "utilities/test_ogrinfo_lib.py::test_ogrinfo_lib_extent3D" - "utilities/test_ogrinfo_lib.py::test_ogrinfo_lib_json_relationships" - "utilities/test_ogrinfo_lib.py::test_ogrinfo_lib_json_validate" - - # sandbox interferes with strace? - "gcore/basic_test.py::test_basic_test_strace_non_existing_file" - - # Breaks due to other deselects. - "ogr/ogr_gpkg.py::test_ogr_gpkg_immutable" - "ogr/ogr_gpkg.py::test_ogr_gpkg_nolock" - "ogr/ogr_parquet.py::test_ogr_parquet_read_large_binary_or_string_for_geometry" - "ogr/ogr_parquet.py::test_ogr_parquet_write_arrow_rewind_polygon" - "ogr/ogr_parquet.py::test_ogr_parquet_bbox_float32" - "ogr/ogr_sqlite.py::test_ogr_sqlite_34" - - # USE="pdf" poppler 25.07? - # assert 8191 in (7926, 8177, 8174, 8165, 8172, 8193) - "gdrivers/pdf.py::test_pdf_extra_rasters[POPPLER]" - ) - - if use !armadillo; then - EPYTEST_DESELECT+=( - # AssertionError: (1634, (3456541.352648813, 5640759.820845713, 0.0)) - "gcore/transformer.py::test_transformer_tps_precision" - ) - fi - - if use !sqlite; then - EPYTEST_DESELECT+=( - # implicit sqlite requirement for the test (or the wms (curl) driver)? - "gdrivers/ogcapi.py::test_ogr_ogcapi_vector_tiles" - # expects sqlite being enabled in a warning message - "utilities/test_gdalalg_vector_rasterize.py::test_gdalalg_vector_rasterize" - ) - fi - - pushd "${S}_python/autotest" >/dev/null || die - # https://github.com/OSGeo/gdal/tree/v3.11.3/autotest#gdals-tests-are-not-independent - # So run directories separately with reruns to maximise chances without excluding every test - # - # See pytest_dirs in autotest/CMakeLists.txt. - # benchmark excluded on purpose as it uses pytest-benchmark - # gdrivers excluded as its especially flaky with excluding tests - # gnm excluded as you need to exclude 99% of it leaving only one or two tests - local failures=() - for pytest_dir in alg gcore gdrivers ogr osr pyscripts utilities; do - nonfatal epytest ${pytest_dir} - [[ ${?} != 0 ]] && failures+=( ${pytest_dir} ) - done - popd >/dev/null || die - - if [[ ${#failures} -gt 0 ]]; then - die "pytest failures: ${failures[@]}" - fi -} - -src_test() { - local -x GDAL_RUN_SLOW_TESTS=0 - local -x GDAL_DOWNLOAD_TEST_DATA=0 # tests relying on downloaded data **may** be skipped - - cmake_src_test - - local -x PATH="${BUILD_DIR}/apps:${PATH}" - local -x LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" - use python && distutils-r1_src_test -} - -python_install() { - pushd "${S}_python/swig/python" >/dev/null || die - distutils-r1_python_install - popd >/dev/null || die -} - -src_install() { - cmake_src_install - - if use java; then - # Move the native library into the proper place for Gentoo. The - # library in ${D} has already had its RPATH fixed, so we use it - # rather than ${BUILD_DIR}/swig/java/libgdalalljni.so. - java-pkg_doso "${D}/usr/$(get_libdir)/jni/libgdalalljni.so" - rm -rf "${ED}/usr/$(get_libdir)/jni" || die - fi - - use python && distutils-r1_src_install -} - -pkg_postinst() { - elog "Check available image and data formats after building with" - if use tools; then - elog "gdal info --formats" - else - elog "gdal-config --formats" - fi - - if use java; then - elog - elog "To use the Java bindings, you need to pass the following to java:" - elog " -Djava.library.path=$(java-config -i gdal)" - fi -} diff --git a/sci-libs/gdal/gdal-3.13.0.ebuild b/sci-libs/gdal/gdal-3.13.0.ebuild deleted file mode 100644 index a23c583ff1df..000000000000 --- a/sci-libs/gdal/gdal-3.13.0.ebuild +++ /dev/null @@ -1,495 +0,0 @@ -# Copyright 2025-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{13..14} ) -inherit cmake distutils-r1 flag-o-matic java-pkg-opt-2 - -DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)" -HOMEPAGE="https://gdal.org/" -SRC_URI=" - https://download.osgeo.org/gdal/${PV}/${P}.tar.xz - test? ( https://download.osgeo.org/gdal/${PV}/gdalautotest-${PV}.zip ) -" - -LICENSE="BSD Info-ZIP MIT" -SLOT="0/39" # subslot is libgdal.so.<SONAME> (and GDAL_SOVERSION in gdal.cmake) -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE=" - archive armadillo avif blosc cryptopp +curl cpu_flags_arm_neon cpu_flags_x86_avx - cpu_flags_x86_avx2 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 - cpu_flags_x86_ssse3 exprtk fits geos gif gml hdf5 heif java jpeg jpeg2k jpegxl - lerc libaec libdeflate lz4 lzma mongodb +muparser mariadb netcdf odbc openexr - oracle parquet pdf png postgres python qhull spatialite sqlite test +tools webp - xls zstd -" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - spatialite? ( sqlite ) -" - -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-libs/expat - dev-libs/json-c:= - dev-libs/libxml2:2= - dev-libs/openssl:= - - media-libs/tiff:= - >=sci-libs/libgeotiff-1.5.1-r1:= - >=sci-libs/proj-6.0.0:= - sys-libs/zlib[minizip(+)] - archive? ( app-arch/libarchive:= ) - armadillo? ( sci-libs/armadillo:=[lapack] ) - avif? ( media-libs/libavif:= ) - blosc? ( dev-libs/c-blosc:= ) - cryptopp? ( dev-libs/crypto++:= ) - curl? ( net-misc/curl ) - fits? ( sci-libs/cfitsio:= ) - geos? ( >=sci-libs/geos-3.8.0 ) - gif? ( media-libs/giflib:= ) - gml? ( >=dev-libs/xerces-c-3.1:= ) - heif? ( media-libs/libheif:= ) - hdf5? ( >=sci-libs/hdf5-1.6.4:=[cxx,szip] ) - java? ( - >=virtual/jdk-1.8:* - ) - jpeg? ( media-libs/libjpeg-turbo:= ) - jpeg2k? ( media-libs/openjpeg:2= ) - jpegxl? ( media-libs/libjxl:= ) - lerc? ( media-libs/lerc:= ) - libaec? ( sci-libs/libaec:= ) - libdeflate? ( app-arch/libdeflate ) - lz4? ( app-arch/lz4:= ) - lzma? ( || ( - app-arch/xz-utils - app-arch/lzma - ) ) - mongodb? ( dev-db/mongodb:= ) - muparser? ( dev-cpp/muParser:= ) - mariadb? ( dev-db/mariadb-connector-c:= ) - netcdf? ( sci-libs/netcdf:= ) - odbc? ( dev-db/unixODBC ) - openexr? ( media-libs/openexr:= ) - oracle? ( dev-db/oracle-instantclient:= ) - parquet? ( dev-libs/apache-arrow:=[compute,dataset,parquet,lz4?,zlib,zstd?] ) - pdf? ( app-text/poppler:= ) - png? ( media-libs/libpng:= ) - postgres? ( >=dev-db/postgresql-8.4:= ) - qhull? ( media-libs/qhull:= ) - spatialite? ( dev-db/spatialite ) - sqlite? ( - >=dev-db/sqlite-3.31:3 - dev-libs/libpcre2:= - ) - webp? ( media-libs/libwebp:= ) - xls? ( dev-libs/freexl ) - zstd? ( app-arch/zstd:= ) -" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" -DEPEND="${COMMON_DEPEND} - exprtk? ( dev-cpp/exprtk ) - test? ( dev-cpp/gtest ) -" -BDEPEND=" - virtual/pkgconfig - java? ( - >=dev-java/ant-1.10.14-r3:0 - dev-lang/swig - ) - python? ( - ${DISTUTILS_DEPS} - dev-lang/swig - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - test? ( - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] - dev-python/pytest-env[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - parquet? ( dev-python/pyarrow[parquet,${PYTHON_USEDEP}] ) - ) - ') - ) -" - -QA_CONFIG_IMPL_DECL_SKIP=( - _wstat64 # Windows LFS -) - -EPYTEST_PLUGINS=( pytest-env ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 - -pkg_setup() { - use java && java-pkg-opt-2_pkg_setup -} - -src_prepare() { - if use test ; then - mv "${WORKDIR}"/gdalautotest-${PV} "${S}"/autotest || die - fi - java-pkg-opt-2_src_prepare - cmake_src_prepare -} - -python_configure_all() { - local -x BUILD_DIR="${S}_python" - # Generate required files with cmake and then use distutils-r1 to generate wheels - # https://github.com/OSGeo/gdal/issues/9965#issuecomment-2159222393 - mycmakeargs+=( -DBUILD_PYTHON_BINDINGS=ON ) - cmake_src_configure - cmake_build python_generated_files - cmake_build generate_gdal_version_h - sed -E -e "/(library_dirs|include_dirs) =/ { s|${BUILD_DIR}|${cmake_build_dir}| } " \ - -i "${BUILD_DIR}/swig/python/setup.py" || die -} - -src_configure() { - # sanity check subslot to give a friendly reminder to would-be drive by bumpers - local detected_soversion - detected_soversion="$(sed -n -e 's/set(GDAL_SOVERSION \(.*\))/\1/p' gdal.cmake)" - if [[ "${SLOT#0/}" != "${detected_soversion}" ]]; then - die "Subslot ${SLOT#0/} doesn't match upstream specified set(GDAL_SOVERSION ${detected_soversion}) in gdal.cmake." - fi - - # ODR violations - filter-lto - - local mycmakeargs=( - # https://gdal.org/en/stable/development/building_from_source.html - - -DBUILD_APPS=$(usex tools) - -DBUILD_TESTING=$(usex test) - -DENABLE_GNM=ON - -DENABLE_IPO=OFF - -DENABLE_PAM=ON # Persistent Auxiliary Metadata (not Pluggable Authentication Modules!) - -DOGR_ENABLE_DRIVER_SQLITE=$(usex sqlite) - -DGDAL_ENABLE_PLUGINS=OFF - -DGDAL_ENABLE_PLUGINS_NO_DEPS=OFF - -DGDAL_BUILD_OPTIONAL_DRIVERS=ON - -DOGR_BUILD_OPTIONAL_DRIVERS=ON - -DGDAL_USE_EXTERNAL_LIBS=ON - -DGDAL_USE_INTERNAL_LIBS=OFF - -DUSE_CCACHE=OFF - -DUSE_PRECOMPILED_HEADERS=OFF - - # bug #844874 and bug #845150 - -DCMAKE_INSTALL_INCLUDEDIR="include/gdal" - - -DGDAL_FIND_PACKAGE_PROJ_MODE=CONFIG - - # Options here are generally off because of one of: - # - Not yet packaged dependencies - # - # - Off for autotools build and didn't want more churn by - # enabling during port to CMake. Feel free to request them - # being turned on if useful for you. - # - # See cmake/helpers/CheckDependentLibraries.cmake for options - # *_*_package(Option) -> GDAL_USE_OPTION - -DGDAL_USE_ADBCDRIVERMANAGER=OFF - -DGDAL_USE_ARCHIVE=$(usex archive) - -DGDAL_USE_ARMADILLO=$(usex armadillo) - -DGDAL_USE_AVIF=$(usex avif) - -DGDAL_USE_ARROW=$(usex parquet) - -DGDAL_USE_BASISU=OFF - -DGDAL_USE_BLOSC=$(usex blosc) - -DGDAL_USE_BRUNSLI=OFF - -DGDAL_USE_CRNLIB=OFF - -DGDAL_USE_CFITSIO=$(usex fits) - -DGDAL_USE_CURL=$(usex curl) - -DGDAL_USE_CRYPTOPP=$(usex cryptopp) - -DGDAL_USE_DEFLATE=$(usex libdeflate) # complements zlib - -DGDAL_USE_ECW=OFF - -DGDAL_USE_EXPAT=ON - -DGDAL_USE_EXPRTK=$(usex exprtk) - -DGDAL_USE_FILEGDB=OFF - -DGDAL_USE_FREEXL=$(usex xls) - -DGDAL_USE_FYBA=OFF - -DGDAL_USE_GEOTIFF=ON - -DGDAL_USE_GEOS=$(usex geos) - -DGDAL_USE_GIF=$(usex gif) - -DGDAL_USE_GTA=OFF - -DGDAL_USE_HEIF=$(usex heif) - -DGDAL_USE_HDF4=OFF - -DGDAL_USE_HDF5=$(usex hdf5) - -DGDAL_USE_HDFS=OFF - -DGDAL_USE_ICONV=ON # TODO dep - -DGDAL_USE_IDB=OFF - - # Enable internal implementation so that tests pass with the use disabled - -DGDAL_USE_JPEG=$(usex jpeg) - -DGDAL_USE_JPEG_INTERNAL=$(usex !jpeg) - - # https://gdal.org/build_hints.html#jpeg12 - # Independent of whether using system libjpeg - -DGDAL_USE_JPEG12_INTERNAL=ON - - -DGDAL_USE_JSONC=ON - -DGDAL_USE_JXL=$(usex jpegxl) - -DGDAL_USE_JXL_THREADS=$(usex jpegxl) - -DGDAL_USE_KDU=OFF - -DGDAL_USE_KEA=OFF - -DGDAL_USE_LERC=$(usex lerc) - -DGDAL_USE_LIBAEC=$(usex libaec) - -DGDAL_USE_LIBKML=OFF - -DGDAL_USE_LIBLZMA=$(usex lzma) - -DGDAL_USE_LIBQB3=OFF - -DGDAL_USE_LIBXML2=ON - -DGDAL_USE_LZ4=$(usex lz4) # FIXME - -DGDAL_USE_MONGOCXX=$(usex mongodb) - -DGDAL_USE_MRSID=OFF - -DGDAL_USE_MSSQL_NCLI=OFF - -DGDAL_USE_MSSQL_ODBC=OFF - -DGDAL_USE_MUPARSER=$(usex muparser) - -DGDAL_USE_MYSQL=$(usex mariadb) - -DGDAL_USE_NETCDF=$(usex netcdf) - -DGDAL_USE_ODBC=$(usex odbc) - -DGDAL_USE_ODBCCPP=OFF - - # unpackaged - -DGDAL_USE_OPENCAD=OFF - -DGDAL_USE_OPENCAD_INTERNAL=ON - - -DGDAL_USE_OPENDRIVE=OFF - -DGDAL_USE_OPENEXR=$(usex openexr) - -DGDAL_USE_OPENJPEG=$(usex jpeg2k) - -DGDAL_USE_OPENSSL=ON - -DGDAL_USE_ORACLE=$(usex oracle) - -DGDAL_USE_PARQUET=$(usex parquet) - -DGDAL_USE_PCRE2=ON - -DGDAL_USE_PDFIUM=OFF - - # Enable internal implementation so that tests pass with the use disabled - -DGDAL_USE_PNG=$(usex png) - -DGDAL_USE_PNG_INTERNAL=$(usex !png) - - -DGDAL_USE_PODOFO=OFF - -DGDAL_USE_POPPLER=$(usex pdf) - -DGDAL_USE_POSTGRESQL=$(usex postgres) - -DGDAL_USE_QHULL=$(usex qhull) - -DGDAL_USE_RASTERLITE2=OFF - - # upstream recommends using the internal implementation - # bug #935567 - -DGDAL_USE_SHAPELIB=OFF - -DGDAL_USE_SHAPELIB_INTERNAL=ON - - -DGDAL_USE_SPATIALITE=$(usex spatialite) - -DGDAL_USE_SQLITE3=$(usex sqlite) - -DGDAL_USE_SFCGAL=OFF - -DGDAL_USE_TEIGHA=OFF - -DGDAL_USE_TIFF=ON - -DGDAL_USE_WEBP=$(usex webp) - -DGDAL_USE_XERCESC=$(usex gml) - -DGDAL_USE_ZLIB=ON - -DGDAL_USE_ZSTD=$(usex zstd) - - # Bindings - -DBUILD_PYTHON_BINDINGS=OFF # handled separately - -DBUILD_JAVA_BINDINGS=$(usex java) - # bug #845369 - -DBUILD_CSHARP_BINDINGS=OFF - - # Handled differently from x86 - # First checks if the platform supports neon and if it supports the option will be available - # See SSE2NEON_COMPILES in CMakeLists.txt and gdal.cmake - -DGDAL_ENABLE_ARM_NEON_OPTIMIZATIONS=$(usex cpu_flags_arm_neon) - ) - - if use x86 || use amd64 ; then - mycmakeargs+=( - # Check work/gdal-3.5.0_build/CMakeCache.txt after configure - # and https://github.com/OSGeo/gdal/blob/master/cmake/helpers/CheckCompilerMachineOption.cmake#L71 - # Commented out: not (yet?) implemented upstream. - # - # check_compiler_machine_option(flag <instruction set>) -> -Dtest_<instruction set> - -Dtest_avx=$(usex cpu_flags_x86_avx) - -Dtest_avx2=$(usex cpu_flags_x86_avx2) - -Dtest_sse=$(usex cpu_flags_x86_sse) - -Dtest_sse2=$(usex cpu_flags_x86_sse2) - #-Dtest_sse3=$(usex cpu_flags_x86_sse3) - -Dtest_sse4.1=$(usex cpu_flags_x86_sse4_1) - #-Dtest_sse4.2=$(usex cpu_flags_x86_sse4_2) - #-Dtest_sse4a=$(usex cpu_flags_x86_sse4a) - -Dtest_ssse3=$(usex cpu_flags_x86_ssse3) - #-Dtest_fma4=$(usex cpu_flags_x86_fma4) - #-Dtest_xop=$(usex cpu_flags_x86_xop) - ) - fi - - if use test ; then - mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON ) - fi - - cmake_src_configure - - local cmake_build_dir="${BUILD_DIR}" - use python && distutils-r1_src_configure -} - -python_compile() { - pushd "${S}_python/swig/python" >/dev/null || die - distutils-r1_python_compile - popd >/dev/null || die -} - -src_compile() { - cmake_src_compile - - local -x PATH="${BUILD_DIR}/apps:${PATH}" - local -x LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" - use python && distutils-r1_src_compile -} - -python_test() { - local -x GDAL_DATA="${S}/data" - - # note: testpaths in pytest.ini will fight EPYTEST_IGNORE - EPYTEST_IGNORE=( - # network-sandbox and deselecting tests turns into whac-a-mole with their interdependencies - "gcore/vsis3.py" - ) - - use !muparser && EPYTEST_IGNORE+=( "gdrivers/vrtpansharpen.py" ) - use !pdf && EPYTEST_IGNORE+=( "gdrivers/pdf.py" ) - - EPYTEST_DESELECT=( - # network-sandbox - "gcore/tiff_read.py::test_tiff_read_strace_check" - "gcore/vsioss.py::test_vsioss_6" - "gdrivers/gdalhttp.py::test_http_ssl_verifystatus" - "gdrivers/jp2openjpeg.py::test_jp2openjpeg_45" - "gdrivers/wms.py::test_wms_8" - "ogr/ogr_csv.py::test_ogr_csv_schema_override" - "ogr/ogr_geojson.py::test_ogr_geojson_schema_override" - "ogr/ogr_gml.py::test_ogr_gml_type_override" - "ogr/ogr_gmlas.py::test_ogr_gmlas_billion_laugh" - "ogr/ogr_parquet.py::test_ogr_parquet_coordinate_epoch" - "ogr/ogr_parquet.py::test_ogr_parquet_crs_identification_on_write" - "ogr/ogr_parquet.py::test_ogr_parquet_edges" - "ogr/ogr_parquet.py::test_ogr_parquet_geoarrow" - "ogr/ogr_parquet.py::test_ogr_parquet_geometry_types" - "ogr/ogr_parquet.py::test_ogr_parquet_polygon_orientation" - "ogr/ogr_sqlite.py::test_ogr_sqlite_schema_override" - "pyscripts/test_validate_geoparquet.py::test_validate_geoparquet_ok" - "utilities/test_gdalinfo_lib.py::test_gdalinfo_lib_2" - "utilities/test_gdalinfo_lib.py::test_gdalinfo_lib_5" - "utilities/test_gdalinfo_lib.py::test_gdalinfo_lib_json_color_table_and_rat" - "utilities/test_ogrinfo_lib.py::test_ogrinfo_lib_extent3D" - "utilities/test_ogrinfo_lib.py::test_ogrinfo_lib_json_relationships" - "utilities/test_ogrinfo_lib.py::test_ogrinfo_lib_json_validate" - - # sandbox interferes with strace? - "gcore/basic_test.py::test_basic_test_strace_non_existing_file" - - # Breaks due to other deselects. - "ogr/ogr_gpkg.py::test_ogr_gpkg_immutable" - "ogr/ogr_gpkg.py::test_ogr_gpkg_nolock" - "ogr/ogr_parquet.py::test_ogr_parquet_read_large_binary_or_string_for_geometry" - "ogr/ogr_parquet.py::test_ogr_parquet_write_arrow_rewind_polygon" - "ogr/ogr_parquet.py::test_ogr_parquet_bbox_float32" - "ogr/ogr_sqlite.py::test_ogr_sqlite_34" - - # USE="pdf" poppler 25.07? - # assert 8191 in (7926, 8177, 8174, 8165, 8172, 8193) - "gdrivers/pdf.py::test_pdf_extra_rasters[POPPLER]" - ) - - if use !armadillo; then - EPYTEST_DESELECT+=( - # AssertionError: (1634, (3456541.352648813, 5640759.820845713, 0.0)) - "gcore/transformer.py::test_transformer_tps_precision" - ) - fi - - if use !sqlite; then - EPYTEST_DESELECT+=( - # implicit sqlite requirement for the test (or the wms (curl) driver)? - "gdrivers/ogcapi.py::test_ogr_ogcapi_vector_tiles" - # expects sqlite being enabled in a warning message - "utilities/test_gdalalg_vector_rasterize.py::test_gdalalg_vector_rasterize" - ) - fi - - pushd "${S}_python/autotest" >/dev/null || die - # https://github.com/OSGeo/gdal/tree/v3.11.3/autotest#gdals-tests-are-not-independent - # So run directories separately with reruns to maximise chances without excluding every test - # - # See pytest_dirs in autotest/CMakeLists.txt. - # benchmark excluded on purpose as it uses pytest-benchmark - # gdrivers excluded as its especially flaky with excluding tests - # gnm excluded as you need to exclude 99% of it leaving only one or two tests - local failures=() - for pytest_dir in alg gcore gdrivers ogr osr pyscripts utilities; do - nonfatal epytest ${pytest_dir} - [[ ${?} != 0 ]] && failures+=( ${pytest_dir} ) - done - popd >/dev/null || die - - if [[ ${#failures} -gt 0 ]]; then - die "pytest failures: ${failures[@]}" - fi -} - -src_test() { - local -x GDAL_RUN_SLOW_TESTS=0 - local -x GDAL_DOWNLOAD_TEST_DATA=0 # tests relying on downloaded data **may** be skipped - - cmake_src_test - - local -x PATH="${BUILD_DIR}/apps:${PATH}" - local -x LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" - use python && distutils-r1_src_test -} - -python_install() { - pushd "${S}_python/swig/python" >/dev/null || die - distutils-r1_python_install - popd >/dev/null || die -} - -src_install() { - cmake_src_install - - if use java; then - # Move the native library into the proper place for Gentoo. The - # library in ${D} has already had its RPATH fixed, so we use it - # rather than ${BUILD_DIR}/swig/java/libgdalalljni.so. - java-pkg_doso "${D}/usr/$(get_libdir)/jni/libgdalalljni.so" - rm -rf "${ED}/usr/$(get_libdir)/jni" || die - fi - - use python && distutils-r1_src_install -} - -pkg_postinst() { - elog "Check available image and data formats after building with" - if use tools; then - elog "gdal info --formats" - else - elog "gdal-config --formats" - fi - - if use java; then - elog - elog "To use the Java bindings, you need to pass the following to java:" - elog " -Djava.library.path=$(java-config -i gdal)" - fi -} diff --git a/sci-libs/gdal/metadata.xml b/sci-libs/gdal/metadata.xml deleted file mode 100644 index 8288b091ad32..000000000000 --- a/sci-libs/gdal/metadata.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> - <longdescription> - GDAL is the Geospatial Data Abstraction Library, a set of tools for - converting between geospatial raster data formats (includes OGR for - vector data). - </longdescription> - <upstream> - <remote-id type="cpe">cpe:/a:gdal:gdal</remote-id> - <doc lang="en">https://gdal.org/en/stable/</doc> - </upstream> - <use> - <flag name="archive">Enable support for various archive and compression formats with <pkg>app-arch/libarchive</pkg></flag> - <flag name="armadillo">Use <pkg>sci-libs/armadillo</pkg> for faster TPS transform computation</flag> - <flag name="blosc">Enable support for blosc compression with <pkg>dev-libs/c-blosc</pkg></flag> - <flag name="cryptopp">Enable support RSA SHA256 signing functionality with <pkg>dev-libs/crypto++</pkg></flag> - <flag name="exprtk">Enable support for additional advanced C++ VRT expressions with <pkg>dev-cpp/exprtk</pkg></flag> - <flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag> - <flag name="geos">Add support for geometry engine (<pkg>sci-libs/geos</pkg>)</flag> - <flag name="gml">Enable support for <pkg>dev-libs/xerces-c</pkg> C++ API</flag> - <flag name="libaec">Enable support Adaptive Entropy Coding with <pkg>sci-libs/libaec</pkg></flag> - <flag name="libdeflate">Use <pkg>app-arch/libdeflate</pkg> for faster compression and decompression</flag> - <flag name="mongodb">Enable support for MongoDBV3 driver with <pkg>dev-db/mongodb</pkg></flag> - <flag name="muparser">Enable support for C++ VRT expressions with <pkg>dev-cpp/muParser</pkg></flag> - <flag name="ogdi">Enable support for the open geographic datastore interface (<pkg>sci-libs/ogdi</pkg>)</flag> - <flag name="parquet">Enables read/write parquet data format (<pkg>dev-libs/apache-arrow</pkg>)</flag> - <flag name="qhull">Enable support for linear interpolation of gdal_grid with <pkg>media-libs/qhull</pkg></flag> - <flag name="spatialite">Enable Spatial DBMS over sqlite <pkg>dev-db/spatialite</pkg></flag> - <flag name="tools">Build command line utilities</flag> - <flag name="xls">Add the <pkg>dev-libs/freexl</pkg> library for xls import support</flag> - </use> - <origin>ports</origin> - <slots> - <subslots>Reflects ABI compatibility of libgdal.so</subslots> - </slots> -</pkgmetadata>
\ No newline at end of file diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest deleted file mode 100644 index 49b4f6a9d1d0..000000000000 --- a/sci-libs/geos/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST geos-3.12.1.tar.bz2 6727199 BLAKE2B 4ffc9cb63f3ac15b3dcb0ba9fec6a1ccaeaf35962a057234f4da38d6bba19df39e800805badfd56fe927da09c9392f0feaf2b7d02085e8f293c4d9503ab28ff9 SHA512 192eba83c651e935b3c9a5cc19321285e4d28b9da9d7a1fa15d9471803027e630db7a7ecea96343d9c5f9846d279062ca3694fe47916a4ebf5698ae66dd5210d -DIST geos-3.13.0.tar.bz2 6801211 BLAKE2B 8de35093e2819268df2cd15f1661dcbaba6b9c3bd978904fb992fd91905b0056cfa6580cae602511bd8c4b19686597abb81e0af71a8a73a684cafd8013755bad SHA512 8ffaa3f49a8365db693ac948e9d66cf55321eb12151734c7da2775070b7804ffa607de2474b7019d6ea2a99d5e037fb1e8561bf9025e65ddd4bd1ba049382b28 -DIST geos-3.13.1.tar.bz2 6839955 BLAKE2B cc646825212e7a7a79b9c2a134236246fa4f611e84acc6d6f4bd6b5a28e0395c77fac45e179333f5201826ff8f5905fb00ef2992714ecc43af385fe17d04bd00 SHA512 38a6d8bb05b374160c6e5eb82e5f601915ee44e75bdba0414bb7b1096a62f3cdfbb877389998bd3ff4c77c98927ce95a8d8298dd599a0fcb8ea0e83f174f1744 -DIST geos-3.14.0.tar.bz2 6990029 BLAKE2B 1f9199b6497b4ee5a9aad2fcbfe1da9b0dd997188e905d22e39398d3078e09a5f4e1ffce9b4cc2644937824b5ff67ab8d6ac6c68491b4d43a2312907a9bf8f31 SHA512 c9f06396af4be8231930e48f249c550578c0ed9380a0d9da24e4d602fe9f14390846d02bd95531b3bf3ff8d554f5735da0e4b975dee24932d1f488d685e4aa72 -DIST geos-3.14.1.tar.bz2 7013834 BLAKE2B 6827d51b4580a996bc143c91cf4b91c7ac1ec7a34858177e092f137cf4e2f8c257c5df53f1775cca582b24e7a04c9ea78576e0b45dd99089cf6c149d4e470f52 SHA512 a5a27c34249a6b7fa8bc5d6d557f278bcc3a81ca188f9f543bee7afb6e47d9f8a545e676c5884c0651530bccd24eb929feaaf95cda8e73b033296073e6626f0d diff --git a/sci-libs/geos/geos-3.12.1.ebuild b/sci-libs/geos/geos-3.12.1.ebuild deleted file mode 100644 index 89c527cd89cb..000000000000 --- a/sci-libs/geos/geos-3.12.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Geometry engine library for Geographic Information Systems" -HOMEPAGE="https://libgeos.org/" -SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86 ~x64-macos ~x64-solaris" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( app-text/doxygen )" - -src_configure() { - # -Werror=odr - # https://bugs.gentoo.org/862702 - # https://github.com/libgeos/geos/issues/1054 - filter-lto - - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_TESTING=$(usex test) - -DUSE_CCACHE=OFF - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile docs -} - -src_install() { - cmake_src_install - - if use doc ; then - HTML_DOCS=( "${BUILD_DIR}"/doxygen/doxygen_docs/html/. ) - einstalldocs - fi -} diff --git a/sci-libs/geos/geos-3.13.0.ebuild b/sci-libs/geos/geos-3.13.0.ebuild deleted file mode 100644 index 7d905c8635e0..000000000000 --- a/sci-libs/geos/geos-3.13.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Geometry engine library for Geographic Information Systems" -HOMEPAGE="https://libgeos.org/" -SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86 ~x64-macos ~x64-solaris" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( app-text/doxygen )" - -src_configure() { - # -Werror=odr - # https://bugs.gentoo.org/862702 - # https://github.com/libgeos/geos/issues/1054 - filter-lto - - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_TESTING=$(usex test) - -DUSE_CCACHE=OFF - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile docs -} - -src_install() { - cmake_src_install - - if use doc ; then - HTML_DOCS=( "${BUILD_DIR}"/doxygen/doxygen_docs/html/. ) - einstalldocs - fi -} diff --git a/sci-libs/geos/geos-3.13.1.ebuild b/sci-libs/geos/geos-3.13.1.ebuild deleted file mode 100644 index be54c196264b..000000000000 --- a/sci-libs/geos/geos-3.13.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Geometry engine library for Geographic Information Systems" -HOMEPAGE="https://libgeos.org/" -SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos ~x64-solaris" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( app-text/doxygen )" - -src_configure() { - tc-is-lto && filter-flags -fno-semantic-interposition - - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_TESTING=$(usex test) - -DUSE_CCACHE=OFF - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile docs -} - -src_install() { - cmake_src_install - - if use doc ; then - HTML_DOCS=( "${BUILD_DIR}"/doxygen/doxygen_docs/html/. ) - einstalldocs - fi -} diff --git a/sci-libs/geos/geos-3.14.0.ebuild b/sci-libs/geos/geos-3.14.0.ebuild deleted file mode 100644 index be54c196264b..000000000000 --- a/sci-libs/geos/geos-3.14.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Geometry engine library for Geographic Information Systems" -HOMEPAGE="https://libgeos.org/" -SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos ~x64-solaris" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( app-text/doxygen )" - -src_configure() { - tc-is-lto && filter-flags -fno-semantic-interposition - - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_TESTING=$(usex test) - -DUSE_CCACHE=OFF - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile docs -} - -src_install() { - cmake_src_install - - if use doc ; then - HTML_DOCS=( "${BUILD_DIR}"/doxygen/doxygen_docs/html/. ) - einstalldocs - fi -} diff --git a/sci-libs/geos/geos-3.14.1.ebuild b/sci-libs/geos/geos-3.14.1.ebuild deleted file mode 100644 index 741cf9e18694..000000000000 --- a/sci-libs/geos/geos-3.14.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Geometry engine library for Geographic Information Systems" -HOMEPAGE="https://libgeos.org/" -SRC_URI="https://download.osgeo.org/geos/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos ~x64-solaris" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( app-text/doxygen )" - -src_configure() { - tc-is-lto && filter-flags -fno-semantic-interposition - - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_TESTING=$(usex test) - -DUSE_CCACHE=OFF - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile docs -} - -src_install() { - cmake_src_install - - if use doc ; then - HTML_DOCS=( "${BUILD_DIR}"/doxygen/doxygen_docs/html/. ) - einstalldocs - fi -} diff --git a/sci-libs/geos/metadata.xml b/sci-libs/geos/metadata.xml deleted file mode 100644 index c432d56fb480..000000000000 --- a/sci-libs/geos/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> - <maintainer type="project"> - <email>pgsql-bugs@gentoo.org</email> - <name>PostgreSQL and Related Package Development</name> - </maintainer> - <longdescription lang="en"> - Geometric Engine Open Source provides a spatial object model and - fundamental geometric functions. It implements the geometry model - defined in the OpenGIS Consortium Simple Features Specification for - SQL. Functions provided include: spatial predicates (based on the - DE-9IM model), overlay functions (intersection, difference, union, - symmetric difference), buffer, convex hull, area and distance - functions, and topological validity checking. - </longdescription> - <upstream> - <bugs-to>https://github.com/libgeos/geos/issues</bugs-to> - <changelog>https://libgeos.org/posts</changelog> - <remote-id type="github">libgeos/geos</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/gerris/Manifest b/sci-libs/gerris/Manifest deleted file mode 100644 index 4288df4e42b2..000000000000 --- a/sci-libs/gerris/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gerris-snapshot-131206.tar.gz 2841686 BLAKE2B 63618b2166e632e447f7a47dd17f2bab1820234b9a651c4fcad57250b13bbfdf98645c9525d4cebcae6ab9ef81d111fadbff9800e3144d84bf59f2248e271585 SHA512 b3855d51eea04c496d2e5f662c148560d9ab8d5dfa97e4f7d1c22c70405b9b801b46f30aa0d159b1bd6a8182f171a1649b5f510f0e13feeb55f29cafe57b45dd diff --git a/sci-libs/gerris/files/gerris-20130531-hypre-no-mpi.patch b/sci-libs/gerris/files/gerris-20130531-hypre-no-mpi.patch deleted file mode 100644 index a52c78bf77c8..000000000000 --- a/sci-libs/gerris/files/gerris-20130531-hypre-no-mpi.patch +++ /dev/null @@ -1,22 +0,0 @@ -patch to allow gerris to use hypre without mpi - ---- a/configure.ac -+++ b/configure.ac -@@ -336,7 +336,7 @@ - - # Build hypre module if HYPRE is installed - hypre=no --if test "x$use_mpicc" = "xyes" ; then # HYPRE needs MPI -+# hypre does not need mpi - AC_CHECK_LIB(HYPRE, HYPRE_IJMatrixCreate, hypre="yes", hypre="no", [-lm]) - if test x$hypre = xyes; then - AC_CHECK_HEADERS(HYPRE.h, hypre="yes", hypre="no") -@@ -344,7 +344,7 @@ - if test x$hypre = xno; then - AC_MSG_WARN([HYPRE not found. hypre Module won't be available.]) - fi --fi -+ - AM_CONDITIONAL(BUILD_HYPRE, test x$hypre = xyes) - - # Build lis module if lis is installed diff --git a/sci-libs/gerris/files/gerris-20130531-lis-matrix-csr.patch b/sci-libs/gerris/files/gerris-20130531-lis-matrix-csr.patch deleted file mode 100644 index d4c7bfae15bb..000000000000 --- a/sci-libs/gerris/files/gerris-20130531-lis-matrix-csr.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/modules/lis.c -+++ b/modules/lis.c -@@ -45,7 +45,7 @@ - g_array_index (stencil->coeff, double, j), - A); - } -- lis_matrix_set_type (A, LIS_MATRIX_CRS); -+ lis_matrix_set_type (A, LIS_MATRIX_CSR); - lis_matrix_assemble (A); - - LIS_VECTOR b, x; diff --git a/sci-libs/gerris/files/gerris-20130531-use-blas-lapack-system.patch b/sci-libs/gerris/files/gerris-20130531-use-blas-lapack-system.patch deleted file mode 100644 index 1c25a8f516b6..000000000000 --- a/sci-libs/gerris/files/gerris-20130531-use-blas-lapack-system.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/modules/Makefile.am -+++ b/modules/Makefile.am -@@ -105,7 +105,7 @@ - libstokes2D_la_LIBADD = $(GFS2D_LIBS) - - libwavewatch2D_la_SOURCES = wavewatch.c --libwavewatch2D_la_LIBADD = $(GFS2D_LIBS) -Lwavewatch -lwavewatch -L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -+libwavewatch2D_la_LIBADD = $(GFS2D_LIBS) -Lwavewatch -lwavewatch - libwavewatch2D_la_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 \ - -DW3SRCE=`nm wavewatch/libwavewatch.a | grep w3srce | awk '{ if ($$2 == "T") print $$3; }'` \ - -DGFSW3INIT=`nm wavewatch/libwavewatch.a | grep gfsw3_init | awk '{ if ($$2 == "T") print $$3; }'` -@@ -164,17 +164,17 @@ - - liblis3D_la_SOURCES = lis.c - liblis3D_la_CFLAGS = $(AM_CFLAGS) --liblis3D_la_LIBADD = $(GFS3D_LIBS) -llis -lgfortran -lm -+liblis3D_la_LIBADD = $(GFS3D_LIBS) -llis -lm - liblis2D_la_SOURCES = lis.c - liblis2D_la_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 --liblis2D_la_LIBADD = $(GFS2D_LIBS) -llis -lgfortran -lm -+liblis2D_la_LIBADD = $(GFS2D_LIBS) -llis -lm - - libagmg3D_la_SOURCES = agmg.c dagmg.f90 - libagmg3D_la_CFLAGS = $(AM_CFLAGS) --libagmg3D_la_LIBADD = $(GFS3D_LIBS) -llapack -lblas -lgfortran -lm -+libagmg3D_la_LIBADD = $(GFS3D_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) -lm - libagmg2D_la_SOURCES = agmg.c dagmg.f90 - libagmg2D_la_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 --libagmg2D_la_LIBADD = $(GFS2D_LIBS) -llapack -lblas -lgfortran -lm -+libagmg2D_la_LIBADD = $(GFS2D_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) -lm - - libokada3D_la_SOURCES = okada.c - libokada3D_la_CFLAGS = $(AM_CFLAGS) diff --git a/sci-libs/gerris/files/gerris-20131206-DEFAULT_SOURCE-replacement.patch b/sci-libs/gerris/files/gerris-20131206-DEFAULT_SOURCE-replacement.patch deleted file mode 100644 index d20df635512c..000000000000 --- a/sci-libs/gerris/files/gerris-20131206-DEFAULT_SOURCE-replacement.patch +++ /dev/null @@ -1,16 +0,0 @@ -Silence warnings due to _BSD_SOURCE being deprecated by glib: -* /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and -* _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] -* # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ---- a/configure.ac -+++ b/configure.ac -@@ -108,7 +108,7 @@ - AC_PROG_CC - - # -D_GNU_SOURCE is only necessary for old (< 2.10) glibc implementations of open_memstream() --CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE" -+CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE" - if test x$GCC = xyes ; then - CFLAGS="$CFLAGS -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99" - fi diff --git a/sci-libs/gerris/files/gerris-20131206-lis-api-change.patch b/sci-libs/gerris/files/gerris-20131206-lis-api-change.patch deleted file mode 100644 index 28892ddadedf..000000000000 --- a/sci-libs/gerris/files/gerris-20131206-lis-api-change.patch +++ /dev/null @@ -1,18 +0,0 @@ -sci-libs/lis changed some of its function prototypes by renaming -lis_solver_get_iters to lis_solver_get_iter in version 1.4.43 from 17 July 2014 - -See also: -http://www.ssisc.org/lis/ChangeLog.txt -https://bugs.gentoo.org/show_bug.cgi?id=593282 - ---- a/modules/lis.c -+++ b/modules/lis.c -@@ -67,7 +67,7 @@ - - lis_solve (A, b, x, solver); - int iter; -- lis_solver_get_iters (solver, &iter); -+ lis_solver_get_iter (solver, &iter); - par->niter = iter; - - lis_vector_get_values (x, 0, lp->lhs->len, (double *) lp->lhs->data); diff --git a/sci-libs/gerris/files/gerris-20131206-respect-NM.patch b/sci-libs/gerris/files/gerris-20131206-respect-NM.patch deleted file mode 100644 index 88d3e5bca87a..000000000000 --- a/sci-libs/gerris/files/gerris-20131206-respect-NM.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://bugs.gentoo.org/725450 ---- a/doc/examples/modulesyms.sh -+++ b/doc/examples/modulesyms.sh -@@ -7,7 +7,7 @@ for module in `cat modules.list`; do - lib=$2/lib"$module""$dim".so - fi - if test -f $lib; then -- nm -fb $lib | grep ".* T gfs_.*_class$" | grep -v "gfs_gl" | cut -d" " -f3-4 -+ ${NM:-nm} -fb $lib | grep ".* T gfs_.*_class$" | grep -v "gfs_gl" | cut -d" " -f3-4 - fi - done - done | sort | uniq | sed -e 's/_class//g' -e 's/^./\U&/' -e 's/_./\U&/g' -e 's/_//g' | \ diff --git a/sci-libs/gerris/files/gerris-20131206-slibtool.patch b/sci-libs/gerris/files/gerris-20131206-slibtool.patch deleted file mode 100644 index d28501d2869b..000000000000 --- a/sci-libs/gerris/files/gerris-20131206-slibtool.patch +++ /dev/null @@ -1,119 +0,0 @@ -https://bugs.gentoo.org/778341 - -commit 9213297c1717f6477c4784ead6c91864693e6b40 -Author: orbea <orbea@riseup.net> -Date: Fri Mar 26 15:56:31 2021 -0700 - - Link the .la files to fix the build with slibtool. - -diff --git a/modules/Makefile.am b/modules/Makefile.am -index c66aea0..d6db7b6 100644 ---- a/modules/Makefile.am -+++ b/modules/Makefile.am -@@ -78,24 +78,21 @@ libmap2D_la_SOURCES = map.c - libmap2D_la_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 - libmap2D_la_LIBADD = $(GFS2D_LIBS) -lproj - --KDTLIBS = -Lkdt -lkdt -lm --KDTDEPS = kdt/libkdt.la -+KDTLIBS = kdt/libkdt.la -lm - - libterrain3D_la_SOURCES = terrain.c - libterrain3D_la_LIBADD = $(GFS3D_LIBS) $(KDTLIBS) --libterrain3D_la_DEPENDENCIES = $(KDTDEPS) - - libterrain2D_la_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 - libterrain2D_la_SOURCES = terrain.c - libterrain2D_la_LIBADD = $(GFS2D_LIBS) $(KDTLIBS) --libterrain2D_la_DEPENDENCIES = $(KDTDEPS) - - libtide3D_la_SOURCES = tide.c - libtide3D_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) --libtide3D_la_LIBADD = $(GFS3D_LIBS) -Lfes2004 -lfes -lnetcdf $(GSL_LIBS) -+libtide3D_la_LIBADD = $(GFS3D_LIBS) fes2004/libfes.la -lnetcdf $(GSL_LIBS) - libtide2D_la_SOURCES = tide.c - libtide2D_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) -DFTT_2D=1 --libtide2D_la_LIBADD = $(GFS2D_LIBS) -Lfes2004 -lfes -lnetcdf $(GSL_LIBS) -+libtide2D_la_LIBADD = $(GFS2D_LIBS) fes2004/libfes.la -lnetcdf $(GSL_LIBS) - - libstokes3D_la_SOURCES = stokes.c CW263.f - libstokes3D_la_CFLAGS = $(AM_CFLAGS) -@@ -105,7 +102,7 @@ libstokes2D_la_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 - libstokes2D_la_LIBADD = $(GFS2D_LIBS) - - libwavewatch2D_la_SOURCES = wavewatch.c --libwavewatch2D_la_LIBADD = $(GFS2D_LIBS) -Lwavewatch -lwavewatch -+libwavewatch2D_la_LIBADD = $(GFS2D_LIBS) wavewatch/libwavewatch.la - libwavewatch2D_la_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 \ - -DW3SRCE=`nm wavewatch/libwavewatch.a | grep w3srce | awk '{ if ($$2 == "T") print $$3; }'` \ - -DGFSW3INIT=`nm wavewatch/libwavewatch.a | grep gfsw3_init | awk '{ if ($$2 == "T") print $$3; }'` -@@ -119,9 +116,9 @@ libode2D_la_CFLAGS = $(AM_CFLAGS) $(ODE_CFLAGS) -DFTT_2D=1 - libode2D_la_LIBADD = $(GFS2D_LIBS) $(ODE_LIBS) - - rsurface2kdt_SOURCES = rsurface2kdt.c rsurface.c rsurface.h --rsurface2kdt_LDADD = -LRStarTree -lcSmRST $(KDTLIBS) -+rsurface2kdt_LDFLAGS = $(NO_UNDEFINED) -+rsurface2kdt_LDADD = RStarTree/libcSmRST.la $(KDTLIBS) - rsurface2kdt_CFLAGS = $(AM_CFLAGS) --rsurface2kdt_DEPENDENCIES = $(KDTDEPS) - - noinst_LTLIBRARIES = libparticulatecommon2D.la libparticulatecommon3D.la - -@@ -210,7 +207,7 @@ libtopics2D_la_LIBADD = $(GFS2D_LIBS) - - libculvert2D_la_SOURCES = culvert.c - libculvert2D_la_CFLAGS = $(AM_CFLAGS) --libculvert2D_la_LIBADD = $(GFS2D_LIBS) -Lculvert -lboyd87 -lm -+libculvert2D_la_LIBADD = $(GFS2D_LIBS) culvert/libboyd87.la -lm - libculvert2D_la_DEPENDENCIES = culvert/libboyd87.la - - liblayered2D_la_SOURCES = layered.c -diff --git a/modules/culvert/Makefile.am b/modules/culvert/Makefile.am -index dff5b46..cb47591 100644 ---- a/modules/culvert/Makefile.am -+++ b/modules/culvert/Makefile.am -@@ -8,17 +8,17 @@ libboyd87_la_SOURCES = boyd87.c boyd87.h - noinst_PROGRAMS = check_inlet check_outlet discharge_table - - check_outlet_SOURCES = check_outlet.c boyd87.h --check_outlet_LDADD = -lboyd87 -lm -+check_outlet_LDADD = libboyd87.la -lm - check_outlet_CFLAGS = $(AM_CFLAGS) - check_outlet_DEPENDENCIES = libboyd87.la - - check_inlet_SOURCES = check_inlet.c boyd87.h --check_inlet_LDADD = -lboyd87 -lm -+check_inlet_LDADD = libboyd87.la -lm - check_inlet_CFLAGS = $(AM_CFLAGS) - check_inlet_DEPENDENCIES = libboyd87.la - - discharge_table_SOURCES = discharge_table.c boyd87.h --discharge_table_LDADD = -lboyd87 -lm -+discharge_table_LDADD = libboyd87.la -lm - discharge_table_CFLAGS = $(AM_CFLAGS) - discharge_table_DEPENDENCIES = libboyd87.la - -diff --git a/modules/kdt/Makefile.am b/modules/kdt/Makefile.am -index a9e7954..376e7dd 100644 ---- a/modules/kdt/Makefile.am -+++ b/modules/kdt/Makefile.am -@@ -13,16 +13,16 @@ libkdt_la_SOURCES = \ - kdt.h - - xyz2kdt_SOURCES = xyz2kdt.c kdt.h --xyz2kdt_LDADD = -lkdt -lm -+xyz2kdt_LDADD = libkdt.la -lm - xyz2kdt_CFLAGS = $(AM_CFLAGS) - xyz2kdt_DEPENDENCIES = libkdt.la - - kdt2kdt_SOURCES = kdt2kdt.c kdt.h --kdt2kdt_LDADD = -lkdt -lm -+kdt2kdt_LDADD = libkdt.la -lm - kdt2kdt_CFLAGS = $(AM_CFLAGS) - kdt2kdt_DEPENDENCIES = libkdt.la - - kdtquery_SOURCES = kdtquery.c kdt.h --kdtquery_LDADD = -lkdt -lm -+kdtquery_LDADD = libkdt.la -lm - kdtquery_CFLAGS = $(AM_CFLAGS) - kdtquery_DEPENDENCIES = libkdt.la diff --git a/sci-libs/gerris/gerris-20131206-r1.ebuild b/sci-libs/gerris/gerris-20131206-r1.ebuild deleted file mode 100644 index c9539610c0c7..000000000000 --- a/sci-libs/gerris/gerris-20131206-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic toolchain-funcs xdg - -MY_P=${P/-20/-snapshot-} - -DESCRIPTION="Gerris Flow Solver" -HOMEPAGE="http://gfs.sourceforge.net/" -SRC_URI="http://gerris.dalembert.upmc.fr/gerris/tarballs/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples mpi static-libs" - -# all these deps could be optional -# but the configure.in would have to be modified -# heavily for the automagic -RDEPEND=" - dev-libs/glib:2 - dev-games/ode - sci-libs/netcdf:= - sci-libs/gsl:= - sci-libs/gts - sci-libs/hypre[mpi?] - sci-libs/lis[mpi?] - sci-libs/proj - sci-libs/fftw:3.0= - virtual/lapack - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -# buggy tests, need extra packages and require gerris to be installed -RESTRICT=test - -PATCHES=( - "${FILESDIR}"/${PN}-20130531-hypre-no-mpi.patch - "${FILESDIR}"/${PN}-20130531-lis-matrix-csr.patch - "${FILESDIR}"/${PN}-20130531-use-blas-lapack-system.patch - "${FILESDIR}"/${PN}-20131206-lis-api-change.patch - "${FILESDIR}"/${PN}-20131206-DEFAULT_SOURCE-replacement.patch - "${FILESDIR}"/${PN}-20131206-slibtool.patch - "${FILESDIR}"/${PN}-20131206-respect-NM.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # bug #725450 - tc-export NM - - append-cppflags "-I${ESYSROOT}/usr/include/hypre" - - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable mpi) \ - LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)" -} - -src_install() { - default - - use examples && dodoc -r doc/examples - - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/gerris/metadata.xml b/sci-libs/gerris/metadata.xml deleted file mode 100644 index 31d103bb29c9..000000000000 --- a/sci-libs/gerris/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Gerris Flow Solver is a software program for the solution of the partial - differential equations describing fluid flow. - </longdescription> - <upstream> - <remote-id type="sourceforge">gfs</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest deleted file mode 100644 index 32dc82103efa..000000000000 --- a/sci-libs/getdata/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST getdata-0.11.0.tar.xz 1060324 BLAKE2B b758447429f95d53d6ce3e32eb5591d0141c218f5b3a3c391fb713722f8dc12fba2add078d75be1b2957b2d27b7d843cb51450fc49394da130548721f5df9384 SHA512 cf301449288c2b0e337a356f03ac8d295a4f5a32eb6c2a29c15c6fcc434a9eea8661a8070defbbf1d751e64e1f616e4353863b13d350fa8df6837631d86bc932 diff --git a/sci-libs/getdata/files/getdata-0.11.0-bashisms-configure.patch b/sci-libs/getdata/files/getdata-0.11.0-bashisms-configure.patch deleted file mode 100644 index df3915f7b849..000000000000 --- a/sci-libs/getdata/files/getdata-0.11.0-bashisms-configure.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -571,7 +571,7 @@ if test "x${use_modules}" != "xno"; then - LDFLAGS=$saved_ldflags - LIBS=$saved_libs - -- if test "x$have_ltdl" == "xno"; then -+ if test "x$have_ltdl" = "xno"; then - AC_MSG_ERROR([libltdl is required to build modules. Please either specify the location of the libltdl library using --with-ltdl=PREFIX or else disable the building of modules by using --disable-modules]) - fi - -@@ -601,18 +601,18 @@ AC_SUBST([LIBLTDL]) - AC_SUBST([LTDLINCL]) - - dnl check if we found a C++ compiler --if test "x$CXX" == "x"; then -+if test "x$CXX" = "x"; then - make_cxxbindings=no - fi - - dnl check if we found a Fortran 77 compiler --if test "x$F77" == "x"; then -+if test "x$F77" = "x"; then - make_f77bindings=no - make_f95bindings=no - fi - - dnl check if we found a free-form Fortran compiler --if test "x$FC" == "x"; then -+if test "x$FC" = "x"; then - make_f95bindings=no - fi - -@@ -641,7 +641,7 @@ fi - dnl F77 stuff - if test "x$make_f77bindings" != "xno"; then - AC_F77_WRAPPERS -- if test "x$ac_cv_f77_mangling" == "xunknown"; then -+ if test "x$ac_cv_f77_mangling" = "xunknown"; then - make_f77bindings=no - make_f95bindings=no - fi -@@ -1065,7 +1065,7 @@ else - AC_MSG_RESULT([$use_slim]) - AC_MSG_CHECKING([for zzip support]) - AC_MSG_RESULT([$use_zzip]) -- if test "$use_slim$use_zzip" == "yesyes"; then -+ if test "$use_slim$use_zzip" = "yesyes"; then - if test $zzslim_override = "yes"; then - AC_MSG_CHECKING([for zzslim support]) - AC_MSG_RESULT([yes (forced)]) -@@ -1200,11 +1200,11 @@ AC_CONFIG_FILES([test/Makefile]) - AC_CONFIG_FILES([util/Makefile]) - - dnl Automake conditionals --AM_CONDITIONAL(GETDATA_DEBUG, [test "x$enable_debug" == "xyes"]) -+AM_CONDITIONAL(GETDATA_DEBUG, [test "x$enable_debug" = "xyes"]) - AM_CONDITIONAL(HAVE_SED, [ test "x${SED}" != 'x' ]) - AM_CONDITIONAL(INTEL_F77_COMPILER, -- [test "x$gd_cv_f77_compiler_intel" == "xyes"]) --AM_CONDITIONAL(INTEL_FC_COMPILER, [test "x$gd_cv_fc_compiler_intel" == "xyes"]) -+ [test "x$gd_cv_f77_compiler_intel" = "xyes"]) -+AM_CONDITIONAL(INTEL_FC_COMPILER, [test "x$gd_cv_fc_compiler_intel" = "xyes"]) - AM_CONDITIONAL(INCLUDE_LEGACY_API, [test "x$include_legacy_api" != "xno"]) - AM_CONDITIONAL(MAKE_CXXBINDINGS, [test "x$make_cxxbindings" = "xyes"]) - AM_CONDITIONAL(MAKE_F77BINDINGS, [test "x$make_f77bindings" != "xno"]) diff --git a/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch b/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch deleted file mode 100644 index 09a250e955f9..000000000000 --- a/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch +++ /dev/null @@ -1,12 +0,0 @@ -Refer: https://stackoverflow.com/a/42695228 -Bug: https://bugs.gentoo.org/898278 ---- a/src/gzip.c -+++ b/src/gzip.c -@@ -21,6 +21,7 @@ - #include "internal.h" - - #ifdef HAVE_ZLIB_H -+#define Z_LARGE64 - #include <zlib.h> - #endif - diff --git a/sci-libs/getdata/getdata-0.11.0-r2.ebuild b/sci-libs/getdata/getdata-0.11.0-r2.ebuild deleted file mode 100644 index 4d147bdbbc34..000000000000 --- a/sci-libs/getdata/getdata-0.11.0-r2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_STANDARD="95" -FORTRAN_NEEDED=fortran -inherit autotools fortran-2 flag-o-matic - -DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data" -HOMEPAGE="https://getdata.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.xz" - -SLOT="0" -LICENSE="LGPL-2.1+" -KEYWORDS="~amd64 ~x86" -IUSE="bzip2 cxx debug flac fortran lzma perl static-libs" - -DEPEND=" - dev-libs/libltdl - bzip2? ( app-arch/bzip2 ) - lzma? ( app-arch/xz-utils ) - perl? ( dev-lang/perl ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.11.0-fix-gzseek64-not-found.patch - "${FILESDIR}"/${PN}-0.11.0-bashisms-configure.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # - # In theory I could report a bug. In practice the project has ignored all - # bug reports since immediately after switching to github. - filter-lto - - # GCC 10 workaround - # bug #723076 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - econf \ - --disable-idl \ - --disable-matlab \ - --disable-php \ - --with-libz \ - --without-libslim \ - --without-libzzip \ - $(use_with bzip2 libbz2) \ - $(use_enable cxx cplusplus) \ - $(use_enable debug) \ - $(use_with flac libFLAC) \ - $(use_enable fortran) \ - $(use_enable fortran fortran95) \ - $(use_with lzma liblzma) \ - $(use_enable perl) \ - $(usex perl --with-perl-dir=vendor) \ - --disable-python \ - $(use_enable static-libs static) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/getdata/getdata-0.11.0.ebuild b/sci-libs/getdata/getdata-0.11.0.ebuild deleted file mode 100644 index 85b560eb86e4..000000000000 --- a/sci-libs/getdata/getdata-0.11.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_STANDARD="95" -FORTRAN_NEEDED=fortran -inherit autotools fortran-2 flag-o-matic - -DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data" -HOMEPAGE="https://getdata.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.xz" - -SLOT="0" -LICENSE="LGPL-2.1+" -KEYWORDS="~amd64 ~x86" -IUSE="bzip2 cxx debug flac fortran lzma perl static-libs" - -DEPEND=" - dev-libs/libltdl - bzip2? ( app-arch/bzip2 ) - lzma? ( app-arch/xz-utils ) - perl? ( dev-lang/perl ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # GCC 10 workaround - # bug #723076 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - econf \ - --disable-idl \ - --disable-matlab \ - --disable-php \ - --with-libz \ - --without-libslim \ - --without-libzzip \ - $(use_with bzip2 libbz2) \ - $(use_enable cxx cplusplus) \ - $(use_enable debug) \ - $(use_with flac libFLAC) \ - $(use_enable fortran) \ - $(use_enable fortran fortran95) \ - $(use_with lzma liblzma) \ - $(use_enable perl) \ - $(usex perl --with-perl-dir=vendor) \ - --disable-python \ - $(use_enable static-libs static) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/getdata/metadata.xml b/sci-libs/getdata/metadata.xml deleted file mode 100644 index d1f4f454496b..000000000000 --- a/sci-libs/getdata/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The GetData Project is the reference implementation of the Dirfile - Standards, a filesystem-based, column-oriented database format for - time-ordered binary data. The Dirfile database format is designed to - provide a fast, simple format for storing and reading data. - </longdescription> - <upstream> - <remote-id type="github">ketiltrout/getdata</remote-id> - <remote-id type="sourceforge">getdata</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/ginkgo/Manifest b/sci-libs/ginkgo/Manifest deleted file mode 100644 index 2bd9813ffc9d..000000000000 --- a/sci-libs/ginkgo/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST ginkgo-1.10.0.tar.gz 13304835 BLAKE2B 863f6a2f465427b2c79ae8816805ddffbab00b8e94471af94f6bc817b50a4487f5b6237f5f1f7cdf7f18adc26d758b1955edbe7301b4268888c87ba8bb9ec44e SHA512 b48f47c593172cf3a28ca926cf8e8dd2d080a7e0c4d4344fe9c1b60e036431d5e5ed93e2f67f56fb979eb6f03dad3f273594ca86dd0f6ddadd3b2e0bc3abde53 -DIST ginkgo-1.11.0.tar.gz 13330337 BLAKE2B a17728e527d40f8c5593a95b467badc58edd89ece01e3418549909f06cb1eee57e626c31c36dee5ad11379b6fb28b1b6452a3e99bd1dfa2f353703bdf601ff2a SHA512 f151c99738847ae2e3fb42131c3d3a8c67d39fc985e1d294060134499d96bc802c10cb6c1388bca7acab16e546c2549221f2854e02277f913726a543139b143b -DIST ginkgo-1.4.0.tar.gz 2574052 BLAKE2B 99677d9d75831991cac40312095d32c44bef18cd05b120d80fdb9e64ea6dc15796c09b26f35dc8230db6b55c7be4dd76efd6d1cd8ca13c83e1f3087550db0dca SHA512 9bfcb2c415c7a1a70cf8e49f20adf62d02cab83bb23b6fcecfeaeeb322b2d4e1ad8d8fa6582735073753f9a05eac8688b9bd1ff1d4203957c1a80702d117e807 -DIST ginkgo-1.6.0.tar.gz 12788830 BLAKE2B c452e20eddb3673b5863106d8a8d42aab253cb5a17cf0445194903ebadcffe53ef0df6b5f26e2602e137faaa4a23dddd0b192f3453b4bd440907385fc09d004a SHA512 507a17bc9ad010c235c4ae49ac4bef3f4d5b65b4ea02bfa5cad5ea578fa65d28f564d1faf0a1f5618a6e72d744217f58bdff68c5f1fffc9cfb484800f7f84c50 -DIST ginkgo-1.8.0.tar.gz 13140660 BLAKE2B 4b1800566ec2852b3dd7e58b01ec58e2cab45b55134fdf3d478832435c40b45320dc066d281a07127d1fc42e57c6f3d99440209d2286adc1294e44a1f660ad36 SHA512 9d121a5eec9f5d17d1bd4b8924ebb32985a68e8087addc7385b619e365ed260a40ab73eb7a8a16f46a590d3162a78c9311ff41dd3dc74a9117a61e0445d96c52 diff --git a/sci-libs/ginkgo/files/ginkgo-1.6.0-fix_type_mismatch.patch b/sci-libs/ginkgo/files/ginkgo-1.6.0-fix_type_mismatch.patch deleted file mode 100644 index d248fe87f2d7..000000000000 --- a/sci-libs/ginkgo/files/ginkgo-1.6.0-fix_type_mismatch.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/core/base/timer.cpp b/core/base/timer.cpp -index bc1c716..0185567 100644 ---- a/core/base/timer.cpp -+++ b/core/base/timer.cpp -@@ -124,7 +124,7 @@ void CpuTimer::wait(time_point& time) {} - std::chrono::nanoseconds CpuTimer::difference_async(const time_point& start, - const time_point& stop) - { -- return std::chrono::duration_cast<std::chrono::nanoseconds, int64>( -+ return std::chrono::duration_cast<std::chrono::nanoseconds>( - stop.data_.chrono - start.data_.chrono); - } diff --git a/sci-libs/ginkgo/ginkgo-1.10.0.ebuild b/sci-libs/ginkgo/ginkgo-1.10.0.ebuild deleted file mode 100644 index 61f88370d39f..000000000000 --- a/sci-libs/ginkgo/ginkgo-1.10.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Numerical linear algebra software package" -HOMEPAGE="https://ginkgo-project.github.io/" - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo" - inherit git-r3 -else - SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD-with-attribution" -SLOT="0" -IUSE="cuda hwloc +openmp" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit ) - hwloc? ( sys-apps/hwloc:= ) -" -DEPEND="${RDEPEND}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862705 - # https://github.com/ginkgo-project/ginkgo/issues/1657 - # - # Do not trust it with LTO either. - # - # Fixed after 1.10.0, remove on next version bump. - append-flags -fno-strict-aliasing - filter-lto - - local mycmakeargs=( - # ignores FEATURES=ccache handling - -DGINKGO_WITH_CCACHE=OFF - -DGINKGO_DEVEL_TOOLS=OFF - -DGINKGO_BUILD_TESTS=OFF - -DGINKGO_BUILD_BENCHMARKS=OFF - -DGINKGO_BUILD_REFERENCE=ON - -DGINKGO_BUILD_EXAMPLES=OFF - -DGINKGO_BUILD_CUDA=$(usex cuda) - -DGINKGO_BUILD_HWLOC=$(usex hwloc) - -DGINKGO_BUILD_OMP=$(usex openmp) - ) - cmake_src_configure -} diff --git a/sci-libs/ginkgo/ginkgo-1.11.0.ebuild b/sci-libs/ginkgo/ginkgo-1.11.0.ebuild deleted file mode 100644 index 9e3656dec6e2..000000000000 --- a/sci-libs/ginkgo/ginkgo-1.11.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Numerical linear algebra software package" -HOMEPAGE="https://ginkgo-project.github.io/" - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo" - inherit git-r3 -else - SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD-with-attribution" -SLOT="0" -IUSE="cuda hwloc +openmp" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit ) - hwloc? ( sys-apps/hwloc:= ) -" -DEPEND="${RDEPEND}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862705 - # https://github.com/ginkgo-project/ginkgo/issues/1657 - # - # Do not trust it with LTO either. - # - # Fixed after 1.10.0, remove on next version bump. - append-flags -fno-strict-aliasing - filter-lto - - local mycmakeargs=( - # ignores FEATURES=ccache handling - -DGINKGO_WITH_CCACHE=OFF - -DGINKGO_DEVEL_TOOLS=OFF - -DGINKGO_BUILD_TESTS=OFF - -DGINKGO_BUILD_BENCHMARKS=OFF - -DGINKGO_BUILD_REFERENCE=ON - -DGINKGO_BUILD_EXAMPLES=OFF - -DGINKGO_BUILD_CUDA=$(usex cuda) - -DGINKGO_BUILD_HWLOC=$(usex hwloc) - -DGINKGO_BUILD_OMP=$(usex openmp) - ) - cmake_src_configure -} diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild deleted file mode 100644 index 49f7f7bd00b4..000000000000 --- a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Numerical linear algebra software package" -HOMEPAGE="https://ginkgo-project.github.io/" - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo" - inherit git-r3 -else - SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD-with-attribution" -SLOT="0" -IUSE="cuda hwloc +openmp" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit ) - hwloc? ( sys-apps/hwloc:= ) -" -DEPEND="${RDEPEND}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862705 - # https://github.com/ginkgo-project/ginkgo/issues/1657 - # - # Do not trust it with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - local mycmakeargs=( - -DGINKGO_DEVEL_TOOLS=OFF - -DGINKGO_BUILD_TESTS=OFF - -DGINKGO_BUILD_BENCHMARKS=OFF - -DGINKGO_BUILD_REFERENCE=ON - -DGINKGO_BUILD_EXAMPLES=OFF - -DGINKGO_BUILD_CUDA=$(usex cuda) - -DGINKGO_BUILD_HWLOC=$(usex hwloc) - -DGINKGO_BUILD_OMP=$(usex openmp) - ) - cmake_src_configure -} diff --git a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild deleted file mode 100644 index 0fa033ee30a1..000000000000 --- a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Numerical linear algebra software package" -HOMEPAGE="https://ginkgo-project.github.io/" - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo" - inherit git-r3 -else - SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD-with-attribution" -SLOT="0" -IUSE="cuda hwloc +openmp" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit ) - hwloc? ( sys-apps/hwloc:= ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-fix_type_mismatch.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862705 - # https://github.com/ginkgo-project/ginkgo/issues/1657 - # - # Do not trust it with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - local mycmakeargs=( - -DGINKGO_DEVEL_TOOLS=OFF - -DGINKGO_BUILD_TESTS=OFF - -DGINKGO_BUILD_BENCHMARKS=OFF - -DGINKGO_BUILD_REFERENCE=ON - -DGINKGO_BUILD_EXAMPLES=OFF - -DGINKGO_BUILD_CUDA=$(usex cuda) - -DGINKGO_BUILD_HWLOC=$(usex hwloc) - -DGINKGO_BUILD_OMP=$(usex openmp) - ) - cmake_src_configure -} diff --git a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild b/sci-libs/ginkgo/ginkgo-1.8.0.ebuild deleted file mode 100644 index 49f7f7bd00b4..000000000000 --- a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Numerical linear algebra software package" -HOMEPAGE="https://ginkgo-project.github.io/" - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo" - inherit git-r3 -else - SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD-with-attribution" -SLOT="0" -IUSE="cuda hwloc +openmp" - -RDEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit ) - hwloc? ( sys-apps/hwloc:= ) -" -DEPEND="${RDEPEND}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862705 - # https://github.com/ginkgo-project/ginkgo/issues/1657 - # - # Do not trust it with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - local mycmakeargs=( - -DGINKGO_DEVEL_TOOLS=OFF - -DGINKGO_BUILD_TESTS=OFF - -DGINKGO_BUILD_BENCHMARKS=OFF - -DGINKGO_BUILD_REFERENCE=ON - -DGINKGO_BUILD_EXAMPLES=OFF - -DGINKGO_BUILD_CUDA=$(usex cuda) - -DGINKGO_BUILD_HWLOC=$(usex hwloc) - -DGINKGO_BUILD_OMP=$(usex openmp) - ) - cmake_src_configure -} diff --git a/sci-libs/ginkgo/metadata.xml b/sci-libs/ginkgo/metadata.xml deleted file mode 100644 index 8c638bee8543..000000000000 --- a/sci-libs/ginkgo/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Ginkgo is a high-performance linear algebra library for manycore - systems, with a focus on sparse solution of linear systems. It is - implemented using modern C++, with GPU kernels implemented in CUDA. - </longdescription> - <use> - <flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-toolkit</pkg>)</flag> - <flag name="hwloc">Add support for hwloc (<pkg>sys-apps/hwloc</pkg>)</flag> - </use> - <upstream> - <remote-id type="github">ginkgo-project/ginkgo</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/givaro/Manifest b/sci-libs/givaro/Manifest deleted file mode 100644 index d1e5ffef66dd..000000000000 --- a/sci-libs/givaro/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST givaro-4.2.1.tar.gz 1036238 BLAKE2B 875ce705a319e4c19b7662cd9e147313924315d49d53d4199d24fe7356859f735b22d73d2694a3a4958a9132493ad9deae60197c80b3249615c716c6212e8cc2 SHA512 120eaf61e820398bd9eb9df325a18241be4563cf654cf244f0a2b8b54347e8ea45da1d61979b0fc527e2f7f238d79ea493216a25c02d9d7e504f7443d05162d4 diff --git a/sci-libs/givaro/givaro-4.2.1.ebuild b/sci-libs/givaro/givaro-4.2.1.ebuild deleted file mode 100644 index bfc86478efce..000000000000 --- a/sci-libs/givaro/givaro-4.2.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="C++ library for arithmetic and algebraic computations" -HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/" -SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="CeCILL-B" -SLOT="0/9" # soname major -KEYWORDS="amd64 ~riscv ~x86 ~x64-macos" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND=" - doc? ( - app-text/doxygen[dot] - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-fontsextra - dev-texlive/texlive-fontutils - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - ) -" -DEPEND="dev-libs/gmp:0[cxx(+)]" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS ChangeLog README.md ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --with-docdir="/usr/share/doc/${PF}/html" \ - $(use_enable doc) -} - -src_install() { - default - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sci-libs/givaro/metadata.xml b/sci-libs/givaro/metadata.xml deleted file mode 100644 index 91e58ef1027b..000000000000 --- a/sci-libs/givaro/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <upstream> - <remote-id type="github">linbox-team/givaro</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/gklib/Manifest b/sci-libs/gklib/Manifest deleted file mode 100644 index 4d3ba01da662..000000000000 --- a/sci-libs/gklib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gklib-5.1.1_p20230327.tar.gz 186266 BLAKE2B f8c8bad20d98717141f748364614bfe95644dbaadf9370f3ad4751eb5a8f1cc7a429b42481af86bbe4df18541366e594d3b8d078305d2154f76928f587af91fc SHA512 128cd9a48047b18b8013288162556f0b0f1d81845f5445f7cc62590ab28c06ee0a6c602cc999ce268ab27237eca3e8295df6432d377e45071946b98558872997 diff --git a/sci-libs/gklib/files/gklib-5.1.1_p20230327-cmake4.patch b/sci-libs/gklib/files/gklib-5.1.1_p20230327-cmake4.patch deleted file mode 100644 index 507f4c717f79..000000000000 --- a/sci-libs/gklib/files/gklib-5.1.1_p20230327-cmake4.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 1a3ad8669f6c8f4288941487b4f2dba125c9f420 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Sun, 17 May 2026 19:28:49 +0200 -Subject: [PATCH] Raise minimum CMake version to 3.10 - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9cd1b4b..f15507f 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8) -+cmake_minimum_required(VERSION 3.10) - project(GKlib C) - - option(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" OFF) --- -2.54.0 - diff --git a/sci-libs/gklib/files/gklib-5.1.1_p20230327-multilib.patch b/sci-libs/gklib/files/gklib-5.1.1_p20230327-multilib.patch deleted file mode 100644 index 92fd8024f9a8..000000000000 --- a/sci-libs/gklib/files/gklib-5.1.1_p20230327-multilib.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9cd1b4b..592b70a 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -26,6 +26,6 @@ include_directories("test") - add_subdirectory("test") - - install(TARGETS GKlib -- ARCHIVE DESTINATION lib/${LINSTALL_PATH} -- LIBRARY DESTINATION lib/${LINSTALL_PATH}) -+ ARCHIVE DESTINATION lib${LIB_SUFFIX}/${LINSTALL_PATH} -+ LIBRARY DESTINATION lib${LIB_SUFFIX}/${LINSTALL_PATH}) - install(FILES ${GKlib_includes} DESTINATION include/${HINSTALL_PATH}) diff --git a/sci-libs/gklib/files/gklib-5.1.1_p20230327-respect-user-flags.patch b/sci-libs/gklib/files/gklib-5.1.1_p20230327-respect-user-flags.patch deleted file mode 100644 index bbad20ee1113..000000000000 --- a/sci-libs/gklib/files/gklib-5.1.1_p20230327-respect-user-flags.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/GKlibSystem.cmake b/GKlibSystem.cmake -index 31a1cf1..15ccfe7 100644 ---- a/GKlibSystem.cmake -+++ b/GKlibSystem.cmake -@@ -31,21 +31,6 @@ endif(CYGWIN) - if(CMAKE_COMPILER_IS_GNUCC) - # GCC opts. - set(GKlib_COPTIONS "${GKlib_COPTIONS} -std=c99 -fno-strict-aliasing") --if(VALGRIND) -- set(GKlib_COPTIONS "${GK_COPTIONS} -march=x86-64 -mtune=generic") --else() --# -march=native is not a valid flag on PPC: --if(CMAKE_SYSTEM_PROCESSOR MATCHES "power|ppc|powerpc|ppc64|powerpc64" OR (APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc|ppc64")) -- set(GKlib_COPTIONS "${GKlib_COPTIONS} -mtune=native") --else() -- set(GKlib_COPTIONS "${GKlib_COPTIONS} -march=native") --endif() --endif(VALGRIND) -- if(NOT MINGW) -- set(GKlib_COPTIONS "${GKlib_COPTIONS} -fPIC") -- endif(NOT MINGW) --# GCC warnings. -- set(GKlib_COPTIONS "${GKlib_COPTIONS} -Werror -Wall -pedantic -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-label") - elseif(${CMAKE_C_COMPILER_ID} MATCHES "Sun") - # Sun insists on -xc99. - set(GKlib_COPTIONS "${GKlib_COPTIONS} -xc99") -@@ -71,24 +56,6 @@ if(NO_X86) - set(GKlib_COPTIONS "${GKlib_COPTIONS} -DNO_X86=${NO_X86}") - endif(NO_X86) - --# Add various definitions. --if(GDB) -- set(GKlib_COPTS "${GKlib_COPTS} -g") -- set(GKlib_COPTIONS "${GKlib_COPTIONS} -Werror") --else() -- set(GKlib_COPTS "-O3") --endif(GDB) -- -- --if(DEBUG) -- set(GKlib_COPTS "-g") -- set(GKlib_COPTIONS "${GKlib_COPTIONS} -DDEBUG") --endif(DEBUG) -- --if(GPROF) -- set(GKlib_COPTS "-pg") --endif(GPROF) -- - if(NOT ASSERT) - set(GKlib_COPTIONS "${GKlib_COPTIONS} -DNDEBUG") - endif(NOT ASSERT) diff --git a/sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild b/sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild deleted file mode 100644 index 292245c1219b..000000000000 --- a/sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -COMMIT="8bd6bad750b2b0d90800c632cf18e8ee93ad72d7" -inherit cmake - -DESCRIPTION="Helper routines and frameworks used by KarypisLab software" -HOMEPAGE="https://github.com/KarypisLab/GKlib" -SRC_URI="https://github.com/KarypisLab/GKlib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/GKlib-${COMMIT}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - -PATCHES=( - "${FILESDIR}/${P}-multilib.patch" - "${FILESDIR}/${P}-respect-user-flags.patch" - "${FILESDIR}/${P}-cmake4.patch" # bug 957610 -) - -src_configure() { - if ! use amd64 && ! use x86; then # bug 905642 - local mycmakeargs=( - -DNO_X86=ON - ) - fi - cmake_src_configure -} diff --git a/sci-libs/gklib/metadata.xml b/sci-libs/gklib/metadata.xml deleted file mode 100644 index 1c83399ced50..000000000000 --- a/sci-libs/gklib/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">KarypisLab/GKlib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/gmsh/Manifest b/sci-libs/gmsh/Manifest deleted file mode 100644 index f3404d2a12fb..000000000000 --- a/sci-libs/gmsh/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gmsh-4.14.0-source.tgz 18458158 BLAKE2B 02af538c094fb7fa1033f3d5821dab3e1554ca10e0bc7a0ab87cca3079e119c5fec149c4af2f4c12d213776f36d8b9734631fd5a3240a9e938c2330dd6bc8989 SHA512 130104088e6ba195a4bdc14ef4c79b28872996fa58690161bf304e267d02b21247a3f7865d4c08eadc87cd686657a7fea52379b5ec0a8d67280b237c2a2647bc -DIST gmsh-4.14.1-source.tgz 18458428 BLAKE2B 5a38e166b52c68f2880d4d0d649719800844289cf8b2e8377b6579bb1b91e5b1e7c0adfb528371ab92ed761f1a4433ecc73d1220c6e35d8c731b233f36fd6143 SHA512 746be1fcbb6b39d1b77df0ee47a3080b34de90f859ca6c31ef7331d7a3d56ec129b35c4383f909dbf47c80199764ea2a2cbffa4f09b018c131f6c97158d05a1c diff --git a/sci-libs/gmsh/files/gmsh-4.11.1-metis-5-2.patch b/sci-libs/gmsh/files/gmsh-4.11.1-metis-5-2.patch deleted file mode 100644 index c7413e6e4bf4..000000000000 --- a/sci-libs/gmsh/files/gmsh-4.11.1-metis-5-2.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 63fb873..2563850 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -860,11 +860,12 @@ endif() - - if(HAVE_MESH OR HAVE_SOLVER) - if(ENABLE_METIS) -- find_library(METIS_LIB metis PATH_SUFFIXES lib) -+ find_library(METIS_LIB metis PATH_SUFFIXES lib64 REQUIRED) -+ find_library(GKLIB_LIB GKlib PATH_SUFFIXES lib64 REQUIRED) - find_path(METIS_INC "metis.h" PATH_SUFFIXES include) - if(ENABLE_SYSTEM_CONTRIB AND METIS_LIB AND METIS_INC) - message(STATUS "Using system version of METIS") -- list(APPEND EXTERNAL_LIBRARIES ${METIS_LIB}) -+ list(APPEND EXTERNAL_LIBRARIES ${METIS_LIB} ${GKLIB_LIB}) - list(APPEND EXTERNAL_INCLUDES ${METIS_INC}) - set_config_option(HAVE_METIS "Metis") - elseif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/contrib/metis) diff --git a/sci-libs/gmsh/files/gmsh-4.14.1-alglib.patch b/sci-libs/gmsh/files/gmsh-4.14.1-alglib.patch deleted file mode 100644 index d56215d28ab4..000000000000 --- a/sci-libs/gmsh/files/gmsh-4.14.1-alglib.patch +++ /dev/null @@ -1,14 +0,0 @@ -Partially reverts https://gitlab.onelab.info/gmsh/gmsh/-/commit/8becbc0bca57e5f823a36327a400d2d3688b3dba -which could not possibly have worked with system alglib. - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -774,7 +774,7 @@ - - if(ENABLE_ALGLIB) - find_library(ALGLIB_LIB alglib) -- find_path(ALGLIB_INC "stdafx.h" PATH_SUFFIXES libalglib) -+ find_path(ALGLIB_INC "stdafx.h" PATH_SUFFIXES alglib) - if(ENABLE_SYSTEM_CONTRIB AND ALGLIB_LIB AND ALGLIB_INC) - list(APPEND EXTERNAL_LIBRARIES ${ALGLIB_LIB}) - list(APPEND EXTERNAL_INCLUDES ${ALGLIB_INC}) diff --git a/sci-libs/gmsh/files/gmsh-4.9.5-opencascade.patch b/sci-libs/gmsh/files/gmsh-4.9.5-opencascade.patch deleted file mode 100644 index 63281d42e1f2..000000000000 --- a/sci-libs/gmsh/files/gmsh-4.9.5-opencascade.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./CMakeLists.txt 2022-05-24 12:36:43.084752081 +0200 -+++ ./CMakeLists.txt.new 2022-05-24 12:44:08.895710126 +0200 -@@ -1282,7 +1282,7 @@ - else() - set(OCC_LIBS) - foreach(OCC ${OCC_LIBS_REQUIRED}) -- find_library(OCC_LIB ${OCC} HINTS ENV CASROOT PATH_SUFFIXES -+ find_library(OCC_LIB ${OCC} HINTS ENV CASROOT PATH_SUFFIXES opencascade - lib ${OCC_SYS_NAME}/vc8/lib ${OCC_SYS_NAME}/vc9/lib - ${OCC_SYS_NAME}/vc10/lib ${OCC_SYS_NAME}/vc11/lib - ${OCC_SYS_NAME}/vc12/lib ${OCC_SYS_NAME}/vc14/lib -@@ -1308,7 +1308,7 @@ - list(LENGTH OCC_CAF_LIBS_REQUIRED NUM_OCC_CAF_LIBS_REQUIRED) - set(OCC_CAF_LIBS) - foreach(OCC ${OCC_CAF_LIBS_REQUIRED}) -- find_library(OCC_CAF_LIB ${OCC} HINTS ENV CASROOT PATH_SUFFIXES -+ find_library(OCC_CAF_LIB ${OCC} HINTS ENV CASROOT PATH_SUFFIXES opencascade - lib ${OCC_SYS_NAME}/vc8/lib ${OCC_SYS_NAME}/vc9/lib - ${OCC_SYS_NAME}/vc10/lib ${OCC_SYS_NAME}/vc11/lib - ${OCC_SYS_NAME}/vc12/lib ${OCC_SYS_NAME}/vc14/lib diff --git a/sci-libs/gmsh/gmsh-4.14.0.ebuild b/sci-libs/gmsh/gmsh-4.14.0.ebuild deleted file mode 100644 index 359217658d17..000000000000 --- a/sci-libs/gmsh/gmsh-4.14.0.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake desktop fortran-2 python-r1 toolchain-funcs xdg-utils - -DESCRIPTION="Three-dimensional finite element mesh generator" -HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh" -SRC_URI="https://gmsh.info/src/${P}-source.tgz" -S="${WORKDIR}/${P}-source" - -LICENSE=" - GPL-2+ free-noncomm - alglib? ( MIT ) - gmm? ( LGPL-2.1+ ) - metis? ( Apache-2.0 ) - netgen? ( LGPL-2.1+ ) - voro? ( BSD ) -" -SLOT="0" -KEYWORDS="~amd64 ~x86" -## cgns is not compiling ATM, maybe fix cgns lib first -IUSE="+alglib +blas cgns eigen examples +gmm gui jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc voro zlib" - -REQUIRED_USE=" - ^^ ( blas eigen ) - mumps? ( blas ) - slepc? ( petsc ) - python? ( shared ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - virtual/fortran - gui? ( x11-libs/fltk:1=[xft(+)] ) - alglib? ( sci-libs/alglib ) - blas? ( - sci-libs/fftw:3.0 - virtual/blas - virtual/lapack - ) - cgns? ( - sci-libs/cgnslib - sci-libs/hdf5:=[mpi=] - ) - eigen? ( dev-cpp/eigen:= ) - gmm? ( sci-mathematics/gmm ) - jpeg? ( media-libs/libjpeg-turbo ) - med? ( - sci-libs/hdf5:=[mpi=] - sci-libs/med[mpi=] - ) - metis? ( >=sci-libs/metis-5.2.0 ) - mpi? ( virtual/mpi ) - mumps? ( sci-libs/mumps[mpi=] ) - opencascade? ( sci-libs/opencascade:* ) - pdf? ( app-text/poppler:= ) - png? ( media-libs/libpng:0 ) - petsc? ( sci-mathematics/petsc[mpi=] ) - python? ( ${PYTHON_DEPS} ) - slepc? ( sci-mathematics/slepc[mpi=] ) - voro? ( sci-libs/voro++ ) - zlib? ( virtual/zlib:= ) -" - -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - python? ( dev-lang/swig ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.9.5-opencascade.patch - "${FILESDIR}"/${PN}-4.11.1-metis-5-2.patch -) - -src_configure() { - local mycmakeargs=( ) - - use blas && \ - mycmakeargs+=( -DCMAKE_Fortran_COMPILER=$(tc-getF77) ) - - mycmakeargs+=( - -DENABLE_ALGLIB="$(usex alglib)" - -DENABLE_BLAS_LAPACK="$(usex blas)" - -DENABLE_BUILD_DYNAMIC="$(usex shared)" - -DENABLE_CGNS="$(usex cgns)" - -DENABLE_EIGEN="$(usex eigen)" - -DENABLE_FLTK="$(usex gui)" - -DENABLE_GMM="$(usex gmm)" - -DENABLE_GRAPHICS="$(usex gui)" - -DENABLE_MED="$(usex med)" - -DENABLE_MPI="$(usex mpi)" - -DENABLE_METIS="$(usex metis)" - -DENABLE_MUMPS="$(usex mumps)" - -DENABLE_NETGEN="$(usex netgen)" - -DENABLE_OCC="$(usex opencascade)" - -DENABLE_PETSC="$(usex petsc)" - -DENABLE_POPPLER="$(usex pdf)" - -DENABLE_SLEPC="$(usex slepc)" - -DENABLE_PRIVATE_API="$(usex shared)" - -DENABLE_SYSTEM_CONTRIB="YES" - -DENABLE_VOROPP="$(usex voro)" - -DENABLE_WRAP_PYTHON="$(usex python)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use examples ; then - dodoc -r examples tutorials - docompress -x /usr/share/doc/${PF}/{examples,tutorials} - fi - - if use python; then - python_foreach_impl python_domodule api/gmsh.py - fi - - if use gui ; then - newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png - make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math" - fi -} - -pkg_postinst() { - if use gui ; then - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use gui ; then - xdg_icon_cache_update - fi -} diff --git a/sci-libs/gmsh/gmsh-4.14.1.ebuild b/sci-libs/gmsh/gmsh-4.14.1.ebuild deleted file mode 100644 index 9fff5d2334ef..000000000000 --- a/sci-libs/gmsh/gmsh-4.14.1.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake desktop fortran-2 python-r1 toolchain-funcs xdg-utils - -DESCRIPTION="Three-dimensional finite element mesh generator" -HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh" -SRC_URI="https://gmsh.info/src/${P}-source.tgz" -S="${WORKDIR}/${P}-source" - -LICENSE=" - GPL-2+ free-noncomm - alglib? ( MIT ) - gmm? ( LGPL-2.1+ ) - metis? ( Apache-2.0 ) - netgen? ( LGPL-2.1+ ) - voro? ( BSD ) -" -SLOT="0" -KEYWORDS="~amd64 ~x86" -## cgns is not compiling ATM, maybe fix cgns lib first -IUSE="+alglib +blas cgns eigen examples +gmm gui jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc voro zlib" - -REQUIRED_USE=" - ^^ ( blas eigen ) - mumps? ( blas ) - slepc? ( petsc ) - python? ( shared ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - virtual/fortran - gui? ( x11-libs/fltk:1=[xft(+)] ) - alglib? ( sci-libs/alglib:= ) - blas? ( - sci-libs/fftw:3.0 - virtual/blas - virtual/lapack - ) - cgns? ( - sci-libs/cgnslib - sci-libs/hdf5:=[mpi=] - ) - eigen? ( dev-cpp/eigen:= ) - gmm? ( sci-mathematics/gmm ) - jpeg? ( media-libs/libjpeg-turbo ) - med? ( - sci-libs/hdf5:=[mpi=] - sci-libs/med[mpi=] - ) - metis? ( >=sci-libs/metis-5.2.0 ) - mpi? ( virtual/mpi ) - mumps? ( sci-libs/mumps[mpi=] ) - opencascade? ( sci-libs/opencascade:* ) - pdf? ( app-text/poppler:= ) - png? ( media-libs/libpng:0 ) - petsc? ( sci-mathematics/petsc[mpi=] ) - python? ( ${PYTHON_DEPS} ) - slepc? ( sci-mathematics/slepc[mpi=] ) - voro? ( sci-libs/voro++ ) - zlib? ( virtual/zlib:= ) -" - -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - python? ( dev-lang/swig ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.9.5-opencascade.patch - "${FILESDIR}"/${PN}-4.11.1-metis-5-2.patch - "${FILESDIR}"/${PN}-4.14.1-alglib.patch # downstream; find it in include subdir -) - -src_prepare() { - # ensure we don't let automagic detect bundled libs - # for pkgs supposed to be in system - einfo "Cleanup bundled libs:" - local contrib - for contrib in ALGLIB eigen gmm metis Netgen voro++; do - rm -rv contrib/${contrib} || die - done - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( -DENABLE_SYSTEM_CONTRIB="YES" ) - - use blas && \ - mycmakeargs+=( -DCMAKE_Fortran_COMPILER=$(tc-getF77) ) - - mycmakeargs+=( - -DENABLE_ALGLIB="$(usex alglib)" - -DENABLE_BLAS_LAPACK="$(usex blas)" - -DENABLE_BUILD_DYNAMIC="$(usex shared)" - -DENABLE_CGNS="$(usex cgns)" - -DENABLE_EIGEN="$(usex eigen)" - -DENABLE_FLTK="$(usex gui)" - -DENABLE_GMM="$(usex gmm)" - -DENABLE_GRAPHICS="$(usex gui)" - -DENABLE_MED="$(usex med)" - -DENABLE_MPI="$(usex mpi)" - -DENABLE_METIS="$(usex metis)" - -DENABLE_MUMPS="$(usex mumps)" - -DENABLE_NETGEN="$(usex netgen)" - -DENABLE_OCC="$(usex opencascade)" - -DENABLE_PETSC="$(usex petsc)" - -DENABLE_POPPLER="$(usex pdf)" - -DENABLE_SLEPC="$(usex slepc)" - -DENABLE_PRIVATE_API="$(usex shared)" - -DENABLE_VOROPP="$(usex voro)" - -DENABLE_WRAP_PYTHON="$(usex python)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use examples ; then - dodoc -r examples tutorials - docompress -x /usr/share/doc/${PF}/{examples,tutorials} - fi - - if use python; then - python_foreach_impl python_domodule api/gmsh.py - fi - - if use gui ; then - newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png - make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math" - fi -} - -pkg_postinst() { - if use gui ; then - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use gui ; then - xdg_icon_cache_update - fi -} diff --git a/sci-libs/gmsh/metadata.xml b/sci-libs/gmsh/metadata.xml deleted file mode 100644 index c7862eabe094..000000000000 --- a/sci-libs/gmsh/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="alglib">Enable alglib support for mesh optimizers</flag> - <flag name="cgns">Enables cgns output support</flag> - <flag name="eigen">Build matrix manipulation with <pkg>dev-cpp/eigen</pkg></flag> - <flag name="gmm">A simple alternative to petsc based on <pkg>sci-mathematics/gmm</pkg></flag> - <flag name="metis">Enables metis support</flag> - <flag name="med">Enables med support</flag> - <flag name="mumps">Enables mumps solver support</flag> - <flag name="netgen">Enable 3D Frontal triangulation using netgen lib</flag> - <flag name="petsc">Enable <pkg>sci-mathematics/petsc</pkg> support</flag> - <flag name="opencascade">Enable OpenCASCADE support</flag> - <flag name="shared">Install shared library and headers</flag> - <flag name="slepc">Enable <pkg>sci-mathematics/slepc</pkg> support</flag> - <flag name="voro">Enable support to <pkg>sci-libs/voro++</pkg> meshing</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest deleted file mode 100644 index 52bf6e92f49e..000000000000 --- a/sci-libs/gsl/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gsl-2.7-cblas.patch.bz2 12073 BLAKE2B 71f2bdafdb1f42ca5c3515f8e39266242185218495705018d88e523be9bc776b39749156500cdc5746a16e481e9cfe2b79660e250eb1a70f3b18819d16fe11c5 SHA512 5b9b2a798079610d7d4981b83672cc978ed44b66aaf6e671794685f10bd4069764bb358870019dc0eec1e251639cde12aaa3598cae0e2fc050ea39c79435fe2f -DIST gsl-2.7.1.tar.gz 7509209 BLAKE2B dd216c2fdb536e57b6e29613e46e1a05183fd18c47434039caac68fefffc0390cfe2f21eb117347d4bbdf9004de837ef2db02c17c01eaea4b615e3e45a4fd90f SHA512 3300a748b63b583374701d5ae2a9db7349d0de51061a9f98e7c145b2f7de9710b3ad58b3318d0be2a9a287ace4cc5735bb9348cdf48075b98c1f6cc1029df131 diff --git a/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch b/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch deleted file mode 100644 index ba239563a38e..000000000000 --- a/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://bugs.gentoo.org/898410 -https://savannah.gnu.org/bugs/?63679 - -Avoid calling the undeclared exit function and future failures -with compilers which do not support implicit function declarations. - ---- a/configure.ac -+++ b/configure.ac -@@ -449,7 +449,7 @@ int main (void) - inf = exp(1.0e10); - nan = inf / inf ; - status = (nan == nan); -- exit (status); -+ return status; - }]])],[ac_cv_c_ieee_comparisons="yes"],[ac_cv_c_ieee_comparisons="no"],[ac_cv_c_ieee_comparisons="yes"]) - ]) - -@@ -469,7 +469,7 @@ int main (void) - for (i = 0; i < 5; i++) { z = z / 10.0 ; }; - for (i = 0; i < 5; i++) { z = z * 10.0 ; }; - status = (z == 0.0); -- exit (status); -+ return status; - }]])],[ac_cv_c_ieee_denormals="yes"],[ac_cv_c_ieee_denormals="no"],[ac_cv_c_ieee_denormals="yes"]) - ]) - diff --git a/sci-libs/gsl/files/gsl-2.7.1-test-tolerance.patch b/sci-libs/gsl/files/gsl-2.7.1-test-tolerance.patch deleted file mode 100644 index 8ddce4388e90..000000000000 --- a/sci-libs/gsl/files/gsl-2.7.1-test-tolerance.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 8306771281f9b2883c5200ee241b0c0767bfe1b4 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sun, 30 Jun 2024 19:45:45 -0400 -Subject: [PATCH 1/1] eigen/test.c: loosen tolerance in eigenvalue norm tests - -One test for the (unit) norm of a random hermitian matrix's -eigenvalues is victim to tolerance issues, e.g. - - FAIL: herm random, normalized(1), unsorted (0.999999999999999112 - observed vs 1 expected) [117761] - -The tolerance used is N*GSL_DBL_EPSILON, where N is the size of the -matrix. On my machine, the actual error is four times GSL_DBL_EPSILON, -which means that the tolernace is close but not quite right. Despite -having done a PhD in numerical analysis, I am choosing to fix this -with a shotgun: - - * By a factor of 10 - * Then also by a factor of N - -That's still extremely close, and hopefully will sweep the problem -under the rug whether it's off by a constant or off by a function -of N. - -Bug: https://bugs.gentoo.org/664936 -Bug: https://git.adelielinux.org/adelie/packages/-/issues/504 -Bug: https://savannah.gnu.org/bugs/?56843 ---- - eigen/test.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/eigen/test.c b/eigen/test.c -index b0bdcc7..2681721 100644 ---- a/eigen/test.c -+++ b/eigen/test.c -@@ -506,7 +506,7 @@ test_eigen_herm_results (const gsl_matrix_complex * A, - { - gsl_vector_complex_const_view vi = gsl_matrix_complex_const_column(evec, i); - double nrm_v = gsl_blas_dznrm2(&vi.vector); -- gsl_test_rel (nrm_v, 1.0, N * GSL_DBL_EPSILON, "%s, normalized(%d), %s", -+ gsl_test_rel (nrm_v, 1.0, N*N * 10.0 * GSL_DBL_EPSILON, "%s, normalized(%d), %s", - desc, i, desc2); - } - --- -2.44.2 - diff --git a/sci-libs/gsl/gsl-2.7.1-r2.ebuild b/sci-libs/gsl/gsl-2.7.1-r2.ebuild deleted file mode 100644 index 64ea6d133b18..000000000000 --- a/sci-libs/gsl/gsl-2.7.1-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic toolchain-funcs - -DESCRIPTION="The GNU Scientific Library" -HOMEPAGE="https://www.gnu.org/software/gsl/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7-cblas.patch.bz2" - -LICENSE="GPL-3+" -# Usually 0/${PV} but check -SLOT="0/27" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="cblas-external +deprecated static-libs" - -RDEPEND="cblas-external? ( virtual/cblas:= )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${WORKDIR}"/${PN}-2.7-cblas.patch - "${FILESDIR}"/${PN}-2.7.1-configure-clang16.patch -) - -src_prepare() { - default - - if use deprecated; then - sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die - fi - - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927585 - # - # Testsuite issue. Seems fixed in 2.8. - filter-lto - - filter-flags -ffast-math - - if use cblas-external; then - export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)" - export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)" - fi - - econf \ - --enable-shared \ - $(use_with cblas-external) \ - $(use_enable static-libs static) -} - -src_test() { - local MAKEOPTS="${MAKEOPTS} -j1" - default -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/gsl/gsl-2.7.1-r3.ebuild b/sci-libs/gsl/gsl-2.7.1-r3.ebuild deleted file mode 100644 index 4f9dc22ceff0..000000000000 --- a/sci-libs/gsl/gsl-2.7.1-r3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic toolchain-funcs - -DESCRIPTION="The GNU Scientific Library" -HOMEPAGE="https://www.gnu.org/software/gsl/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7-cblas.patch.bz2" - -LICENSE="GPL-3+" -# Usually 0/${PV} but check -SLOT="0/27" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="cblas-external +deprecated static-libs" - -RDEPEND="cblas-external? ( virtual/cblas:= )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${WORKDIR}"/${PN}-2.7-cblas.patch - "${FILESDIR}"/${PN}-2.7.1-configure-clang16.patch - "${FILESDIR}"/${PN}-2.7.1-test-tolerance.patch -) - -src_prepare() { - default - - if use deprecated; then - sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die - fi - - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927585 - # - # Testsuite issue. Seems fixed in 2.8. - filter-lto - - filter-flags -ffast-math - - if use cblas-external; then - export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)" - export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)" - fi - - econf \ - --enable-shared \ - $(use_with cblas-external) \ - $(use_enable static-libs static) -} - -src_test() { - local MAKEOPTS="${MAKEOPTS} -j1" - default -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/gsl/metadata.xml b/sci-libs/gsl/metadata.xml deleted file mode 100644 index acd1668f306e..000000000000 --- a/sci-libs/gsl/metadata.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The GNU Scientific Library (GSL) is a collection of routines for - numerical analysis. The routines are written from scratch by the GSL - team in C, and present a modern API for C programmers, while allowing - wrappers to be written for very high level languages. - - GSL includes data types and routines for complex numbers, vectors, - matrices, basic linear algebra subroutines (BLAS), eigensystems, - simulated annealing, minimization, root finding, pseudo-random - numbers, least-squares fitting, fast Fourier transforms (FFT), - differential equations, quadrature, Monte Carlo integration, special - functions, physical constants, and much more. - </longdescription> - <use> - <flag name="cblas-external">Link gsl with external cblas provided by - (<pkg>virtual/cblas</pkg>) instead of shipped internal version</flag> - <flag name="deprecated">Enable deprecated functions</flag> - </use> - <upstream> - <remote-id type="savannah">gsl</remote-id> - <remote-id type="cpe">cpe:/a:gnu:gnu_scientific_library</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/gts/Manifest b/sci-libs/gts/Manifest deleted file mode 100644 index b465ae48f6e3..000000000000 --- a/sci-libs/gts/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gts-snapshot-121130.tar.gz 880569 BLAKE2B ffd35083122ec40b9ab3c301965e2f40f35f81cbb51947fee01d851f545d5314cdce6c24eee2cbcdf08fe492a63eadb3720535d3f4ed913f3309561d0d382c80 SHA512 84c38dc345830eea75755d9d55235b6d76786a84c3b9c3b7e057437bf395a9f2687596bbf037afd601b9f31a485d425a371ca5e60680265f10cb414400db4142 diff --git a/sci-libs/gts/files/gts-20121130-autotools.patch b/sci-libs/gts/files/gts-20121130-autotools.patch deleted file mode 100644 index 2c651e9ba959..000000000000 --- a/sci-libs/gts/files/gts-20121130-autotools.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/doc/Makefile.am -+++ b/doc/Makefile.am -@@ -21,10 +21,10 @@ scan: - templates: scan - gtkdoc-mktmpl --module=$(DOC_MODULE) - --sgml: -+sgml: scan - gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) - --html: -+html: sgml - if ! test -d html ; then mkdir html ; fi - -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) - ---- a/examples/Makefile.am -+++ b/examples/Makefile.am -@@ -13,12 +13,10 @@ - NETPBM_EXTRA = happrox - endif - --bin_PROGRAMS = \ -+check_PROGRAMS = \ - transform \ - delaunay \ -- $(NETPBM_EXTRA) -- --noinst_PROGRAMS = \ -+ $(NETPBM_EXTRA) \ - set \ - volume \ - cleanup \ diff --git a/sci-libs/gts/gts-20121130.ebuild b/sci-libs/gts/gts-20121130.ebuild deleted file mode 100644 index bf5d333f75e3..000000000000 --- a/sci-libs/gts/gts-20121130.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MY_P=${P/-20/-snapshot-} - -DESCRIPTION="GNU Triangulated Surface Library" -HOMEPAGE="http://gts.sourceforge.net/" -SRC_URI="http://gts.sourceforge.net/tarballs/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~x86" -IUSE="doc test" -RESTRICT="test" # bug #277165 - -RDEPEND="dev-libs/glib:2" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( dev-util/gtk-doc ) - test? ( media-libs/netpbm )" - -PATCHES=( "${FILESDIR}"/${PN}-20121130-autotools.patch ) - -src_prepare() { - default - - # fix doc generation (bug #727536) - sed -i 's/\xe9/\xc3\xa9/;s/\xf6/\xc3\xb6/' src/*.{c,h} || die - - # allow to run tests (bug #277165) - chmod +x test/*/*.sh || die - - eautoreconf -} - -src_configure() { - econf --disable-static -} - -src_compile() { - default - - if use doc; then - emake DOC_MAIN_SGML_FILE=gts-docs.xml -C doc html - HTML_DOCS=( doc/html/. ) - fi -} - -src_install() { - default - - docinto examples - dodoc examples/*.c - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/gts/metadata.xml b/sci-libs/gts/metadata.xml deleted file mode 100644 index dab9c96e6331..000000000000 --- a/sci-libs/gts/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Gerris Flow Solver is a software program for the solution of the partial - differential equations describing fluid flow. - </longdescription> - <upstream> - <remote-id type="sourceforge">gts</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/hdf/Manifest b/sci-libs/hdf/Manifest deleted file mode 100644 index d44550729bb1..000000000000 --- a/sci-libs/hdf/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST hdf-4.2.15-arch-patches-1.tar.bz2 7187 BLAKE2B 461e3d7c5e3603fb909d59d6fb23b59f64ef6a6c4e58fe85ddf906a8f27918ac25d3928f5c705290d9d778e1ed07b009bd0602409c05d13a06905d58f2a2cfff SHA512 616c39d06fb6f479a7bed88a89828530ac32018dae827259b76d6e177e5b50378722b60532533a02ae534dddc445f4e360e7a19a28e2cf9728549e5ee27c3e67 -DIST hdf-4.2.15.tar.bz2 3647900 BLAKE2B b1d60ee880563bf64ae6eae4c66f86afe55f4c512f06c84c154de30034fa7a65cfa2b9bd68fbf8a055bb42b57215455ac8967f2a73ec88b361750aa07e0da5e6 SHA512 7d4037800ef8950ed74f225355ef5458444bed26fc189fbbd2ce7d36009998013ac1f6ba5d4e60834acf8f6f73550357238745acc35e162679919400a48191e9 diff --git a/sci-libs/hdf/files/0001-simply-do-not-build-the-mfhdf-tools-ncgen-ncdump.patch b/sci-libs/hdf/files/0001-simply-do-not-build-the-mfhdf-tools-ncgen-ncdump.patch deleted file mode 100644 index c57481a6cb84..000000000000 --- a/sci-libs/hdf/files/0001-simply-do-not-build-the-mfhdf-tools-ncgen-ncdump.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5a93f7ba5bea12bd78616a2168035324054ed7b7 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 23:11:43 -0400 -Subject: [PATCH] simply do not build the mfhdf tools ncgen/ncdump - -They were removed upstream in: -https://github.com/HDFGroup/hdf4/commit/57b87b9927f0127d0d04ab7cd6c93e01bf54e3ee - -With the note that people who want them can get them from... yup, you -guessed it, netcdf. ---- - mfhdf/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mfhdf/Makefile.am b/mfhdf/Makefile.am -index d62d3af..0963923 100644 ---- a/mfhdf/Makefile.am -+++ b/mfhdf/Makefile.am -@@ -17,7 +17,7 @@ FORTRAN_DIR = - endif - - # src folder in root Makefile, build other folders now --SUBDIRS = $(XDR_DIR) libsrc $(FORTRAN_DIR) test ncdump ncgen dumper hdfimport hdiff hrepack nctest -+SUBDIRS = $(XDR_DIR) libsrc $(FORTRAN_DIR) test dumper hdfimport hdiff hrepack nctest - - DIST_SUBDIRS = xdr libsrc fortran test ncdump ncgen dumper hdfimport hdiff hrepack nctest examples - --- -2.43.2 - diff --git a/sci-libs/hdf/files/hdf-4.2.15-enable-fortran-shared.patch b/sci-libs/hdf/files/hdf-4.2.15-enable-fortran-shared.patch deleted file mode 100644 index 8c6a1c9f8681..000000000000 --- a/sci-libs/hdf/files/hdf-4.2.15-enable-fortran-shared.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 0014f85..5601a1c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -290,20 +290,6 @@ fi - ## Build static libraries by default. Furthermore, fortran shared libraries - ## are unsupported. Disallow a user from enabling both shared libraries and - ## fortran. --if test "X${enable_shared}" != "Xyes"; then -- enable_shared="no" --fi -- --if test "X${enable_shared}" = "Xyes"; then -- if test "X${BUILD_FORTRAN}" = "Xyes"; then -- AC_MSG_ERROR([Cannot build shared fortran libraries. Please configure with --disable-fortran flag.]) -- fi --fi -- --AC_PROG_INSTALL --AC_PROG_LN_S -- --AC_CHECK_PROGS([AR], [ar xar], [:], [$PATH]) - - AC_CHECK_PROGS([YACC], ['bison -y' byacc yacc], [none], []) - -@@ -948,11 +934,6 @@ done - ## ------------------------------------------------------------------------ - ## Check to see if libtool has enabled shared libraries. Set a conditional - ## as some Makefiles will build based on availability of shared libraries. --if (./libtool --features | grep '^enable shared libraries' > /dev/null); then -- enable_shared=yes --else -- enable_shared=no --fi - - ## ------------------------------------------------------------------------ - ## Specify shared library extension the host machine should recognize. diff --git a/sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch b/sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch deleted file mode 100644 index a373649e2ab4..000000000000 --- a/sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 5601a1c..df03984 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -693,7 +693,7 @@ if test "X$BUILD_XDR" != "Xyes"; then - if test -z "$HAVE_OLDRPC" ; then - LIBS="$LIBS -ltirpc" - CPPFLAGS="$SYSCPPFLAGS -I/usr/include/tirpc" -- AC_CHECK_HEADER([rpc/rpc.h],[:], [unset HAVE_TIRPC]) -+ AC_CHECK_HEADER([tirpc/rpc/rpc.h],[:], [unset HAVE_TIRPC]) - if test -z "$HAVE_TIRPC" ; then - CPPFLAGS="$SYSCPPFLAGS" - AC_MSG_ERROR([couldn't find rpc headers]) diff --git a/sci-libs/hdf/files/hdf4-c99.patch b/sci-libs/hdf/files/hdf4-c99.patch deleted file mode 100644 index de5f5d07847d..000000000000 --- a/sci-libs/hdf/files/hdf4-c99.patch +++ /dev/null @@ -1,371 +0,0 @@ -From a3d4d30fe457fc9a85fce5508119dffd3ace54c1 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 21:28:39 -0400 -Subject: [PATCH 01/11] fix tests omitting required header - -sys/time.h is not time.h. - -Purports to be fixed by https://github.com/HDFGroup/hdf4/commit/276e2c205b767d31f9d0b757f53a36aee1e1f9b2 -which however doesn't directly include time.h, as of the current -version. In later releases it does. ---- - hdf/test/buffer.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/hdf/test/buffer.c b/hdf/test/buffer.c -index c7990e7..9f0f06f 100644 ---- a/hdf/test/buffer.c -+++ b/hdf/test/buffer.c -@@ -50,6 +50,7 @@ - #ifdef H4_HAVE_SYS_TIME_H - #include <sys/time.h> - #endif -+#include <time.h> - #include "tutils.h" - #include "hfile.h" - --- -2.43.2 - - -From 02ec8e25e096241e20664acfc6596767f050ec86 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 20:41:06 -0400 -Subject: [PATCH 02/11] fix util omitting required header - -sys/wait.h is POSIX, but for some godforsaken reason upstream has -decided to only include it behind random OS identifier macros. In a -newer upstream version, they at least migrate over to including it -whenever the header exists. - -https://github.com/HDFGroup/hdf4/commit/67e11955e41471c8892acc3c8930ea538f719a03 ---- - hdf/util/he_file.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/hdf/util/he_file.c b/hdf/util/he_file.c -index 8686e2f..d6c5e7f 100644 ---- a/hdf/util/he_file.c -+++ b/hdf/util/he_file.c -@@ -17,9 +17,7 @@ - #include "he.h" - - /* get the prototype for the wait() func. */ --#if defined SUN | defined HP9000 | defined IRIX | defined UNIX386 - #include <sys/wait.h> --#endif /* SUN | HP9000 */ - #ifdef H4_HAVE_UNISTD_H - #include <unistd.h> - #endif --- -2.43.2 - - -From 60223f44459e7b43a26bdccf473804f1f0fd710f Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 20:46:48 -0400 -Subject: [PATCH 03/11] another POSIX function with a missing header - -For this one it is not immediately apparent to me that it's fixed -upstream at all. Will check later. ---- - mfhdf/libsrc/file.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/mfhdf/libsrc/file.c b/mfhdf/libsrc/file.c -index a53301f..df73212 100644 ---- a/mfhdf/libsrc/file.c -+++ b/mfhdf/libsrc/file.c -@@ -20,6 +20,7 @@ - #include <assert.h> - #endif /* DEBUG */ - -+#include <unistd.h> - #include <string.h> - #include <errno.h> - #include "local_nc.h" --- -2.43.2 - - -From 2b4772cf958a1af0fff6117d4f7127607d3f1a50 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 20:48:56 -0400 -Subject: [PATCH 04/11] add brand new definition of function no one bothered to - define at all - -Added upstream in https://github.com/HDFGroup/hdf4/commit/8a4137d60e2d932703fc6ee91501ad374ccba885 ---- - mfhdf/test/hdftest.h | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/mfhdf/test/hdftest.h b/mfhdf/test/hdftest.h -index a211c49..a946e5c 100644 ---- a/mfhdf/test/hdftest.h -+++ b/mfhdf/test/hdftest.h -@@ -52,6 +52,9 @@ - - /*************************** Utility Functions ***************************/ - -+/* Generates the correct name for the test file */ -+intn make_datafilename(char* basename, char* testfile, unsigned int size); -+ - /* Calls SDcreate, SDwritedata, and SDendaccess */ - int32 make_SDS(int32 sd_id, char* sds_name, int32 type, int32 rank, - int32* dim_sizes, int32 unlim_dim, VOIDP written_data); -@@ -65,6 +68,9 @@ int32 make_Ext3D_SDS(int32 sd_id, char* sds_name, int32 type, int32 rank, - int32* dim_sizes, VOIDP written_data, - int32 offset, char* ext_file_name); - -+/* Verifies the unlimited dimension's size and the variable's data. */ -+int verify_info_data(int32 sds_id, int32 expected_dimsize, int16 *result); -+ - /* Calls SDnametoindex and SDselect */ - int32 get_SDSbyName(int32 sd_id, char* sds_name); - --- -2.43.2 - - -From 1be129c91ec9db6991daebddfe5124cc8180f0ea Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 20:58:13 -0400 -Subject: [PATCH 05/11] fix typoed function definition - -https://github.com/HDFGroup/hdf4/commit/490abfc71219657ecfa81cd90413b623f73603fd ---- - mfhdf/test/hdftest.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mfhdf/test/hdftest.c b/mfhdf/test/hdftest.c -index da9a36b..04f8641 100644 ---- a/mfhdf/test/hdftest.c -+++ b/mfhdf/test/hdftest.c -@@ -59,7 +59,7 @@ extern int test_SDSprops(); - extern int test_coordvar(); - extern int test_chunk(); - extern int test_compression(); --extern int test_dimension(); -+extern int test_dimensions(); - extern int test_attributes(); - extern int test_datasizes(); - extern int test_datainfo(); --- -2.43.2 - - -From 60fcf1802bd015b01095c6a0463200f09c47f677 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 21:53:59 -0400 -Subject: [PATCH 06/11] make defines actually do anything whatsoever - -Rendered obsolete by https://github.com/HDFGroup/hdf4/commit/218c8da49eda25799577ac905209c1e972a77771 ---- - mfhdf/test/tdatainfo.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/mfhdf/test/tdatainfo.c b/mfhdf/test/tdatainfo.c -index df2539b..ab36044 100644 ---- a/mfhdf/test/tdatainfo.c -+++ b/mfhdf/test/tdatainfo.c -@@ -23,6 +23,9 @@ - * -BMR, Jul 2010 - ****************************************************************************/ - -+#ifndef DATAINFO_TESTER -+#define DATAINFO_TESTER /* to include mfdatainfo.h */ -+#endif - #include "mfhdf.h" - - #ifdef H4_HAVE_SYS_TYPES_H -@@ -44,10 +47,6 @@ - #define ssize_t int32 - #endif - --#ifndef DATAINFO_TESTER --#define DATAINFO_TESTER /* to include mfdatainfo.h */ --#endif -- - #ifdef H4_HAVE_LIBSZ - #include "szlib.h" - #endif --- -2.43.2 - - -From e967cb577fa0ba39cee7d5a128672c61adbb839e Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 22:01:14 -0400 -Subject: [PATCH 07/11] Include correct header - -https://github.com/HDFGroup/hdf4/commit/3f61fb461d2d19cc1d9da41f29e5cbb2ce0c4365 ---- - mfhdf/test/tfile.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/mfhdf/test/tfile.c b/mfhdf/test/tfile.c -index a90fc02..b0ea001 100644 ---- a/mfhdf/test/tfile.c -+++ b/mfhdf/test/tfile.c -@@ -13,6 +13,7 @@ - - /* $Id: tfile.c 5218 2009-08-29 04:21:49Z bmribler $ */ - -+#include "local_nc.h" - #include "mfhdf.h" - - #ifdef HDF --- -2.43.2 - - -From fda204abcb83516177d6c81a23261e1c641bcdcf Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 22:03:18 -0400 -Subject: [PATCH 08/11] include header needed for unlink() - -Upstream in https://github.com/HDFGroup/hdf4/commit/9055b673990b2dc3c9248f720f3e8a03f8d86434 - -It is unclear why they think it was only needed then... ---- - mfhdf/test/tsd.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/mfhdf/test/tsd.c b/mfhdf/test/tsd.c -index 397aeba..a6e9b6c 100644 ---- a/mfhdf/test/tsd.c -+++ b/mfhdf/test/tsd.c -@@ -15,6 +15,8 @@ - * tsd.c - tests SDstart for file with no write permission - ****************************************************************************/ - -+#include <unistd.h> -+ - #include "mfhdf.h" - - #ifdef HDF --- -2.43.2 - - -From 572ef6889599b58535bd2285d98ac63c7fdf870d Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 22:49:39 -0400 -Subject: [PATCH 09/11] include the getopt() header - -Which isn't getopt.h, though upstream helpfully added one in -https://github.com/HDFGroup/hdf4/commit/9be7f29942d286873d0b4fa125be11b3f79f6916 - -They then went a bit further and stopped using getopt at all: -https://github.com/HDFGroup/hdf4/commit/0b3ad421b3ba8045d078196edd0492067f1ea576 - -Helpful rationale: -> Instead of relying on the system getopt(), HDF4 includes its own - -Intriguing. - -"Fortunately" this is a patch for an old version of hdf4. All we want to -do is get the POSIX prototype which we intend to link to. ---- - mfhdf/hdiff/hdiff_main.c | 1 + - mfhdf/ncdump/ncdump.c | 1 + - mfhdf/ncgen/main.c | 1 + - 3 files changed, 3 insertions(+) - -diff --git a/mfhdf/hdiff/hdiff_main.c b/mfhdf/hdiff/hdiff_main.c -index 2fb2342..e2987be 100644 ---- a/mfhdf/hdiff/hdiff_main.c -+++ b/mfhdf/hdiff/hdiff_main.c -@@ -12,6 +12,7 @@ - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - - -+#include <unistd.h> - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -diff --git a/mfhdf/ncdump/ncdump.c b/mfhdf/ncdump/ncdump.c -index bdaa120..8697c0a 100644 ---- a/mfhdf/ncdump/ncdump.c -+++ b/mfhdf/ncdump/ncdump.c -@@ -4,6 +4,7 @@ - * $Id$ - *********************************************************************/ - -+#include <unistd.h> - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -diff --git a/mfhdf/ncgen/main.c b/mfhdf/ncgen/main.c -index 16c0204..7f6e2c0 100644 ---- a/mfhdf/ncgen/main.c -+++ b/mfhdf/ncgen/main.c -@@ -4,6 +4,7 @@ - * $Id$ - *********************************************************************/ - -+#include <unistd.h> - #include <stdio.h> - #include <string.h> - #include <stdlib.h> --- -2.43.2 - - -From b569c20be9d3c65ba48bd2a81a5daa9ee8a419bc Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 22:57:19 -0400 -Subject: [PATCH 10/11] Remove never-defined macros that prevented including a - crucial header - -Also removed upstream: -https://github.com/HDFGroup/hdf4/commit/3f61fb461d2d19cc1d9da41f29e5cbb2ce0c4365 ---- - mfhdf/ncgen/close.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/mfhdf/ncgen/close.c b/mfhdf/ncgen/close.c -index 036d8f0..3dedbd7 100644 ---- a/mfhdf/ncgen/close.c -+++ b/mfhdf/ncgen/close.c -@@ -6,9 +6,7 @@ - - #include <stdio.h> - #include "ncgen.h" --#ifdef EIP - #include "genlib.h" --#endif - - extern void fline(), cline(); - extern int netcdf_flag; --- -2.43.2 - - -From 9bce6a7a5ea7095f4a51d38bd7e378670c33fb06 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 7 Apr 2024 23:23:16 -0400 -Subject: [PATCH 11/11] fix blatantly missing type - -Upstream applied via: -https://github.com/HDFGroup/hdf4/commit/38e08e0d12d2ee84917111583a007fdcb5ad1aed ---- - mfhdf/hdfimport/gen_sds_floats.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mfhdf/hdfimport/gen_sds_floats.c b/mfhdf/hdfimport/gen_sds_floats.c -index 81f62c5..d08576f 100644 ---- a/mfhdf/hdfimport/gen_sds_floats.c -+++ b/mfhdf/hdfimport/gen_sds_floats.c -@@ -23,7 +23,7 @@ - #define RANK2 2 /* Number of dimensions of the SDS */ - #define RANK3 3 /* Number of dimensions of the SDS */ - --main() -+int main() - { - /************************* Variable declaration ************************/ - --- -2.43.2 - diff --git a/sci-libs/hdf/hdf-4.2.15-r2.ebuild b/sci-libs/hdf/hdf-4.2.15-r2.ebuild deleted file mode 100644 index ce6a151b645a..000000000000 --- a/sci-libs/hdf/hdf-4.2.15-r2.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs autotools flag-o-matic - -DESCRIPTION="General purpose library and format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/hdf4.html" -SRC_URI="https://support.hdfgroup.org/ftp/HDF/releases/${PN^^}${PV}/src/${P}.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-4.2.15-arch-patches-1.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${PN}-4.2.15-arch-patches-1.tar.bz2" - -LICENSE="NCSA-HDF" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~riscv x86" -IUSE="examples fortran szip static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( szip )" - -RDEPEND="net-libs/libtirpc:= - virtual/zlib:= - virtual/jpeg:0 - szip? ( virtual/szip )" -DEPEND="${RDEPEND} - test? ( virtual/szip )" - -PATCHES=( - "${FILESDIR}"/${PN}-4.2.15-enable-fortran-shared.patch - "${FILESDIR}"/${PN}-4.2.15-fix-rpch-location.patch - - # May need to extend these for more arches in future. - # bug #664856 - "${WORKDIR}"/${PN}-4.2.15-arch-patches/ - - # backport fix for Modern C - "${FILESDIR}"/hdf4-c99.patch - - # These tools were dropped upstream. Get them from netcdf... - "${FILESDIR}"/0001-simply-do-not-build-the-mfhdf-tools-ncgen-ncdump.patch -) - -src_prepare() { - default - - sed -i -e 's/-R/-L/g' config/commence.am || die #rpath - eautoreconf -} - -src_configure() { - # -Werror=strict-aliasing, -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862720 - # - # Do not trust with LTO either, just because of strict-aliasing. - # But also because it does have blatant LTO errors too. - append-flags -fno-strict-aliasing - filter-lto - - [[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check - # GCC 10 workaround - # bug #723014 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - econf \ - --enable-shared \ - --enable-production=gentoo \ - --disable-netcdf \ - $(use_enable fortran) \ - $(use_enable static-libs static) \ - $(use_with szip szlib) \ - CC="$(tc-getCC)" -} - -src_install() { - default - - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die - fi - - dodoc release_notes/{RELEASE,HISTORY,bugs_fixed,misc_docs}.txt - - cd "${ED}/usr" || die - if use examples; then - mv share/hdf4_examples share/doc/${PF}/examples || die - docompress -x /usr/share/doc/${PF}/examples - else - rm -r share/hdf4_examples || die - fi -} diff --git a/sci-libs/hdf/metadata.xml b/sci-libs/hdf/metadata.xml deleted file mode 100644 index c4fb0d5104c1..000000000000 --- a/sci-libs/hdf/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The Hierarchical Data Format is a general purpose library and - file format for storing scientific data. - HDF can store two primary objects: datasets and groups. A dataset is - essentially a multidimensional array of data elements, and a group is - a structure for organizing objects in an HDF file. Using these two basic - objects, one can create and store almost any kind of scientific data - structure, such as images, arrays of vectors, and structured and - unstructured grids. You can also mix and match them in HDF files - according to your needs. - </longdescription> - <upstream> - <remote-id type="github">HDFGroup/hdf4</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest deleted file mode 100644 index 67c6ba4faaab..000000000000 --- a/sci-libs/hdf5/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7 SHA512 cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5 -DIST hdf5-1.14.4-3.tar.gz 37007795 BLAKE2B f71ba86da65337c3ff30c733760adea56a0ace05b4ac1c0060febb85f45a586ec47cc99828f1199e4e02fd5e2f4329ace450c62a3290f6341d21ec9e30cc59fd SHA512 667a40703b4e330db32d3ede48247781019414426d2949aabf2036089155bc7f2167fbc8b8c78b76286d8369d1f3c9bdd66049d3e4eda2c234ef751df9cc597a -DIST hdf5-1.14.6.tar.gz 39289609 BLAKE2B c604384c0d98ce092ac59a67ec5baf3d593548d37defa0fd29b676dd0837e321fff937368edb50591ac8841116648e41ed8505611518a2c914a380191a7c0388 SHA512 d93194ad8f48acf110aae317f4c37104b9042f89ef72919aac887817e4c2713449c4cb2ab6a163c61ab1c12811170d7611cdf69322b0e0f96420fcc7f99fdd67 diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-configure-clang16.patch b/sci-libs/hdf5/files/hdf5-1.12.2-configure-clang16.patch deleted file mode 100644 index f341fa99ddac..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.12.2-configure-clang16.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://github.com/HDFGroup/hdf5/commit/9dd36f016a4316b94f5df15856d228de01d304c6 - -From 9dd36f016a4316b94f5df15856d228de01d304c6 Mon Sep 17 00:00:00 2001 -From: Ryan Schmidt <ryandesign@macports.org> -Date: Thu, 17 Nov 2022 16:28:44 -0600 -Subject: [PATCH] Simplify & fix check for szlib encoder (#2263) - -Return the result rather than setting the exit code. "return" is a -language keyword whereas "exit" is a function for which the <stdlib.h> -header has to be included which it wasn't in this test, therefore the -test would previously fail to identify that the encoder was enabled if -"-Werror=implicit-function-declaration" was used, which it is by default -with clang from Xcode 12 and later. - -Fixes #2262 ---- a/configure.ac -+++ b/configure.ac -@@ -1737,10 +1737,7 @@ if test "x$HAVE_SZLIB" = "xyes" -a "x$HAVE_SZLIB_H" = "xyes"; then - #include "szlib.h" - ],[[ - /* SZ_encoder_enabled returns 1 if encoder is present */ -- if(SZ_encoder_enabled() == 1) -- exit(0); -- else -- exit(1); -+ return SZ_encoder_enabled() != 1; - ]])] - , [hdf5_cv_szlib_can_encode=yes], [hdf5_cv_szlib_can_encode=no],)] - ) - diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-no-messing-ldpath.patch b/sci-libs/hdf5/files/hdf5-1.12.2-no-messing-ldpath.patch deleted file mode 100644 index b8585fc647f6..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.12.2-no-messing-ldpath.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -159,8 +159,6 @@ settings_DATA=libhdf5.settings - # Remove the generated .c file if errors occur unless HDF5_Make_Ignore - # is set to ignore the error. - H5Tinit.c: H5detect$(EXEEXT) -- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ -- sed -e 's/-L/:/g' -e 's/ //g'`" \ - $(RUNSERIAL) ./H5detect$(EXEEXT) $@ || \ - (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ - ($(RM) $@ ; exit 1) -@@ -171,8 +169,6 @@ H5Tinit.c: H5detect$(EXEEXT) - # Remove the generated .c file if errors occur unless HDF5_Make_Ignore - # is set to ignore the error. - H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings -- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ -- sed -e 's/-L/:/g' -e 's/ //g'`" \ - $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) $@ || \ - (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ - ($(RM) $@ ; exit 1) diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-no-strip-symbols.patch b/sci-libs/hdf5/files/hdf5-1.12.2-no-strip-symbols.patch deleted file mode 100644 index 0f3bf3981fa7..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.12.2-no-strip-symbols.patch +++ /dev/null @@ -1,16 +0,0 @@ -https://bugs.gentoo.org/665378 ---- a/configure.ac -+++ b/configure.ac -@@ -2368,9 +2368,9 @@ case "X-$SYMBOLS" in - AC_MSG_RESULT([yes]) - ;; - X-no) -- H5_CFLAGS="$H5_CFLAGS $NO_SYMBOLS_CFLAGS" -- H5_CXXFLAGS="$H5_CXXFLAGS $NO_SYMBOLS_CXXFLAGS" -- H5_FCFLAGS="$H5_FCFLAGS $NO_SYMBOLS_FCFLAGS" -+ H5_CFLAGS="$H5_CFLAGS" -+ H5_CXXFLAGS="$H5_CXXFLAGS" -+ H5_FCFLAGS="$H5_FCFLAGS" - AC_MSG_RESULT([no]) - ;; - *) diff --git a/sci-libs/hdf5/files/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch b/sci-libs/hdf5/files/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch deleted file mode 100644 index 5b3a5f85f2ce..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch +++ /dev/null @@ -1,28 +0,0 @@ -From dcfab0f9f0c41cb61a25b11cd61eac7204365693 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 17 Dec 2023 09:25:43 +0000 -Subject: [PATCH 1/3] Make sure that during runtime we'll use the same - libgfortran as during linking - -Bug: https://bugs.gentoo.org/419991 -Bug: https://bugs.gentoo.org/419895 -Signed-off-by: Sam James <sam@gentoo.org> ---- - fortran/src/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am -index 8d8396f..de03df9 100644 ---- a/fortran/src/Makefile.am -+++ b/fortran/src/Makefile.am -@@ -98,6 +98,7 @@ if BUILD_PARALLEL_CONDITIONAL - else - H5FC_NAME = h5fc - endif -+H5test_kind_LDFLAGS=-static-libgfortran - - # Rules for automatically detecting which fortran types are present - # and matching them to C types. This is accomplished using helper --- -2.44.0 - diff --git a/sci-libs/hdf5/files/hdf5-1.14.4-0002-Disable-forced-stripping.patch b/sci-libs/hdf5/files/hdf5-1.14.4-0002-Disable-forced-stripping.patch deleted file mode 100644 index 25a3088dc031..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.14.4-0002-Disable-forced-stripping.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 9bcb00e44ce2442db9dcd173e70f8635d7e22c1d Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 17 Dec 2023 09:26:33 +0000 -Subject: [PATCH 2/3] Disable forced stripping - -Bug: https://bugs.gentoo.org/665378 -Signed-off-by: Sam James <sam@gentoo.org> ---- - configure.ac | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 6a3beee..fc44a39 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2512,9 +2512,9 @@ case "X-$SYMBOLS" in - AC_MSG_RESULT([yes]) - ;; - X-no) -- H5_CFLAGS="$H5_CFLAGS $NO_SYMBOLS_CFLAGS" -- H5_CXXFLAGS="$H5_CXXFLAGS $NO_SYMBOLS_CXXFLAGS" -- H5_FCFLAGS="$H5_FCFLAGS $NO_SYMBOLS_FCFLAGS" -+ H5_CFLAGS="$H5_CFLAGS" -+ H5_CXXFLAGS="$H5_CXXFLAGS" -+ H5_FCFLAGS="$H5_FCFLAGS" - AC_MSG_RESULT([no]) - ;; - *) --- -2.44.0 - diff --git a/sci-libs/hdf5/files/hdf5-1.14.4-0003-Drop-broken-Werror-stripping.patch b/sci-libs/hdf5/files/hdf5-1.14.4-0003-Drop-broken-Werror-stripping.patch deleted file mode 100644 index 3b8a628b0384..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.14.4-0003-Drop-broken-Werror-stripping.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 014f4857dc0e5883cb07393d5875412806855d28 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 17 Dec 2023 09:27:18 +0000 -Subject: [PATCH 3/3] Drop broken -Werror stripping - -The stripping is broken and mangles -Werror=x -> -x [0]. - -[0] https://github.com/HDFGroup/hdf5/commit/41526f68f3482f2b3a7aa581288bc86e9c6dcb43#r100076265 - -Bug: https://bugs.gentoo.org/917448 -Signed-off-by: Sam James <sam@gentoo.org> ---- - configure.ac | 36 ------------------------------------ - 1 file changed, 36 deletions(-) - -diff --git a/configure.ac b/configure.ac -index fc44a39..2117303 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -193,42 +193,6 @@ saved_user_JAVAFLAGS="$JAVAFLAGS" - saved_user_LDFLAGS="$LDFLAGS" - saved_user_CPPFLAGS="$CPPFLAGS" - --## Strip out -Werror from CFLAGS since that can cause checks to fail when --## compiling test programs fails due to warnings --## --## Regex: --## --## -Werror Literal -Werror --## \( Start optional capturing group --## = Literal equals sign --## [^[:space:]] Non-space characters --## \+ 1 or more of the above --## \) End optional capturing group --## \? 0 or 1 capturing group matches --## --## Note that the outer pair of '[]' ends up getting removed --WERROR_SED='s/-Werror\(=[[^[:space:]]]\+\)\?//g' --CFLAGS_SED="`echo $CFLAGS | sed -e $WERROR_SED`" --if test $? -eq 0; then -- CFLAGS="$CFLAGS_SED" --fi --CXXFLAGS_SED="`echo $CXXFLAGS | sed -e $WERROR_SED`" --if test $? -eq 0; then -- CXXFLAGS="$CXXFLAGS_SED" --fi --FCFLAGS_SED="`echo $FCFLAGS | sed -e $WERROR_SED`" --if test $? -eq 0; then -- FCFLAGS="$FCFLAGS_SED" --fi --JAVACFLAGS_SED="`echo $JAVACFLAGS | sed -e $WERROR_SED`" --if test $? -eq 0; then -- JAVACFLAGS="$JAVACFLAGS_SED" --fi --CPPFLAGS_SED="`echo $CPPFLAGS | sed -e $WERROR_SED`" --if test $? -eq 0; then -- CPPFLAGS="$CPPFLAGS_SED" --fi -- - ## Support F9X variable to define Fortran compiler if FC variable is - ## not used. This should be deprecated in the future. - if test "x" = "x$FC"; then --- -2.44.0 - diff --git a/sci-libs/hdf5/files/hdf5-1.14.6-cmake-h5cc.patch b/sci-libs/hdf5/files/hdf5-1.14.6-cmake-h5cc.patch deleted file mode 100644 index 11471c360c5c..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.14.6-cmake-h5cc.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 02b701653deb5eeaa6fe4462ba5c9bdd30dc778d Mon Sep 17 00:00:00 2001 -From: Atri Bhattacharya <badshah400@gmail.org> -Date: Tue, 11 Mar 2025 22:44:29 +0530 -Subject: [PATCH 1/2] h5cc: Fix location of settings and pkgconfig files - -In h5cc and other compiler wrappers, drop hardcoded 'lib' as the dir for -libhdf5.settings and pkgconfig scripts and use cmake computed values for -HDF5_INSTALL_LIB_DIR. This fixes issues on systems where the libdir is -'lib64' for instance, as on 64-bit Linux OSes, and 'lib' in the -wrappers point to incorrect locations of the settings and pkgconfig -files. ---- - config/cmake/libh5cc.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/config/cmake/libh5cc.in b/config/cmake/libh5cc.in -index 2608f49423a..3ac9588740b 100644 ---- a/config/cmake/libh5cc.in -+++ b/config/cmake/libh5cc.in -@@ -32,7 +32,7 @@ pc_args="" - # libhdf5.settings file residing in the lib directory. - showconfigure() - { -- cat $dir/lib/libhdf5.settings -+ cat $dir/@HDF5_INSTALL_LIB_DIR@/libhdf5.settings - status=$? - } - -@@ -57,7 +57,7 @@ usage() { - exit $EXIT_FAILURE - } - --export PKG_CONFIG_PATH=$dir/lib/pkgconfig -+export PKG_CONFIG_PATH=$dir/@HDF5_INSTALL_LIB_DIR@/pkgconfig - - for arg in $@ ; do - case "$arg" in - -From b777d6f4d8df67726c7611a945f3e204513efd16 Mon Sep 17 00:00:00 2001 -From: Atri Bhattacharya <badshah400@gmail.org> -Date: Tue, 11 Mar 2025 22:52:17 +0530 -Subject: [PATCH 2/2] h5cc: Drop -show from output when calling command. - -When calling `h5cc -show FOO`, the output should not repeat the '-show' -argument itself. This commit fixes the '-show' command invoked from a -cmake built h5cc to be consistent with an (previously) autotools built -one. ---- - config/cmake/libh5cc.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/config/cmake/libh5cc.in b/config/cmake/libh5cc.in -index 3ac9588740b..2af2abf0aff 100644 ---- a/config/cmake/libh5cc.in -+++ b/config/cmake/libh5cc.in -@@ -66,7 +66,7 @@ for arg in $@ ; do - exit $status - ;; - -show) -- echo @_PKG_CONFIG_COMPILER@ $@ `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` -+ echo @_PKG_CONFIG_COMPILER@ ${@:2} `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` - exit $status - ;; - -help) diff --git a/sci-libs/hdf5/files/hdf5-1.14.6-h5cc-sh.patch b/sci-libs/hdf5/files/hdf5-1.14.6-h5cc-sh.patch deleted file mode 100644 index 7644f5a05991..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.14.6-h5cc-sh.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 4cca21399b3bca4d21ed962640b8bdee5062550b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Tue, 22 Apr 2025 20:24:09 +0200 -Subject: [PATCH 1/2] h5cc: Fix bashism - -Replace the `${@:2}` construct that is specific to bash shell with -a more portable approach based on `shift`, in order to restore -compatibility with more strict POSIX shells. This fixes a regression -introduced in #5361. ---- - config/cmake/libh5cc.in | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/config/cmake/libh5cc.in b/config/cmake/libh5cc.in -index 2af2abf0aff..eea811e5e18 100644 ---- a/config/cmake/libh5cc.in -+++ b/config/cmake/libh5cc.in -@@ -66,7 +66,8 @@ for arg in $@ ; do - exit $status - ;; - -show) -- echo @_PKG_CONFIG_COMPILER@ ${@:2} `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` -+ shift -+ echo @_PKG_CONFIG_COMPILER@ $@ `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` - exit $status - ;; - -help) - -From a8b2c89ad7d1cfd016e6e901efa14a52f65fa883 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Tue, 22 Apr 2025 20:27:26 +0200 -Subject: [PATCH 2/2] h5cc: Fix passing arguments to compiler subprocesses - -Pass arguments to subprocesses via quoted `"$@"` rather than plain `$@`, -in order to prevent the shell from applying word splitting, filename -expansion, etc., and therefore ensure that they are passed through -to the compiler process unchanged. ---- - config/cmake/libh5cc.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/config/cmake/libh5cc.in b/config/cmake/libh5cc.in -index eea811e5e18..939698c3640 100644 ---- a/config/cmake/libh5cc.in -+++ b/config/cmake/libh5cc.in -@@ -67,7 +67,7 @@ for arg in $@ ; do - ;; - -show) - shift -- echo @_PKG_CONFIG_COMPILER@ $@ `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` -+ echo @_PKG_CONFIG_COMPILER@ "$@" `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` - exit $status - ;; - -help) -@@ -79,7 +79,7 @@ for arg in $@ ; do - pc_args="$pc_args $arg" - ;; - *) -- @_PKG_CONFIG_COMPILER@ $@ `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` -+ @_PKG_CONFIG_COMPILER@ "$@" `pkg-config $pc_args --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` - status=$? - exit $status - ;; diff --git a/sci-libs/hdf5/files/hdf5-1.14.6-override-compiler.patch b/sci-libs/hdf5/files/hdf5-1.14.6-override-compiler.patch deleted file mode 100644 index c7fb11de87ff..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.14.6-override-compiler.patch +++ /dev/null @@ -1,187 +0,0 @@ -From c60ce3e3e9110740bf1f3f0914943ecb549d7d33 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Tue, 22 Apr 2025 20:54:12 +0200 -Subject: [PATCH] h5cc: Allow overriding the compilers written into the file - -Add a set of `PKG_CONFIG_C_COMPILER`, `PKG_CONFIG_CXX_COMPILER` -and `PKG_CONFIG_Fortran_COMPILER` variables that can be used to override -the compiler string written into `h5cc`, `h5c++`, etc. This is -particularly useful when e.g. using ccache during the build, -as the ccache path otherwise ends up in `h5cc`. ---- - CMakeLists.txt | 24 ++++++++++++++++++++++++ - c++/src/CMakeLists.txt | 6 +----- - fortran/src/CMakeLists.txt | 6 +----- - hl/c++/src/CMakeLists.txt | 6 +----- - hl/fortran/src/CMakeLists.txt | 6 +----- - hl/src/CMakeLists.txt | 6 +----- - release_docs/INSTALL_CMake.txt | 4 ++++ - src/CMakeLists.txt | 6 +----- - 8 files changed, 34 insertions(+), 30 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a95a6e4a48c..d0e2fe8d34c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1057,6 +1057,16 @@ else () - set (HDF5_ENABLE_MAP_API OFF CACHE BOOL "Build the map API" FORCE) - endif () - -+#----------------------------------------------------------------------------- -+# Option to override the compiler for pkg-config & h5cc -+#----------------------------------------------------------------------------- -+if (HDF5_ENABLE_PARALLEL AND MPI_C_FOUND) -+ set (_PKG_CONFIG_C_COMPILER ${MPI_C_COMPILER}) -+else () -+ set (_PKG_CONFIG_C_COMPILER ${CMAKE_C_COMPILER}) -+endif () -+set (PKG_CONFIG_C_COMPILER ${_PKG_CONFIG_C_COMPILER} CACHE STRING "C compiler to use in h5cc") -+ - #----------------------------------------------------------------------------- - # Add the HDF5 Library Target to the build - #----------------------------------------------------------------------------- -@@ -1220,6 +1230,13 @@ if (EXISTS "${HDF5_SOURCE_DIR}/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/for - endif () - endif () - -+ if (HDF5_ENABLE_PARALLEL AND MPI_Fortran_FOUND) -+ set (_PKG_CONFIG_Fortran_COMPILER ${MPI_Fortran_COMPILER}) -+ else () -+ set (_PKG_CONFIG_Fortran_COMPILER ${CMAKE_Fortran_COMPILER}) -+ endif () -+ set (PKG_CONFIG_Fortran_COMPILER ${_PKG_CONFIG_Fortran_COMPILER} CACHE STRING "Fortran compiler to use in h5cc") -+ - add_subdirectory (fortran) - if (HDF5_BUILD_HL_LIB) - if (EXISTS "${HDF5_SOURCE_DIR}/hl/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/hl/fortran") -@@ -1247,6 +1264,13 @@ if (EXISTS "${HDF5_SOURCE_DIR}/c++" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/c++") - - include (${HDF_RESOURCES_DIR}/HDFCompilerCXXFlags.cmake) - -+ if (HDF5_ENABLE_PARALLEL AND MPI_CXX_FOUND) -+ set (_PKG_CONFIG_CXX_COMPILER ${MPI_CXX_COMPILER}) -+ else () -+ set (_PKG_CONFIG_CXX_COMPILER ${CMAKE_CXX_COMPILER}) -+ endif () -+ set (PKG_CONFIG_CXX_COMPILER ${_PKG_CONFIG_CXX_COMPILER} CACHE STRING "C++ compiler to use in h5cc") -+ - add_subdirectory (c++) - if (HDF5_BUILD_HL_LIB) - if (EXISTS "${HDF5_SOURCE_DIR}/hl/c++" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/hl/c++") -diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt -index 09546acd451..21325d6ca50 100644 ---- a/c++/src/CMakeLists.txt -+++ b/c++/src/CMakeLists.txt -@@ -206,11 +206,7 @@ install ( - ) - - if (NOT WIN32 AND NOT MINGW) -- if (HDF5_ENABLE_PARALLEL AND MPI_CXX_FOUND) -- set (_PKG_CONFIG_COMPILER ${MPI_CXX_COMPILER}) -- else () -- set (_PKG_CONFIG_COMPILER ${CMAKE_CXX_COMPILER}) -- endif () -+ set (_PKG_CONFIG_COMPILER ${PKG_CONFIG_CXX_COMPILER}) - configure_file ( - ${HDF_RESOURCES_DIR}/libh5cc.in - ${HDF5_BINARY_DIR}/CMakeFiles/h5c++ -diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt -index 2b6da612015..92bf227b813 100644 ---- a/fortran/src/CMakeLists.txt -+++ b/fortran/src/CMakeLists.txt -@@ -614,11 +614,7 @@ install ( - ) - - if (NOT WIN32 AND NOT MINGW) -- if (HDF5_ENABLE_PARALLEL AND MPI_Fortran_FOUND) -- set (_PKG_CONFIG_COMPILER ${MPI_Fortran_COMPILER}) -- else () -- set (_PKG_CONFIG_COMPILER ${CMAKE_Fortran_COMPILER}) -- endif () -+ set (_PKG_CONFIG_COMPILER ${PKG_CONFIG_Fortran_COMPILER}) - configure_file ( - ${HDF_RESOURCES_DIR}/libh5cc.in - ${HDF5_BINARY_DIR}/CMakeFiles/h5fc -diff --git a/hl/c++/src/CMakeLists.txt b/hl/c++/src/CMakeLists.txt -index 3f2bd5af14a..0e6996437be 100644 ---- a/hl/c++/src/CMakeLists.txt -+++ b/hl/c++/src/CMakeLists.txt -@@ -124,11 +124,7 @@ install ( - ) - - if (NOT WIN32 AND NOT MINGW) -- if (HDF5_ENABLE_PARALLEL AND MPI_CXX_FOUND) -- set (_PKG_CONFIG_COMPILER ${MPI_CXX_COMPILER}) -- else () -- set (_PKG_CONFIG_COMPILER ${CMAKE_CXX_COMPILER}) -- endif () -+ set (_PKG_CONFIG_COMPILER ${PKG_CONFIG_CXX_COMPILER}) - configure_file ( - ${HDF_RESOURCES_DIR}/libh5cc.in - ${HDF5_BINARY_DIR}/CMakeFiles/h5hlc++ -diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt -index 649a9674d51..94864a6ceec 100644 ---- a/hl/fortran/src/CMakeLists.txt -+++ b/hl/fortran/src/CMakeLists.txt -@@ -359,11 +359,7 @@ install ( - ) - - if (NOT WIN32 AND NOT MINGW) -- if (HDF5_ENABLE_PARALLEL AND MPI_Fortran_FOUND) -- set (_PKG_CONFIG_COMPILER ${MPI_Fortran_COMPILER}) -- else () -- set (_PKG_CONFIG_COMPILER ${CMAKE_Fortran_COMPILER}) -- endif () -+ set (_PKG_CONFIG_COMPILER ${PKG_CONFIG_Fortran_COMPILER}) - configure_file ( - ${HDF_RESOURCES_DIR}/libh5cc.in - ${HDF5_BINARY_DIR}/CMakeFiles/h5hlfc -diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt -index 3bca28e29f5..85fe2e87d98 100644 ---- a/hl/src/CMakeLists.txt -+++ b/hl/src/CMakeLists.txt -@@ -156,11 +156,7 @@ install ( - ) - - if (NOT WIN32 AND NOT MINGW) -- if (HDF5_ENABLE_PARALLEL AND MPI_C_FOUND) -- set (_PKG_CONFIG_COMPILER ${MPI_C_COMPILER}) -- else () -- set (_PKG_CONFIG_COMPILER ${CMAKE_C_COMPILER}) -- endif () -+ set (_PKG_CONFIG_COMPILER ${PKG_CONFIG_C_COMPILER}) - configure_file ( - ${HDF_RESOURCES_DIR}/libh5cc.in - ${HDF5_BINARY_DIR}/CMakeFiles/h5hlcc -diff --git a/release_docs/INSTALL_CMake.txt b/release_docs/INSTALL_CMake.txt -index 14e4fa6d54f..bcec85603db 100644 ---- a/release_docs/INSTALL_CMake.txt -+++ b/release_docs/INSTALL_CMake.txt -@@ -861,6 +861,10 @@ HDF5_ENABLE_FORMATTERS "format source files" - HDF5_BUILD_DOC "Build documentation" OFF - HDF5_ENABLE_DOXY_WARNINGS "Enable fail if doxygen parsing has warnings." OFF - -+PKG_CONFIG_C_COMPILER "C compiler to use in h5cc" ${CMAKE_C_COMPILER} -+PKG_CONFIG_CXX_COMPILER "C++ compiler to use in h5cc" ${CMAKE_CXX_COMPILER} -+PKG_CONFIG_Fortran_COMPILER "Fortran compiler to use in h5cc" ${CMAKE_Fortran_COMPILER} -+ - ---------------- HDF5 VFD Options --------------------- - HDF5_ENABLE_DIRECT_VFD "Build the Direct I/O Virtual File Driver" OFF - HDF5_ENABLE_MIRROR_VFD "Build the Mirror Virtual File Driver" OFF -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index e81f1d84e95..404d3e35c62 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -1253,11 +1253,7 @@ install ( - ) - - if (NOT WIN32) -- if (HDF5_ENABLE_PARALLEL AND MPI_C_FOUND) -- set (_PKG_CONFIG_COMPILER ${MPI_C_COMPILER}) -- else () -- set (_PKG_CONFIG_COMPILER ${CMAKE_C_COMPILER}) -- endif () -+ set (_PKG_CONFIG_COMPILER ${PKG_CONFIG_C_COMPILER}) - configure_file ( - ${HDF_RESOURCES_DIR}/libh5cc.in - ${HDF5_BINARY_DIR}/CMakeFiles/h5cc diff --git a/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch b/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch deleted file mode 100644 index f87ccdd08f7a..000000000000 --- a/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch +++ /dev/null @@ -1,15 +0,0 @@ -Make sure that during runtime we'll use the same libgfortran as during linking - -https://bugs.gentoo.org/show_bug.cgi?id=419991 -https://bugs.gentoo.org/show_bug.cgi?id=419895 - ---- a/fortran/src/Makefile.am -+++ b/fortran/src/Makefile.am -@@ -181,6 +181,7 @@ - else - H5test_kind_SOURCES = $(srcdir)/H5test_kind.f90 - endif -+H5test_kind_LDFLAGS=-static-libgfortran - - # Mark this directory as part of the Fortran API - FORTRAN_API=yes diff --git a/sci-libs/hdf5/hdf5-1.12.2-r6.ebuild b/sci-libs/hdf5/hdf5-1.12.2-r6.ebuild deleted file mode 100644 index d39ded3b0019..000000000000 --- a/sci-libs/hdf5/hdf5-1.12.2-r6.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -# We've reverted *back* to autotools from CMake because of -# https://github.com/HDFGroup/hdf5/issues/1814. -inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix - -MY_P=${PN}-${PV/_p/-patch} -MAJOR_P=${PN}-$(ver_cut 1-2) - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/HDF5/" -SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2" -S="${WORKDIR}/${MY_P}" - -LICENSE="NCSA-HDF" -SLOT="0/${PV%%_p*}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib" -REQUIRED_USE=" - !unsupported? ( - cxx? ( !mpi ) mpi? ( !cxx ) - threads? ( !cxx !mpi !fortran !hl ) - ) -" - -RDEPEND=" - mpi? ( virtual/mpi[romio] ) - szip? ( virtual/szip:= ) - zlib? ( virtual/zlib:= )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch - "${FILESDIR}"/${PN}-1.12.2-no-messing-ldpath.patch - "${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch - "${FILESDIR}"/${PN}-1.12.2-configure-clang16.patch -) - -pkg_setup() { - # Workaround for bug 285148 - tc-export CXX CC AR - - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - - export CC=mpicc - use fortran && export FC=mpif90 - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_prepare() { - default - - # Respect Gentoo examples directory - sed \ - -e "s:hdf5_examples:doc/${PF}/examples:g" \ - -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || die - sed \ - -e '/docdir/d' \ - -i config/commence.am || die - - if ! use examples; then - # bug #409091 - sed -e '/^install:/ s/install-examples//' \ - -i Makefile.am || die - fi - - # Enable shared libs by default for h5cc config utility - sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" bin/h5cc.in || die - hprefixify m4/libtool.m4 - - eautoreconf -} - -src_configure() { - # bug #686620 - use sparc && tc-is-gcc && append-flags -fno-tree-ccp - # bug #922800, LTO failures: - use fortran && filter-lto - - econf \ - --disable-static \ - --enable-deprecated-symbols \ - --enable-build-mode=$(usex debug debug production) \ - --with-default-plugindir="${EPREFIX}/usr/$(get_libdir)/${PN}/plugin" \ - $(use_enable cxx) \ - $(use_enable debug codestack) \ - $(use_enable fortran) \ - $(use_enable hl) \ - $(use_enable mpi parallel) \ - $(use_enable threads threadsafe) \ - $(use_enable unsupported) \ - $(use_with szip szlib) \ - $(use_with threads pthread) \ - $(use_with zlib) -} - -src_install() { - emake DESTDIR="${D}" EPREFIX="${EPREFIX}" install - - # No static archives - find "${ED}" -name '*.la' -delete || die - - # Remove "perf" executable due to file collisions with dev-util/perf. - # Previously with the CMake build system we only installed h5perf, so - # let's simply remove the file for now. - use mpi && { rm "${ED}"/usr/bin/perf || die "rm failed" ; } -} diff --git a/sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild b/sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild deleted file mode 100644 index 15a7cca3ca1b..000000000000 --- a/sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -# We've reverted *back* to autotools from CMake because of -# https://github.com/HDFGroup/hdf5/issues/1814. -inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix - -MY_PV=${PV/_p/-} -MY_P=${PN}-${MY_PV} -MAJOR_P=${PN}-$(ver_cut 1-2) - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://github.com/HDFGroup/hdf5/" -SRC_URI="https://github.com/HDFGroup/hdf5/releases/download/${PN}_${MY_PV/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="NCSA-HDF" -SLOT="0/311" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - !unsupported? ( - cxx? ( !mpi ) mpi? ( !cxx ) - threads? ( !cxx !mpi !fortran !hl ) - ) -" - -RDEPEND=" - mpi? ( virtual/mpi[romio] ) - szip? ( virtual/szip:= ) - zlib? ( virtual/zlib:= ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch - "${FILESDIR}"/hdf5-1.14.4-0002-Disable-forced-stripping.patch - "${FILESDIR}"/hdf5-1.14.4-0003-Drop-broken-Werror-stripping.patch -) - -pkg_setup() { - # Workaround for bug 285148 - tc-export CXX CC AR - - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - - export CC=mpicc - use fortran && export FC=mpif90 - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_prepare() { - default - - sed \ - -e '/docdir/d' \ - -i config/commence.am || die - - if ! use examples; then - # bug #409091 - sed -e '/^install:/ s/install-examples//' \ - -i Makefile.am || die - fi - - # Enable shared libs by default for h5cc config utility - sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" bin/h5cc.in || die - hprefixify m4/libtool.m4 - - eautoreconf -} - -src_configure() { - # bug #686620 - use sparc && tc-is-gcc && append-flags -fno-tree-ccp - - local myeconfargs=( - --disable-static - --disable-doxygen-errors - --enable-deprecated-symbols - --enable-build-mode=$(usex debug debug production) - --with-default-plugindir="${EPREFIX}/usr/$(get_libdir)/${PN}/plugin" - --with-examplesdir="\${datarootdir}/doc/${PF}/examples" \ - $(use_enable cxx) - $(use_enable debug codestack) - $(use_enable fortran) - $(use_enable hl) - $(use_enable mpi parallel) - $(use_enable test tests) - $(use_enable threads threadsafe) - $(use_enable unsupported) - $(use_with szip szlib) - $(use_with threads pthread) - $(use_with zlib) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" EPREFIX="${EPREFIX}" install - - # No static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/hdf5/hdf5-1.14.6-r1.ebuild b/sci-libs/hdf5/hdf5-1.14.6-r1.ebuild deleted file mode 100644 index 3dc7f42cfd0a..000000000000 --- a/sci-libs/hdf5/hdf5-1.14.6-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit cmake fortran-2 flag-o-matic toolchain-funcs - -MY_PV=${PV/_p/-} -MY_P=${PN}-${MY_PV} -MAJOR_P=${PN}-$(ver_cut 1-2) - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://github.com/HDFGroup/hdf5/" -SRC_URI="https://github.com/HDFGroup/hdf5/releases/download/${PN}_${MY_PV/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="NCSA-HDF" -SLOT="0/310-cmake" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="cxx debug fortran +hl mpi szip test threads unsupported zlib" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - !unsupported? ( - ?? ( cxx mpi ) - threads? ( !cxx !mpi !fortran !hl ) - ) -" - -DEPEND=" - mpi? ( virtual/mpi[romio] ) - szip? ( virtual/szip:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/perl -" - -PATCHES=( - # https://github.com/HDFGroup/hdf5/pull/5361 - "${FILESDIR}"/hdf5-1.14.6-cmake-h5cc.patch - # https://github.com/HDFGroup/hdf5/pull/5465 - "${FILESDIR}"/hdf5-1.14.6-h5cc-sh.patch - # https://github.com/HDFGroup/hdf5/pull/5467 - "${FILESDIR}"/hdf5-1.14.6-override-compiler.patch -) - -pkg_setup() { - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - - export CC=mpicc - use fortran && export FC=mpif90 - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_configure() { - # bug #686620 - use sparc && tc-is-gcc && append-flags -fno-tree-ccp - - local mycmakeargs=( - -DHDF5_INSTALL_CMAKE_DIR=$(get_libdir)/cmake/hdf5 - -DHDF5_INSTALL_LIB_DIR=$(get_libdir) - # just COPYING - -DHDF5_INSTALL_DATA_DIR=tmp - # redundant to include? - -DHDF5_INSTALL_MODULE_DIR=tmp - -DHDF5_INSTALL_DOC_DIR=share/doc/${PF} - -DH5_DEFAULT_PLUGINDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/plugin" - - -DALLOW_UNSUPPORTED=$(usex unsupported) - -DONLY_SHARED_LIBS=ON - -DHDF5_BUILD_GENERATORS=OFF - -DHDF5_ENABLE_TRACE=$(usex debug) - -DHDF5_ENABLE_HDFS=OFF - -DHDF5_ENABLE_PARALLEL=$(usex mpi) - -DHDF5_ENABLE_SUBFILING_VFD=OFF - -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip) - -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib) - -DHDF5_ENABLE_THREADSAFE=$(usex threads) - -DHDF5_ENABLE_MAP_API=OFF - -DHDF5_BUILD_DOC=OFF - -DBUILD_TESTING=$(usex test) - -DHDF5_BUILD_PARALLEL_TOOLS=OFF - -DHDF5_BUILD_TOOLS=ON - -DHDF5_ENABLE_PLUGIN_SUPPORT=OFF - -DHDF5_BUILD_HL_LIB=$(usex hl) - -DHDF5_BUILD_FORTRAN=$(usex fortran) - -DHDF5_BUILD_CPP_LIB=$(usex cxx) - -DHDF5_BUILD_JAVA=OFF - -DHDF5_BUILD_EXAMPLES=OFF - ) - - # do not force the compiler used for build - if use mpi; then - mycmakeargs+=( -DPKG_CONFIG_C_COMPILER=mpicc ) - use cxx && mycmakeargs+=( -DPKG_CONFIG_CXX_COMPILER=mpic++ ) - use fortran && mycmakeargs+=( -DPKG_CONFIG_Fortran_COMPILER=mpif90 ) - else - mycmakeargs+=( -DPKG_CONFIG_C_COMPILER='${CC:-cc}' ) - use cxx && mycmakeargs+=( -DPKG_CONFIG_CXX_COMPILER='${CXX:-c++}' ) - use fortran && - mycmakeargs+=( -DPKG_CONFIG_Fortran_COMPILER='${FC:-gfortran}' ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - rm -r "${ED}/usr/tmp" || die -} diff --git a/sci-libs/hdf5/hdf5-1.14.6-r2.ebuild b/sci-libs/hdf5/hdf5-1.14.6-r2.ebuild deleted file mode 100644 index 7e942ddb1e0e..000000000000 --- a/sci-libs/hdf5/hdf5-1.14.6-r2.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit cmake fortran-2 flag-o-matic toolchain-funcs - -MY_PV=${PV/_p/-} -MY_P=${PN}-${MY_PV} -MAJOR_P=${PN}-$(ver_cut 1-2) - -DESCRIPTION="General purpose library and file format for storing scientific data" -HOMEPAGE="https://github.com/HDFGroup/hdf5/" -SRC_URI="https://github.com/HDFGroup/hdf5/releases/download/${PN}_${MY_PV/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="NCSA-HDF" -SLOT="0/310-cmake" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="cxx debug fortran +hl mpi szip test threads unsupported zlib" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - !unsupported? ( - ?? ( cxx mpi ) - threads? ( !cxx !mpi !fortran !hl ) - ) -" - -DEPEND=" - mpi? ( virtual/mpi[romio,fortran?] ) - szip? ( virtual/szip:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/perl -" - -PATCHES=( - # https://github.com/HDFGroup/hdf5/pull/5361 - "${FILESDIR}"/hdf5-1.14.6-cmake-h5cc.patch - # https://github.com/HDFGroup/hdf5/pull/5465 - "${FILESDIR}"/hdf5-1.14.6-h5cc-sh.patch - # https://github.com/HDFGroup/hdf5/pull/5467 - "${FILESDIR}"/hdf5-1.14.6-override-compiler.patch -) - -pkg_setup() { - use fortran && fortran-2_pkg_setup - - if use mpi; then - if has_version 'sci-libs/hdf5[-mpi]'; then - ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." - ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." - fi - - export CC=mpicc - use fortran && export FC=mpif90 - elif has_version 'sci-libs/hdf5[mpi]'; then - ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." - ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." - fi -} - -src_configure() { - # bug #686620 - use sparc && tc-is-gcc && append-flags -fno-tree-ccp - - local mycmakeargs=( - -DHDF5_INSTALL_CMAKE_DIR=$(get_libdir)/cmake/hdf5 - -DHDF5_INSTALL_LIB_DIR=$(get_libdir) - # just COPYING - -DHDF5_INSTALL_DATA_DIR=tmp - # redundant to include? - -DHDF5_INSTALL_MODULE_DIR=tmp - -DHDF5_INSTALL_DOC_DIR=share/doc/${PF} - -DH5_DEFAULT_PLUGINDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/plugin" - - -DALLOW_UNSUPPORTED=$(usex unsupported) - -DONLY_SHARED_LIBS=ON - -DHDF5_BUILD_GENERATORS=OFF - -DHDF5_ENABLE_TRACE=$(usex debug) - -DHDF5_ENABLE_HDFS=OFF - -DHDF5_ENABLE_PARALLEL=$(usex mpi) - -DHDF5_ENABLE_SUBFILING_VFD=OFF - -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip) - -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib) - -DHDF5_ENABLE_THREADSAFE=$(usex threads) - -DHDF5_ENABLE_MAP_API=OFF - -DHDF5_BUILD_DOC=OFF - -DBUILD_TESTING=$(usex test) - -DHDF5_BUILD_PARALLEL_TOOLS=OFF - -DHDF5_BUILD_TOOLS=ON - -DHDF5_ENABLE_PLUGIN_SUPPORT=OFF - -DHDF5_BUILD_HL_LIB=$(usex hl) - -DHDF5_BUILD_FORTRAN=$(usex fortran) - -DHDF5_BUILD_CPP_LIB=$(usex cxx) - -DHDF5_BUILD_JAVA=OFF - -DHDF5_BUILD_EXAMPLES=OFF - ) - - # do not force the compiler used for build - if use mpi; then - mycmakeargs+=( -DPKG_CONFIG_C_COMPILER=mpicc ) - use cxx && mycmakeargs+=( -DPKG_CONFIG_CXX_COMPILER=mpic++ ) - use fortran && mycmakeargs+=( -DPKG_CONFIG_Fortran_COMPILER=mpif90 ) - else - mycmakeargs+=( -DPKG_CONFIG_C_COMPILER='${CC:-cc}' ) - use cxx && mycmakeargs+=( -DPKG_CONFIG_CXX_COMPILER='${CXX:-c++}' ) - use fortran && - mycmakeargs+=( -DPKG_CONFIG_Fortran_COMPILER='${FC:-gfortran}' ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - rm -r "${ED}/usr/tmp" || die -} diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml deleted file mode 100644 index e36b723f3510..000000000000 --- a/sci-libs/hdf5/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - HDF5 is a file format and library for storing scientific data. HDF5 - was designed and implemented to address the deficiencies of HDF4.x. It - has a more powerful and flexible data model, supports files larger - than 2 GB, and supports parallel I/O. - </longdescription> - <use> - <flag name="hl">Enable high level API (https://support.hdfgroup.org/HDF5/doc/HL/index.html)</flag> - <flag name="unsupported">Enable unsupported combinations of configuration options</flag> - </use> - <upstream> - <remote-id type="github">HDFGroup/hdf5</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/highfive/Manifest b/sci-libs/highfive/Manifest deleted file mode 100644 index 9e88c364d5e3..000000000000 --- a/sci-libs/highfive/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST highfive-3.2.0.tar.gz 216218 BLAKE2B 2eb449f2dbcbdfd621e1807559de4554c026e42aa45c2d324c2b2751ef6eafdf3568e6aa731035e4eb97b74e79896599f1a56ecd9ddffeaf61dbae5900f077c6 SHA512 0f72eadfff9b0dd8bcf70654ae5ac526565df58be47d432e5f44fbc5b36b47989061308629ea34d403b9b96362abc2e42e9cbd6eaa78d1ba0326737493468d05 diff --git a/sci-libs/highfive/files/highfive-3.2.0_use_system_catch2_fix_QA_cmake4_warning.patch b/sci-libs/highfive/files/highfive-3.2.0_use_system_catch2_fix_QA_cmake4_warning.patch deleted file mode 100644 index f7ca80c2b9c1..000000000000 --- a/sci-libs/highfive/files/highfive-3.2.0_use_system_catch2_fix_QA_cmake4_warning.patch +++ /dev/null @@ -1,40 +0,0 @@ -# Force to use system Catch2 (dev-cpp/catch) and supress QA cmake4 warning -# "Policy CMP0167 is not set: The FindBoost module is removed". - -diff '--color=auto' -Naur a/CMakeLists.txt b/CMakeLists.txt ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -180,8 +180,7 @@ - endif() - - if(HIGHFIVE_UNIT_TESTS) -- add_subdirectory(deps/catch2 EXCLUDE_FROM_ALL) -- list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/catch2/contrib) -+ find_package(Catch2) - enable_testing() - add_subdirectory(tests/unit) - endif() -diff '--color=auto' -Naur a/cmake/HighFiveOptionalDependencies.cmake b/cmake/HighFiveOptionalDependencies.cmake ---- a/cmake/HighFiveOptionalDependencies.cmake -+++ b/cmake/HighFiveOptionalDependencies.cmake -@@ -1,7 +1,7 @@ - if(NOT TARGET HighFiveBoostDependency) - add_library(HighFiveBoostDependency INTERFACE) - if(HIGHFIVE_TEST_BOOST) -- find_package(Boost REQUIRED) -+ find_package(Boost CONFIG REQUIRED) - target_link_libraries(HighFiveBoostDependency INTERFACE Boost::headers) - # TODO check if we need Boost::disable_autolinking to cause: - # -DBOOST_ALL_NO_LIB (does something on MSVC). -diff '--color=auto' -Naur a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt ---- a/tests/unit/CMakeLists.txt -+++ b/tests/unit/CMakeLists.txt -@@ -6,7 +6,7 @@ - endif() - - ## Base tests --foreach(test_name tests_high_five_base tests_high_five_easy test_all_types test_high_five_selection tests_high_five_data_type test_boost test_empty_arrays test_legacy test_nothrow_movable test_opencv test_string test_stl test_xtensor) -+foreach(test_name tests_high_five_base tests_high_five_easy test_all_types test_high_five_selection tests_high_five_data_type test_boost test_empty_arrays test_legacy test_nothrow_movable test_opencv test_string test_stl) - add_executable(${test_name} "${test_name}.cpp") - target_link_libraries(${test_name} HighFive HighFiveWarnings HighFiveFlags Catch2::Catch2WithMain) - target_link_libraries(${test_name} HighFiveOptionalDependencies) diff --git a/sci-libs/highfive/highfive-3.2.0.ebuild b/sci-libs/highfive/highfive-3.2.0.ebuild deleted file mode 100644 index 5b359c1c51a1..000000000000 --- a/sci-libs/highfive/highfive-3.2.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DEPEND="app-text/doxygen[dot]" -DOCS_DIR="doc" - -inherit cmake docs - -## The development of HighFive will continue at https://github.com/highfive-devs/highfive -## instead of https://github.com/BlueBrain/HighFive -DESCRIPTION="Header-only C++ interface for libhdf5" -HOMEPAGE="https://highfive-devs.github.io/highfive/" -SRC_URI="https://github.com/${PN}-devs/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Boost-1.0" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="mpi test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sci-libs/hdf5[mpi?] -" -DEPEND=" - ${RDEPEND} - test? ( - >=dev-cpp/catch-3.4.0:0 - dev-libs/boost - dev-cpp/eigen:= - media-libs/opencv - ) -" - -DOCS=( {README,CHANGELOG}.md ) - -PATCHES="${FILESDIR}/${P}_use_system_catch2_fix_QA_cmake4_warning.patch" - -src_configure() { - default - local mycmakeargs=( - -DHDF5_IS_PARALLEL=$(usex mpi) - - -DHIGHFIVE_TEST_BOOST=$(usex test) - -DHIGHFIVE_TEST_EIGEN=$(usex test) - -DHIGHFIVE_TEST_OPENCV=$(usex test) - -DHIGHFIVE_TEST_XTENSOR=OFF - - -DHIGHFIVE_EXAMPLES=$(usex test) - -DHIGHFIVE_UNIT_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_compile() { - default - use test && cmake_src_compile - use doc && doxygen_compile -} - -src_test() { - # Set -j1 to prevent race - cmake_src_test -j1 -} diff --git a/sci-libs/highfive/metadata.xml b/sci-libs/highfive/metadata.xml deleted file mode 100644 index 26670d50e5c3..000000000000 --- a/sci-libs/highfive/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>torokhov-s-a@yandex.ru</email> - <name>Sergey Torokhov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">BlueBrain/HighFive</remote-id> - <remote-id type="github">highfive-devs/highfive</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/hipBLAS-common/Manifest b/sci-libs/hipBLAS-common/Manifest deleted file mode 100644 index aeb86e029282..000000000000 --- a/sci-libs/hipBLAS-common/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -DIST hipBLAS-common-6.3.2.tar.gz 7507 BLAKE2B f8a59ba428d48f2999e4b6b16b11f392cb8b3f9c04603b212b721c8f87d0779343abc721a39910100f253d633f6a037f61cb6558a40899a3eabafe8bbef55dc5 SHA512 a6d8fabbaa9db8fe61e5788c1ee27ae2c36da75dbb2e7fa17437c610641fbd141aea1f5c20f30e19420c108343ba05452d7dedde0e88c6ecc1486d0085ab7c6c -DIST hipBLAS-common-6.3.3.tar.gz 7508 BLAKE2B fbb5d17085daf0edb13c15f2a50098802ee616246d5d1fcf26067333932998c3c8d75b4d8123dca8fbae0ab69281bc07ba8c2a69d1ff177cd549ee0aacd3b88d SHA512 52d526e91df3a3dae9720ca4f1b3b5ec5a4daa684b770270e268762cd8683bd65b5908ede29425a0d14ca884b2cf9c4da4b55aedffc994c3527738716106d50d -DIST hipBLAS-common-6.4.1.tar.gz 7517 BLAKE2B a67d34e04b250df6301f544ea667823ec0aa3b22b74f494297b32d9c27896849ce454c7deafdc16950432db9521f2e2e3485158a5ae1c02e5dcb31e04f2a8b6c SHA512 bdbae895f798d86c61cca0339056f53a6c3c08c1fdf82e0daf660ca4c85d8052abb1b84288289173cc828338d9f23013d50dc5051f20840b2f66cef97cbc2445 -DIST hipBLAS-common-6.4.3.tar.gz 7520 BLAKE2B 2499393ad164eb3f8d9527853d73754b3a20679361749abf03b73a6dfcf46d010a17b15d3e7342d5b10fff4f4bd53754d22f0330d8d8bddc97b643ef765f08f6 SHA512 4b0afa32d9424362358aca69e36e2f0a5e9331ed64372590ce4262fccb394a41d4c613505d87f238e0975bab6b35d862d0efb3a5de0981759f0073b3cb364e59 -DIST hipBLAS-common-7.0.2.tar.gz 7089 BLAKE2B b6e81d4893d984b437ecf0bea0dba1aafaf3f095df02dd136ff5563e9c3e4520d3d406cb84932b821aec8863a3a74a18fd8b27bbc6bdcb3727d39338bdff26fe SHA512 3c28ff79a84cf4cdfcd8b1e05cad1b7bdc17e2ab8cf54f93708ddd3b0910d9b33ff2eef0a5334c03624b2af206ffd5ce25f915beaa19eeff9e0ca38ab1e743c6 -DIST hipBLAS-common-7.1.0.tar.gz 7101 BLAKE2B c1faeb589bba660426bea87aea3e41e8c66c1426e4a0fab538af0b9859e9a16fba4f5fa0ca0bb737f8251b8a8cd0f0f76629492f3afd5e198aa38b466f2fb413 SHA512 59df2e8437f9f226414aab69866bce2084cb2bceb970eb13da81dbcf589065ca480cc9ca71584ad5133d9d1946f5c5ce3fc38e364f474c142d026a14c14fd17c -DIST hipBLAS-common-7.2.0.tar.gz 7324 BLAKE2B d55bd308f04ec6600b0d46824e3a13f0b36f5df009558bd06ac23f03c6733d00e5f17351240e58c804ec11a2695763e83e78efccb0d2577534618953b4fc025a SHA512 aa2497a00b0c6daad3c127c746e4505782def7f6556e03cbc24351c84c26444bcd5da8638f3074cd327938b8411734b97b12fbf37d853a84936b322773a591d1 diff --git a/sci-libs/hipBLAS-common/hipBLAS-common-6.3.2.ebuild b/sci-libs/hipBLAS-common/hipBLAS-common-6.3.2.ebuild deleted file mode 100644 index 867f3cde4720..000000000000 --- a/sci-libs/hipBLAS-common/hipBLAS-common-6.3.2.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -DESCRIPTION="Common files shared by hipBLAS and hipBLASLt" -HOMEPAGE="https://github.com/ROCm/hipBLAS-common" -SRC_URI="https://github.com/ROCm/hipBLAS-common/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-common-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -BDEPEND="dev-build/rocm-cmake" diff --git a/sci-libs/hipBLAS-common/hipBLAS-common-6.3.3.ebuild b/sci-libs/hipBLAS-common/hipBLAS-common-6.3.3.ebuild deleted file mode 100644 index 867f3cde4720..000000000000 --- a/sci-libs/hipBLAS-common/hipBLAS-common-6.3.3.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -DESCRIPTION="Common files shared by hipBLAS and hipBLASLt" -HOMEPAGE="https://github.com/ROCm/hipBLAS-common" -SRC_URI="https://github.com/ROCm/hipBLAS-common/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-common-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -BDEPEND="dev-build/rocm-cmake" diff --git a/sci-libs/hipBLAS-common/hipBLAS-common-6.4.1.ebuild b/sci-libs/hipBLAS-common/hipBLAS-common-6.4.1.ebuild deleted file mode 100644 index 867f3cde4720..000000000000 --- a/sci-libs/hipBLAS-common/hipBLAS-common-6.4.1.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -DESCRIPTION="Common files shared by hipBLAS and hipBLASLt" -HOMEPAGE="https://github.com/ROCm/hipBLAS-common" -SRC_URI="https://github.com/ROCm/hipBLAS-common/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-common-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -BDEPEND="dev-build/rocm-cmake" diff --git a/sci-libs/hipBLAS-common/hipBLAS-common-6.4.3.ebuild b/sci-libs/hipBLAS-common/hipBLAS-common-6.4.3.ebuild deleted file mode 100644 index 867f3cde4720..000000000000 --- a/sci-libs/hipBLAS-common/hipBLAS-common-6.4.3.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -DESCRIPTION="Common files shared by hipBLAS and hipBLASLt" -HOMEPAGE="https://github.com/ROCm/hipBLAS-common" -SRC_URI="https://github.com/ROCm/hipBLAS-common/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-common-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -BDEPEND="dev-build/rocm-cmake" diff --git a/sci-libs/hipBLAS-common/hipBLAS-common-7.0.2.ebuild b/sci-libs/hipBLAS-common/hipBLAS-common-7.0.2.ebuild deleted file mode 100644 index 4c50dca5122e..000000000000 --- a/sci-libs/hipBLAS-common/hipBLAS-common-7.0.2.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -DESCRIPTION="Common files shared by hipBLAS and hipBLASLt" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas-common" -SRC_URI="https://github.com/ROCm/hipBLAS-common/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-common-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -BDEPEND="dev-build/rocm-cmake" diff --git a/sci-libs/hipBLAS-common/hipBLAS-common-7.1.0.ebuild b/sci-libs/hipBLAS-common/hipBLAS-common-7.1.0.ebuild deleted file mode 100644 index 4c50dca5122e..000000000000 --- a/sci-libs/hipBLAS-common/hipBLAS-common-7.1.0.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -DESCRIPTION="Common files shared by hipBLAS and hipBLASLt" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas-common" -SRC_URI="https://github.com/ROCm/hipBLAS-common/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-common-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -BDEPEND="dev-build/rocm-cmake" diff --git a/sci-libs/hipBLAS-common/hipBLAS-common-7.2.0.ebuild b/sci-libs/hipBLAS-common/hipBLAS-common-7.2.0.ebuild deleted file mode 100644 index 3c5bbeb1b158..000000000000 --- a/sci-libs/hipBLAS-common/hipBLAS-common-7.2.0.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -DESCRIPTION="Common files shared by hipBLAS and hipBLASLt" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas-common" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipblas-common.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipblas-common" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -BDEPEND="dev-build/rocm-cmake" diff --git a/sci-libs/hipBLAS-common/metadata.xml b/sci-libs/hipBLAS-common/metadata.xml deleted file mode 100644 index cf0c7eb90686..000000000000 --- a/sci-libs/hipBLAS-common/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/hipBLAS-common</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/hipBLAS/Manifest b/sci-libs/hipBLAS/Manifest deleted file mode 100644 index 219296896706..000000000000 --- a/sci-libs/hipBLAS/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST hipBLAS-6.3.3.tar.gz 993121 BLAKE2B 7cfe71112a8083a0f5fd1f2629bde12a79b13f2d289dd82405978f7713fb30b132d002d01566b077650265e8ee6746b51e4e3defb92bd1416ec83ce7c490407c SHA512 a14ba19557236ef8affa557d5139c6c380120a68eac5d6b7172b279380a52be4d451a3c2a7ee2a7e4d169c16081ea4639dc058b5231d2a33429fb0f065db5b18 -DIST hipBLAS-6.4.3.tar.gz 993780 BLAKE2B 6c2e88a1d4d313a39abbaaf663b0d83aaf5dbf4f7e625d97189cd98302a544f4c7d617fcc1ec2a2918edaff08f34329be0b6657c1aba3fa35a26ac919c31b85c SHA512 5ce1825624a267a1af25b1eafb6f3bd2bbbb9c9a6ce2d7788a2cf3213174e59d0b04599a89f4ba8b796cba1c8fc5cf5d2f9820fd948b735da781fe6d04c2826e -DIST hipBLAS-7.0.2.tar.gz 830432 BLAKE2B f466009b09f0baf7eaf1cb1104c900d02dd99f737085a82c5b95b84ac1e300f61c12db14b53ac59f78847727010fc2a0cd364b285358283dd7365572f2173687 SHA512 841f35dc2782aa03aa8c19111f0b975ee23c7077e9590d267eb74146694c1cbca992d5825a1de7f00dc0e423181ea04631163392d4068058111d15394e069c43 -DIST hipBLAS-7.1.0.tar.gz 830589 BLAKE2B 35cacdbdb1e2fca672998445ff7c6087238ecf516ddb93090cb9fb09040f294f2e74efe088748f3e7a5d3d38ffc0a51d15f8bdb92e325dc5bd88997c6685d5f6 SHA512 2c262d501b0862b5616ec4c4e683ac1204e7cc2360f7ca2129c53866cc9021ceaae157cf2d471c7c3548cd98a3089eac4135f660af62f761775eb72b0c63d10c -DIST hipBLAS-7.2.0.tar.gz 799725 BLAKE2B 312af2a877cc0228d3786adeab2adef55ddfb8f34795e08c544a3f82f04fb6af4d018f0dac45d13646197b791dc0cc82210957cdcfb0008289b24e304e9a3f17 SHA512 22704c47eac8424f861fb5856ec0b5f2611d5777d316794f781d0f74ef69d7d196bb5eaff5e5a2372d9806d9becb10a338b106e8d4b5f7c24d954bdb823d6df5 diff --git a/sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch b/sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch deleted file mode 100644 index 63fd25240505..000000000000 --- a/sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch +++ /dev/null @@ -1,18 +0,0 @@ -Git is not required and rev-parse does nothing for tarballs. ---- a/library/CMakeLists.txt -+++ b/library/CMakeLists.txt -@@ -44,14 +44,6 @@ if( BUILD_VERBOSE ) - message( STATUS "\t==>CMAKE_EXE_LINKER link flags: " ${CMAKE_EXE_LINKER_FLAGS} ) - endif( ) - --# Get the git hash of the hipBLAS branch --find_package(Git REQUIRED) -- --execute_process(COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD -- WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} -- OUTPUT_VARIABLE GIT_HASH_HIPBLAS -- OUTPUT_STRIP_TRAILING_WHITESPACE) -- - set(hipblas_VERSION_COMMIT_ID "${GIT_HASH_HIPBLAS}") - - # log build commits diff --git a/sci-libs/hipBLAS/hipBLAS-6.3.3.ebuild b/sci-libs/hipBLAS/hipBLAS-6.3.3.ebuild deleted file mode 100644 index 549c5b8542fa..000000000000 --- a/sci-libs/hipBLAS/hipBLAS-6.3.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake fortran-2 rocm -DESCRIPTION="ROCm BLAS marshalling library" -HOMEPAGE="https://github.com/ROCm/hipBLAS" -SRC_URI="https://github.com/ROCm/hipBLAS/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/hipBLAS-common:${SLOT} - sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] - sci-libs/rocSOLVER:${SLOT}[${ROCM_USEDEP}] -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.0-no-git.patch -) - -src_configure() { - # Note: hipcc is enforced; clang fails when libc++ is enabled - # with an error similar to https://github.com/boostorg/config/issues/392 - rocm_use_hipcc - - local mycmakeargs=( - # currently hipBLAS is a wrapper of rocBLAS which has tests, so no need to perform test here - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_BENCHMARKS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} diff --git a/sci-libs/hipBLAS/hipBLAS-6.4.3-r1.ebuild b/sci-libs/hipBLAS/hipBLAS-6.4.3-r1.ebuild deleted file mode 100644 index 5960d4ee1994..000000000000 --- a/sci-libs/hipBLAS/hipBLAS-6.4.3-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake fortran-2 rocm -DESCRIPTION="ROCm BLAS marshalling library" -HOMEPAGE="https://github.com/ROCm/hipBLAS" -SRC_URI="https://github.com/ROCm/hipBLAS/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocBLAS:${SLOT} - sci-libs/rocSOLVER:${SLOT} - sci-libs/hipBLAS-common:${SLOT} -" -DEPEND="${RDEPEND} -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.0-no-git.patch -) - -src_configure() { - # Note: hipcc is enforced; clang fails when libc++ is enabled - # with an error similar to https://github.com/boostorg/config/issues/392 - rocm_use_hipcc - - local mycmakeargs=( - # currently hipBLAS is a wrapper of rocBLAS which has tests, so no need to perform test here - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_BENCHMARKS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} diff --git a/sci-libs/hipBLAS/hipBLAS-7.0.2.ebuild b/sci-libs/hipBLAS/hipBLAS-7.0.2.ebuild deleted file mode 100644 index c21b9c1884d9..000000000000 --- a/sci-libs/hipBLAS/hipBLAS-7.0.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake fortran-2 rocm -DESCRIPTION="ROCm BLAS marshalling library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas" -SRC_URI="https://github.com/ROCm/hipBLAS/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="rocsolver" - -RDEPEND=" - sci-libs/rocBLAS:${SLOT} - rocsolver? ( sci-libs/rocSOLVER:${SLOT} ) -" -DEPEND=" - dev-util/hip:${SLOT} - sci-libs/hipBLAS-common:${SLOT} - ${RDEPEND} -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.0-no-git.patch -) - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - # currently hipBLAS is a wrapper of rocBLAS which has tests, so no need to perform test here - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_BENCHMARKS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SOLVER=$(usex rocsolver ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipBLAS/hipBLAS-7.1.0.ebuild b/sci-libs/hipBLAS/hipBLAS-7.1.0.ebuild deleted file mode 100644 index c21b9c1884d9..000000000000 --- a/sci-libs/hipBLAS/hipBLAS-7.1.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake fortran-2 rocm -DESCRIPTION="ROCm BLAS marshalling library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas" -SRC_URI="https://github.com/ROCm/hipBLAS/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLAS-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="rocsolver" - -RDEPEND=" - sci-libs/rocBLAS:${SLOT} - rocsolver? ( sci-libs/rocSOLVER:${SLOT} ) -" -DEPEND=" - dev-util/hip:${SLOT} - sci-libs/hipBLAS-common:${SLOT} - ${RDEPEND} -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.0-no-git.patch -) - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - # currently hipBLAS is a wrapper of rocBLAS which has tests, so no need to perform test here - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_BENCHMARKS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SOLVER=$(usex rocsolver ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipBLAS/hipBLAS-7.2.0.ebuild b/sci-libs/hipBLAS/hipBLAS-7.2.0.ebuild deleted file mode 100644 index 8235e656801f..000000000000 --- a/sci-libs/hipBLAS/hipBLAS-7.2.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake fortran-2 rocm -DESCRIPTION="ROCm BLAS marshalling library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblas" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipblas.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipblas" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="rocsolver" - -RDEPEND=" - sci-libs/rocBLAS:${SLOT} - rocsolver? ( sci-libs/rocSOLVER:${SLOT} ) -" -DEPEND=" - dev-util/hip:${SLOT} - sci-libs/hipBLAS-common:${SLOT} - ${RDEPEND} -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.0-no-git.patch -) - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - # currently hipBLAS is a wrapper of rocBLAS which has tests, so no need to perform test here - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_BENCHMARKS=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SOLVER=$(usex rocsolver ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipBLAS/metadata.xml b/sci-libs/hipBLAS/metadata.xml deleted file mode 100644 index 008181ea33a6..000000000000 --- a/sci-libs/hipBLAS/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="rocsolver">Add additional functions from <pkg>sci-libs/rocSOLVER</pkg></flag> - </use> -</pkgmetadata> diff --git a/sci-libs/hipBLASLt/Manifest b/sci-libs/hipBLASLt/Manifest deleted file mode 100644 index 2592778ac269..000000000000 --- a/sci-libs/hipBLASLt/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST hipBLASLt-6.3.3.tar.gz 89385318 BLAKE2B b307e4c418bda7583efdf5dc646f05368c195f6df0077823ae179efb52a56ba4f13b5fce6a10ff38e0ad593bf5b415fc6e5b4132488b2dbf9da58198af15d230 SHA512 9fb523e614dd790aa3c01337f3d93f9df0a135d25e9efda2375e88818f6097d661e5159336258631cc0a25d923efcddb4b39378bf54c33d0e5a01bba387f1368 -DIST hipBLASLt-6.4.3.tar.gz 188053924 BLAKE2B 5a249c2ff856fe858422a2a99e3e072afb29c5ff5ca08f4e57c3574baf85ce40611822a7b72aa7a40329e1c328bdb06cbc47f7278506a57e8e241f695b0cc940 SHA512 0edf1ef227e7c8de767a2fd3da639351d55d70921f2cc1fb4c09163cd32f3fc0b7d5ee7ba50bb62c619b7d9fdb5dc23c65a5e29cfc78937868153ad234c3966f -DIST hipBLASLt-7.0.2.tar.gz 223584109 BLAKE2B 3fb1abacf0d592a18f384042824d7b3a11c2084a01329fc8c98a6391c050ac90751791dfbccf049075d9f4bf084db38fa6fcbf3408ef93bea5d5c9e867606c55 SHA512 a999ec6a582592d9d2d7904d04df67d1e19e11eb9df1d01fb98057d990ae552c1f9cd040ac6c6decc9199ede6147de90393f0a74e735f16fceea54831d470dc7 -DIST hipblaslt-7.2.0.tar.gz 429012541 BLAKE2B 40476fddfc021fbed97e755d884229e1f7a79f9f53d615e8f582bfe702a2f71f02fa490aad636b17ac71ed9bf0deb8ab21742ca4599f8c0859fea0ef50c756b4 SHA512 1866113e64b5ad3c5a31531b295413c4d03ffec6adc70b588590d77ee48713792a7d592fcee026193eb3fa6d43f09c573d54c475025b2f16e2b46787be448aaa -DIST origami-7.2.0.tar.gz 52203 BLAKE2B ea6c5ce23102280bd70003e541748d0c7b73c2179484c1eb182e5a3946f4dfe998a87e312d200209299dd1d2dfba42eed390fc31c37d6e9a8b06fecca84f1ff8 SHA512 ed6326f1ef8eec00e11109a392ec72ca2d28b8106b0ebf08f150a76937974b7b33f4e972799400c34a68a528935ea6234366d2d063079fad7bdb8852d13afe26 -DIST rocm-libraries-7.1.0.tar.gz 685280964 BLAKE2B ff19e082dc4452372b6a1c27bef15585946ae27d7ec03b0bbd598de66870a889fd4807b7baac4d74d37cfad066f41b5a3585f603fa42931d6e2563c64f245186 SHA512 2be789ada4fcba179dec1b23cdde86dcc8539e360b343f46ff8cd28cd817502244445e3b792cea48d707cc5384f605a00cb34796e569def9e7064f7b02c0e717 diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-clang-19.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-clang-19.patch deleted file mode 100644 index 5d082cc704b6..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-clang-19.patch +++ /dev/null @@ -1,11 +0,0 @@ -Clang 19 is so smart, it can analyze templates before instantiation ---- a/tensilelite/Tensile/Source/lib/include/Tensile/MasterSolutionLibrary.hpp -+++ b/tensilelite/Tensile/Source/lib/include/Tensile/MasterSolutionLibrary.hpp -@@ -36,6 +36,7 @@ - - namespace Tensile - { -+ enum class LazyLoadingInit; - - /** - * \ingroup SolutionLibrary diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-fix-libcxx.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-fix-libcxx.patch deleted file mode 100644 index 32aa65127e84..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-fix-libcxx.patch +++ /dev/null @@ -1,57 +0,0 @@ -# libc++ issue: https://github.com/llvm/llvm-project/issues/98734 -diff --git a/library/src/amd_detail/rocblaslt/src/rocblaslt_mat.cpp b/library/src/amd_detail/rocblaslt/src/rocblaslt_mat.cpp -index 82cc81f..94e62d4 100644 ---- a/library/src/amd_detail/rocblaslt/src/rocblaslt_mat.cpp -+++ b/library/src/amd_detail/rocblaslt/src/rocblaslt_mat.cpp -@@ -28,6 +28,7 @@ - #include "handle.h" - #include "rocblaslt_mat_utils.hpp" - #include "tensile_host.hpp" -+#include <array> - - #include <hip/hip_runtime_api.h> - -@@ -602,7 +603,7 @@ rocblaslt_status - std::vector<int64_t> ldc_vec, batch_stride_c_vec, num_batches_c_vec; - std::vector<int64_t> ldd_vec, batch_stride_d_vec, num_batches_d_vec; - std::vector<int64_t> lde_vec, batch_stride_e_vec, num_batches_e_vec; -- std::vector<int8_t[16]> alpha_1(matmul_descr.size()); -+ std::vector<std::array<int8_t, 16>> alpha_1(matmul_descr.size()); - - std::vector<bool> gradient_vec; - -@@ -692,10 +693,10 @@ rocblaslt_status - return validArgs; - - const void* alphaTmp = nullptr; -- memset(alpha_1[i], 0, sizeof(int8_t) * 16); -+ memset(alpha_1[i].data(), 0, sizeof(int8_t) * 16); - if(scaleAlphaVec) - { -- setTo1(compute_type, (void*)alpha_1[i], &alphaTmp); -+ setTo1(compute_type, (void*)alpha_1[i].data(), &alphaTmp); - } - else - { -@@ -867,7 +868,7 @@ rocblaslt_status - std::vector<int64_t> lde_vec, batch_stride_e_vec, num_batches_e_vec; - std::vector<bool> gradient_vec; - -- std::vector<int8_t[16]> alpha_1(m.size()); -+ std::vector<std::array<int8_t, 16>> alpha_1(m.size()); - - for(int i = 0; i < m.size(); i++) - { -@@ -924,10 +925,10 @@ rocblaslt_status - return validArgs; - - const void* alphaTmp = nullptr; -- memset(alpha_1[i], 0, sizeof(int8_t) * 16); -+ memset(alpha_1[i].data(), 0, sizeof(int8_t) * 16); - if(scaleAlphaVec) - { -- setTo1(compute_type, (void*)alpha_1[i], &alphaTmp); -+ setTo1(compute_type, (void*)alpha_1[i].data(), &alphaTmp); - } - else - { diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-fix-msgpack-dependency.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-fix-msgpack-dependency.patch deleted file mode 100644 index ef0b8395c527..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-fix-msgpack-dependency.patch +++ /dev/null @@ -1,29 +0,0 @@ -Gentoo uses "msgpack-cxx" as library name and adds important -MSGPACK_NO_BOOST compile definition when msgpack-cxx us installed with USE=-boost ---- a/tensilelite/Tensile/Source/lib/CMakeLists.txt -+++ b/tensilelite/Tensile/Source/lib/CMakeLists.txt -@@ -102,22 +102,9 @@ if(TENSILE_USE_LLVM OR TENSILE_USE_MSGPACK) - endif() - - if(TENSILE_USE_MSGPACK) -- find_package(msgpack REQUIRED) -+ find_package(msgpack-cxx REQUIRED) - target_compile_definitions(TensileHost PUBLIC -DTENSILE_MSGPACK=1) -- -- if(TARGET msgpackc-cxx) -- get_target_property(msgpack_inc msgpackc-cxx INTERFACE_INCLUDE_DIRECTORIES) -- elseif(TARGET msgpackc) -- get_target_property(msgpack_inc msgpackc INTERFACE_INCLUDE_DIRECTORIES) -- endif() -- -- if(DEFINED msgpack_inc) -- # include C++ headers manually -- # External header includes included as system files -- target_include_directories(TensileHost -- SYSTEM PRIVATE $<BUILD_INTERFACE:${msgpack_inc}> -- ) -- endif() -+ target_link_libraries(TensileHost PRIVATE msgpack-cxx) - endif() - - if(TENSILE_USE_LLVM) diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-gentoopath.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-gentoopath.patch deleted file mode 100644 index 17c5d9c534c0..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-gentoopath.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/tensilelite/Tensile/Ops/gen_assembly.sh -+++ b/tensilelite/Tensile/Ops/gen_assembly.sh -@@ -32,7 +32,7 @@ if ! [ -z ${ROCM_PATH+x} ]; then - rocm_path=${ROCM_PATH} - fi - --toolchain=${rocm_path}/llvm/bin/clang++ -+toolchain=@LLVM_PATH@/bin/clang++ - - . ${venv}/bin/activate - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -97,10 +97,6 @@ endif() - # hipBLASLt project - project(hipblaslt LANGUAGES CXX) - --# Force library install path to lib (CentOS 7 defaults to lib64) --set(CMAKE_INSTALL_LIBDIR "lib" CACHE INTERNAL "Installation directory for libraries" FORCE) -- -- - # Build options - option(BUILD_SHARED_LIBS "Build hipBLASLt as a shared library" ON) - option(BUILD_CLIENTS_TESTS "Build tests (requires googletest)" OFF) diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-no-arch.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-no-arch.patch deleted file mode 100644 index 7f1e61d2dc0f..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-no-arch.patch +++ /dev/null @@ -1,57 +0,0 @@ -Add ability to build without specitying any arch. -This produces dummy library, which can be linked to other project (like caffe2 in pytorch). - -Related upstream bug: https://github.com/ROCm/hipBLASLt/issues/535 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -220,6 +220,10 @@ else() - else() - find_package(Tensile 4.33.0 EXACT REQUIRED HIP LLVM OpenMP PATHS "${INSTALLED_TENSILE_PATH}") - endif() -+ else() # link to Tensile (required), but don't generate libraries -+ cmake_policy(SET CMP0074 NEW) -+ set(Tensile_ROOT "${CMAKE_SOURCE_DIR}/tensilelite/Tensile") -+ find_package(Tensile REQUIRED HIP LLVM OpenMP) - endif() - - # setup hipblaslt defines used for both the library and clients ---- a/library/CMakeLists.txt -+++ b/library/CMakeLists.txt -@@ -75,7 +75,7 @@ add_library(roc::hipblaslt ALIAS hipblaslt) - - # Target compile definitions - if(NOT BUILD_CUDA) --if( BUILD_WITH_TENSILE ) -+if( TRUE ) # link with Tensile is always reqiured - - if( BUILD_SHARED_LIBS ) - target_link_libraries( hipblaslt PRIVATE TensileHost ) -@@ -194,7 +194,7 @@ rocm_install_targets(TARGETS hipblaslt - ${CMAKE_BINARY_DIR}/include - ) - --if ( NOT BUILD_CUDA ) -+if ( NOT BUILD_CUDA AND BUILD_WITH_TENSILE ) - if (WIN32) - set( HIPBLASLT_TENSILE_LIBRARY_DIR "\${CPACK_PACKAGING_INSTALL_PREFIX}hipblaslt/bin" CACHE PATH "path to tensile library" ) - else() ---- a/library/src/amd_detail/rocblaslt/src/CMakeLists.txt -+++ b/library/src/amd_detail/rocblaslt/src/CMakeLists.txt -@@ -100,7 +100,17 @@ if( BUILD_WITH_TENSILE ) - set( Tensile_INC - ${CMAKE_CURRENT_SOURCE_DIR}/src/amd_detail/rocblaslt/src/Tensile - ) -+else() -+ set_target_properties( TensileHost PROPERTIES POSITION_INDEPENDENT_CODE ON ) - -+ set( Tensile_SRC -+ ${CMAKE_CURRENT_SOURCE_DIR}/src/amd_detail/rocblaslt/src/tensile_host.cpp -+ ${PROJECT_SOURCE_DIR}/tensilelite/Tensile/Source/lib/source/msgpack/MessagePack.cpp -+ ) -+ -+ set( Tensile_INC -+ ${CMAKE_CURRENT_SOURCE_DIR}/src/amd_detail/rocblaslt/src/Tensile -+ ) - endif( ) # BUILD_WITH_TENSILE - - set(DL_LIB dl)
\ No newline at end of file diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-no-git.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-no-git.patch deleted file mode 100644 index 55c26680673f..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.1.1-no-git.patch +++ /dev/null @@ -1,13 +0,0 @@ -Git is not used ---- a/cmake/Dependencies.cmake -+++ b/cmake/Dependencies.cmake -@@ -23,9 +23,6 @@ - - # Dependencies - --# Git --find_package(Git REQUIRED) -- - # Workaround until hcc & hip cmake modules fixes symlink logic in their config files. - # (Thanks to rocBLAS devs for finding workaround for this problem!) - list(APPEND CMAKE_PREFIX_PATH /opt/rocm/hip /opt/rocm) diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.3.0-min-pip-install.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.3.0-min-pip-install.patch deleted file mode 100644 index d2d9d32020b6..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.3.0-min-pip-install.patch +++ /dev/null @@ -1,23 +0,0 @@ -Remove unused libraries and updates from pypi.org ---- a/cmake/virtualenv.cmake -+++ b/cmake/virtualenv.cmake -@@ -24,10 +24,6 @@ endfunction() - - function(virtualenv_install) - virtualenv_create() -- execute_process( -- COMMAND ${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install --upgrade pip -- COMMAND ${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install --upgrade setuptools -- ) - message("${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install ${ARGN}") - execute_process( - RESULT_VARIABLE rc ---- a/tensilelite/requirements.txt -+++ b/tensilelite/requirements.txt -@@ -3,6 +3,3 @@ pyyaml - msgpack - joblib>=1.4.0; python_version >= '3.8' - joblib>=1.1.1; python_version < '3.8' --simplejson --ujson --orjson diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.3.0-no-arch-extra.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.3.0-no-arch-extra.patch deleted file mode 100644 index 785ca9008007..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.3.0-no-arch-extra.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/library/src/amd_detail/rocblaslt/src/kernels/CompileSourceKernel.cmake -+++ b/library/src/amd_detail/rocblaslt/src/kernels/CompileSourceKernel.cmake -@@ -25,6 +25,13 @@ function(CompileSourceKernel source archs buildIdKind outputFolder) - message("Setup source kernel targets") - string(REGEX MATCHALL "gfx[a-z0-9]+" archs "${archs}") - list(REMOVE_DUPLICATES archs) -+ -+ list(LENGTH archs archs_length) -+ if(archs_length EQUAL 0) -+ message("No architectures specified.") -+ return() -+ endif() -+ - list(JOIN archs "," archs) - message("archs for source kernel compilation: ${archs}") - add_custom_target(MatrixTransformKernels ALL diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-gentoopath.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-gentoopath.patch deleted file mode 100644 index f0c6a07afff7..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-gentoopath.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -97,10 +97,6 @@ endif() - # hipBLASLt project - project(hipblaslt LANGUAGES CXX) - --# Force library install path to lib (CentOS 7 defaults to lib64) --set(CMAKE_INSTALL_LIBDIR "lib" CACHE INTERNAL "Installation directory for libraries" FORCE) -- -- - # Build options - option(BUILD_SHARED_LIBS "Build hipBLASLt as a shared library" ON) - option(BUILD_CLIENTS_TESTS "Build tests (requires googletest)" OFF) diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-headers.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-headers.patch deleted file mode 100644 index 9f5d31fa3c53..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-headers.patch +++ /dev/null @@ -1,12 +0,0 @@ -std::map got transitively included via <regex> in libstdc++, not libc++ -Upstream fix: https://github.com/ROCm/hipBLASLt/commit/57d3aaf02554f8407d5eba6ef255836725f65aac ---- a/clients/include/datatype_interface.hpp -+++ b/clients/include/datatype_interface.hpp -@@ -27,6 +27,7 @@ - #pragma once - - #include <hipblaslt/hipblaslt.h> -+#include <map> - - union computeTypeInterface - { diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-libcxx-integrals.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-libcxx-integrals.patch deleted file mode 100644 index dcf2092d08bb..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-libcxx-integrals.patch +++ /dev/null @@ -1,39 +0,0 @@ -Libc++ lands on generic mathod and fails with `std::uniform_int_distribution<char>` (bad integer type) ---- a/clients/include/hipblaslt_random.hpp -+++ b/clients/include/hipblaslt_random.hpp -@@ -88,18 +88,34 @@ class hipblaslt_nan_rng - - public: - // Random integer -- template <typename T, std::enable_if_t<std::is_integral<T>{}, int> = 0> -+ template <typename T, std::enable_if_t< -+ std::is_integral<T>::value && -+ !std::is_same<T, signed char>::value && -+ !std::is_same<T, unsigned char>::value, -+ int> = 0> - explicit operator T() - { - return std::uniform_int_distribution<T>{}(t_hipblaslt_rng); - } - -+ // Random unsigned char -+ explicit operator unsigned char() -+ { -+ return static_cast<char>(std::uniform_int_distribution<unsigned>{}(t_hipblaslt_rng)); -+ } -+ - // Random signed char - explicit operator signed char() - { - return static_cast<signed char>(std::uniform_int_distribution<int>{}(t_hipblaslt_rng)); - } - -+ // Random char -+ explicit operator char() -+ { -+ return static_cast<char>(std::uniform_int_distribution<int>{}(t_hipblaslt_rng)); -+ } -+ - // Random NaN double - explicit operator double() - { diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-min-pip-install.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-min-pip-install.patch deleted file mode 100644 index eddeb8e97d65..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-min-pip-install.patch +++ /dev/null @@ -1,29 +0,0 @@ -Dependencies are managed by ebuild. ---- a/cmake/virtualenv.cmake -+++ b/cmake/virtualenv.cmake -@@ -27,14 +27,6 @@ endfunction() - - function(virtualenv_install) - virtualenv_create() -- execute_process( -- COMMAND ${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install --upgrade pip -- COMMAND_ECHO STDOUT -- ) -- execute_process( -- COMMAND ${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install --upgrade setuptools -- COMMAND_ECHO STDOUT -- ) - execute_process( - COMMAND ${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install ${ARGN} - COMMAND_ECHO STDOUT ---- a/tensilelite/setup.py -+++ b/tensilelite/setup.py -@@ -51,7 +51,7 @@ setup( - url="https://github.com/RadeonOpenCompute/Tensile", - author="Advanced Micro Devices", - license="MIT", -- install_requires=readRequirementsFromTxt(), -+ install_requires=[], - python_requires='>=3.5', - packages=["Tensile"], - package_data={ "Tensile": ["Tensile/cmake/*"] }, diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-upstream-clang.patch b/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-upstream-clang.patch deleted file mode 100644 index 2b0d0448d173..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-6.4.1-upstream-clang.patch +++ /dev/null @@ -1,17 +0,0 @@ -Fix detection of non-AMD clang. Without it, version is set to 0.0.0, -and tensile produces incorrect LLVM code (LLVM<19 syntax for LLVM 20). - -Upstream bug: https://github.com/ROCm/hipBLASLt/issues/2060 ---- a/tensilelite/Tensile/Common.py -+++ b/tensilelite/Tensile/Common.py -@@ -1753,8 +1753,8 @@ def assignGlobalParameters(config, cxxCompiler=None): - if 'HIP version' in line: - globalParameters['HipClangVersion'] = line.split()[2] - print1("# Found hipcc version " + globalParameters['HipClangVersion']) -- if 'AMD clang version' in line: -- globalParameters['AMDClangVersion'] = line.split()[3] -+ if 'clang version ' in line: -+ globalParameters['AMDClangVersion'] = line.split('clang version ')[1] - print1("# Found clang version " + globalParameters['AMDClangVersion']) - - except (subprocess.CalledProcessError, OSError) as e: diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-fix-setuptools.patch b/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-fix-setuptools.patch deleted file mode 100644 index 5be2c450ab7a..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-fix-setuptools.patch +++ /dev/null @@ -1,12 +0,0 @@ -Without --no-build-isolation "pip install" attempts to reinstall setuptools from pypi ---- a/cmake/virtualenv.cmake -+++ b/cmake/virtualenv.cmake -@@ -28,7 +28,7 @@ endfunction() - function(virtualenv_install) - virtualenv_create() - execute_process( -- COMMAND ${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install ${ARGN} -+ COMMAND ${VIRTUALENV_BIN_DIR}/${VIRTUALENV_PYTHON_EXENAME} -m pip install --no-build-isolation ${ARGN} - COMMAND_ECHO STDOUT - RESULT_VARIABLE return_code - ERROR_VARIABLE error_message diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-no-arch.patch b/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-no-arch.patch deleted file mode 100644 index 9f95988db934..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-no-arch.patch +++ /dev/null @@ -1,26 +0,0 @@ -When Tensile_SKIP_BUILD is enabled, fixes error: -Cannot add target-level dependencies to non-existent target "TENSILE_LIBRARY_TARGET". ---- a/library/src/amd_detail/rocblaslt/src/CMakeLists.txt -+++ b/library/src/amd_detail/rocblaslt/src/CMakeLists.txt -@@ -93,9 +93,8 @@ - ) - endif() - -- add_dependencies(TENSILE_LIBRARY_TARGET rocisa) -- - if(NOT Tensile_SKIP_BUILD) -+ add_dependencies(TENSILE_LIBRARY_TARGET rocisa) - add_subdirectory(extops) - endif() - ---- a/library/CMakeLists.txt -+++ b/library/CMakeLists.txt -@@ -237,7 +237,7 @@ rocm_install( - PATTERN "*.hpp" - ) - --if ( NOT BUILD_CUDA ) -+if ( NOT BUILD_CUDA AND HIPBLASLT_ENABLE_DEVICE ) - if (WIN32) - set( HIPBLASLT_TENSILE_LIBRARY_DIR "\${CPACK_PACKAGING_INSTALL_PREFIX}hipblaslt/bin" CACHE PATH "path to tensile library" ) - else() diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-system-nanobind.patch b/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-system-nanobind.patch deleted file mode 100644 index e7cd6b564898..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-7.0.1-system-nanobind.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/tensilelite/rocisa/CMakeLists.txt -+++ b/tensilelite/rocisa/CMakeLists.txt -@@ -38,13 +38,7 @@ else() - message(FATAL_ERROR "Python version 3.8 or higher is required, but found version ${Python_VERSION}") - endif() - --include(FetchContent) --FetchContent_Declare( -- nanobind -- GIT_REPOSITORY https://github.com/wjakob/nanobind.git -- GIT_TAG 9b3afa9dbdc23641daf26fadef7743e7127ff92f # v2.6.1 --) --FetchContent_MakeAvailable(nanobind) -+find_package(nanobind CONFIG REQUIRED) - - set(ROCISAINST_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/instruction.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/common.cpp diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-no-git.patch b/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-no-git.patch deleted file mode 100644 index ac962c04089b..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-no-git.patch +++ /dev/null @@ -1,13 +0,0 @@ -Git is not used ---- a/cmake/dependencies.cmake -+++ b/cmake/dependencies.cmake -@@ -23,9 +23,6 @@ - - # Dependencies - --# Git --find_package(Git REQUIRED) -- - # Workaround until hcc & hip cmake modules fixes symlink logic in their config files. - # (Thanks to rocBLAS devs for finding workaround for this problem!) - list(APPEND CMAKE_PREFIX_PATH /opt/rocm/hip /opt/rocm) diff --git a/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch b/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch deleted file mode 100644 index 8f589fdcac29..000000000000 --- a/sci-libs/hipBLASLt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/tensilelite/rocisa/CMakeLists.txt 2025-11-09 09:49:11.051195769 -0000 -+++ b/tensilelite/rocisa/CMakeLists.txt 2025-11-09 09:50:56.393579853 -0000 -@@ -17,14 +17,7 @@ - ) - - if(HIPBLASLT_BUNDLE_PYTHON_DEPS) -- include(FetchContent) -- FetchContent_Declare( -- nanobind -- GIT_REPOSITORY https://github.com/wjakob/nanobind.git -- GIT_TAG 9b3afa9dbdc23641daf26fadef7743e7127ff92f # v2.6.1 -- ) -- FetchContent_MakeAvailable(nanobind) -- -+ find_package(nanobind CONFIG REQUIRED) - set(ROCISAINST_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/instruction.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/common.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/branch.cpp" diff --git a/sci-libs/hipBLASLt/files/origami-7.1.0-fix-project.patch b/sci-libs/hipBLASLt/files/origami-7.1.0-fix-project.patch deleted file mode 100644 index 21fe39344f7a..000000000000 --- a/sci-libs/hipBLASLt/files/origami-7.1.0-fix-project.patch +++ /dev/null @@ -1,19 +0,0 @@ -Fix project declaration; with this fix, origami produces origami-config.cmake instead of the second incorrect hipblaslt-config.cmake - -Bug: https://bugs.gentoo.org/965873 -Upstream bug: https://github.com/ROCm/rocm-libraries/issues/2556 -Backports https://github.com/ROCm/rocm-libraries/commit/e8add0e18b344f12e243bad28deedcfe2d38c616#diff-d9e605ef1f0f2809cd5660e42b405a763a823ce637764cc2e336bd37c4ad8b38R6 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -3,9 +3,9 @@ - - cmake_minimum_required(VERSION 3.24.4) - --if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) -- project(Origami VERSION 1.0.0 LANGUAGES CXX) -+project(Origami VERSION 1.0.0 LANGUAGES CXX) - -+if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) - set(ORIGAMI_STANDALONE ON) - else() - set(ORIGAMI_STANDALONE OFF) diff --git a/sci-libs/hipBLASLt/hipBLASLt-6.3.3.ebuild b/sci-libs/hipBLASLt/hipBLASLt-6.3.3.ebuild deleted file mode 100644 index 4a2050e7eb05..000000000000 --- a/sci-libs/hipBLASLt/hipBLASLt-6.3.3.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 -PYTHON_COMPAT=( python3_{13..14} ) - -LLVM_COMPAT=( 19 ) - -inherit cmake flag-o-matic llvm-r1 python-any-r1 rocm -DESCRIPTION="General matrix-matrix operations library for AMD Instinct accelerators" -HOMEPAGE="https://github.com/ROCm/hipBLASLt" -SRC_URI="https://github.com/ROCm/hipBLASLt/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLASLt-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -SUPPORTED_GPUS=( gfx908 gfx90a gfx940 gfx941 gfx942 gfx1100 gfx1101 ) -IUSE_TARGETS=( "${SUPPORTED_GPUS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[@]/#/+} test benchmark" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-cpp/msgpack-cxx -" - -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/rocm-cmake - sci-libs/hipBLAS-common:${SLOT} - $(python_gen_any_dep ' - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/joblib[${PYTHON_USEDEP}] - ') - $(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}') - test? ( - dev-cpp/gtest - virtual/blas - dev-util/rocm-smi:${SLOT} - ) - benchmark? ( - virtual/blas - llvm-runtimes/openmp - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-fix-msgpack-dependency.patch - "${FILESDIR}"/${PN}-6.1.1-no-arch.patch - "${FILESDIR}"/${PN}-6.1.1-no-git.patch - "${FILESDIR}"/${PN}-6.1.1-clang-19.patch - "${FILESDIR}"/${PN}-6.1.1-fix-libcxx.patch - "${FILESDIR}"/${PN}-6.3.0-no-arch-extra.patch - "${FILESDIR}"/${PN}-6.3.0-min-pip-install.patch -) - -python_check_deps() { - python_has_version "dev-python/msgpack[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" && - python_has_version "dev-python/joblib[${PYTHON_USEDEP}]" -} - -pkg_setup() { - python-any-r1_pkg_setup -} - -pkg_pretend() { - if [[ "${AMDGPU_TARGETS[@]}" = "" ]]; then - ewarn "hipBLASLt supports only few GPUs: ${SUPPORTED_GPUS[@]}," - ewarn "but none of them were defined in AMDGPU_TARGETS USE_EXPAND variable." - ewarn - ewarn "Library will continue to be built in \"dummy\" mode," - ewarn "serving as a non-functional placeholder for end-user applications." - fi -} - -src_prepare() { - sed -e "s,\@LLVM_PATH\@,$(get_llvm_prefix),g" \ - "${FILESDIR}"/${PN}-6.1.1-gentoopath.patch > "${S}"/gentoopath.patch || die - eapply "${S}"/gentoopath.patch - - local shebangs=($(grep -rl "#!/usr/bin/env python3" tensilelite/Tensile || die)) - python_fix_shebang -q ${shebangs[*]} - - sed -e "s:\${rocm_path}/bin/amdclang++:$(get_llvm_prefix)/bin/clang++:" \ - -i library/src/amd_detail/rocblaslt/src/kernels/compile_code_object.sh || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local targets="$(get_amdgpu_flags)" - local build_with_tensile=$([ "${AMDGPU_TARGETS[@]}" = "" ] && echo OFF || echo ON ) - - local mycmakeargs=( - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_TENSILE="${build_with_tensile}" - -DAMDGPU_TARGETS="${targets}" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -Wno-dev - ) - - cmake_src_configure -} - -src_compile() { - local -x ROCM_PATH="${EPREFIX}/usr" - # set PYTHONPATH to load Tensile from virtualenv, not the system-wide one - local -x PYTHONPATH="${S}_build/virtualenv/lib/${EPYTHON}/site-packages" - local -x TENSILE_ROCM_ASSEMBLER_PATH="$(get_llvm_prefix)/bin/clang++" - # TensileCreateLibrary reads CMAKE_CXX_COMPILER again - local -x CMAKE_CXX_COMPILER="$(get_llvm_prefix)/bin/clang++" - cmake_src_compile -} - -src_install() { - cmake_src_install - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x /usr/$(get_libdir)/hipblaslt/library/ -} - -src_test() { - check_amdgpu - - # Expected time for 7900 XTX: 340s (full) or 5s with GTEST_FILTER='*quick*' - cmake_src_test -} diff --git a/sci-libs/hipBLASLt/hipBLASLt-6.4.3.ebuild b/sci-libs/hipBLASLt/hipBLASLt-6.4.3.ebuild deleted file mode 100644 index da8b0ae07579..000000000000 --- a/sci-libs/hipBLASLt/hipBLASLt-6.4.3.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 -PYTHON_COMPAT=( python3_{13..14} ) - -LLVM_COMPAT=( 20 ) - -inherit cmake flag-o-matic multiprocessing llvm-r1 python-any-r1 rocm -DESCRIPTION="General matrix-matrix operations library for AMD Instinct accelerators" -HOMEPAGE="https://github.com/ROCm/hipBLASLt" -SRC_URI="https://github.com/ROCm/hipBLASLt/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLASLt-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -SUPPORTED_GPUS=( gfx908 gfx90a gfx940 gfx941 gfx942 gfx1100 gfx1101 gfx1103 gfx1200 gfx1201 gfx1150 gfx1151 ) -IUSE_TARGETS=( "${SUPPORTED_GPUS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+} benchmark roctracer test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-cpp/msgpack-cxx - roctracer? ( dev-util/roctracer:${SLOT} ) - benchmark? ( - dev-util/rocm-smi:${SLOT} - sci-libs/lapack - sci-libs/openblas - ) -" - -DEPEND="${RDEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - dev-build/rocm-cmake - dev-util/hipcc - sci-libs/hipBLAS-common:${SLOT} - $(python_gen_any_dep ' - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/joblib[${PYTHON_USEDEP}] - ') - $(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}') - test? ( - dev-cpp/gtest - virtual/blas - dev-util/rocm-smi:${SLOT} - ) - benchmark? ( - virtual/blas - llvm-runtimes/openmp - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-fix-msgpack-dependency.patch - "${FILESDIR}"/${PN}-6.1.1-no-arch.patch - "${FILESDIR}"/${PN}-6.1.1-no-git.patch - "${FILESDIR}"/${PN}-6.1.1-clang-19.patch - "${FILESDIR}"/${PN}-6.1.1-fix-libcxx.patch - "${FILESDIR}"/${PN}-6.3.0-no-arch-extra.patch - "${FILESDIR}"/${PN}-6.4.1-min-pip-install.patch - "${FILESDIR}"/${PN}-6.4.1-headers.patch - "${FILESDIR}"/${PN}-6.4.1-libcxx-integrals.patch - "${FILESDIR}"/${PN}-6.4.1-gentoopath.patch - "${FILESDIR}"/${PN}-6.4.1-upstream-clang.patch -) - -python_check_deps() { - python_has_version "dev-python/msgpack[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" && - python_has_version "dev-python/joblib[${PYTHON_USEDEP}]" -} - -pkg_setup() { - python-any-r1_pkg_setup -} - -pkg_pretend() { - if [[ "${AMDGPU_TARGETS[*]}" = "" ]]; then - ewarn "hipBLASLt supports only few GPUs: ${SUPPORTED_GPUS[*]}," - ewarn "but none of them were defined in AMDGPU_TARGETS USE_EXPAND variable." - ewarn - ewarn "Library will continue to be built in \"dummy\" mode," - ewarn "serving as a non-functional placeholder for end-user applications." - fi -} - -src_prepare() { - local shebangs=($(grep -rl "#!/usr/bin/env python3" tensilelite/Tensile || die)) - python_fix_shebang -q "${shebangs[@]}" - - rocm_use_clang - sed -e "s:\${rocm_path}/bin/amdclang++:${CXX}:" \ - -i library/src/amd_detail/rocblaslt/src/kernels/compile_code_object.sh \ - -i tensilelite/Tensile/Ops/gen_assembly.sh || die - - # Fix compiler validation (just a validation) - sed "s/amdclang/$(basename "$CC")/g" \ - -i tensilelite/Tensile/Utilities/Toolchain.py || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local targets="$(get_amdgpu_flags)" - local build_with_tensile=$([ "${AMDGPU_TARGETS[*]}" = "" ] && echo OFF || echo ON ) - - local mycmakeargs=( - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_TENSILE="${build_with_tensile}" - -DTensile_COMPILER=${CXX} - -DAMDGPU_TARGETS="${targets}" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DPython_EXECUTABLE="${PYTHON}" - -DHIPBLASLT_ENABLE_MARKER="$(usex roctracer ON OFF)" - -DTensile_CPU_THREADS=$(makeopts_jobs) - -Wno-dev - ) - - cmake_src_configure -} - -src_compile() { - local -x ROCM_PATH="${EPREFIX}/usr" - # set PYTHONPATH to load Tensile from virtualenv, not the system-wide one - local -x PYTHONPATH="${S}_build/virtualenv/lib/${EPYTHON}/site-packages" - local -x TENSILE_ROCM_ASSEMBLER_PATH="$(get_llvm_prefix)/bin/clang++" - # TensileCreateLibrary reads CMAKE_CXX_COMPILER again - local -x CMAKE_CXX_COMPILER="$(get_llvm_prefix)/bin/clang++" - cmake_src_compile -} - -src_install() { - cmake_src_install - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x /usr/$(get_libdir)/hipblaslt/library/ -} - -src_test() { - check_amdgpu - - # Expected time for 7900 XTX: 340s (full) or 5s with GTEST_FILTER='*quick*' - # Fails in `MatrixTransformTest.MultipleDevices` in dGPU+iGPU combination - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/hipBLASLt/hipBLASLt-7.0.2-r2.ebuild b/sci-libs/hipBLASLt/hipBLASLt-7.0.2-r2.ebuild deleted file mode 100644 index 9ff8c6570d2b..000000000000 --- a/sci-libs/hipBLASLt/hipBLASLt-7.0.2-r2.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 -PYTHON_COMPAT=( python3_{13..14} ) - -LLVM_COMPAT=( 20 ) - -inherit cmake flag-o-matic multiprocessing llvm-r1 python-any-r1 rocm -DESCRIPTION="General matrix-matrix operations library for AMD Instinct accelerators" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblaslt" -SRC_URI="https://github.com/ROCm/hipBLASLt/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/hipBLASLt-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -SUPPORTED_GPUS=( gfx908 gfx90a gfx940 gfx941 gfx942 gfx950 gfx1100 gfx1101 gfx1103 gfx1150 gfx1151 gfx1200 gfx1201 ) -IUSE_TARGETS=( "${SUPPORTED_GPUS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+} benchmark roctracer test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - roctracer? ( dev-util/roctracer:${SLOT} ) - benchmark? ( - dev-util/rocm-smi:${SLOT} - sci-libs/flexiblas - ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/msgpack-cxx - sci-libs/hipBLAS-common:${SLOT} - llvm-runtimes/openmp -" - -BDEPEND=" - ${PYTHON_DEPS} - dev-build/rocm-cmake:${SLOT} - dev-util/hipcc:${SLOT} - $(python_gen_any_dep " - dev-python/msgpack[\${PYTHON_USEDEP}] - dev-python/pyyaml[\${PYTHON_USEDEP}] - dev-python/joblib[\${PYTHON_USEDEP}] - dev-python/nanobind[\${PYTHON_USEDEP}] - dev-python/setuptools[\${PYTHON_USEDEP}] - ") - $(llvm_gen_dep "llvm-core/clang:\${LLVM_SLOT}") - test? ( - dev-cpp/gtest - sci-libs/flexiblas - dev-util/rocm-smi:${SLOT} - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-fix-msgpack-dependency.patch - "${FILESDIR}"/${PN}-6.1.1-no-git.patch - "${FILESDIR}"/${PN}-6.1.1-clang-19.patch - "${FILESDIR}"/${PN}-6.4.1-min-pip-install.patch - "${FILESDIR}"/${PN}-6.4.1-headers.patch - "${FILESDIR}"/${PN}-6.4.1-gentoopath.patch - "${FILESDIR}"/${PN}-7.0.1-system-nanobind.patch - "${FILESDIR}"/${PN}-7.0.1-no-arch.patch - "${FILESDIR}"/${PN}-7.0.1-fix-setuptools.patch -) - -python_check_deps() { - python_has_version "dev-python/msgpack[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" && - python_has_version "dev-python/joblib[${PYTHON_USEDEP}]" && - python_has_version "dev-python/nanobind[${PYTHON_USEDEP}]" && - python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" -} - -pkg_setup() { - QA_FLAGS_IGNORED="usr/$(get_libdir)/hipblaslt/library/.*" - python-any-r1_pkg_setup -} - -pkg_pretend() { - if [[ "${AMDGPU_TARGETS[*]}" = "" ]]; then - ewarn "hipBLASLt supports only some GPUs: ${SUPPORTED_GPUS[*]}," - ewarn "but none of them were defined in AMDGPU_TARGETS USE_EXPAND variable." - ewarn - ewarn "Library will continue to be built in \"dummy\" mode," - ewarn "serving as a non-functional placeholder for end-user applications." - fi -} - -src_prepare() { - local shebangs=($(grep -rl "#!/usr/bin/env python3" tensilelite/Tensile || die)) - python_fix_shebang -q "${shebangs[@]}" - - rocm_use_clang - - sed -e "s:\$(ROCM_PATH)/bin/amdclang++:$(get_llvm_prefix)/bin/clang++:g" \ - -i tensilelite/Makefile || die - - # Fix compiler validation (just a validation) - sed "s/amdclang/$(basename "$CC")/g" \ - -i tensilelite/Tensile/Toolchain/Validators.py \ - -i tensilelite/Tensile/Tests/unit/test_MatrixInstructionConversion.py || die - - # https://github.com/ROCm/rocm-libraries/commit/48c5e89fd90caff65e62e6a9bcf082d10d8877eb - sed -e 's:if(NOT ROCM_FOUND):if(NOT ROCmCMakeBuildTools_FOUND):' \ - -i cmake/Dependencies.cmake || die - - # https://bugs.gentoo.org/965310 - use normal FindBLAS - # To be removed in 7.1.0 (not used in there anymore) - sed -e '/find_dependency(cblas)/ s/cblas/BLAS/' -i cmake/hipblaslt-config.cmake || die - sed -e 's/cblas REQUIRED CONFIG/BLAS REQUIRED/' -i clients/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local targets="$(get_amdgpu_flags)" - local Tensile_SKIP_BUILD=$([ "${AMDGPU_TARGETS[*]}" = "" ] && echo ON || echo OFF ) - local HIPBLASLT_ENABLE_DEVICE=$([ "${AMDGPU_TARGETS[*]}" != "" ] && echo ON || echo OFF ) - - local mycmakeargs=( - -DAMDGPU_TARGETS="${targets}" - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DHIPBLASLT_ENABLE_DEVICE=${HIPBLASLT_ENABLE_DEVICE} - -DHIPBLASLT_ENABLE_MARKER="$(usex roctracer ON OFF)"\ - -DHIPBLASLT_USE_ROCROLLER=OFF - -Dnanobind_DIR="$(python_get_sitedir)/nanobind/cmake" - -DPython_EXECUTABLE="${PYTHON}" - -DROCM_SYMLINK_LIBS=OFF - -DTensile_COMPILER=${CXX} - -DTensile_CPU_THREADS=$(makeopts_jobs) - -DTensile_SKIP_BUILD=${Tensile_SKIP_BUILD} - -Wno-dev - ) - - cmake_src_configure -} - -src_compile() { - local -x ROCM_PATH="${EPREFIX}/usr" - # set PYTHONPATH to load Tensile from virtualenv, not the system-wide one - local -x PYTHONPATH="${S}_build/virtualenv/lib/${EPYTHON}/site-packages" - local -x TENSILE_ROCM_ASSEMBLER_PATH="$(get_llvm_prefix)/bin/clang++" - # TensileCreateLibrary reads CMAKE_CXX_COMPILER again - local -x CMAKE_CXX_COMPILER="$(get_llvm_prefix)/bin/clang++" - cmake_src_compile -} - -src_install() { - cmake_src_install - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x /usr/$(get_libdir)/hipblaslt/library/ -} - -src_test() { - check_amdgpu - - # Expected time for 7900 XTX: 340s (full) or 5s with GTEST_FILTER='*quick*' - # Fails in `MatrixTransformTest.MultipleDevices` in dGPU+iGPU combination - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/hipBLASLt/hipBLASLt-7.1.0-r2.ebuild b/sci-libs/hipBLASLt/hipBLASLt-7.1.0-r2.ebuild deleted file mode 100644 index 28d56de090f7..000000000000 --- a/sci-libs/hipBLASLt/hipBLASLt-7.1.0-r2.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 -PYTHON_COMPAT=( python3_{13..14} ) - -LLVM_COMPAT=( 20 ) - -inherit cmake flag-o-matic multiprocessing llvm-r1 python-any-r1 rocm -DESCRIPTION="General matrix-matrix operations library for AMD Instinct accelerators" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblaslt" -SRC_URI="https://github.com/ROCm/rocm-libraries/archive/refs/tags/rocm-${PV}.tar.gz -> rocm-libraries-${PV}.tar.gz" - -S="${WORKDIR}/rocm-libraries-rocm-${PV}/projects/hipblaslt/" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -SUPPORTED_GPUS=( gfx908 gfx90a gfx942 gfx950 gfx1100 gfx1101 gfx1103 gfx1150 gfx1151 gfx1200 gfx1201 ) -IUSE_TARGETS=( "${SUPPORTED_GPUS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+} benchmark roctracer test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-util/rocm-smi:${SLOT} - roctracer? ( dev-util/roctracer:${SLOT} ) - benchmark? ( - sci-libs/flexiblas - ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/msgpack-cxx - sci-libs/hipBLAS-common:${SLOT} - llvm-runtimes/openmp -" - -BDEPEND=" - ${PYTHON_DEPS} - dev-build/rocm-cmake:${SLOT} - dev-util/hipcc:${SLOT} - $(python_gen_any_dep " - dev-python/msgpack[\${PYTHON_USEDEP}] - dev-python/pyyaml[\${PYTHON_USEDEP}] - dev-python/joblib[\${PYTHON_USEDEP}] - dev-python/nanobind[\${PYTHON_USEDEP}] - dev-python/setuptools[\${PYTHON_USEDEP}] - ") - $(llvm_gen_dep "llvm-core/clang:\${LLVM_SLOT}") - test? ( - dev-cpp/gtest - sci-libs/flexiblas - ) -" - -# In 7.1.0 to build tests one needs to build benchmarks (which will be installed) -# TODO: make build of tests independent benchmarks -REQUIRED_USE="test? ( benchmark )" - -PATCHES=( - "${FILESDIR}"/${PN}-7.1.0-no-git.patch - "${FILESDIR}"/hipBLASLt-7.1.0-rocisa-nanobind.patch -) - -python_check_deps() { - python_has_version "dev-python/msgpack[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" && - python_has_version "dev-python/joblib[${PYTHON_USEDEP}]" && - python_has_version "dev-python/nanobind[${PYTHON_USEDEP}]" && - python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" -} - -pkg_setup() { - QA_FLAGS_IGNORED="usr/$(get_libdir)/hipblaslt/library/.*" - python-any-r1_pkg_setup -} - -pkg_pretend() { - if [[ "${AMDGPU_TARGETS[*]}" = "" ]]; then - ewarn "hipBLASLt supports only some GPUs: ${SUPPORTED_GPUS[*]}," - ewarn "but none of them were defined in AMDGPU_TARGETS USE_EXPAND variable." - ewarn - ewarn "Library will continue to be built in \"dummy\" mode," - ewarn "serving as a non-functional placeholder for end-user applications." - fi -} - -src_unpack() { - local HIPBLASLT="rocm-libraries-rocm-${PV}/projects/hipblaslt" - local ORIGAMI="rocm-libraries-rocm-${PV}/shared/origami" - tar -xzf "${DISTDIR}/${A}" "${HIPBLASLT}" "${ORIGAMI}" -C "${WORKDIR}" || die -} - -src_prepare() { - local shebangs=($(grep -rl "#!/usr/bin/env python3" tensilelite/Tensile || die)) - python_fix_shebang -q "${shebangs[@]}" - - rocm_use_clang - - sed -e "s:\$(ROCM_PATH)/bin/amdclang++:$(get_llvm_prefix)/bin/clang++:g" \ - -i tensilelite/Makefile || die - - # Fix compiler validation (just a validation) - sed -e "s/amdclang/$(basename "$CC")/g" \ - -i tensilelite/Tensile/Toolchain/Validators.py \ - -i tensilelite/Tensile/Tests/unit/test_MatrixInstructionConversion.py || die - - # Do not install tests - sed -e "s/COMPONENT tests/COMPONENT tests EXCLUDE_FROM_ALL/" -i CMakeLists.txt || die - - pushd "${WORKDIR}/rocm-libraries-rocm-${PV}/shared/origami" || die - eapply "${FILESDIR}"/origami-7.1.0-fix-project.patch - popd || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - # Tensile guesses weirdly how to compile things, ld.bfd won't work, so force lld - append-cxxflags -DCMAKE_CXX_FLAGS="-fuse-ld=lld" - - local targets="$(get_amdgpu_flags)" - local Tensile_SKIP_BUILD=$([ "${AMDGPU_TARGETS[*]}" = "" ] && echo ON || echo OFF ) - local HIPBLASLT_ENABLE_DEVICE=$([ "${AMDGPU_TARGETS[*]}" != "" ] && echo ON || echo OFF ) - - # targets has a trailing semicolon, this trips up Tensile's input parser, so carefully prune - local mycmakeargs=( - -DGPU_TARGETS="${targets::-1}" - -DHIPBLASLT_ENABLE_CLIENT="$(usex benchmark ON $(usex test ON OFF))" - -DHIPBLASLT_ENABLE_SAMPLES=OFF - -DHIPBLASLT_ENABLE_DEVICE=${HIPBLASLT_ENABLE_DEVICE} - -DHIPBLASLT_ENABLE_MARKER="$(usex roctracer ON OFF)" - -DHIPBLASLT_ENABLE_ROCROLLER=OFF - -DHIPBLASLT_ENABLE_FETCH=OFF - -DHIPBLASLT_BUNDLE_PYTHON_DEPS=ON - -Dnanobind_DIR="$(python_get_sitedir)/nanobind/cmake" - -DPython_EXECUTABLE="${PYTHON}" - -DROCM_SYMLINK_LIBS=OFF - -DTENSILELITE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs) - -DHIPBLASLT_BUILD_TESTING="$(usex test ON OFF)" - -Wno-dev - ) - - if use test || use benchmark; then - # HIPBLASLT_ENABLE_CLIENT=ON branch - mycmakeargs+=( - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - -DHIPBLASLT_ENABLE_BLIS=OFF - ) - fi - - cmake_src_configure -} - -src_compile() { - local -x ROCM_PATH="${EPREFIX}/usr" - # set PYTHONPATH to load Tensile from virtualenv, not the system-wide one - local -x PYTHONPATH="${S}_build/virtualenv/lib/${EPYTHON}/site-packages" - local -x TENSILE_ROCM_ASSEMBLER_PATH="$(get_llvm_prefix)/bin/clang++" - # TensileCreateLibrary reads CMAKE_CXX_COMPILER again - local -x CMAKE_CXX_COMPILER="$(get_llvm_prefix)/bin/clang++" - cmake_src_compile -} - -src_install() { - cmake_src_install - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x /usr/$(get_libdir)/hipblaslt/library/ -} - -src_test() { - check_amdgpu - - # Expected time for 7900 XTX: 340s (full) or 5s with GTEST_FILTER='*quick*' - # Fails in `MatrixTransformTest.MultipleDevices` in dGPU+iGPU combination - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/hipBLASLt/hipBLASLt-7.2.0.ebuild b/sci-libs/hipBLASLt/hipBLASLt-7.2.0.ebuild deleted file mode 100644 index 8f3cd70140e5..000000000000 --- a/sci-libs/hipBLASLt/hipBLASLt-7.2.0.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 -PYTHON_COMPAT=( python3_{13..14} ) - -LLVM_COMPAT=( 22 ) - -inherit cmake flag-o-matic multiprocessing llvm-r2 python-any-r1 rocm -DESCRIPTION="General matrix-matrix operations library for AMD Instinct accelerators" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipblaslt" -SRC_URI=" - https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipblaslt.tar.gz -> hipblaslt-${PV}.tar.gz - https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/origami.tar.gz -> origami-${PV}.tar.gz -" - -S="${WORKDIR}/hipblaslt" -ORIGAMI_S="${WORKDIR}/origami" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -SUPPORTED_GPUS=( gfx908 gfx90a gfx942 gfx950 gfx1100 gfx1101 gfx1103 gfx1150 gfx1151 gfx1200 gfx1201 ) -IUSE_TARGETS=( "${SUPPORTED_GPUS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+} benchmark roctracer test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-util/rocm-smi:${SLOT} - roctracer? ( dev-util/roctracer:${SLOT} ) - benchmark? ( - sci-libs/flexiblas - ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/msgpack-cxx - sci-libs/hipBLAS-common:${SLOT} - llvm-runtimes/openmp -" - -BDEPEND=" - ${PYTHON_DEPS} - dev-build/rocm-cmake:${SLOT} - dev-util/hipcc:${SLOT} - $(python_gen_any_dep " - dev-python/msgpack[\${PYTHON_USEDEP}] - dev-python/pyyaml[\${PYTHON_USEDEP}] - dev-python/joblib[\${PYTHON_USEDEP}] - dev-python/nanobind[\${PYTHON_USEDEP}] - dev-python/setuptools[\${PYTHON_USEDEP}] - ") - $(llvm_gen_dep "llvm-core/clang:\${LLVM_SLOT}") - test? ( - dev-cpp/gtest - sci-libs/flexiblas - ) -" - -# Since 7.1.0 to build tests one needs to build benchmarks (which will be installed) -# TODO: make build of tests independent benchmarks -REQUIRED_USE="test? ( benchmark )" - -PATCHES=( - "${FILESDIR}"/${PN}-7.1.0-no-git.patch - "${FILESDIR}"/hipBLASLt-7.1.0-rocisa-nanobind.patch -) - -python_check_deps() { - python_has_version "dev-python/msgpack[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" && - python_has_version "dev-python/joblib[${PYTHON_USEDEP}]" && - python_has_version "dev-python/nanobind[${PYTHON_USEDEP}]" && - python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" -} - -pkg_setup() { - QA_FLAGS_IGNORED="usr/$(get_libdir)/hipblaslt/library/.*" - python-any-r1_pkg_setup -} - -pkg_pretend() { - if [[ "${AMDGPU_TARGETS[*]}" = "" ]]; then - ewarn "hipBLASLt supports only some GPUs: ${SUPPORTED_GPUS[*]}," - ewarn "but none of them were defined in AMDGPU_TARGETS USE_EXPAND variable." - ewarn - ewarn "Library will continue to be built in \"dummy\" mode," - ewarn "serving as a non-functional placeholder for end-user applications." - fi -} - -src_prepare() { - local shebangs=($(grep -rl "#!/usr/bin/env python3" tensilelite/Tensile || die)) - python_fix_shebang -q "${shebangs[@]}" - - rocm_use_clang - - sed -e "s:\$(ROCM_PATH)/bin/amdclang++:$(get_llvm_prefix)/bin/clang++:g" \ - -i tensilelite/Makefile || die - - # Fix compiler validation (just a validation) - sed -e "s/amdclang/$(basename "$CC")/g" \ - -i tensilelite/Tensile/Toolchain/Validators.py \ - -i tensilelite/Tensile/Tests/unit/test_MatrixInstructionConversion.py || die - - # Do not install tests - sed -e "s/COMPONENT tests/COMPONENT tests EXCLUDE_FROM_ALL/" -i CMakeLists.txt || die - - sed -e 's:../../shared/origami:../origami:' -i CMakeLists.txt || die - - cmake_src_prepare - - pushd "${ORIGAMI_S}" || die - local PATCHES=() - cmake_src_prepare - popd || die -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - # Tensile guesses weirdly how to compile things, ld.bfd won't work, so force lld - append-cxxflags -DCMAKE_CXX_FLAGS="-fuse-ld=lld" - - local targets="$(get_amdgpu_flags)" - local Tensile_SKIP_BUILD=$([ "${AMDGPU_TARGETS[*]}" = "" ] && echo ON || echo OFF ) - local HIPBLASLT_ENABLE_DEVICE=$([ "${AMDGPU_TARGETS[*]}" != "" ] && echo ON || echo OFF ) - - # targets has a trailing semicolon, this trips up Tensile's input parser, so carefully prune - local mycmakeargs=( - -DGPU_TARGETS="${targets::-1}" - -DHIPBLASLT_ENABLE_CLIENT="$(usex benchmark ON $(usex test ON OFF))" - -DHIPBLASLT_ENABLE_SAMPLES=OFF - -DHIPBLASLT_ENABLE_DEVICE=${HIPBLASLT_ENABLE_DEVICE} - -DHIPBLASLT_ENABLE_MARKER="$(usex roctracer ON OFF)" - -DHIPBLASLT_ENABLE_ROCROLLER=OFF - -DHIPBLASLT_ENABLE_FETCH=OFF - -DHIPBLASLT_BUNDLE_PYTHON_DEPS=ON - -Dnanobind_DIR="$(python_get_sitedir)/nanobind/cmake" - -DPython_EXECUTABLE="${PYTHON}" - -DROCM_SYMLINK_LIBS=OFF - -DTENSILELITE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs) - -DHIPBLASLT_BUILD_TESTING="$(usex test ON OFF)" - -Wno-dev - ) - - if use test || use benchmark; then - # HIPBLASLT_ENABLE_CLIENT=ON branch - mycmakeargs+=( - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - -DHIPBLASLT_ENABLE_BLIS=OFF - ) - fi - - cmake_src_configure -} - -src_compile() { - local -x ROCM_PATH="${EPREFIX}/usr" - # set PYTHONPATH to load Tensile from virtualenv, not the system-wide one - local -x PYTHONPATH="${S}_build/virtualenv/lib/${EPYTHON}/site-packages" - local -x TENSILE_ROCM_ASSEMBLER_PATH="$(get_llvm_prefix)/bin/clang++" - # TensileCreateLibrary reads CMAKE_CXX_COMPILER again - local -x CMAKE_CXX_COMPILER="$(get_llvm_prefix)/bin/clang++" - cmake_src_compile -} - -src_install() { - cmake_src_install - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x /usr/$(get_libdir)/hipblaslt/library/ -} - -src_test() { - check_amdgpu - - # Expected time for 7900 XTX: 340s (full) or 5s with GTEST_FILTER='*quick*' - # Fails in `MatrixTransformTest.MultipleDevices` in dGPU+iGPU combination - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/hipBLASLt/metadata.xml b/sci-libs/hipBLASLt/metadata.xml deleted file mode 100644 index 99d611403637..000000000000 --- a/sci-libs/hipBLASLt/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/hipBLASLt</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install rocblas-bench</flag> - <flag name="roctracer">Enable roctracer (roctx) marker</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/hipCUB/Manifest b/sci-libs/hipCUB/Manifest deleted file mode 100644 index fa73b33791b0..000000000000 --- a/sci-libs/hipCUB/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST hipCUB-6.3.3.tar.gz 387580 BLAKE2B e0b605835be2b685c1cfa099a807e30fa061af8b14bafa1167c8249383230761a0d08532c831d3cb015e8e1b58119899d3cb7330990ca046045ea40058ee03e5 SHA512 2ec96088d34edeff48f8ee103a619f2ca7c741dcb020a3d1833a00e2072510790a563e98662aef7aa2a348034f3c8169ee39dcc61ab95202c734901ba53dfa4b -DIST hipCUB-6.4.3.tar.gz 419173 BLAKE2B 7e1e707210191eee00aab01f8768a272f1fb5c35bb9e0635fe32ad50f4a8b56634d5f097f5eb2d1d5625f30f62450368a25a95ac2ba8fe85da2effd8efd669c9 SHA512 fb8018cf6200a468601149b6508b50944a27c3f7562012fef39e3a0ca13ed5ff597b1a3ad9e02273b70020ebd19ed10322e46d324f09fcf32a4f363e0ba72036 -DIST hipCUB-7.0.2.tar.gz 442494 BLAKE2B 62357955317e612f49023db12f844ea04ed8c16930000ce805c5a4bdd9c53207b6a064a5770bfb74f01f06872f72f0649b8322dda704816e608c2691ab6526cc SHA512 2c26a622c82e53d5e06cfb45066aac4bb4f7702b96d7753eb9acc0266fb8bc9c3f3068dba2acf023b1644be95bbe48e3a554db053e446757651615f9bd5ef7a6 -DIST hipCUB-7.1.0.tar.gz 471831 BLAKE2B edb368f37577600762a3c88d2af4c99e1696d033b66e6afb251e52b2bcc6baf8ed1375f75b69717421f449cada6a010eb652fceace5b408dbb3c6be004e8f7cc SHA512 165d08b75ef81becfce3c279f7ac8aaf0efee79d5d450450a8396b95f043b14716d8ac9c00047bec32ba21913b64ded51898e903959842fbf7d5a97328c7281a -DIST hipcub-7.2.0.tar.gz 472731 BLAKE2B e1ccb8e37edf5e79191ff9d5308714f582d7fcb8d8e3ebcc0fd1f5062fd87efa3b1edf9664e90d326bd5422f3029a17bdfef6f2d2d6f2e1be5b6eff79fb19367 SHA512 51249e1ff3cf801e6a843a4aac961e41be8e2c7d3fe1662d37f7e7d1d8cf6697bbd0899a7252649cae37bc0113458efd74f889fcb7bcd628471016543c5a7ea6 diff --git a/sci-libs/hipCUB/files/hipCUB-6.4.1-no-tests-install.patch b/sci-libs/hipCUB/files/hipCUB-6.4.1-no-tests-install.patch deleted file mode 100644 index eb902c00aebd..000000000000 --- a/sci-libs/hipCUB/files/hipCUB-6.4.1-no-tests-install.patch +++ /dev/null @@ -1,20 +0,0 @@ -Exclude test-related files from installation ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -43,16 +43,8 @@ function(add_relative_test test_name test_target) - endif() - file(RELATIVE_PATH rel_path "${CMAKE_CURRENT_BINARY_DIR}" "${EXE_PATH}/${EXE_NAME}") - add_test(NAME "${test_name}" COMMAND "./${rel_path}") -- rocm_install(TARGETS ${test_target} COMPONENT tests) - file(APPEND "${INSTALL_TEST_FILE}" "add_test(${test_name} \"../${EXE_NAME}\")\n") - endfunction() - - # hipCUB tests - add_subdirectory(hipcub) -- --rocm_install( -- FILES "${INSTALL_TEST_FILE}" -- DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}" -- COMPONENT tests -- RENAME "CTestTestfile.cmake" --) diff --git a/sci-libs/hipCUB/files/hipCUB-7.0.1-no-tests-install.patch b/sci-libs/hipCUB/files/hipCUB-7.0.1-no-tests-install.patch deleted file mode 100644 index 52dc898b6d7b..000000000000 --- a/sci-libs/hipCUB/files/hipCUB-7.0.1-no-tests-install.patch +++ /dev/null @@ -1,20 +0,0 @@ -Exclude test-related files from installation ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -47,16 +47,8 @@ function(add_relative_test test_name test_target) - else() - add_test(NAME "${test_name}" COMMAND "./${rel_path}") - endif() -- rocm_install(TARGETS ${test_target} COMPONENT tests) - file(APPEND "${INSTALL_TEST_FILE}" "add_test(${test_name} \"../${EXE_NAME}\")\n") - endfunction() - - # hipCUB tests - add_subdirectory(hipcub) -- --rocm_install( -- FILES "${INSTALL_TEST_FILE}" -- DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}" -- COMPONENT tests -- RENAME "CTestTestfile.cmake" --) diff --git a/sci-libs/hipCUB/files/hipCUB-7.2.0-no-tests-install.patch b/sci-libs/hipCUB/files/hipCUB-7.2.0-no-tests-install.patch deleted file mode 100644 index 2b9770fa4cd0..000000000000 --- a/sci-libs/hipCUB/files/hipCUB-7.2.0-no-tests-install.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt -index 3361e20..5744779 100644 ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -58,7 +58,6 @@ function(add_relative_test test_name test_target) - ENVIRONMENT "LLVM_PROFILE_FILE=${PROFILE_DIR}/profraw/hipcub-coverage_%m.profraw" - ) - endif() -- rocm_install(TARGETS ${test_target} COMPONENT tests) - file(APPEND "${INSTALL_TEST_FILE}" "add_test(${test_name} \"../${EXE_NAME}\")\n") - endfunction() - -@@ -101,10 +100,3 @@ if(BUILD_CODE_COVERAGE) - WORKING_DIRECTORY ${CMAKE_BINARY_DIR} - ) - endif() -- --rocm_install( -- FILES "${INSTALL_TEST_FILE}" -- DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}" -- COMPONENT tests -- RENAME "CTestTestfile.cmake" --) diff --git a/sci-libs/hipCUB/hipCUB-6.3.3.ebuild b/sci-libs/hipCUB/hipCUB-6.3.3.ebuild deleted file mode 100644 index ae5c0e0c441f..000000000000 --- a/sci-libs/hipCUB/hipCUB-6.3.3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Wrapper of rocPRIM or CUB for GPU parallel primitives" -HOMEPAGE="https://github.com/ROCm/hipCUB" -SRC_URI="https://github.com/ROCm/hipCUB/archive/rocm-${PV}.tar.gz -> hipCUB-${PV}.tar.gz" -S="${WORKDIR}/hipCUB-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT}[${ROCM_USEDEP}] - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # Expected time on gfx1100 (-j32) is 85s - # hipcub.BlockShuffle fails in parallel tests, but adding -j1 makes tests too slow. - local CMAKE_SKIP_TESTS=(hipcub.BlockShuffle) - cmake_src_test -} diff --git a/sci-libs/hipCUB/hipCUB-6.4.3.ebuild b/sci-libs/hipCUB/hipCUB-6.4.3.ebuild deleted file mode 100644 index 92d497cbda10..000000000000 --- a/sci-libs/hipCUB/hipCUB-6.4.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Wrapper of rocPRIM or CUB for GPU parallel primitives" -HOMEPAGE="https://github.com/ROCm/hipCUB" -SRC_URI="https://github.com/ROCm/hipCUB/archive/rocm-${PV}.tar.gz -> hipCUB-${PV}.tar.gz" -S="${WORKDIR}/hipCUB-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4.1-no-tests-install.patch -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # Expected time on gfx1100 (-j32) is 85s - # HipcubDeviceHistogramMultiEven/0.MultiEven in 6.4.1 has bad array access (probably fixed in the future release) - local CMAKE_SKIP_TESTS=(hipcub.DeviceHistogram) - cmake_src_test -} diff --git a/sci-libs/hipCUB/hipCUB-7.0.2.ebuild b/sci-libs/hipCUB/hipCUB-7.0.2.ebuild deleted file mode 100644 index 21704d0d8d57..000000000000 --- a/sci-libs/hipCUB/hipCUB-7.0.2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Wrapper of rocPRIM or CUB for GPU parallel primitives" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipcub" -SRC_URI="https://github.com/ROCm/hipCUB/archive/rocm-${PV}.tar.gz -> hipCUB-${PV}.tar.gz" -S="${WORKDIR}/hipCUB-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - benchmark? ( - dev-util/hip:${SLOT} - dev-cpp/benchmark:= - ) -" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-7.0.1-no-tests-install.patch -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # Expected time on gfx1100 (-j32) is 85s - # HipcubDeviceHistogramMultiEven/0.MultiEven in 6.4.1 has bad array access (probably fixed in the future release) - local CMAKE_SKIP_TESTS=(hipcub.DeviceHistogram) - cmake_src_test -} diff --git a/sci-libs/hipCUB/hipCUB-7.1.0.ebuild b/sci-libs/hipCUB/hipCUB-7.1.0.ebuild deleted file mode 100644 index 21704d0d8d57..000000000000 --- a/sci-libs/hipCUB/hipCUB-7.1.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Wrapper of rocPRIM or CUB for GPU parallel primitives" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipcub" -SRC_URI="https://github.com/ROCm/hipCUB/archive/rocm-${PV}.tar.gz -> hipCUB-${PV}.tar.gz" -S="${WORKDIR}/hipCUB-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - benchmark? ( - dev-util/hip:${SLOT} - dev-cpp/benchmark:= - ) -" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-7.0.1-no-tests-install.patch -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # Expected time on gfx1100 (-j32) is 85s - # HipcubDeviceHistogramMultiEven/0.MultiEven in 6.4.1 has bad array access (probably fixed in the future release) - local CMAKE_SKIP_TESTS=(hipcub.DeviceHistogram) - cmake_src_test -} diff --git a/sci-libs/hipCUB/hipCUB-7.2.0.ebuild b/sci-libs/hipCUB/hipCUB-7.2.0.ebuild deleted file mode 100644 index dd8470c3afad..000000000000 --- a/sci-libs/hipCUB/hipCUB-7.2.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Wrapper of rocPRIM or CUB for GPU parallel primitives" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipcub" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipcub.tar.gz -> hipcub-${PV}.tar.gz" -S="${WORKDIR}/hipcub" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - benchmark? ( - dev-util/hip:${SLOT} - dev-cpp/benchmark:= - ) -" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-7.2.0-no-tests-install.patch -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # Expected time on gfx1100 (-j32) is 85s - # HipcubDeviceHistogramMultiEven/0.MultiEven in 6.4.1 has bad array access (probably fixed in the future release) - local CMAKE_SKIP_TESTS=(hipcub.DeviceHistogram) - cmake_src_test -} diff --git a/sci-libs/hipCUB/metadata.xml b/sci-libs/hipCUB/metadata.xml deleted file mode 100644 index 70386d47446f..000000000000 --- a/sci-libs/hipCUB/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install benchmark binaries</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest deleted file mode 100644 index 6fa3d5cb0781..000000000000 --- a/sci-libs/hipFFT/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST hipFFT-rocm-6.3.3.tar.gz 267940 BLAKE2B a04284d719c33ef214a7cd4e64cdb5babb8bff45c2965ca6d20718f034970e736ff2056dee9ca9e8aba0c00d14bc21f013ad82ed7948f5c9874cc1138fb38671 SHA512 87c03985167d2eb18b72e2ed2fbca34ad2a9ce5cabf2fa9260f00139425b5cadab4a79f23e1beaf300eee6d1029d842bddf8ebd293f6897882f91331b93a404c -DIST hipFFT-rocm-6.4.3.tar.gz 300245 BLAKE2B e8255119b14ee3788713f7d5b632b639ca5a0f9366fc81fb83da04ac97eb6f53a17eef2c6da8851f77562ac696755c37b446117573fdbebaafee133aa769cc3c SHA512 80a25e20bbf1a4aae0787219ade0a8bc136e8d731a353695a4d7f125fb644bfd6a10c64b3152cf6120c2214516e45e7c42d0f18584e6568503f63029aad8129a -DIST hipFFT-rocm-7.0.2.tar.gz 300768 BLAKE2B 23e980181a8d12fc13345d4615782cfa6f24089dba58cc7b9d837715a685ad3cd16e6880fd175b974924d7844a2e1a38e8b0f29c7317b0b6957f43c1dd518b43 SHA512 c78d3bac1a52b3f8a1953818587dd1ae1bd90096c4732eca4d953e69db1598106f86046754ff547fb5bb04598c2a21924d0156b964d7989a65583211bea64ec2 -DIST hipFFT-rocm-7.1.0.tar.gz 356914 BLAKE2B a716c9249dd37cae1e2501ed32b070181175b2ee783c80f0f97ee1e25bc67a162c3d29f4619f2b92bc297ebce8618a16edd820f45010c250fab7c526800e85e5 SHA512 b5e4fd5e66bf13b293c700dac96473bfe8e7ba98e685dbafb76d8cb6e0711a163aabc2dba5c6201c2bbc9e9cb4eaf89d298d19bb9871e09619f8f2ab68ea23cb -DIST hipfft-7.2.0.tar.gz 372486 BLAKE2B c46b5ea24ba61720ba228c16f10202d56eaeb84fa9fb6b7dd6d5b12dbca46c851ee5b79616e38f70ec9de54357fcd1343974374a61dfc88dfeeaffb5a0b4649e SHA512 bd42d71fe01c05fe7d17d298bc6ee9e70d0733a8146b295e17fe7657bb0be34d3f78b0e8525131b4bbc6f7d38307a97e92314945dcc42ef1934cd3c95a9c9a19 diff --git a/sci-libs/hipFFT/hipFFT-6.3.3.ebuild b/sci-libs/hipFFT/hipFFT-6.3.3.ebuild deleted file mode 100644 index d1dcfdf8e9fe..000000000000 --- a/sci-libs/hipFFT/hipFFT-6.3.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip FFT implementation" -HOMEPAGE="https://github.com/ROCm/hipFFT" -SRC_URI="https://github.com/ROCm/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipFFT-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RESTRICT="test" - -RDEPEND="dev-util/hip - sci-libs/rocFFT:${SLOT}[${ROCM_USEDEP}]" -DEPEND="${RDEPEND}" - -src_configure() { - # Note: hipcc is enforced; clang fails when libc++ is enabled - # with an error similar to https://github.com/boostorg/config/issues/392 - rocm_use_hipcc - - local mycmakeargs=( - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_RIDER=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} diff --git a/sci-libs/hipFFT/hipFFT-6.4.3.ebuild b/sci-libs/hipFFT/hipFFT-6.4.3.ebuild deleted file mode 100644 index 20e86d07815d..000000000000 --- a/sci-libs/hipFFT/hipFFT-6.4.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip FFT implementation" -HOMEPAGE="https://github.com/ROCm/hipFFT" -SRC_URI="https://github.com/ROCm/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipFFT-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RESTRICT="test" - -RDEPEND="dev-util/hip - sci-libs/rocFFT:${SLOT}" -DEPEND="${RDEPEND}" - -src_configure() { - # Note: hipcc is enforced; clang fails when libc++ is enabled - # with an error similar to https://github.com/boostorg/config/issues/392 - rocm_use_hipcc - - local mycmakeargs=( - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_RIDER=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - ) - - cmake_src_configure -} diff --git a/sci-libs/hipFFT/hipFFT-7.0.2.ebuild b/sci-libs/hipFFT/hipFFT-7.0.2.ebuild deleted file mode 100644 index 50e7e27dd6f7..000000000000 --- a/sci-libs/hipFFT/hipFFT-7.0.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip FFT implementation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipfft" -SRC_URI="https://github.com/ROCm/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipFFT-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocFFT:${SLOT} -" -DEPEND="${RDEPEND}" - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_RIDER=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - ) - - cmake_src_configure -} diff --git a/sci-libs/hipFFT/hipFFT-7.1.0.ebuild b/sci-libs/hipFFT/hipFFT-7.1.0.ebuild deleted file mode 100644 index 50e7e27dd6f7..000000000000 --- a/sci-libs/hipFFT/hipFFT-7.1.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip FFT implementation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipfft" -SRC_URI="https://github.com/ROCm/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipFFT-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocFFT:${SLOT} -" -DEPEND="${RDEPEND}" - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_RIDER=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - ) - - cmake_src_configure -} diff --git a/sci-libs/hipFFT/hipFFT-7.2.0.ebuild b/sci-libs/hipFFT/hipFFT-7.2.0.ebuild deleted file mode 100644 index 3f4302486329..000000000000 --- a/sci-libs/hipFFT/hipFFT-7.2.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip FFT implementation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipfft" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipfft.tar.gz -> hipfft-${PV}.tar.gz" -S="${WORKDIR}/hipfft" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocFFT:${SLOT} -" -DEPEND="${RDEPEND}" - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_RIDER=OFF - -DGPU_TARGETS="$(get_amdgpu_flags)" - ) - - cmake_src_configure -} diff --git a/sci-libs/hipFFT/metadata.xml b/sci-libs/hipFFT/metadata.xml deleted file mode 100644 index f9ed5e57279a..000000000000 --- a/sci-libs/hipFFT/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/hipRAND/Manifest b/sci-libs/hipRAND/Manifest deleted file mode 100644 index f4af338e7b45..000000000000 --- a/sci-libs/hipRAND/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST hipRAND-rocm-6.3.3.tar.gz 125512 BLAKE2B 3a1c5fbdc115e6372dd88501abebab729022fcda03c9a3a39848fdce15f335abd772f82660af09c48abe9b88f138866a31273f5ee2b4290400ecf8cc3f8e2456 SHA512 ee2e4364d07e7ed3515f3c1094119e54055d052e396b5dece738241c8404eecb75e737f43e513262474140c78046430ea5d7f3d915c321c5d9ba4b20778ccc6e -DIST hipRAND-rocm-6.4.3.tar.gz 127204 BLAKE2B 40751993b2b6567326e9e69ff006d5c1b7653e9cc1fa7d71307d9d41e91a3e4ce7d3767fd03ebde52afacf6be22d371a3273a7ca45e2c6a9a11fd772bc6256e6 SHA512 22cd2396723292ccb7504b4c5ce4150d1fe04dcfaf020963d28c27077e001fc9edf23fa03d18159fecc4f1d51df300a04a8297dfec62476464e93a7bbafc9f9b -DIST hipRAND-rocm-7.0.2.tar.gz 137511 BLAKE2B e9f9bef56aefd9c0ae7bc6f1fc69c33ca994061dcc38943ee96c531670a29b48810f0e9ee5354767808cc33d3202cb1e2787e7123945eeebbfffaa1ed73fec41 SHA512 d2f59da6e6fd544a0d8fc0d3d0012b587797ffbeab4178b0df0ea6396bc51b7e1448823959416ba48eed5b8268d0170b0d7ccd8bc7d8d34926029ebe999dbca3 -DIST hipRAND-rocm-7.1.0.tar.gz 135303 BLAKE2B 0204a2b93d086f9ff9ec8bc5e864a7b3e38404c9cd96af43d78a88792e8027e7e518753b53bcd44d17b6b1ad9871f5174ed51f4ff6e1c7ed72c78bd00847f9cf SHA512 35c0ae48d53e787ca7b6a3564697d2666cd74162cbfafcfa9206fe0a2308cade32319b1abb3bee4d08c7381089e5b801117affd392c61980d9b77deccf7450a0 -DIST hiprand-7.2.0.tar.gz 136875 BLAKE2B fb4c1d852a937a063f5f25891a24856f7e5867ef3be88ec48bedff510e0925bea5c0313cea8b8ad8cc609fcfbb0574c101c3cff8f9a9cd17753785e733b2a6e6 SHA512 f1b9d254ecd246ff6815c28575bd51422710d6503aff025505bad5821948cbbfd2b5b707de07c17e1aec379c7b347c409d13c2b25a6c4d7996f0323e21da7c89 diff --git a/sci-libs/hipRAND/hipRAND-6.3.3.ebuild b/sci-libs/hipRAND/hipRAND-6.3.3.ebuild deleted file mode 100644 index 10c1112facb7..000000000000 --- a/sci-libs/hipRAND/hipRAND-6.3.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip RAND implementation" -HOMEPAGE="https://github.com/ROCm/hipRAND" -SRC_URI="https://github.com/ROCm/hipRAND/archive/refs/tags/rocm-${PV}.tar.gz -> hipRAND-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipRAND-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RESTRICT="test" - -RDEPEND="dev-util/hip - sci-libs/rocRAND:${SLOT}[${ROCM_USEDEP}]" -DEPEND="${RDEPEND}" - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -Wno-dev - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} diff --git a/sci-libs/hipRAND/hipRAND-6.4.3.ebuild b/sci-libs/hipRAND/hipRAND-6.4.3.ebuild deleted file mode 100644 index 1ee1fed9a882..000000000000 --- a/sci-libs/hipRAND/hipRAND-6.4.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip RAND implementation" -HOMEPAGE="https://github.com/ROCm/hipRAND" -SRC_URI="https://github.com/ROCm/hipRAND/archive/refs/tags/rocm-${PV}.tar.gz -> hipRAND-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipRAND-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RESTRICT="test" - -RDEPEND="dev-util/hip - sci-libs/rocRAND:${SLOT}" -DEPEND="${RDEPEND}" - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -Wno-dev - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} diff --git a/sci-libs/hipRAND/hipRAND-7.0.2.ebuild b/sci-libs/hipRAND/hipRAND-7.0.2.ebuild deleted file mode 100644 index 3f100df41417..000000000000 --- a/sci-libs/hipRAND/hipRAND-7.0.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip RAND implementation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hiprand" -SRC_URI="https://github.com/ROCm/hipRAND/archive/refs/tags/rocm-${PV}.tar.gz -> hipRAND-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipRAND-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RESTRICT="test" - -RDEPEND="sci-libs/rocRAND:${SLOT}" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} -" - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -Wno-dev - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - ) - - cmake_src_configure -} diff --git a/sci-libs/hipRAND/hipRAND-7.1.0.ebuild b/sci-libs/hipRAND/hipRAND-7.1.0.ebuild deleted file mode 100644 index 3f100df41417..000000000000 --- a/sci-libs/hipRAND/hipRAND-7.1.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip RAND implementation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hiprand" -SRC_URI="https://github.com/ROCm/hipRAND/archive/refs/tags/rocm-${PV}.tar.gz -> hipRAND-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipRAND-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RESTRICT="test" - -RDEPEND="sci-libs/rocRAND:${SLOT}" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} -" - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -Wno-dev - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - ) - - cmake_src_configure -} diff --git a/sci-libs/hipRAND/hipRAND-7.2.0.ebuild b/sci-libs/hipRAND/hipRAND-7.2.0.ebuild deleted file mode 100644 index 566735661d4e..000000000000 --- a/sci-libs/hipRAND/hipRAND-7.2.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip RAND implementation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hiprand" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hiprand.tar.gz -> hiprand-${PV}.tar.gz" -S="${WORKDIR}/hiprand" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RESTRICT="test" - -RDEPEND=" - sci-libs/rocRAND:${SLOT} - dev-util/hip:${SLOT} -" -DEPEND="${RDEPEND}" - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -Wno-dev - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_SYMLINK_LIBS=OFF - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - ) - - cmake_src_configure -} diff --git a/sci-libs/hipRAND/metadata.xml b/sci-libs/hipRAND/metadata.xml deleted file mode 100644 index f9ed5e57279a..000000000000 --- a/sci-libs/hipRAND/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/hipSOLVER/Manifest b/sci-libs/hipSOLVER/Manifest deleted file mode 100644 index b5b8cfc7a5aa..000000000000 --- a/sci-libs/hipSOLVER/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST hipSOLVER-rocm-6.3.3.tar.gz 2573877 BLAKE2B 54d9736b63bfd314a155968737bf59c26685237e63e41a1500aa22841bb3c92a126645629dee8e9a87e0ee7a62035738dd85347a7dd0e4f05c7044755ef5e71e SHA512 d6213c1000e640bf29d96917df6f51f8f5fc30ec808d6473b7dd159f9ce160535170cec0f769c3749934e1896b9d3fcc1df21d5cda27b4d233e6a8c50e23c114 -DIST hipSOLVER-rocm-6.4.3.tar.gz 2580341 BLAKE2B 28f40af2887befece27186aba11d6e777ae705225e4daa5b7f4599cd7bc719e908481840b3d41480b00b2945ab51e276a1962bc5fe6f44ad873eac2871f157cf SHA512 6cd8e4e0cfb0963325092ff3d8341fd630dfe3f4dbc0f15a625aa23c3a43225fc288523548cec3db0c698d765c5c37bdf22225235c2eefab6b8ee18bb0ffdffd -DIST hipSOLVER-rocm-7.0.2.tar.gz 2585966 BLAKE2B f24472b493a2744df5b8ef853537cea392f6efe5538a75dd51bbe05ad4883df679777575471ddeefa6b913dd1b76864188d4a589f469564e9d4364016589995c SHA512 2a52de08805bcb8c4231857a24f9db5d93f8fc70c9fc5fefe5a693a8af94b04c0bd8fbdc755294555df0e092b0103110ab8037bedf663073b81f0f14cc33528f -DIST hipSOLVER-rocm-7.1.0.tar.gz 2585428 BLAKE2B 1c306dbc28ad92fd9d9d6e38bc670f791f073041881cd2634160df30f7a8034fa3ab095dc29b4f6cc25d5857762f311ba04aaa1a7f8bc8de757a6966f8590174 SHA512 13c68847b7c0d24580e2f44d51d76e95fa9857d8ea8a36be95926bd2911408cc89306b3b09a4872fd74b0feca0020f8c7a035fed7795e36312bd66cff710ecd8 -DIST hipsolver-7.2.0.tar.gz 2587453 BLAKE2B a926ecb061954679c0db91eecd620e658528088c4b435174b3ba2f524e037718ee9477ea4c9eb866245221c866c9c3a1b81e97e58b82812e4ebad78aa2d5b528 SHA512 7d445fcf014a0a84cf56d186bd079de80f65ec3761b49e9f7c8779dc367daa88a8db37fce2a26102b996f2e27a8cad431cfe819eed6d5a1d1cf2cae5be8a7148 diff --git a/sci-libs/hipSOLVER/files/hipSOLVER-6.3.0-find-cholmod.patch b/sci-libs/hipSOLVER/files/hipSOLVER-6.3.0-find-cholmod.patch deleted file mode 100644 index 32c049c5947f..000000000000 --- a/sci-libs/hipSOLVER/files/hipSOLVER-6.3.0-find-cholmod.patch +++ /dev/null @@ -1,56 +0,0 @@ -Builds with -DBUILD_WITH_SPARSE=ON are broken -Upstream bug: https://github.com/ROCm/hipSOLVER/issues/347 ---- a/library/src/amd_detail/dlopen/cholmod.hpp -+++ b/library/src/amd_detail/dlopen/cholmod.hpp -@@ -24,7 +24,7 @@ - #include "lib_macros.hpp" - - #ifdef HAVE_ROCSPARSE --#include <suitesparse/cholmod.h> -+#include <cholmod.h> - #else - - // constants ---- a/library/src/CMakeLists.txt -+++ b/library/src/CMakeLists.txt -@@ -42,8 +42,6 @@ prepend_path(".." hipsolver_headers_public relative_hipsolver_headers_public) - - if(NOT USE_CUDA) - set(hipsolver_source -- "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/dlopen/cholmod.cpp" -- "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/dlopen/rocsparse.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/hipsolver_conversions.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/hipsolver.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/hipsolver_dense.cpp" -@@ -52,6 +50,12 @@ if(NOT USE_CUDA) - "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/hipsolver_sparse.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/common/hipsolver_dense_common.cpp" - ) -+ if (NOT BUILD_WITH_SPARSE) -+ list(APPEND hipsolver_source -+ "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/dlopen/cholmod.cpp" -+ "${CMAKE_CURRENT_SOURCE_DIR}/amd_detail/dlopen/rocsparse.cpp" -+ ) -+ endif() - else() - set(hipsolver_source - "${CMAKE_CURRENT_SOURCE_DIR}/nvidia_detail/hipsolver_conversions.cpp" -@@ -149,14 +153,11 @@ if(NOT USE_CUDA) - list(APPEND static_depends PACKAGE rocsparse) - endif() - -- find_package(CHOLMOD QUIET) -- if(NOT TARGET SuiteSparse::CHOLMOD) -- # try again with the custom find modules for older versions of suitesparse -- list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/suitesparse) -- find_package(CHOLMOD REQUIRED) -- endif() -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(CHOLMOD REQUIRED IMPORTED_TARGET cholmod) -+ -+ target_link_libraries(hipsolver PRIVATE roc::rocsparse PkgConfig::CHOLMOD) - -- target_link_libraries( hipsolver PRIVATE roc::rocsparse SuiteSparse::CHOLMOD) - set_source_files_properties(${hipsolver_source} - PROPERTIES - COMPILE_DEFINITIONS HAVE_ROCSPARSE diff --git a/sci-libs/hipSOLVER/files/hipSOLVER-6.4.1-find-cholmod.patch b/sci-libs/hipSOLVER/files/hipSOLVER-6.4.1-find-cholmod.patch deleted file mode 100644 index e90d234531a8..000000000000 --- a/sci-libs/hipSOLVER/files/hipSOLVER-6.4.1-find-cholmod.patch +++ /dev/null @@ -1,32 +0,0 @@ -Gentoo install cholmod.h into /usr/include directly and uses PkgConfig ---- a/library/src/CMakeLists.txt -+++ b/library/src/CMakeLists.txt -@@ -153,14 +153,10 @@ if(NOT USE_CUDA) - list(APPEND static_depends PACKAGE rocsparse) - endif() - -- find_package(CHOLMOD QUIET) -- if(NOT TARGET SuiteSparse::CHOLMOD) -- # try again with the custom find modules for older versions of suitesparse -- list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/suitesparse) -- find_package(CHOLMOD REQUIRED) -- endif() -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(CHOLMOD REQUIRED IMPORTED_TARGET cholmod) - -- target_link_libraries( hipsolver PRIVATE roc::rocsparse SuiteSparse::CHOLMOD) -+ target_link_libraries( hipsolver PRIVATE roc::rocsparse PkgConfig::CHOLMOD) - set_source_files_properties(${hipsolver_source} - PROPERTIES - COMPILE_DEFINITIONS HAVE_ROCSPARSE ---- a/library/src/amd_detail/dlopen/cholmod.hpp -+++ b/library/src/amd_detail/dlopen/cholmod.hpp -@@ -24,7 +24,7 @@ - #include "lib_macros.hpp" - - #ifdef HAVE_ROCSPARSE --#include <suitesparse/cholmod.h> -+#include <cholmod.h> - #else - - // constants diff --git a/sci-libs/hipSOLVER/files/hipSOLVER-7.0.1-find-cholmod.patch b/sci-libs/hipSOLVER/files/hipSOLVER-7.0.1-find-cholmod.patch deleted file mode 100644 index 501906d9e4d1..000000000000 --- a/sci-libs/hipSOLVER/files/hipSOLVER-7.0.1-find-cholmod.patch +++ /dev/null @@ -1,21 +0,0 @@ -Gentoo install cholmod.h into /usr/include directly and uses PkgConfig ---- a/library/src/CMakeLists.txt -+++ b/library/src/CMakeLists.txt -@@ -153,14 +153,10 @@ if(NOT USE_CUDA) - list(APPEND static_depends PACKAGE rocsparse) - endif() - -- find_package(CHOLMOD QUIET) -- if(NOT TARGET SuiteSparse::CHOLMOD) -- # try again with the custom find modules for older versions of suitesparse -- list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/suitesparse) -- find_package(CHOLMOD REQUIRED) -- endif() -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(CHOLMOD REQUIRED IMPORTED_TARGET cholmod) - -- target_link_libraries( hipsolver PRIVATE roc::rocsparse SuiteSparse::CHOLMOD) -+ target_link_libraries( hipsolver PRIVATE roc::rocsparse PkgConfig::CHOLMOD) - set_source_files_properties(${hipsolver_source} - PROPERTIES - COMPILE_DEFINITIONS HAVE_ROCSPARSE diff --git a/sci-libs/hipSOLVER/hipSOLVER-6.3.3.ebuild b/sci-libs/hipSOLVER/hipSOLVER-6.3.3.ebuild deleted file mode 100644 index fcd2d71089d6..000000000000 --- a/sci-libs/hipSOLVER/hipSOLVER-6.3.3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic marshalling library for LAPACK routines on the GPU" -HOMEPAGE="https://github.com/ROCm/hipSOLVER" -SRC_URI="https://github.com/ROCm/hipSOLVER/archive/refs/tags/rocm-${PV}.tar.gz -> hipSOLVER-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipSOLVER-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="sparse" - -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocSOLVER:${SLOT}[${ROCM_USEDEP}] - sparse? ( - sci-libs/suitesparseconfig - sci-libs/cholmod - ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.0-find-cholmod.patch -) - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipSOLVER/hipSOLVER-6.4.3.ebuild b/sci-libs/hipSOLVER/hipSOLVER-6.4.3.ebuild deleted file mode 100644 index 13bd41f152bb..000000000000 --- a/sci-libs/hipSOLVER/hipSOLVER-6.4.3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic marshalling library for LAPACK routines on the GPU" -HOMEPAGE="https://github.com/ROCm/hipSOLVER" -SRC_URI="https://github.com/ROCm/hipSOLVER/archive/refs/tags/rocm-${PV}.tar.gz -> hipSOLVER-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipSOLVER-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="sparse" - -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocSOLVER:${SLOT} - sparse? ( - sci-libs/suitesparseconfig - sci-libs/cholmod - ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4.1-find-cholmod.patch -) - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipSOLVER/hipSOLVER-7.0.2.ebuild b/sci-libs/hipSOLVER/hipSOLVER-7.0.2.ebuild deleted file mode 100644 index 124ffb6a4883..000000000000 --- a/sci-libs/hipSOLVER/hipSOLVER-7.0.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic marshalling library for LAPACK routines on the GPU" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsolver" -SRC_URI="https://github.com/ROCm/hipSOLVER/archive/refs/tags/rocm-${PV}.tar.gz -> hipSOLVER-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipSOLVER-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="sparse" - -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocSOLVER:${SLOT} - sci-libs/rocBLAS:${SLOT} - sparse? ( - sci-libs/suitesparseconfig - sci-libs/cholmod - ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-7.0.1-find-cholmod.patch -) - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipSOLVER/hipSOLVER-7.1.0.ebuild b/sci-libs/hipSOLVER/hipSOLVER-7.1.0.ebuild deleted file mode 100644 index 124ffb6a4883..000000000000 --- a/sci-libs/hipSOLVER/hipSOLVER-7.1.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic marshalling library for LAPACK routines on the GPU" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsolver" -SRC_URI="https://github.com/ROCm/hipSOLVER/archive/refs/tags/rocm-${PV}.tar.gz -> hipSOLVER-rocm-${PV}.tar.gz" -S="${WORKDIR}/hipSOLVER-rocm-${PV}" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="sparse" - -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocSOLVER:${SLOT} - sci-libs/rocBLAS:${SLOT} - sparse? ( - sci-libs/suitesparseconfig - sci-libs/cholmod - ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-7.0.1-find-cholmod.patch -) - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipSOLVER/hipSOLVER-7.2.0.ebuild b/sci-libs/hipSOLVER/hipSOLVER-7.2.0.ebuild deleted file mode 100644 index 01dc4dc6763e..000000000000 --- a/sci-libs/hipSOLVER/hipSOLVER-7.2.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic marshalling library for LAPACK routines on the GPU" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsolver" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipsolver.tar.gz -> hipsolver-${PV}.tar.gz" -S="${WORKDIR}/hipsolver" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="sparse" - -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocSOLVER:${SLOT} - sci-libs/rocBLAS:${SLOT} - sparse? ( - sci-libs/suitesparseconfig - sci-libs/rocSPARSE:${SLOT} - sci-libs/cholmod:= - ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-7.0.1-find-cholmod.patch -) - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - ) - - cmake_src_configure -} diff --git a/sci-libs/hipSOLVER/metadata.xml b/sci-libs/hipSOLVER/metadata.xml deleted file mode 100644 index 86ad47763902..000000000000 --- a/sci-libs/hipSOLVER/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="sparse">Build hipSOLVER with sparse functionality (<pkg>sci-libs/cholmod</pkg>)</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/hipSPARSE/Manifest b/sci-libs/hipSPARSE/Manifest deleted file mode 100644 index dc5e5372f14e..000000000000 --- a/sci-libs/hipSPARSE/Manifest +++ /dev/null @@ -1,24 +0,0 @@ -DIST hipSPARSE-6.3.3.tar.gz 537761 BLAKE2B 3f4bac3b35ecaf033dbbee9f802a28f8f3cbd0155443d198ae450f22034293c48cebf60745e297b83a44ce0bdedeba44a643650af4980e4823c64edd344ac084 SHA512 aaf8d31d5102ed02fc861a90e9e6ccca22a7242559d8c775735f5d893c423bbbcf1c72ed96eade1c630aefd6154de64de8fe60cff54b9837c4ef249cbf4db06e -DIST hipSPARSE-6.4.3.tar.gz 560457 BLAKE2B 44b0621d38da804245593506eb17bb755d52da19273b4e9028d425e1ca45c9e4aafd14d46c599e4375522071496eabd283fb2e390efb642d25c1e0dc09600695 SHA512 815e5fc288937e69171df12ea392dca12df5b30c246bc3d467904745219293344e4b93af2a87c20ae1068ac207f901d92f5407b73a143fd4b1a4ac834a4edd39 -DIST hipSPARSE-7.0.2.tar.gz 614481 BLAKE2B cb4f55da6005caefeaed1d00161b70754869a20133eca4602adf8a39dfa245327d1a108fdf08c4a55dba803eb0b25a0d6b71f6a4063e26cb77137af4cf471bde SHA512 6482525fdd844d2622aa9fe72dd6483eff74c63400f0ffae8e7c85ff98e886b57e6cf2eb29718414ea56e410203dfde2ca5d8ab82eb21d5122c7dec1bbdbc560 -DIST hipSPARSE-7.1.0.tar.gz 616600 BLAKE2B 08cfa1f0100a07f30fa960dd097e4467ae34d122f87494503f7ac859f12dab9e2cd13c49b2ce9354c38c599073460160769814698e370b8403cbcf536a4d9632 SHA512 c7b7fd8d07ff7c600b66a58b2b9f2cc9a9308072eab6699e209c24bf2405bc54e5d87a51649766c9b5ed8c5f940352ba26679334a40eaf2ec195544241f0aaf0 -DIST hipsparse-7.2.0.tar.gz 633484 BLAKE2B c32f4b58e9f5b833f6f28009c75a8d16628063210b4d46992d707671ebcbd9adf0ff2c70e9494a0b675f110b1501497c1acdd24a97b0492857165c19e2230b52 SHA512 3ee999492f3482f58332b2329b9a1bfef6cabb39c7a7e1c1b01fdda9a61eaf239e38cde65d307f99bf9066a13bb30b062e552087885f0b76f09468155cd4e21c -DIST rocSPARSE_ASIC_320k.tar.gz 11301444 BLAKE2B a00cc4a3ededab3fb56339319e34e936645ddce2dee3c630153b37e337384c207b0a2829227fb7f4c2db1fe33383e97410ab7ad459d391c025f5410843d51cf2 SHA512 1db3af391c30a371c1ac0087436e266721474273a39d5b2b6d56408d950dcbbee004750e4dce4e3dbc4cb512f38f6d945676d7f29b62c52fd5a7fed0fe789e03 -DIST rocSPARSE_Chebyshev4.tar.gz 50165660 BLAKE2B f1a95554c8f38937f501488fabfd406b773eb980d7463cadac0de162529ac2f834c655cadd2b65f4c42a8487bc2d67c749601ae33bd789051f9e4d1e157196a0 SHA512 fdec4947a4af923d28b4be8d23690fd6d356c58f8344a5dcdd2e3fa61769d83e47a84d65316b527e6e82d9f988de2675a852367d406e44b44d784137a90b95c0 -DIST rocSPARSE_amazon0312.tar.gz 11303646 BLAKE2B 388947a29380253bb5eecb22d3a3b6f3378711044b3fe98d6d2517cd27330f11b3d12fdb96320a2889e139224f1a6a5ad1c455ff8e91a262aa2aadbe16301330 SHA512 aed2d62581763742d9c7faf3dcaf1eaa983caa1e2e7ad4abebe97c5e7c2aec9942e0e32291092b348b60052c92b130e721ec19ed59bda22e1b233ef72ac7d2ff -DIST rocSPARSE_bibd_22_8.tar.gz 20548479 BLAKE2B b6d0f7b7eb9c3b4ccade55313ca29f5706dde264c03d5d342f16ff27d7cf38ff2648dabea0342683257a6bb16cae85259c7e102a56c70d1e81c8a334c36f3d91 SHA512 3df85485f679c82e7554e8f6dff9d498bc9135bfc70aa81e85d83dbef457f31831dfc23b8d83425289329efc45fdcd41eef1e79f5205500479992892bbcf11fe -DIST rocSPARSE_bmwcra_1.tar.gz 67958791 BLAKE2B 8be4e73cf837fd717e77042c416dee81995cd39bae39bdc1b7f6e6b309ee263130774f030ce7883ae89234227fec115d0178cfe1b2589af79fde6e2a3270b01c SHA512 049722d3524fb7397c4f00ce9a034e75612b839353bbbd7b963900ec19eeb5a4ec54a780882b4929fc4dd6932efb2f676432d444c3d256f9b57d5f392e5241ca -DIST rocSPARSE_mac_econ_fwd500.tar.gz 12051668 BLAKE2B cd59723ea4fa8b0b4024c3534b3c3b42541754353319eca88628ca8216fb619dce3b1e774d6b823155c8afc9b5a65b3ea113edb36f6141c72e1189e97bfcbd37 SHA512 f279d2d71c92456bb0a5168bf3d8bc77eb991f4cbef6eea2c98d038be9ab2f2b576480e081099f766fe888480e91026a619a8de9d04758c26ee316ac4a09fdb5 -DIST rocSPARSE_mc2depi.tar.gz 10874561 BLAKE2B 89fd12479a76a9ec2f488aeadcf58688a2bf9dbc0e1065a7002b0a458bfa48704711ab69d1be6a25396c3c3e48ee4f6b6866984c1ff76074619898eeebb951bc SHA512 82e5bd935d5d6fb83801b5a7848bf7dc636459ba7b14b327a135c5e88528bdc47e4822927aa44c8e21316b538e5f6563024152253c5deb606dbaec77ff986594 -DIST rocSPARSE_nos1.tar.gz 3025 BLAKE2B cb0630782e996fd8717f845dfecc979abf9d59e5573c00226990a9575a9ec4b14d25197c3a0602baa5bf3e9073e14484374f28ce43108e3df680c1f62995cc77 SHA512 6eb5b65ba2230bb2468d93526990772ce7508faffe0fa5b0c5767859cd0fb0acbdc2d94dab3e5097a4a47dc4d7b0313891037d8a29720eb803cfaf26ae529495 -DIST rocSPARSE_nos2.tar.gz 10313 BLAKE2B 15e83686358285746b4d51e4d69d27bf058ea29aa448745fde76e3cb9ed6f1f8612f94739d980ff830e3610da7a9afe8ee9f6eb86e28e41bf8df74032a23ad63 SHA512 2e50b3bf99e2bedb1eabf58d0293bf9484713204340b2f68ae919d9e842a8c6e4ca917b7d61d4e171ae9e4002ced034913d83c5de6e75f16dae9079467cc424a -DIST rocSPARSE_nos3.tar.gz 34282 BLAKE2B 741257a8c0945cfacce808ad56ee5c306a6d7ea96c8c36183bd3b5b24ddef586d78bbfb5dfdb251ab8e6905842b63ebfa9c481c272d598ff195558248a566e01 SHA512 cb260dec5947765004f497249c0b46d15271e2dd69e99bc2925352d52ac75d27bb9635b1d4bb445b1d79de03aa6803a219a5c80a242fcf7ff74c7e80c0f8f59c -DIST rocSPARSE_nos4.tar.gz 1760 BLAKE2B 24b9dadfd42a6c5f1988c98ef01319d8ae20f447293ce334723f9290f76b878311df4e0ae0fe7788081f27303359392b8694e06b7dc0a64a69fac00a3168d59a SHA512 2f0c40c971d5eea986efc389fc6770f5e8099c8924c7221b1c46ab0be44641d499f20d536b313999d2b31b356568255c98cbba3b0804a00de18a95a052431e0b -DIST rocSPARSE_nos5.tar.gz 13125 BLAKE2B 3b5e7166dfae258e9b6667eaa7b172d862eb3fc755751f6f9e63e76b16b5a0b14bf2f58a59ed5513fc641eb7df7f478e1cacc45940a6a49ec87eb1007c3209c3 SHA512 6151b9de84498495f3e03d11ff26d7013b5109068474abbee6018b3fe90a5e518823a06a9cc8c62013cd61925061b45d3f5aabaa01da61286665039d8cb06655 -DIST rocSPARSE_nos6.tar.gz 7644 BLAKE2B 1690af9969bcd2eee760571874a04e36ef4dd76a8349a307c0cc4d02cbc59ed12df0646509528e3b136836230d887a8eb4e1095b7423737a3831e5680ea07e9e SHA512 22dbbb825648948fd3d2eb7a2ca8c45d6746b5b386406b1dacbeb575f1ebeeb14ff49f62e5fbdc8a784def398c319f810537991180740f6efffe4e94fdb15aef -DIST rocSPARSE_nos7.tar.gz 9639 BLAKE2B 5d63cfbe45f2f968a62cd8bcf0c25b831f485cd9dd0d95bdb248ab7b62ab67476c60ed8a4ad811f7db158a893e08a753beb3b1e7ed6f727219b985d932570eb0 SHA512 39109bbe3d0d791a0a2eeb272f2359bad34332191c53db7487a01770ac4c7ea1af2cc5e05a0ff5744f413113b7fcbe493a36cfc880436af274fe7dc6c39d6e11 -DIST rocSPARSE_rma10.tar.gz 19466055 BLAKE2B bb8ac5fe06bb6d7814864b3d43f9ddd1d2daafe55c31bdd9153cf6744d3d113fff878c4396a26d1a021bf9612c08798964c3bd9de8ea9829b202b912fb31db2e SHA512 c8ce8fc8fa7192ba2ac240439c90701080a590945dfb92bb80886f513205a0360ff8e5fd19819ad97d1eb58c3d83b57e5482e5361199cc9626e2afee8d84f4ac -DIST rocSPARSE_scircuit.tar.gz 8635362 BLAKE2B 3f1d6e35a6a774664bd653dd466fa3c07818bfdee4a2633bfcacd5936569194863753fe7ebd0e1497ecdabbc716617ca6012801242e8d733f5d5d189e8d3feb2 SHA512 4949c869c17a66f19660cbe21b61615fb468d5afb1a773f9d6fe09cbc45b4c6245b647148dbab102b45599c53acaf4ed96ab815e17e538068c927a4d25b9bd2a -DIST rocSPARSE_shipsec1.tar.gz 22175245 BLAKE2B f1d34482b8c3d3ee48033097d7d6f9b648e3c396a5ab2379efdc7de218adec519a235e2e94904f85a4f24c8d4ff15af096ca089379e00db47519023f64b85c16 SHA512 e027097e74f8ffc058339855b1c38cab52c68b661058318b429487e7188e11e907f6734894f9c71d1e38d262986525fba8d0f165bc0a1b4632d7e25be8db4f17 -DIST rocSPARSE_sme3Dc.tar.gz 42483568 BLAKE2B f0d16b58f6ea28e67727637697a812a0b10d524c73aeb82f702411b9ebaea3670780e762ed0701aae80c6829e950233f74555523ef2d6c5740b007c7a65c03d4 SHA512 c5a0be2db919a45310a73ea1dd96d0d30168135f887a8c5c3d7ca11e2c3d12ea7d1331be20968d0135bd18da4ef2b043db68eeb7567b6f0f8daf782b87083c3a -DIST rocSPARSE_webbase-1M.tar.gz 11360460 BLAKE2B 01b1d06adb5fb32fa402ed888d25a7e52a34779b078fc2e21c60e688d03579bb4ca8694f5ee4a824f7859952d55590a1fd9449dc80d6fe894d7b662b918882d4 SHA512 6401a965b8f6dd5392879956fde3c94f77fe1801a4a43428c03b6d639031575c647eab47b1babe53f4ecc2c3b8fc183e8339536b78dcd0d94ce62bfedd87c161 diff --git a/sci-libs/hipSPARSE/files/hipSPARSE-6.3.0-fix-filesystem.patch b/sci-libs/hipSPARSE/files/hipSPARSE-6.3.0-fix-filesystem.patch deleted file mode 100644 index c688f0c81c53..000000000000 --- a/sci-libs/hipSPARSE/files/hipSPARSE-6.3.0-fix-filesystem.patch +++ /dev/null @@ -1,40 +0,0 @@ -Incorrect usage of C++ filesystem for libc++ and libstdc++ -https://github.com/ROCm/hipSPARSE/issues/555 ---- a/clients/common/utility.cpp -+++ b/clients/common/utility.cpp -@@ -34,16 +34,22 @@ - #define strSUITEcmp(A, B) _stricmp(A, B) - #endif - -+#ifdef __has_include -+#if __has_include(<version>) -+#include <version> -+#endif -+#endif -+ - #ifdef __cpp_lib_filesystem - #include <filesystem> -+ -+namespace fs = std::filesystem; - #else - #include <experimental/filesystem> - --namespace std --{ -- namespace filesystem = experimental::filesystem; --} -+namespace fs = std::experimental::filesystem; - #endif -+ - #if 0 - #ifdef WIN32 - #include <windows.h> -@@ -91,7 +97,7 @@ std::string hipsparse_exepath() - result.resize(result.size() * 2); - } - -- std::filesystem::path exepath(result.begin(), result.end()); -+ fs::path exepath(result.begin(), result.end()); - exepath = exepath.remove_filename(); - exepath += exepath.empty() ? "" : "/"; - return exepath.string(); diff --git a/sci-libs/hipSPARSE/files/hipSPARSE-6.3.0-no-gtest-in-benchmark.patch b/sci-libs/hipSPARSE/files/hipSPARSE-6.3.0-no-gtest-in-benchmark.patch deleted file mode 100644 index 4555b1000d38..000000000000 --- a/sci-libs/hipSPARSE/files/hipSPARSE-6.3.0-no-gtest-in-benchmark.patch +++ /dev/null @@ -1,22 +0,0 @@ -GTest is linked/required for hipsparse-bench, but not used -https://github.com/ROCm/hipSPARSE/issues/557 ---- a/clients/benchmarks/CMakeLists.txt -+++ b/clients/benchmarks/CMakeLists.txt -@@ -21,8 +21,6 @@ - # - # ######################################################################## - --find_package(GTest REQUIRED) -- - set(HIPSPARSE_BENCHMARK_SOURCES - client.cpp - hipsparse_arguments_config.cpp -@@ -48,7 +46,7 @@ target_compile_options(hipsparse-bench PRIVATE -Wno-deprecated -Wno-unused-comma - target_include_directories(hipsparse-bench PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>) - - # Target link libraries --target_link_libraries(hipsparse-bench PRIVATE GTest::GTest roc::hipsparse) -+target_link_libraries(hipsparse-bench PRIVATE roc::hipsparse) - - # Add OpenMP if available - if(OPENMP_FOUND AND THREADS_FOUND) diff --git a/sci-libs/hipSPARSE/files/hipSPARSE-6.4.1-fix-filesystem.patch b/sci-libs/hipSPARSE/files/hipSPARSE-6.4.1-fix-filesystem.patch deleted file mode 100644 index 64dd4e6c72ca..000000000000 --- a/sci-libs/hipSPARSE/files/hipSPARSE-6.4.1-fix-filesystem.patch +++ /dev/null @@ -1,108 +0,0 @@ -Fix USE=benchmark compilation with libstdc++-15 - -Bug: https://bugs.gentoo.org/960459 -Upstream PR: https://github.com/ROCm/hipSPARSE/pull/568 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -66,11 +66,20 @@ endif( ) - # hipSPARSE project - project(hipsparse LANGUAGES CXX ${fortran_language}) - --# Build flags --set(CMAKE_CXX_STANDARD 14) -+# Set CXX flags -+if (NOT DEFINED CMAKE_CXX_STANDARD) -+ set(CMAKE_CXX_STANDARD 17) -+endif() - set(CMAKE_CXX_STANDARD_REQUIRED ON) - set(CMAKE_CXX_EXTENSIONS OFF) - -+# Set CXX standard -+if (CMAKE_CXX_STANDARD EQUAL 14) -+ message( DEPRECATION "Builds using the C++14 standard will no longer be supported in the next major release" ) -+elseif(NOT CMAKE_CXX_STANDARD EQUAL 17) -+ message(FATAL_ERROR "Only C++14 and C++17 are supported") -+endif() -+ - # Build options - option(BUILD_SHARED_LIBS "Build hipSPARSE as a shared library" ON) - option(BUILD_CLIENTS_TESTS "Build tests (requires googletest)" OFF) ---- a/clients/CMakeLists.txt -+++ b/clients/CMakeLists.txt -@@ -55,11 +55,20 @@ if(NOT TARGET hipsparse) - option(BUILD_CLIENTS_BENCHMARKS "Build benchmarks" ON) - endif() - --# Build flags --set(CMAKE_CXX_STANDARD 14) -+# Set CXX flags -+if (NOT DEFINED CMAKE_CXX_STANDARD) -+ set(CMAKE_CXX_STANDARD 17) -+endif() - set(CMAKE_CXX_STANDARD_REQUIRED ON) - set(CMAKE_CXX_EXTENSIONS OFF) - -+# Set CXX standard -+if (CMAKE_CXX_STANDARD EQUAL 14) -+ message( DEPRECATION "Builds using the C++14 standard will no longer be supported in the next major release" ) -+elseif(NOT CMAKE_CXX_STANDARD EQUAL 17) -+ message(FATAL_ERROR "Only C++14 and C++17 are supported") -+endif() -+ - # If OpenMP is available, we can use it to speed up some tests - find_package(OpenMP QUIET) - find_package(Threads QUIET) ---- a/clients/common/utility.cpp -+++ b/clients/common/utility.cpp -@@ -36,40 +36,10 @@ - - #ifdef __cpp_lib_filesystem - #include <filesystem> -+namespace fs = std::filesystem; - #else - #include <experimental/filesystem> -- --namespace std --{ -- namespace filesystem = experimental::filesystem; --} --#endif --#if 0 --#ifdef WIN32 --#include <windows.h> --#endif -- --#include "utility.hpp" -- --#include <hip/hip_runtime_api.h> --#include <hipsparse.h> --#include <stdio.h> --// #include <sys/time.h> --#include <chrono> --//#define _USE_MATH_DEFINES --#include <cmath> --#include <cstdlib> -- --#ifdef __cpp_lib_filesystem --#include <filesystem> --#else --#include <experimental/filesystem> -- --namespace std --{ -- namespace filesystem = experimental::filesystem; --} --#endif -+namespace fs = std::experimental::filesystem; - #endif - - /* ============================================================================================ */ -@@ -91,7 +61,7 @@ std::string hipsparse_exepath() - result.resize(result.size() * 2); - } - -- std::filesystem::path exepath(result.begin(), result.end()); -+ fs::path exepath(result.begin(), result.end()); - exepath = exepath.remove_filename(); - exepath += exepath.empty() ? "" : "/"; - return exepath.string(); diff --git a/sci-libs/hipSPARSE/hipSPARSE-6.3.3.ebuild b/sci-libs/hipSPARSE/hipSPARSE-6.3.3.ebuild deleted file mode 100644 index 40ea76c8faa0..000000000000 --- a/sci-libs/hipSPARSE/hipSPARSE-6.3.3.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm toolchain-funcs - -DESCRIPTION="ROCm SPARSE marshalling library" -HOMEPAGE="https://github.com/ROCm/hipSPARSE" -# share some test datasets with rocSPARSE -SRC_URI="https://github.com/ROCm/hipSPARSE/archive/rocm-${PV}.tar.gz -> hipSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> rocSPARSE_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> rocSPARSE_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> rocSPARSE_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> rocSPARSE_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> rocSPARSE_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> rocSPARSE_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> rocSPARSE_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> rocSPARSE_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> rocSPARSE_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> rocSPARSE_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> rocSPARSE_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> rocSPARSE_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> rocSPARSE_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> rocSPARSE_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> rocSPARSE_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> rocSPARSE_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> rocSPARSE_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> rocSPARSE_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> rocSPARSE_shipsec1.tar.gz -)" -S="${WORKDIR}/hipSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0"/$(ver_cut 1-2) -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/rocminfo:${SLOT} - dev-util/hip:${SLOT} - sci-libs/rocSPARSE:${SLOT}[${ROCM_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/rocm-cmake - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}/${PN}-6.3.0-fix-filesystem.patch" - "${FILESDIR}/${PN}-6.3.0-no-gtest-in-benchmark.patch" -) - -src_prepare() { - # include <filesystem> issue - https://github.com/ROCm/hipSPARSE/issues/555 - sed -e "s/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/" -i CMakeLists.txt clients/CMakeLists.txt || die - - cmake_src_prepare - - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2bin converter. Do not use any optimization flags! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").bin - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - # Note: hipcc is enforced; clang fails when libc++ is enabled - # with an error similar to https://github.com/boostorg/config/issues/392 - rocm_use_hipcc - - local mycmakeargs=( - -DHIP_RUNTIME="ROCclr" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - edob ./${PN,,}-test -} diff --git a/sci-libs/hipSPARSE/hipSPARSE-6.4.3.ebuild b/sci-libs/hipSPARSE/hipSPARSE-6.4.3.ebuild deleted file mode 100644 index f98dd3454da8..000000000000 --- a/sci-libs/hipSPARSE/hipSPARSE-6.4.3.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm toolchain-funcs - -DESCRIPTION="ROCm SPARSE marshalling library" -HOMEPAGE="https://github.com/ROCm/hipSPARSE" -# share some test datasets with rocSPARSE -SRC_URI="https://github.com/ROCm/hipSPARSE/archive/rocm-${PV}.tar.gz -> hipSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> rocSPARSE_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> rocSPARSE_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> rocSPARSE_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> rocSPARSE_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> rocSPARSE_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> rocSPARSE_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> rocSPARSE_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> rocSPARSE_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> rocSPARSE_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> rocSPARSE_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> rocSPARSE_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> rocSPARSE_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> rocSPARSE_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> rocSPARSE_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> rocSPARSE_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> rocSPARSE_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> rocSPARSE_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> rocSPARSE_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> rocSPARSE_shipsec1.tar.gz -)" -S="${WORKDIR}/hipSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0"/$(ver_cut 1-2) -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -# It seems that the tests heavily abuse out-of-bounds array access, causing failures with hardened libc++ -RESTRICT="test" - -RDEPEND=" - dev-util/rocminfo:${SLOT} - dev-util/hip:${SLOT} - sci-libs/rocSPARSE:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/rocm-cmake - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}/${PN}-6.4.1-fix-filesystem.patch" -) - -src_prepare() { - # too many warnings from -Wall (applied after user CXXFLAGS) - sed -e "s/-Wall/-Wall -Wno-unused-value/g" \ - -i clients/benchmarks/CMakeLists.txt \ - -i library/CMakeLists.txt \ - -i clients/tests/CMakeLists.txt || die - - cmake_src_prepare - - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2bin converter. Do not use any optimization flags! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").bin - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - # Note: hipcc is enforced; clang fails when libc++ is enabled - # with an error similar to https://github.com/boostorg/config/issues/392 - rocm_use_hipcc - - local mycmakeargs=( - -DHIP_RUNTIME="ROCclr" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - edob ./hipsparse-test -} diff --git a/sci-libs/hipSPARSE/hipSPARSE-7.0.2.ebuild b/sci-libs/hipSPARSE/hipSPARSE-7.0.2.ebuild deleted file mode 100644 index 6f60285d0a59..000000000000 --- a/sci-libs/hipSPARSE/hipSPARSE-7.0.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm toolchain-funcs - -DESCRIPTION="ROCm SPARSE marshalling library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsparse" -# share some test datasets with rocSPARSE -SRC_URI="https://github.com/ROCm/hipSPARSE/archive/rocm-${PV}.tar.gz -> hipSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> rocSPARSE_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> rocSPARSE_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> rocSPARSE_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> rocSPARSE_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> rocSPARSE_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> rocSPARSE_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> rocSPARSE_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> rocSPARSE_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> rocSPARSE_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> rocSPARSE_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> rocSPARSE_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> rocSPARSE_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> rocSPARSE_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> rocSPARSE_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> rocSPARSE_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> rocSPARSE_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> rocSPARSE_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> rocSPARSE_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> rocSPARSE_shipsec1.tar.gz -)" -S="${WORKDIR}/hipSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0"/$(ver_cut 1-2) -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -# It seems that the tests heavily abuse out-of-bounds array access, causing failures with hardened libc++ -RESTRICT="test" - -RDEPEND=" - dev-util/rocminfo:${SLOT} - dev-util/hip:${SLOT} - sci-libs/rocSPARSE:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/rocm-cmake - test? ( dev-cpp/gtest ) -" - -src_prepare() { - # too many warnings from -Wall (applied after user CXXFLAGS) - sed -e "s/-Wall/-Wall -Wno-unused-value/g" \ - -i clients/benchmarks/CMakeLists.txt \ - -i library/CMakeLists.txt \ - -i clients/tests/CMakeLists.txt || die - - cmake_src_prepare - - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2bin converter. Do not use any optimization flags! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").bin - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DHIP_RUNTIME="ROCclr" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - edob ./hipsparse-test -} diff --git a/sci-libs/hipSPARSE/hipSPARSE-7.1.0.ebuild b/sci-libs/hipSPARSE/hipSPARSE-7.1.0.ebuild deleted file mode 100644 index 6f60285d0a59..000000000000 --- a/sci-libs/hipSPARSE/hipSPARSE-7.1.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm toolchain-funcs - -DESCRIPTION="ROCm SPARSE marshalling library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsparse" -# share some test datasets with rocSPARSE -SRC_URI="https://github.com/ROCm/hipSPARSE/archive/rocm-${PV}.tar.gz -> hipSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> rocSPARSE_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> rocSPARSE_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> rocSPARSE_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> rocSPARSE_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> rocSPARSE_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> rocSPARSE_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> rocSPARSE_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> rocSPARSE_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> rocSPARSE_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> rocSPARSE_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> rocSPARSE_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> rocSPARSE_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> rocSPARSE_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> rocSPARSE_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> rocSPARSE_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> rocSPARSE_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> rocSPARSE_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> rocSPARSE_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> rocSPARSE_shipsec1.tar.gz -)" -S="${WORKDIR}/hipSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0"/$(ver_cut 1-2) -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -# It seems that the tests heavily abuse out-of-bounds array access, causing failures with hardened libc++ -RESTRICT="test" - -RDEPEND=" - dev-util/rocminfo:${SLOT} - dev-util/hip:${SLOT} - sci-libs/rocSPARSE:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/rocm-cmake - test? ( dev-cpp/gtest ) -" - -src_prepare() { - # too many warnings from -Wall (applied after user CXXFLAGS) - sed -e "s/-Wall/-Wall -Wno-unused-value/g" \ - -i clients/benchmarks/CMakeLists.txt \ - -i library/CMakeLists.txt \ - -i clients/tests/CMakeLists.txt || die - - cmake_src_prepare - - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2bin converter. Do not use any optimization flags! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").bin - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DHIP_RUNTIME="ROCclr" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - edob ./hipsparse-test -} diff --git a/sci-libs/hipSPARSE/hipSPARSE-7.2.0.ebuild b/sci-libs/hipSPARSE/hipSPARSE-7.2.0.ebuild deleted file mode 100644 index bf11e098ff45..000000000000 --- a/sci-libs/hipSPARSE/hipSPARSE-7.2.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm toolchain-funcs - -DESCRIPTION="ROCm SPARSE marshalling library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsparse" -# share some test datasets with rocSPARSE -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipsparse.tar.gz -> hipsparse-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> rocSPARSE_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> rocSPARSE_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> rocSPARSE_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> rocSPARSE_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> rocSPARSE_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> rocSPARSE_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> rocSPARSE_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> rocSPARSE_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> rocSPARSE_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> rocSPARSE_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> rocSPARSE_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> rocSPARSE_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> rocSPARSE_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> rocSPARSE_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> rocSPARSE_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> rocSPARSE_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> rocSPARSE_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> rocSPARSE_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> rocSPARSE_shipsec1.tar.gz -)" -S="${WORKDIR}/hipsparse" - -LICENSE="MIT" -SLOT="0"/$(ver_cut 1-2) -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -# It seems that the tests heavily abuse out-of-bounds array access, causing failures with hardened libc++ -RESTRICT="test" - -RDEPEND=" - dev-util/rocminfo:${SLOT} - dev-util/hip:${SLOT} - sci-libs/rocSPARSE:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/rocm-cmake - test? ( dev-cpp/gtest ) -" - -src_prepare() { - # too many warnings from -Wall (applied after user CXXFLAGS) - sed -e "s/-Wall/-Wall -Wno-unused-value/g" \ - -i clients/benchmarks/CMakeLists.txt \ - -i library/CMakeLists.txt \ - -i clients/tests/CMakeLists.txt || die - - cmake_src_prepare - - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2bin converter. Do not use any optimization flags! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").bin - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DHIP_RUNTIME="ROCclr" - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - edob ./hipsparse-test -} diff --git a/sci-libs/hipSPARSE/metadata.xml b/sci-libs/hipSPARSE/metadata.xml deleted file mode 100644 index 3c6bb72629e2..000000000000 --- a/sci-libs/hipSPARSE/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install hipsparse-bench</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/hipsparselt/Manifest b/sci-libs/hipsparselt/Manifest deleted file mode 100644 index 9b55321634a3..000000000000 --- a/sci-libs/hipsparselt/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST hipblaslt-7.2.0.tar.gz 429012541 BLAKE2B 40476fddfc021fbed97e755d884229e1f7a79f9f53d615e8f582bfe702a2f71f02fa490aad636b17ac71ed9bf0deb8ab21742ca4599f8c0859fea0ef50c756b4 SHA512 1866113e64b5ad3c5a31531b295413c4d03ffec6adc70b588590d77ee48713792a7d592fcee026193eb3fa6d43f09c573d54c475025b2f16e2b46787be448aaa -DIST hipsparselt-7.2.0.tar.gz 6972883 BLAKE2B 13d2ae6a3b6a100ebfcf6662ce7ef9d2411ed4462399edceb37771abab20da3580bde0acd25572d0d257e82489062842a0439b66d9310dd82dd24a0b1c227a16 SHA512 39009eead7b21f968726339be7df3c7f5e67de683364ed023b080191314e1a030f8f621263d292b6d49f4a44a3299ac3afb4e6cb441cffeaeaebd399fad3f0f6 -DIST origami-7.2.0.tar.gz 52203 BLAKE2B ea6c5ce23102280bd70003e541748d0c7b73c2179484c1eb182e5a3946f4dfe998a87e312d200209299dd1d2dfba42eed390fc31c37d6e9a8b06fecca84f1ff8 SHA512 ed6326f1ef8eec00e11109a392ec72ca2d28b8106b0ebf08f150a76937974b7b33f4e972799400c34a68a528935ea6234366d2d063079fad7bdb8852d13afe26 diff --git a/sci-libs/hipsparselt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch b/sci-libs/hipsparselt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch deleted file mode 100644 index e08158786a8a..000000000000 --- a/sci-libs/hipsparselt/files/hipBLASLt-7.1.0-rocisa-nanobind.patch +++ /dev/null @@ -1,19 +0,0 @@ -Use system nanobind ---- a/tensilelite/rocisa/CMakeLists.txt 2025-11-09 09:49:11.051195769 -0000 -+++ b/tensilelite/rocisa/CMakeLists.txt 2025-11-09 09:50:56.393579853 -0000 -@@ -17,14 +17,7 @@ - ) - - if(HIPBLASLT_BUNDLE_PYTHON_DEPS) -- include(FetchContent) -- FetchContent_Declare( -- nanobind -- GIT_REPOSITORY https://github.com/wjakob/nanobind.git -- GIT_TAG 9b3afa9dbdc23641daf26fadef7743e7127ff92f # v2.6.1 -- ) -- FetchContent_MakeAvailable(nanobind) -- -+ find_package(nanobind CONFIG REQUIRED) - set(ROCISAINST_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/instruction.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/common.cpp" - "${CMAKE_CURRENT_SOURCE_DIR}/rocisa/src/instruction/branch.cpp" diff --git a/sci-libs/hipsparselt/hipsparselt-7.2.0.ebuild b/sci-libs/hipsparselt/hipsparselt-7.2.0.ebuild deleted file mode 100644 index 372bc293fd95..000000000000 --- a/sci-libs/hipsparselt/hipsparselt-7.2.0.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 -PYTHON_COMPAT=( python3_{13..14} ) - -LLVM_COMPAT=( 22 ) - -inherit cmake flag-o-matic multiprocessing llvm-r2 python-any-r1 rocm -DESCRIPTION="Sparse GEMM operations library for AMD Instinct accelerators" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hipsparselt" -SRC_URI=" - https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipsparselt.tar.gz -> hipsparselt-${PV}.tar.gz - https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/origami.tar.gz -> origami-${PV}.tar.gz - https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/hipblaslt.tar.gz -> hipblaslt-${PV}.tar.gz -" - -S="${WORKDIR}/hipsparselt" -ORIGAMI_S="${WORKDIR}/origami" -HIPBLASLT_S="${WORKDIR}/hipblaslt" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# From hipsparselt_supported_architectures.cmake -SUPPORTED_GPUS=( gfx942 gfx950 ) -IUSE_TARGETS=( "${SUPPORTED_GPUS[@]/#/amdgpu_targets_}" ) -IUSE="${IUSE_TARGETS[*]/#/+} benchmark roctracer test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - roctracer? ( dev-util/roctracer:${SLOT} ) - benchmark? ( sci-libs/flexiblas ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/msgpack-cxx - dev-libs/rocm-comgr:${SLOT} - dev-libs/rocr-runtime:${SLOT} - sci-libs/hipSPARSE:${SLOT} - dev-util/rocm-smi:${SLOT} - llvm-runtimes/openmp -" - -BDEPEND=" - ${PYTHON_DEPS} - dev-build/rocm-cmake:${SLOT} - dev-util/hipcc:${SLOT} - $(python_gen_any_dep " - dev-python/msgpack[\${PYTHON_USEDEP}] - dev-python/pyyaml[\${PYTHON_USEDEP}] - dev-python/joblib[\${PYTHON_USEDEP}] - dev-python/nanobind[\${PYTHON_USEDEP}] - dev-python/setuptools[\${PYTHON_USEDEP}] - ") - $(llvm_gen_dep "llvm-core/clang:\${LLVM_SLOT}") - test? ( - dev-cpp/gtest - sci-libs/flexiblas - ) -" - -python_check_deps() { - python_has_version "dev-python/msgpack[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" && - python_has_version "dev-python/joblib[${PYTHON_USEDEP}]" && - python_has_version "dev-python/nanobind[${PYTHON_USEDEP}]" && - python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" -} - -pkg_setup() { - QA_FLAGS_IGNORED="usr/$(get_libdir)/hipsparselt/library/.*" - python-any-r1_pkg_setup -} - -pkg_pretend() { - if [[ "${AMDGPU_TARGETS[*]}" = "" ]]; then - ewarn "hipSPARSELt supports only some GPUs: ${SUPPORTED_GPUS[*]}," - ewarn "but none of them were defined in AMDGPU_TARGETS USE_EXPAND variable." - ewarn - ewarn "Library will continue to be built in \"dummy\" mode," - ewarn "serving as a non-functional placeholder for end-user applications." - fi -} - -src_prepare() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - # Do not install tests - sed -e 's/COMPONENT "tests"/COMPONENT "tests" EXCLUDE_FROM_ALL/' \ - -i CMakeLists.txt || die - - pushd "${HIPBLASLT_S}" || die - eapply "${FILESDIR}"/hipBLASLt-7.1.0-rocisa-nanobind.patch - - sed -e 's:../../shared/origami:../origami:' -i CMakeLists.txt || die - - local shebangs=($(grep -rl "#!/usr/bin/env python3" tensilelite/Tensile || die)) - python_fix_shebang -q "${shebangs[@]}" - - # Fix compiler validation (just a validation) - sed -e "s/amdclang/$(basename "$CC")/g" \ - -i tensilelite/Tensile/Toolchain/Validators.py || die - sed -e "s:\$(ROCM_PATH)/bin/amdclang++:$(get_llvm_prefix)/bin/clang++:g" \ - -i tensilelite/Makefile || die - popd || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - # Tensile guesses weirdly how to compile things, ld.bfd won't work, so force lld - append-cxxflags -DCMAKE_CXX_FLAGS="-fuse-ld=lld" - - local targets="$(get_amdgpu_flags)" - local HIPSPARSELT_ENABLE_DEVICE=$([ "${AMDGPU_TARGETS[*]}" != "" ] && echo ON || echo OFF ) - - # targets has a trailing semicolon, this trips up Tensile's input parser, so carefully prune - local mycmakeargs=( - -DGPU_TARGETS="${targets::-1}" - -DHIPSPARSELT_ENABLE_SAMPLES=OFF - -DHIPSPARSELT_ENABLE_DEVICE=${HIPSPARSELT_ENABLE_DEVICE} - -DHIPSPARSELT_BUILD_TESTING="$(usex test ON OFF)" - -DHIPSPARSELT_ENABLE_BENCHMARKS="$(usex benchmark ON OFF)" - - -DHIPSPARSELT_ENABLE_MARKER="$(usex roctracer ON OFF)" - -Dnanobind_DIR="$(python_get_sitedir)/nanobind/cmake" - -DPython_EXECUTABLE="${PYTHON}" - -DROCM_SYMLINK_LIBS=OFF - -Wno-dev - ) - - if [[ "${AMDGPU_TARGETS[*]}" != "" ]]; then - mycmakeargs+=( - -DTENSILELITE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs) - ) - fi - - if use test || use benchmark; then - mycmakeargs+=( - -DHIPSPARSELT_ENABLE_CLIENT=ON - -DBLA_VENDOR=FlexiBLAS - ) - else - mycmakeargs+=( - -DHIPSPARSELT_ENABLE_CLIENT=OFF - ) - fi - - cmake_src_configure -} - -src_compile() { - local -x ROCM_PATH="${EPREFIX}/usr" - # set PYTHONPATH to load Tensile from virtualenv, not the system-wide one - local -x PYTHONPATH="${S}_build/virtualenv/lib/${EPYTHON}/site-packages" - local -x TENSILE_ROCM_ASSEMBLER_PATH="$(get_llvm_prefix)/bin/clang++" - # TensileCreateLibrary reads CMAKE_CXX_COMPILER again - local -x CMAKE_CXX_COMPILER="$(get_llvm_prefix)/bin/clang++" - cmake_src_compile -} - -src_install() { - cmake_src_install - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x /usr/$(get_libdir)/hipsparselt/library/ -} - -src_test() { - check_amdgpu - # Non-instinct GPUs: tests just succeed without testing anything - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/hipsparselt/metadata.xml b/sci-libs/hipsparselt/metadata.xml deleted file mode 100644 index 99d611403637..000000000000 --- a/sci-libs/hipsparselt/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/hipBLASLt</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install rocblas-bench</flag> - <flag name="roctracer">Enable roctracer (roctx) marker</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/htslib/Manifest b/sci-libs/htslib/Manifest deleted file mode 100644 index 88d350d1cb5f..000000000000 --- a/sci-libs/htslib/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST htslib-1.20.tar.bz2 4779028 BLAKE2B def7a135f37a4c7a167ada554b92b0e0107ab3dcbdab69abdea387035159f40fb183477275c137b0d786fdfc7264303898f98c54acb1714f9b7cb21e22612143 SHA512 a156f5c895fdae77f976f463a2d4d1111dc056893ef45b7e9cf62e9115898bc8cb47465bb1779e534c26943df478892385d44646e97bd0fa67fceb83ef7a649b -DIST htslib-1.21.tar.bz2 4781943 BLAKE2B 7bbf62021a48503922a459ee18280d1e4af03247f31ef7de204f26a9f5526e8f49253301d6546149985bec93ca262ab8668e73f6b4b6f3c84e70665a66cb59bb SHA512 4989d9fd3702893d2b275e6de593a2109a0ebd10c0329ddca82cd3d53893a93197b9ca9f3756c480c88dc345e14527b1a540810089a480d839814e018a736bee -DIST htslib-1.22.1.tar.bz2 4840271 BLAKE2B 6d4f5726f23a0d0c4c8b34055ec22610e3ffb647449cb0066487866a6c5f50282ee4cf9c3681e57fab58f712dd13f16094a3b10f35c32c9919a200fe036c1f3e SHA512 f4d67ad6b32df270f25c9dcdab334c9a0fde4cc266bb2c45191728ee10a648c70589666943c9d7a7cc647406b540c84de9f3eb3c11c8f16d416f25f3387cd147 -DIST htslib-1.22.tar.bz2 4830206 BLAKE2B d37cad1d2c1d764fb98af7aae6f3b40c6e0458b1a89d3430dc28e9084497f949d7eca632fda45ef12655488fbeffefdce6975b3dced935703981acc4f0a902e7 SHA512 6721a398c285cdb14d879c00f13da425c1d84f75e8a3a5fb04db4f3f875b60122317651d54634c62f302b397026c98c2b4e190c1ae3ebcc2f0ecde8307223375 -DIST htslib-1.23.tar.bz2 4901098 BLAKE2B 764d4e8e82bf994acfe2d84aa2299c1bc72d6c65f04aa83282938f3fadca85fba558f3de27afca27621f929f7fa5c214b3e2fe9a5fc10f1b65ed76fff9fac793 SHA512 e35a8d614ed2ab8d7ffe0cecf99e66b97ac9f183fb3fe995c566a9c235d9a244a419abd7b50522e4306d1910fe6d80e19cdb9506b18bce3191b3720a34b023c1 diff --git a/sci-libs/htslib/htslib-1.20.ebuild b/sci-libs/htslib/htslib-1.20.ebuild deleted file mode 100644 index 43627c7821af..000000000000 --- a/sci-libs/htslib/htslib-1.20.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C library for high-throughput sequencing data formats" -HOMEPAGE="http://www.htslib.org/" -SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0/3" -KEYWORDS="amd64 ~x86" -IUSE="+bzip2 curl +lzma" - -RDEPEND=" - virtual/zlib:= - bzip2? ( app-arch/bzip2 ) - curl? ( net-misc/curl ) - lzma? ( app-arch/xz-utils )" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - # upstream injects LDFLAGS into the .pc file, - # which is a big nono for QA - sed -e '/^\(static_l\|Libs.private\|Requires.private\)/d' \ - -i htslib.pc.in || die -} - -src_configure() { - econf \ - --disable-gcs \ - --disable-plugins \ - --disable-s3 \ - $(use_enable bzip2 bz2) \ - $(use_enable curl libcurl) \ - $(use_enable lzma) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - default - - # doesn't use libtool, can't disable static libraries - find "${ED}" -name '*.a' -delete || die -} diff --git a/sci-libs/htslib/htslib-1.21.ebuild b/sci-libs/htslib/htslib-1.21.ebuild deleted file mode 100644 index 42242497987e..000000000000 --- a/sci-libs/htslib/htslib-1.21.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C library for high-throughput sequencing data formats" -HOMEPAGE="http://www.htslib.org/" -SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0/3" -KEYWORDS="~amd64 ~x86" -IUSE="+bzip2 curl +lzma" - -RDEPEND=" - virtual/zlib:= - bzip2? ( app-arch/bzip2 ) - curl? ( net-misc/curl ) - lzma? ( app-arch/xz-utils )" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - # upstream injects LDFLAGS into the .pc file, - # which is a big nono for QA - sed -e '/^\(static_l\|Libs.private\|Requires.private\)/d' \ - -i htslib.pc.in || die -} - -src_configure() { - econf \ - --disable-gcs \ - --disable-plugins \ - --disable-s3 \ - $(use_enable bzip2 bz2) \ - $(use_enable curl libcurl) \ - $(use_enable lzma) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - default - - # doesn't use libtool, can't disable static libraries - find "${ED}" -name '*.a' -delete || die -} diff --git a/sci-libs/htslib/htslib-1.22.1.ebuild b/sci-libs/htslib/htslib-1.22.1.ebuild deleted file mode 100644 index 158a4e8e7a45..000000000000 --- a/sci-libs/htslib/htslib-1.22.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C library for high-throughput sequencing data formats" -HOMEPAGE="http://www.htslib.org/" -SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0/3" -KEYWORDS="~amd64 ~x86" -IUSE="+bzip2 curl +lzma" - -RDEPEND=" - virtual/zlib:= - bzip2? ( app-arch/bzip2 ) - curl? ( net-misc/curl ) - lzma? ( app-arch/xz-utils )" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - # upstream injects LDFLAGS into the .pc file, - # which is a big nono for QA - sed -e '/^\(static_l\|Libs.private\|Requires.private\)/d' \ - -i htslib.pc.in || die -} - -src_configure() { - econf \ - --disable-gcs \ - --disable-plugins \ - --disable-ref-cache \ - --disable-s3 \ - $(use_enable bzip2 bz2) \ - $(use_enable curl libcurl) \ - $(use_enable lzma) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - default - - # doesn't use libtool, can't disable static libraries - find "${ED}" -name '*.a' -delete || die -} diff --git a/sci-libs/htslib/htslib-1.22.ebuild b/sci-libs/htslib/htslib-1.22.ebuild deleted file mode 100644 index 158a4e8e7a45..000000000000 --- a/sci-libs/htslib/htslib-1.22.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C library for high-throughput sequencing data formats" -HOMEPAGE="http://www.htslib.org/" -SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0/3" -KEYWORDS="~amd64 ~x86" -IUSE="+bzip2 curl +lzma" - -RDEPEND=" - virtual/zlib:= - bzip2? ( app-arch/bzip2 ) - curl? ( net-misc/curl ) - lzma? ( app-arch/xz-utils )" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - # upstream injects LDFLAGS into the .pc file, - # which is a big nono for QA - sed -e '/^\(static_l\|Libs.private\|Requires.private\)/d' \ - -i htslib.pc.in || die -} - -src_configure() { - econf \ - --disable-gcs \ - --disable-plugins \ - --disable-ref-cache \ - --disable-s3 \ - $(use_enable bzip2 bz2) \ - $(use_enable curl libcurl) \ - $(use_enable lzma) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - default - - # doesn't use libtool, can't disable static libraries - find "${ED}" -name '*.a' -delete || die -} diff --git a/sci-libs/htslib/htslib-1.23.ebuild b/sci-libs/htslib/htslib-1.23.ebuild deleted file mode 100644 index 1c291ed7693b..000000000000 --- a/sci-libs/htslib/htslib-1.23.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C library for high-throughput sequencing data formats" -HOMEPAGE="http://www.htslib.org/" -SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0/3" -KEYWORDS="~amd64 ~x86" -IUSE="+bzip2 curl +lzma" - -RDEPEND=" - virtual/zlib:= - bzip2? ( app-arch/bzip2 ) - curl? ( net-misc/curl ) - lzma? ( app-arch/xz-utils )" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - # upstream injects LDFLAGS into the .pc file, - # which is a big nono for QA - sed -e '/^\(static_l\|Libs.private\|Requires.private\)/d' \ - -i htslib.pc.in || die -} - -src_configure() { - econf \ - --disable-gcs \ - --disable-plugins \ - --disable-ref-cache \ - --disable-s3 \ - $(use_enable bzip2 bz2) \ - $(use_enable curl libcurl) \ - $(use_enable lzma) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - default - - # doesn't use libtool, can't disable static libraries - find "${ED}" -name '*.a' -delete || die -} diff --git a/sci-libs/htslib/metadata.xml b/sci-libs/htslib/metadata.xml deleted file mode 100644 index 1950263f31e1..000000000000 --- a/sci-libs/htslib/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> - <upstream> - <remote-id type="github">samtools/htslib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/hypre/Manifest b/sci-libs/hypre/Manifest deleted file mode 100644 index f7b6775d9b5d..000000000000 --- a/sci-libs/hypre/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST hypre-2.32.0.tar.gz 7512442 BLAKE2B da31dfaa3ccfb263c8d81932d34dc906e1821c1ec61d9c70109bd2a3dfeb79bc3561669fd438262c574db7e01039f7eee9afc8c45f2193903f142b42becb87e6 SHA512 c1b09a31781ce4e1a411c486424cf7a4df1275d53445ed83d0e4e210dcc87e9c09e17e26cc5ee736aebbd70618674cd3b7dba6736f8e725ba1c3d981869ada24 -DIST hypre-2.33.0.tar.gz 7514919 BLAKE2B abb73c2a3c1f47224f5692f8fa29b050e5e58fc899f184a771bff11118f9a417c214dfaf6669b4cb95cce26c2395baf535cd20f8bd461a177c11718862094ce1 SHA512 ecbb5f5c62f920a472ca58d1b64dcc3bd86be9347153f778e6f8578b10e22047c1a3d998c5a311fa4740bdebeab04bffbfae4a3a5ae94e931f65830c11a0cb24 -DIST hypre-3.1.0.tar.gz 8047241 BLAKE2B c9d7d697f924699e05dd1ebd4b18a674447306cb7a7399fd5a7ef8bfea3bbb9cab6f383add19d7af71b80f170d5cdc397f133637bff919c6571b95b325e1ed5f SHA512 4c847c6cc90f832e9a9a997f5669a1cfcd6cc736c9a7047248b8b471688172f86ae80006f0f9349eb78ca580784fac0b789d35a94a5a195d58340bb25ad27a86 diff --git a/sci-libs/hypre/hypre-2.32.0.ebuild b/sci-libs/hypre/hypre-2.32.0.ebuild deleted file mode 100644 index 89ba612306a1..000000000000 --- a/sci-libs/hypre/hypre-2.32.0.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs flag-o-matic - -DESCRIPTION="Parallel matrix preconditioners library" -HOMEPAGE="https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods" -SRC_URI="https://github.com/hypre-space/hypre/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="debug examples fortran int64 openmp mpi" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - sci-libs/superlu:= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi ) -" -DEPEND="${RDEPEND}" - -DOCS=( CHANGELOG COPYRIGHT README ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - default - - # link with system superlu and propagate LDFLAGS - sed -e "s:@LIBS@:@LIBS@ $($(tc-getPKG_CONFIG) --libs superlu):" \ - -e 's:_SHARED@:_SHARED@ $(LDFLAGS):g' \ - -i src/config/Makefile.config.in || die - - sed -e '/HYPRE_ARCH/s: = :=:g' \ - -i src/configure || die - - # link with system blas and lapack - sed -e '/^BLASFILES/d' \ - -e '/^LAPACKFILES/d' \ - -i src/lib/Makefile || die -} - -src_configure() { - tc-export CC CXX - append-flags -Dhypre_dgesvd=dgesvd_ - - if use openmp ; then - append-flags -fopenmp - append-ldflags -fopenmp - fi - - if use mpi ; then - CC=mpicc - FC=mpif77 - CXX=mpicxx - fi - - cd src || die - - # without-superlu: means do not use bundled one - econf \ - --enable-shared \ - --with-blas-libs="$($(tc-getPKG_CONFIG) --libs-only-l blas | sed -e 's/-l//g')" \ - --with-blas-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L blas | sed -e 's/-L//g')" \ - --with-lapack-libs="$($(tc-getPKG_CONFIG) --libs-only-l lapack | sed -e 's/-l//g')" \ - --with-lapack-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L lapack | sed -e 's/-L//g')" \ - --with-timing \ - --without-superlu \ - $(use_enable debug) \ - $(use_enable openmp hopscotch) \ - $(use_enable int64 bigint) \ - $(use_enable fortran) \ - $(use_with openmp) \ - $(use_with mpi MPI) -} - -src_compile() { - emake -C src -} - -src_test() { - LD_LIBRARY_PATH="${S}/src/lib:${LD_LIBRARY_PATH}" \ - PATH="${S}/src/test:${PATH}" \ - emake -C src check -} - -src_install() { - emake -C src install \ - HYPRE_INSTALL_DIR="${ED}" \ - HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \ - HYPRE_INC_INSTALL="${ED}/usr/include/hypre" - - if use examples; then - dodoc -r src/examples - fi -} diff --git a/sci-libs/hypre/hypre-2.33.0.ebuild b/sci-libs/hypre/hypre-2.33.0.ebuild deleted file mode 100644 index 4a2d0f0ed0f3..000000000000 --- a/sci-libs/hypre/hypre-2.33.0.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs flag-o-matic - -DESCRIPTION="Parallel matrix preconditioners library" -HOMEPAGE="https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods" -SRC_URI="https://github.com/hypre-space/hypre/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="debug examples fortran int64 openmp mpi" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - sci-libs/superlu:= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi ) -" -DEPEND="${RDEPEND}" - -DOCS=( CHANGELOG COPYRIGHT README ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - default - - # link with system superlu and propagate LDFLAGS - sed -e "s:@LIBS@:@LIBS@ $($(tc-getPKG_CONFIG) --libs superlu):" \ - -e 's:_SHARED@:_SHARED@ $(LDFLAGS):g' \ - -i src/config/Makefile.config.in || die - - sed -e '/HYPRE_ARCH/s: = :=:g' \ - -i src/configure || die - - # link with system blas and lapack - sed -e '/^BLASFILES/d' \ - -e '/^LAPACKFILES/d' \ - -i src/lib/Makefile || die -} - -src_configure() { - tc-export CC CXX - append-flags -Dhypre_dgesvd=dgesvd_ - - if use openmp ; then - append-flags -fopenmp - append-ldflags -fopenmp - fi - - if use mpi ; then - CC=mpicc - FC=mpif77 - CXX=mpicxx - fi - - cd src || die - - # without-superlu: means do not use bundled one - econf \ - --enable-shared \ - --with-blas-libs="$($(tc-getPKG_CONFIG) --libs-only-l blas | sed -e 's/-l//g')" \ - --with-blas-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L blas | sed -e 's/-L//g')" \ - --with-lapack-libs="$($(tc-getPKG_CONFIG) --libs-only-l lapack | sed -e 's/-l//g')" \ - --with-lapack-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L lapack | sed -e 's/-L//g')" \ - --with-timing \ - --without-superlu \ - $(use_enable debug) \ - $(use_enable openmp hopscotch) \ - $(use_enable int64 bigint) \ - $(use_enable fortran) \ - $(use_with openmp) \ - $(use_with mpi MPI) -} - -src_compile() { - emake -C src -} - -src_test() { - LD_LIBRARY_PATH="${S}/src/lib:${LD_LIBRARY_PATH}" \ - PATH="${S}/src/test:${PATH}" \ - emake -C src check -} - -src_install() { - emake -C src install \ - HYPRE_INSTALL_DIR="${ED}" \ - HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \ - HYPRE_INC_INSTALL="${ED}/usr/include/hypre" - - if use examples; then - dodoc -r src/examples - fi -} diff --git a/sci-libs/hypre/hypre-3.1.0.ebuild b/sci-libs/hypre/hypre-3.1.0.ebuild deleted file mode 100644 index b366cfea449e..000000000000 --- a/sci-libs/hypre/hypre-3.1.0.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs flag-o-matic - -DESCRIPTION="Parallel matrix preconditioners library" -HOMEPAGE="https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods" -SRC_URI="https://github.com/hypre-space/hypre/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="debug examples fortran int64 openmp mpi" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - sci-libs/superlu:= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi ) -" -DEPEND="${RDEPEND}" - -DOCS=( CHANGELOG COPYRIGHT README ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - default - - # link with system superlu and propagate LDFLAGS - sed -e "s:@LIBS@:@LIBS@ $($(tc-getPKG_CONFIG) --libs superlu):" \ - -e 's:_SHARED@:_SHARED@ $(LDFLAGS):g' \ - -i src/config/Makefile.config.in || die - - sed -e '/HYPRE_ARCH/s: = :=:g' \ - -i src/configure || die - - # link with system blas and lapack - sed -e '/^BLASFILES/d' \ - -e '/^LAPACKFILES/d' \ - -i src/lib/Makefile || die -} - -src_configure() { - tc-export CC CXX - append-flags -Dhypre_dgesvd=dgesvd_ - - if use openmp ; then - append-flags -fopenmp - append-ldflags -fopenmp - fi - - if use mpi ; then - CC=mpicc - FC=mpif77 - CXX=mpicxx - fi - - cd src || die - - # without-superlu: means do not use bundled one - econf \ - --enable-shared \ - --with-blas-libs="$($(tc-getPKG_CONFIG) --libs-only-l blas | sed -e 's/-l//g')" \ - --with-blas-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L blas | sed -e 's/-L//g')" \ - --with-lapack-libs="$($(tc-getPKG_CONFIG) --libs-only-l lapack | sed -e 's/-l//g')" \ - --with-lapack-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L lapack | sed -e 's/-L//g')" \ - --with-timing \ - --without-superlu \ - $(use_enable debug) \ - $(use_enable openmp hopscotch) \ - $(use_enable int64 bigint) \ - $(use_enable fortran) \ - $(use_with openmp) \ - $(use_with mpi MPI) -} - -src_compile() { - emake -C src -} - -src_test() { - LD_LIBRARY_PATH="${S}/src/lib:${LD_LIBRARY_PATH}" \ - PATH="${S}/src/test:${PATH}" \ - emake -C src check -} - -src_install() { - emake -C src install \ - HYPRE_INSTALL_DIR="${ED}" \ - HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \ - HYPRE_INC_INSTALL="${ED}/usr/include/hypre" - - if use examples; then - dodoc -r src/examples - fi -} diff --git a/sci-libs/hypre/metadata.xml b/sci-libs/hypre/metadata.xml deleted file mode 100644 index b525b702f84a..000000000000 --- a/sci-libs/hypre/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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"> - Hypre is a set of matrix preconditioning libraries to aid in the - solution of large systems of linear equations. - </longdescription> - <upstream> - <remote-id type="github">hypre-space/hypre</remote-id> - </upstream> - <use> - <flag name="int64">Build the 64 bits integer library</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/idlcoyote/Manifest b/sci-libs/idlcoyote/Manifest deleted file mode 100644 index 0433a762be54..000000000000 --- a/sci-libs/idlcoyote/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST idlcoyote-20161220.zip 1437560 BLAKE2B f335667a39e9ed4b9590a6e625cfdafe48bfbcda430e8ef791757a9c0f16ce5442de96433260e9b7217176c8b98a8b31a06a68af2ee04e8300a4911b2a4857cd SHA512 2c175cf3a42a0f2915eb8d02884f06892245ee023e6f3f2702b00ced0311dcde504d014fb8936aef7148fe6d91e258e3f6ffeec7d5c0bb22f65962b8ebe3bd8b diff --git a/sci-libs/idlcoyote/idlcoyote-20161220-r1.ebuild b/sci-libs/idlcoyote/idlcoyote-20161220-r1.ebuild deleted file mode 100644 index 9de3c0678337..000000000000 --- a/sci-libs/idlcoyote/idlcoyote-20161220-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -if [[ ${PV} != 99999999 ]]; then - SRC_URI="http://www.idlcoyote.com/programs/zip_files/coyoteprograms.zip -> ${P}.zip" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/coyote" - BDEPEND="app-arch/unzip" -else - inherit git-r3 - EGIT_REPO_URI="https://github.com/idl-coyote/coyote.git" -fi - -DESCRIPTION="GDL library from D. Fannings IDL courses" -HOMEPAGE="http://www.idlcoyote.com/" - -LICENSE="BSD GPL-2" -SLOT="0" - -RDEPEND="dev-lang/gdl" - -src_install() { - dodoc README.txt - rm README.txt || die - insinto /usr/share/gnudatalanguage/coyote - doins -r * -} diff --git a/sci-libs/idlcoyote/idlcoyote-99999999.ebuild b/sci-libs/idlcoyote/idlcoyote-99999999.ebuild deleted file mode 100644 index 9de3c0678337..000000000000 --- a/sci-libs/idlcoyote/idlcoyote-99999999.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -if [[ ${PV} != 99999999 ]]; then - SRC_URI="http://www.idlcoyote.com/programs/zip_files/coyoteprograms.zip -> ${P}.zip" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/coyote" - BDEPEND="app-arch/unzip" -else - inherit git-r3 - EGIT_REPO_URI="https://github.com/idl-coyote/coyote.git" -fi - -DESCRIPTION="GDL library from D. Fannings IDL courses" -HOMEPAGE="http://www.idlcoyote.com/" - -LICENSE="BSD GPL-2" -SLOT="0" - -RDEPEND="dev-lang/gdl" - -src_install() { - dodoc README.txt - rm README.txt || die - insinto /usr/share/gnudatalanguage/coyote - doins -r * -} diff --git a/sci-libs/idlcoyote/metadata.xml b/sci-libs/idlcoyote/metadata.xml deleted file mode 100644 index e89bab8154b2..000000000000 --- a/sci-libs/idlcoyote/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-astronomy@gentoo.org</email> - <name>Gentoo Astronomy Project</name> - </maintainer> - <longdescription lang="en"> - The Coyote Library evolved from work David Fanning was doing teaching - IDL courses and answering IDL questions on the IDL newsgroup. It is - meant to be a well-documented library that demonstrates how to write - solid IDL/GDL programs that are easy to maintain and extend. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/idlmarkwardt/Manifest b/sci-libs/idlmarkwardt/Manifest deleted file mode 100644 index 77ed7f9fedcf..000000000000 --- a/sci-libs/idlmarkwardt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST idlmarkwardt-20160319.tar.gz 705496 BLAKE2B 094cf3b7c83d717ede077ede9b62aca8de23e5c680569a0853183719d324aa7ae76552c3468ba6bfa7688e08db88d3247547c537ea219fb5dc7403632bb02599 SHA512 b0eb3ee4cf4ac9450e2557f1ec53660ed6e618a4602f592d551d0a81270aba15cd4eeefb1307b415f2b6f498c192db54ca1ef5e07400260b25a2f7f4b308ecdc diff --git a/sci-libs/idlmarkwardt/idlmarkwardt-20160319-r1.ebuild b/sci-libs/idlmarkwardt/idlmarkwardt-20160319-r1.ebuild deleted file mode 100644 index 1c161e0e8fe6..000000000000 --- a/sci-libs/idlmarkwardt/idlmarkwardt-20160319-r1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Craig Markwardt IDL procedures (MPFIT, CMSVLIB, etc)" -HOMEPAGE="http://cow.physics.wisc.edu/~craigm/idl/idl.html" -SRC_URI="http://www.physics.wisc.edu/~craigm/idl/down/cmtotal.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}" - -LICENSE="Markwardt" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-lang/gdl" - -src_install() { - insinto /usr/share/gnudatalanguage/idlmarkwardt - doins *.pro - dodoc *README -} diff --git a/sci-libs/idlmarkwardt/metadata.xml b/sci-libs/idlmarkwardt/metadata.xml deleted file mode 100644 index e390bc9f6eb3..000000000000 --- a/sci-libs/idlmarkwardt/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Library of IDL software procedures that Craig Markwardt is making - available to the general public. It contains: - * Curve Fitting and Function Minimization - * Read and Write SAVE Files - * Graphics Programs - * Mathematics - * Ephemeris and Timing - * Array / Set Operations - * Input / Output - </longdescription> -</pkgmetadata> diff --git a/sci-libs/iml/Manifest b/sci-libs/iml/Manifest deleted file mode 100644 index 268159880c63..000000000000 --- a/sci-libs/iml/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST iml-1.0.5.tar.bz2 391757 BLAKE2B 5895b353269ce19e17e2522f78eb705c89a47ed3c6cce54d1b7ab3003f59d0a13050b30ce9cedbf38392c737c169740b6c2433f1a74856b0f9d4e6e007ebf804 SHA512 b5a85982636035cc50acba7dcff5478c6271be3669313f01915b2761302d4c77617c0dd7932daf74433098670d3ffdb2ef19eb24450b40709750a0b7c8f797f1 diff --git a/sci-libs/iml/files/iml-1.0.4-use-any-cblas-implementation.patch b/sci-libs/iml/files/iml-1.0.4-use-any-cblas-implementation.patch deleted file mode 100644 index 28d70bf91663..000000000000 --- a/sci-libs/iml/files/iml-1.0.4-use-any-cblas-implementation.patch +++ /dev/null @@ -1,22 +0,0 @@ -Patch to detect ATLAS or cblas. Ported from 1.0.3 to 1.0.4. - -Patch by Marius Brehler. ---- a/configure.ac -+++ b/configure.ac -@@ -76,15 +76,7 @@ location with the options --with-gmp-inc - respectively when running configure. - )]) - --IML_CHECK_CBLAS(,,[AC_MSG_WARN( --CBLAS not found! --Please make sure that --with-cblas=<linker flags> and optional --with-cblas-include=<path> and --with-cblas-lib=<path> are correctly set. --Trying legacy ATLAS configuration.) --IML_CHECK_ATLAS(,,[AC_MSG_ERROR( --ATLAS not found! --ATLAS version 3.0 or greater is required for this library to compile. Please make sure ATLAS is installed and specify the header and libraries location with the options --with-atlas-include=<path> and --with-atlas-lib=<path> respectively when running configure.) --]) --]) -+PKG_CHECK_MODULES([ATLAS], [cblas]) - - AC_SUBST(LIBIML_LDFLAGS) - AC_SUBST(LDFLAGS) diff --git a/sci-libs/iml/iml-1.0.5-r1.ebuild b/sci-libs/iml/iml-1.0.5-r1.ebuild deleted file mode 100644 index 66feec1547e4..000000000000 --- a/sci-libs/iml/iml-1.0.5-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Integer Matrix Library" -HOMEPAGE="https://www.cs.uwaterloo.ca/~astorjoh/iml.html" -SRC_URI="https://www.cs.uwaterloo.ca/~astorjoh/${P}.tar.bz2" - -# COPYING is GPL-2, but the files under src/ all have a BSD header -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" - -DEPEND="virtual/cblas" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS ChangeLog README ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.4-use-any-cblas-implementation.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --with-default="${EPREFIX}"/usr \ - --enable-shared \ - --disable-static -} - -src_install() { - default - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sci-libs/iml/metadata.xml b/sci-libs/iml/metadata.xml deleted file mode 100644 index 6627d3652454..000000000000 --- a/sci-libs/iml/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription>a free library of C source code which implements algorithms for computing exact solutions to dense systems of linear equations over the integers</longdescription> -</pkgmetadata> diff --git a/sci-libs/inchi/Manifest b/sci-libs/inchi/Manifest deleted file mode 100644 index e71fd407674f..000000000000 --- a/sci-libs/inchi/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST inchi-1.06-doc.zip 4143516 BLAKE2B 10daaffe40c1ce523ec1f51e090d4cb0080f17ee103859a872eb2a5606b06e84b25459c3ed0492e5009d4898caef36ce251c34bea8148ee773e4c9bff7f0ba3d SHA512 df31014d21d46498e3bcde85d8c782a23193225e8d3b6ba7f6e31816c935c8ea1a60b2472fb0cd81733a47ae71918de973324ccd20a49fea3808bdfed92e6850 -DIST inchi-1.06.zip 2931129 BLAKE2B 9ae317b359e886c5e16f6c5f2ef6037c1b9f46b4928b1cb372d7dc4ec9f50e695bd58424eb30c75b823f8c12d392a4aa0070161c43a448e6a078d2427df8c956 SHA512 56248030f30b0fa065cb783353cc9eab0da0e39b580a54120e9fca0a2ad8a0cfc85da1ea81b6231e48cfd59a3a5d81e1c6310778d913c21ec3f2e72d6a7fad8a diff --git a/sci-libs/inchi/inchi-1.06-r1.ebuild b/sci-libs/inchi/inchi-1.06-r1.ebuild deleted file mode 100644 index 57f85b0c510d..000000000000 --- a/sci-libs/inchi/inchi-1.06-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Program and library for generating standard and non-standard InChI and InChIKeys" -HOMEPAGE="https://www.iupac.org/inchi/" -SRC_URI=" - https://www.inchi-trust.org/download/${PV//.}/INCHI-1-SRC.zip -> ${P}.zip - doc? ( https://www.inchi-trust.org/download/${PV//.}/INCHI-1-DOC.zip -> ${P}-doc.zip ) -" -S="${WORKDIR}/INCHI-1-SRC" - -LICENSE="IUPAC-InChi" -SLOT="0" -KEYWORDS="amd64 arm ~ppc ppc64 ~x86" -IUSE="doc" - -BDEPEND="app-arch/unzip" - -src_compile() { - local common_opts target_opts - - append-cflags \${P_INCL} -ansi -DCOMPILE_ANSI_ONLY -fPIC -c - append-cxxflags \${P_INCL} -ansi -frtti -c - - common_opts=( - C_COMPILER="$(tc-getCC)" - CPP_COMPILER="$(tc-getCXX)" - AR="$(tc-getAR)" - RANLIB="$(tc-getRANLIB)" - LINKER="$(tc-getCXX)" - SHARED_LINK="$(tc-getCC)" - SHARED_LINK_PARM="${LDFLAGS} -shared " - ISLINUX=1 - ) - - # Compile the library - target_opts=( - LINKER_OPTIONS="${LDFLAGS} " - C_OPTIONS="${CFLAGS} -DTARGET_API_LIB -D_LIB -D_XOPEN_SOURCE=500 " #874696 - CPP_OPTIONS="${CXXFLAGS} -DTARGET_API_LIB -D_LIB " - CREATE_MAIN= - ) - emake -C INCHI_API/libinchi/gcc "${common_opts[@]}" "${target_opts[@]}" - - pushd "INCHI_API/bin/Linux" || die - ln -s libinchi.so.1 libinchi.so || die - popd > /dev/null || die - - # Compile the executable - target_opts=( - LINKER_OPTIONS="${LDFLAGS} -L${S}/INCHI_API/bin/Linux -linchi " - C_COMPILER_OPTIONS="${CFLAGS} -DTARGET_EXE_STANDALONE " - CPP_COMPILER_OPTIONS="${CXXFLAGS} -DTARGET_EXE_STANDALONE " - CREATE_MAIN= - ) - emake -C INCHI_EXE/inchi-1/gcc "${common_opts[@]}" "${target_opts[@]}" - -} - -src_install() { - dodoc readme*.txt - if use doc ; then - pushd "${WORKDIR}/INCHI-1-DOC" || die - docinto doc - dodoc *.pdf readme.txt - popd || die - fi - dobin "${S}/INCHI_EXE/bin/Linux/inchi-1" - dolib.so "${S}/INCHI_API/bin/Linux/"lib*so* - doheader "${S}/INCHI_BASE/src/"{inchi_api,ixa}.h -} diff --git a/sci-libs/inchi/metadata.xml b/sci-libs/inchi/metadata.xml deleted file mode 100644 index e490bcb8aa87..000000000000 --- a/sci-libs/inchi/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest deleted file mode 100644 index 49192218d7bc..000000000000 --- a/sci-libs/indilib/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST indilib-2.2.1.1.tar.gz 3420281 BLAKE2B b72b85cbb5b5f750e338d05501a91ce4afa47eedb21413a4f14899b2bcbc70222614149dbe22a6248c1bdf729ac8d31339dcc04c5c24f7c5c3b6ee25a0a97b53 SHA512 c6a8043a3d757f027bdc80a3fc11366b06eee6e311d0cf4fdcd9a1d5e1b5b0a81e4248451bdc98cee1989248ce749477f4414fb09868fe2e88eaeb4a56a24eff -DIST indilib-2.2.2.tar.gz 3796118 BLAKE2B 315d32ca9bcd5ad0366717b1db7327febf3e5c2216db1a669aa2dbd2293e79a36367228a5d50db1881b1e8e2e98b2c2cb58adb7ea83a1ae70fcddd4c5f7d76a2 SHA512 3f0ad05b39f55790d359a89cd9f328fd45236f73319de197f506fe24bb3ce6c23bccc06883cfbe7e6bafc61b13d5cb6b79fa634b698e91ddf9747ee676138465 diff --git a/sci-libs/indilib/indilib-2.2.1.1.ebuild b/sci-libs/indilib/indilib-2.2.1.1.ebuild deleted file mode 100644 index 1853246dce53..000000000000 --- a/sci-libs/indilib/indilib-2.2.1.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake dot-a udev - -DESCRIPTION="INDI Astronomical Control Protocol library" -HOMEPAGE="https://www.indilib.org/" -SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P/lib/}" - -LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" -SLOT="0/1" -KEYWORDS="amd64 ~ppc ppc64 ~riscv ~x86" -IUSE="ogg rtlsdr test" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-cpp/cpp-httplib:= - dev-cpp/nlohmann_json - dev-libs/hidapi - dev-libs/libev - media-libs/libjpeg-turbo:= - net-misc/curl - sci-libs/cfitsio:= - sci-libs/fftw:3.0= - sci-libs/gsl:= - sci-libs/libnova:= - virtual/zlib:= - virtual/libusb:1 - ogg? ( - media-libs/libogg - media-libs/libtheora:= - ) - rtlsdr? ( net-wireless/rtl-sdr:= ) -" -DEPEND="${RDEPEND} - kernel_linux? ( sys-kernel/linux-headers ) - test? ( >=dev-cpp/gtest-1.8.0 ) -" - -src_configure() { - lto-guarantee-fat - - local mycmakeargs=( - -DINDI_SYSTEM_HIDAPILIB=ON - -DINDI_SYSTEM_HTTPLIB=ON - -DINDI_SYSTEM_JSONLIB=ON - -DINDI_BUILD_QT_CLIENT=OFF - -DINDI_BUILD_SHARED=ON - -DINDI_BUILD_STATIC=OFF - -DINDI_BUILD_XISF=OFF # not packaged - -DUDEVRULES_INSTALL_DIR="${EPREFIX}$(get_udevdir)"/rules.d - -DINDI_BUILD_EXAMPLES=OFF # nothing is installed - $(cmake_use_find_package ogg OggTheora) - $(cmake_use_find_package rtlsdr RTLSDR) - -DINDI_BUILD_UNITTESTS=$(usex test) - -DINDI_BUILD_INTEGTESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - # Unit tests - BUILD_DIR="${BUILD_DIR}"/test cmake_src_test - - # Integration tests - # They fail in parallel because they try to bind to the same port more - # than once. - BUILD_DIR="${BUILD_DIR}"/integs cmake_src_test -j1 -} - -src_install() { - cmake_src_install - strip-lto-bytecode -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sci-libs/indilib/indilib-2.2.2.ebuild b/sci-libs/indilib/indilib-2.2.2.ebuild deleted file mode 100644 index e7afdb726d93..000000000000 --- a/sci-libs/indilib/indilib-2.2.2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake dot-a udev - -DESCRIPTION="INDI Astronomical Control Protocol library" -HOMEPAGE="https://www.indilib.org/" -SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P/lib/}" - -LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="ogg rtlsdr test" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-cpp/cpp-httplib:= - dev-cpp/nlohmann_json - dev-libs/hidapi - dev-libs/libev - media-libs/libjpeg-turbo:= - net-misc/curl - sci-libs/cfitsio:= - sci-libs/fftw:3.0= - sci-libs/gsl:= - sci-libs/libnova:= - virtual/zlib:= - virtual/libusb:1 - ogg? ( - media-libs/libogg - media-libs/libtheora:= - ) - rtlsdr? ( net-wireless/rtl-sdr:= ) -" -DEPEND="${RDEPEND} - kernel_linux? ( sys-kernel/linux-headers ) - test? ( >=dev-cpp/gtest-1.8.0 ) -" - -src_configure() { - lto-guarantee-fat - - local mycmakeargs=( - -DINDI_SYSTEM_HIDAPILIB=ON - -DINDI_SYSTEM_HTTPLIB=ON - -DINDI_SYSTEM_JSONLIB=ON - -DINDI_BUILD_QT_CLIENT=OFF - -DINDI_BUILD_SHARED=ON - -DINDI_BUILD_STATIC=OFF - -DINDI_BUILD_XISF=OFF # not packaged - -DUDEVRULES_INSTALL_DIR="${EPREFIX}$(get_udevdir)"/rules.d - -DINDI_BUILD_EXAMPLES=OFF # nothing is installed - $(cmake_use_find_package ogg OggTheora) - $(cmake_use_find_package rtlsdr RTLSDR) - -DINDI_BUILD_UNITTESTS=$(usex test) - -DINDI_BUILD_INTEGTESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - # Unit tests - BUILD_DIR="${BUILD_DIR}"/test cmake_src_test - - # Integration tests - # They fail in parallel because they try to bind to the same port more - # than once. - BUILD_DIR="${BUILD_DIR}"/integs cmake_src_test -j1 -} - -src_install() { - cmake_src_install - strip-lto-bytecode -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sci-libs/indilib/metadata.xml b/sci-libs/indilib/metadata.xml deleted file mode 100644 index a75ec052bc15..000000000000 --- a/sci-libs/indilib/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <upstream> - <remote-id type="github">indilib/indi</remote-id> - <remote-id type="sourceforge">indi</remote-id> - </upstream> - <use> - <flag name="rtlsdr">Enable support for devices supported by <pkg>net-wireless/rtl-sdr</pkg></flag> - </use> -</pkgmetadata> diff --git a/sci-libs/ipopt/Manifest b/sci-libs/ipopt/Manifest deleted file mode 100644 index 2b5d26909c54..000000000000 --- a/sci-libs/ipopt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ipopt-3.14.4.tar.gz 1843885 BLAKE2B 83f6a983db282ced6e52237ff326c860a92df2c92dbd53db7581110d3003fd7b557a68453c74e48d780832d2c9c55d9eb4ea54e68f504c161952fce6bb81caaf SHA512 a27a08ae24c94da96efcfa236034cec79d79111d7dc9c028d808b412d5abb21495a0011f075a87db65b91ba69e191653552e7f99fe8da88c3b580d971eac3652 diff --git a/sci-libs/ipopt/ipopt-3.14.4-r1.ebuild b/sci-libs/ipopt/ipopt-3.14.4-r1.ebuild deleted file mode 100644 index 8835115f6863..000000000000 --- a/sci-libs/ipopt/ipopt-3.14.4-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED="mumps" -DOCS_BUILDER="doxygen" -DOCS_DIR="doc" -DOCS_DEPEND="media-gfx/graphviz" - -inherit docs fortran-2 toolchain-funcs - -DESCRIPTION="Interior-Point Optimizer for large-scale nonlinear optimization" -HOMEPAGE="https://github.com/coin-or/Ipopt" -SRC_URI="https://github.com/coin-or/Ipopt/archive/refs/tags/releases/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/Ipopt-releases-${PV}" - -LICENSE="EPL-1.0" -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="+asl +lapack mpi mumps static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - virtual/blas - asl? ( sci-libs/coinasl:0= ) - lapack? ( virtual/lapack ) - mpi? ( virtual/mpi ) - mumps? ( sci-libs/mumps:0=[mpi=] )" -DEPEND="${RDEPEND} - virtual/pkgconfig - test? ( sci-libs/coinor-sample sci-libs/mumps )" - -src_prepare() { - if use mpi ; then - export CXX=mpicxx FC=mpif77 F77=mpif77 CC=mpicc - fi - default -} - -src_configure() { - local myeconfargs=( - $(use_with doc dot) - $(use_with asl) - --without-hsl - ) - - if use lapack; then - myeconfargs+=( --with-lapack="$($(tc-getPKG_CONFIG) --libs blas lapack)" ) - else - myeconfargs+=( --without-lapack ) - fi - if use mumps; then - myeconfargs+=( - --with-mumps-incdir="${EPREFIX}"/usr/include$(usex mpi '' '/mpiseq') - --with-mumps-lib="-lmumps_common -ldmumps -lzmumps -lsmumps -lcmumps" ) - else - myeconfargs+=( --without-mumps ) - fi - econf "${myeconfargs[@]}" -} - -src_compile() { - default - docs_compile -} - -src_install() { - default - dodoc -r examples -} diff --git a/sci-libs/ipopt/metadata.xml b/sci-libs/ipopt/metadata.xml deleted file mode 100644 index 1b9661483cd4..000000000000 --- a/sci-libs/ipopt/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> - Ipopt is a solver for large-scale nonlinear continuous - optimization. It can be used from modeling environments, such as - AMPL, GAMS, or Matlab, and it is also available as a callable library with - interfaces to C++, C, and Fortran. Ipopt uses an interior point - method, together with a filter linear search procedure. Ipopt is - part of the larger COIN-OR initiative (Computational Infrastructure - for Operations Research). -</longdescription> -<use> - <flag name="asl">AMPL Solver Library support and build the 'ipopt' binary</flag> - <flag name="mumps">Enable <pkg>sci-libs/mumps</pkg> support</flag> -</use> -<upstream> - <bugs-to>https://github.com/coin-or/Ipopt/issues</bugs-to> - <remote-id type="github">coin-or/Ipopt</remote-id> -</upstream> -</pkgmetadata> diff --git a/sci-libs/itpp/Manifest b/sci-libs/itpp/Manifest deleted file mode 100644 index e73939e73886..000000000000 --- a/sci-libs/itpp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST itpp-4.3.1.tar.bz2 1289687 BLAKE2B e14b88e6e37185525bda0d85dd13b3ef9ec8fa68f1757f56dce6436f7b9492a40aa256872186058d8fc090be656e977e0ce3bdbdf7346d2a940b481865e6d02c SHA512 b46d048fa7f33e80d2291a5e38e205c159791ea200f92c70d69e8ad8447ac2f0c847fece566a99af739853a1643cb16e226b4200c8bf115417f324e6d38c66bd diff --git a/sci-libs/itpp/files/itpp-4.3.1-use-GNUInstallDirs.patch b/sci-libs/itpp/files/itpp-4.3.1-use-GNUInstallDirs.patch deleted file mode 100644 index 4fa9c464e4e5..000000000000 --- a/sci-libs/itpp/files/itpp-4.3.1-use-GNUInstallDirs.patch +++ /dev/null @@ -1,116 +0,0 @@ -From 3ed973b46b50015108a9577a51feec503f06025f Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Wed, 2 Mar 2022 04:10:20 +0000 -Subject: [PATCH] Use GNUInstallDirs - ---- - CMakeLists.txt | 4 ---- - itpp-config.cmake.in | 2 +- - itpp.pc.cmake.in | 2 +- - itpp/CMakeLists.txt | 23 ++++++++++++----------- - 4 files changed, 14 insertions(+), 17 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a2c6958..cd661d1 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -172,12 +172,8 @@ endif() - option(ITPP_SHARED_LIB "Building IT++ as shared library" on) - #set library name here to be available for all targets - if (ITPP_SHARED_LIB) -- if ((CMAKE_BUILD_TYPE STREQUAL Release) OR (NOT CMAKE_BUILD_TYPE)) - set (libitpp_target itpp) - set (CMAKE_CXX_FLAGS "-DNDEBUG ${CMAKE_CXX_FLAGS}") -- else() -- set (libitpp_target itpp_debug) -- endif() - else() - set (libitpp_target itpp_static) - endif() -diff --git a/itpp-config.cmake.in b/itpp-config.cmake.in -index d24b57f..7d31753 100644 ---- a/itpp-config.cmake.in -+++ b/itpp-config.cmake.in -@@ -2,7 +2,7 @@ - - prefix=@CMAKE_INSTALL_PREFIX@ - exec_prefix=${prefix} --libdir=${exec_prefix}/lib -+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ - includedir=${prefix}/include - - debug_flag=no -diff --git a/itpp.pc.cmake.in b/itpp.pc.cmake.in -index d92ce96..ac62b88 100644 ---- a/itpp.pc.cmake.in -+++ b/itpp.pc.cmake.in -@@ -1,6 +1,6 @@ - prefix=@CMAKE_INSTALL_PREFIX@ - exec_prefix=@CMAKE_INSTALL_PREFIX@ --libdir=@CMAKE_INSTALL_PREFIX@/lib -+libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ - includedir=@CMAKE_INSTALL_PREFIX@/include - - Name: @PACKAGE_NAME@ -diff --git a/itpp/CMakeLists.txt b/itpp/CMakeLists.txt -index e8c78d3..ee8f587 100644 ---- a/itpp/CMakeLists.txt -+++ b/itpp/CMakeLists.txt -@@ -24,6 +24,7 @@ - # with IT++. If not, see <http://www.gnu.org/licenses/>. - # - # ------------------------------------------------------------------------- -+include(GNUInstallDirs) - - file ( GLOB ITPP_SRCS - "base/*.cpp" -@@ -68,18 +69,18 @@ set_target_properties(${libitpp_target} PROPERTIES VERSION ${LIBITPP_VERSION_STR - - #library - install(TARGETS ${libitpp_target} -- RUNTIME DESTINATION bin -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib) -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - #headers --install(DIRECTORY ${CMAKE_SOURCE_DIR}/itpp DESTINATION include FILES_MATCHING PATTERN "*.h") -+install(DIRECTORY ${CMAKE_SOURCE_DIR}/itpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING PATTERN "*.h") - if (WIN32 AND NOT MINGW) -- install(FILES ${CMAKE_BINARY_DIR}/itpp/config_msvc.h DESTINATION include/itpp) -+ install(FILES ${CMAKE_BINARY_DIR}/itpp/config_msvc.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/itpp) - else() -- install(FILES ${CMAKE_BINARY_DIR}/itpp/config.h DESTINATION include/itpp) -+ install(FILES ${CMAKE_BINARY_DIR}/itpp/config.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/itpp) - endif() --install(FILES ${CMAKE_BINARY_DIR}/itpp/itexports.h DESTINATION include/itpp) -+install(FILES ${CMAKE_BINARY_DIR}/itpp/itexports.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/itpp) - - #extra files (MATLAB and python) - install(FILES ${CMAKE_SOURCE_DIR}/extras/itsave.m -@@ -97,7 +98,7 @@ if (HTML_DOCS AND DOXYGEN_FOUND) - WORKING_DIRECTORY ${CMAKE_BINARY_DIR} - COMMENT "Generating API documentation with Doxygen" VERBATIM) - file(COPY ${CMAKE_SOURCE_DIR}/doc/images/itpp_logo.png DESTINATION ${CMAKE_BINARY_DIR}/html) -- install(DIRECTORY ${CMAKE_BINARY_DIR}/html DESTINATION share/doc/itpp) -+ install(DIRECTORY ${CMAKE_BINARY_DIR}/html DESTINATION ${CMAKE_INSTALL_DOCDIR}/itpp) - endif() - - #itpp-config script for UNIX-like systems -@@ -108,8 +109,8 @@ if (UNIX) - configure_file(${CMAKE_SOURCE_DIR}/itpp-config.cmake.in ${CMAKE_BINARY_DIR}/itpp-config @ONLY) - configure_file(${CMAKE_SOURCE_DIR}/itpp-config.1.cmake.in ${CMAKE_BINARY_DIR}/itpp-config.1 @ONLY) - configure_file(${CMAKE_SOURCE_DIR}/itpp.pc.cmake.in ${CMAKE_BINARY_DIR}/itpp.pc @ONLY) -- install(FILES ${CMAKE_BINARY_DIR}/itpp-config DESTINATION bin PERMISSIONS OWNER_READ OWNER_EXECUTE -+ install(FILES ${CMAKE_BINARY_DIR}/itpp-config DESTINATION ${CMAKE_INSTALL_BINDIR} PERMISSIONS OWNER_READ OWNER_EXECUTE - GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) -- install(FILES ${CMAKE_BINARY_DIR}/itpp-config.1 DESTINATION share/man/man1) -- install(FILES ${CMAKE_BINARY_DIR}/itpp.pc DESTINATION lib/pkgconfig) -+ install(FILES ${CMAKE_BINARY_DIR}/itpp-config.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) -+ install(FILES ${CMAKE_BINARY_DIR}/itpp.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) - endif() --- -2.35.1 - diff --git a/sci-libs/itpp/itpp-4.3.1-r2.ebuild b/sci-libs/itpp/itpp-4.3.1-r2.ebuild deleted file mode 100644 index d9769a6504f9..000000000000 --- a/sci-libs/itpp/itpp-4.3.1-r2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ library of mathematical, signal processing and communication" -HOMEPAGE="https://itpp.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~ppc ppc64 ~x86" -IUSE="doc" - -RDEPEND="sci-libs/fftw:3.0= - virtual/blas - virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - doc? ( - app-text/doxygen - virtual/latex-base - )" - -DOCS=( ChangeLog NEWS AUTHORS README ) - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.1-use-GNUInstallDirs.patch -) - -src_configure() { - local mycmakeargs=( - -DBLA_VENDOR=Generic - -DHTML_DOCS=$(usex doc) - ) - - cmake_src_configure -} diff --git a/sci-libs/itpp/metadata.xml b/sci-libs/itpp/metadata.xml deleted file mode 100644 index 64a5bafacc5d..000000000000 --- a/sci-libs/itpp/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - IT++ is a C++ library of mathematical, signal processing and - communication classes and functions. Its main use is in simulation - of communication systems and for performing research in the area of - communications. The kernel of the library consists of generic vector - and matrix classes, and a set of accompanying routines. Such a - kernel makes IT++ similar to MATLAB or GNU Octave . - </longdescription> - <upstream> - <remote-id type="sourceforge">itpp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/jkqtplotter/Manifest b/sci-libs/jkqtplotter/Manifest deleted file mode 100644 index dd0bdc97c0eb..000000000000 --- a/sci-libs/jkqtplotter/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jkqtplotter-5.0.0_beta1.tar.gz 93991427 BLAKE2B 0ad8cf040e05fa62a35c8755abf0a0fb58b8b388dc0f2d21f521fe2f373b14b2282f6eef0a3e42d7c6dba3e7ab1a076780637e550bbf37513ab24345c5773ca2 SHA512 57a456b4bd0ccf9e295cd5c2783ea44611af9fab12e060f60751027a0a705325e6054a4a293c952123986e7c7ed0a792b71bf548c6fdc2b3d52385e84c09b6ce diff --git a/sci-libs/jkqtplotter/files/jkqtplotter-5.0.0_beta1-qt6.patch b/sci-libs/jkqtplotter/files/jkqtplotter-5.0.0_beta1-qt6.patch deleted file mode 100644 index a2e6745b8128..000000000000 --- a/sci-libs/jkqtplotter/files/jkqtplotter-5.0.0_beta1-qt6.patch +++ /dev/null @@ -1,18 +0,0 @@ -see https://bugs.gentoo.org/966047 -PR pending https://github.com/jkriege2/JKQtPlotter/pull/156.patch -avoid Qt5 automagic, respect an exported value of QT_VERSION_MAJOR ---- a/cmake/jkqtplotter_common_qtsettings.cmake -+++ b/cmake/jkqtplotter_common_qtsettings.cmake -@@ -4,7 +4,11 @@ set(CMAKE_AUTOMOC ON) - set(CMAKE_AUTORCC ON) - set(CMAKE_AUTOUIC ON) - --find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) -+if(QT_VERSION_MAJOR) -+ find_package(QT NAMES Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) -+else() -+ find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) -+endif() - - if(QT_VERSION_MAJOR LESS 5) - message(FATAL_ERROR "Minimum supported Qt version is 5, but you are trying to compile against Qt${QT_VERSION_MAJOR}") diff --git a/sci-libs/jkqtplotter/jkqtplotter-5.0.0_beta1.ebuild b/sci-libs/jkqtplotter/jkqtplotter-5.0.0_beta1.ebuild deleted file mode 100644 index 28536b22b2e6..000000000000 --- a/sci-libs/jkqtplotter/jkqtplotter-5.0.0_beta1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_PN="JKQtPlotter" -DESCRIPTION="Extensive Qt Plotter framework" -HOMEPAGE="https://jkriege2.github.io/JKQtPlotter/" -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jkriege2/${MY_PN}.git" -else - SRC_URI="https://github.com/jkriege2/JKQtPlotter/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_PN}-${PV/_/-}" -fi - -LICENSE="LGPL-2.1+" -SLOT="0/5" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-qt/qtbase:6[gui,opengl,widgets,xml] - dev-qt/qtsvg:6 -" -RDEPEND=" - ${DEPEND} - dev-texlive/texlive-fontsextra -" -BDEPEND=" - doc? ( - app-text/doxygen - dev-texlive/texlive-latex - media-gfx/graphviz[cairo] - ) -" - -PATCHES=( - # bug #966047, https://github.com/jkriege2/JKQtPlotter/pull/156.patch - "${FILESDIR}"/${PN}-5.0.0_beta1-qt6.patch -) - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DJKQtPlotter_BUILD_DECORATE_LIBNAMES_WITH_BUILDTYPE=OFF - -DJKQtPlotter_BUILD_EXAMPLES=OFF - -DJKQtPlotter_BUILD_INCLUDE_FIRAMATH_FONTS=OFF # texlive-fontsextra - -DJKQtPlotter_BUILD_INCLUDE_XITS_FONTS=OFF # texlive-fontsextra - -DJKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER=OFF # deprecated - -DJKQtPlotter_BUILD_LIB_JKQTPLOTTER=ON - -DJKQtPlotter_BUILD_TESTS=$(usex test) - -DJKQtPlotter_BUILD_TOOLS=ON - -DJKQtPlotter_BUILD_WITH_PRECOMPILED_HEADERS=OFF - -DJKQtPlotter_ENABLED_CXX20=ON - -DJKQtPlotter_HAS_NO_PRINTER_SUPPORT=OFF - -DQT_VERSION_MAJOR=6 - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - doxygen Doxyfile || die - fi -} - -src_test() { - if use x86; then - local CMAKE_SKIP_TESTS+=( - #JKQTPStringToolsTest.test_jkqtp_floattounitstr - JKQTPStringTools_test - ) - fi - - local -x QT_QPA_PLATFORM=offscreen - LD_LIBRARY_PATH="${BUILD_DIR}/output" cmake_src_test -} - -src_install() { - use doc && local HTML_DOCS=( doc/html/. ) - - cmake_src_install - - rm "${ED}"/usr/share/doc/${PF}/LICENSE || die - - # don't install test binaries - if use test; then - rm "${ED}"/usr/bin/*{benchmark,test}* || die - fi -} diff --git a/sci-libs/jkqtplotter/metadata.xml b/sci-libs/jkqtplotter/metadata.xml deleted file mode 100644 index cba1c537454f..000000000000 --- a/sci-libs/jkqtplotter/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">jkriege2/JKQtPlotter</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/kissfft/Manifest b/sci-libs/kissfft/Manifest deleted file mode 100644 index 26d7997008ec..000000000000 --- a/sci-libs/kissfft/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST kissfft-131.1.0.tar.gz 52383 BLAKE2B 74e6d2e7d132a311b31c28a468e13d9772a53f0ea0abed0e0f49d8db9c183fb0646f58fd38df3e797b8577285899daf6b80446b149ce2582bb828410656d96df SHA512 bd715868ce0e93a291a0592fb1f8b960e832fc64efe863755e52b67d5addff9bcb444a1bf2570d1914c52b41dad1023d0d86400f5ea30c9fb84cd6b4f7210708 -DIST kissfft-131.2.0.tar.gz 52477 BLAKE2B 79c4f98ce09dfad13ac0b440422a6a0905a4fa9c7d7234bdab79cacf6ab3f28c034f136587fae72eccb27c7369c486dcc7a95b279d76584d6a7ea0ddc24de0d8 SHA512 5d02802a9e191e7cb77c26e9a34659a5d47c4e85bcfdf86a7cffdda66d8b79261f7fe5795ffabd78644b6094c01b32a84841669fbc0009ac9268ae1ba521af9e diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch b/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch deleted file mode 100644 index 24eae3a4313e..000000000000 --- a/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch +++ /dev/null @@ -1,25 +0,0 @@ -PR pending https://github.com/mborgerding/kissfft/pull/92.patch ---- a/kissfft-config.cmake.in -+++ b/kissfft-config.cmake.in -@@ -66,14 +66,19 @@ foreach(_kissfft_datatype simd int16 int32 float double) - endforeach() - - if(_kissfft_datatype_detected) -- if(NOT TARGET kissfft::kissfft-${_kissfft_datatype_detected}) -- message(FATAL_ERROR "kissfft with datatype=${_kissfft_datatype_detected} is not installed") -+ if(TARGET kissfft::kissfft-${_kissfft_datatype_detected}-openmp) -+ set(_kissfft_openmp_detected "-openmp") - endif() -+ -+ if(NOT TARGET kissfft::kissfft-${_kissfft_datatype_detected}${_kissfft_openmp_detected}) -+ message(FATAL_ERROR "kissfft with datatype=${_kissfft_datatype_detected}${_kissfft_openmp_detected} is not installed") -+ endif() -+ - if(TARGET kissfft::kissfft) - message(SEND_ERROR "kissfft::kissfft already exists. You cannot use 2 find_package's with datatype that are visible to eachother.") - else() - add_library(kissfft::kissfft INTERFACE IMPORTED) -- set_property(TARGET kissfft::kissfft PROPERTY INTERFACE_LINK_LIBRARIES kissfft::kissfft-${_kissfft_datatype_detected}) -+ set_property(TARGET kissfft::kissfft PROPERTY INTERFACE_LINK_LIBRARIES kissfft::kissfft-${_kissfft_datatype_detected}${_kissfft_openmp_detected}) - endif() - endif() diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch b/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch deleted file mode 100644 index 235c4c409f54..000000000000 --- a/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch +++ /dev/null @@ -1,13 +0,0 @@ -Taken from: https://github.com/mborgerding/kissfft/pull/101.patch (merged) -CMake 4 dropped support for CMake versions <= 3.5. ---- a/kissfft-config.cmake.in -+++ b/kissfft-config.cmake.in -@@ -24,7 +24,7 @@ - - @PACKAGE_INIT@ - --cmake_minimum_required(VERSION 3.3) -+cmake_minimum_required(VERSION 3.10) - - # Set include glob of config files using SHARED/static component, BUILD_SHARED_LIBS by default - set(_kissfft_shared_detected OFF) diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch b/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch deleted file mode 100644 index 137a5a939872..000000000000 --- a/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 8b308c28e5c3684ac002289b0eebc64500bbed1c Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <chewi@gentoo.org> -Date: Sun, 24 Dec 2023 16:37:38 +0000 -Subject: [PATCH] GNUInstallDirs is not supposed to be used conditionally - -Always include it to fix cross-compiling. This should not break Windows. - -Closes: https://github.com/mborgerding/kissfft/issues/65 ---- - CMakeLists.txt | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0213798..c4d7d3e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -105,9 +105,7 @@ endif() - # Add GNUInstallDirs for GNU infrastructure before target)include_directories - # - --if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$" AND NOT CMAKE_CROSSCOMPILING) -- include(GNUInstallDirs) --endif() -+include(GNUInstallDirs) - - # - # Declare PKGINCLUDEDIR for kissfft include path --- -2.43.0 - diff --git a/sci-libs/kissfft/files/kissfft-131.2.0-fix_python.patch b/sci-libs/kissfft/files/kissfft-131.2.0-fix_python.patch deleted file mode 100644 index 44f5bf8ad0fa..000000000000 --- a/sci-libs/kissfft/files/kissfft-131.2.0-fix_python.patch +++ /dev/null @@ -1,15 +0,0 @@ -backport PR merged to fix python detection -https://github.com/mborgerding/kissfft/pull/119.patch ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -53,8 +53,8 @@ if(KISSFFT_DATATYPE MATCHES "^simd$") - endif() - endif() - --find_package(Python REQUIRED) --add_test(NAME testkiss.py COMMAND "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/testkiss.py") -+find_package(Python3 COMPONENTS Interpreter REQUIRED) -+add_test(NAME testkiss.py COMMAND "${Python3_INTERPRETER}" "${CMAKE_CURRENT_SOURCE_DIR}/testkiss.py") - list(APPEND TESTKISS_PY_ENV "KISSFFT_DATATYPE=${KISSFFT_DATATYPE}") - list(APPEND TESTKISS_PY_ENV "KISSFFT_OPENMP=${KISSFFT_OPENMP}") - set_tests_properties(testkiss.py PROPERTIES diff --git a/sci-libs/kissfft/kissfft-131.1.0-r3.ebuild b/sci-libs/kissfft/kissfft-131.1.0-r3.ebuild deleted file mode 100644 index 9ee246eb155d..000000000000 --- a/sci-libs/kissfft/kissfft-131.1.0-r3.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake multibuild python-any-r1 toolchain-funcs - -DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid" -HOMEPAGE="https://github.com/mborgerding/kissfft" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/mborgerding/kissfft" - inherit git-r3 -else - SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm arm64 ~riscv x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools" -RESTRICT="!test? ( test )" - -DEPEND=" - test? ( - sci-libs/fftw:3.0 - $(python_gen_any_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-131.1.0-cross.patch - "${FILESDIR}"/${PN}-131.1.0-cmake{,4}.patch # bug #957670, PR pending -) - -python_check_deps() { - python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]" -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - MULTIBUILD_VARIANTS=( - float - $(usev double) - $(usev int16 int16_t) - $(usev int32 int32_t) - $(usev cpu_flags_x86_sse simd) - ) - - use test && python-any-r1_pkg_setup - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -kissfft_configure() { - local mycmakeargs=( - -DKISSFFT_OPENMP=$(usex openmp 1 0) - -DKISSFFT_TEST=$(usex test) - -DKISSFFT_TOOLS=$(usex tools) - -DKISSFFT_USE_ALLOCA=$(usex alloca) - -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT} - ) - - cmake_src_configure -} - -src_configure() { - multibuild_foreach_variant kissfft_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_test() { - multibuild_foreach_variant cmake_src_test -} - -src_install() { - multibuild_foreach_variant cmake_src_install -} diff --git a/sci-libs/kissfft/kissfft-131.2.0.ebuild b/sci-libs/kissfft/kissfft-131.2.0.ebuild deleted file mode 100644 index ba00e19f7cdc..000000000000 --- a/sci-libs/kissfft/kissfft-131.2.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake multibuild python-any-r1 toolchain-funcs - -DESCRIPTION="Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid" -HOMEPAGE="https://github.com/mborgerding/kissfft" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/mborgerding/kissfft" - inherit git-r3 -else - SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm arm64 ~riscv x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools" -RESTRICT="!test? ( test )" - -RDEPEND="tools? ( media-libs/libpng:= )" -DEPEND=" - ${RDEPEND} - test? ( - sci-libs/fftw:3.0 - $(python_gen_any_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" - -PATCHES=( - # both merged after 131.2.0 - "${FILESDIR}"/${PN}-131.1.0-cross.patch - "${FILESDIR}"/${PN}-131.2.0-fix_python.patch - # PR pending https://github.com/mborgerding/kissfft/pull/92 - "${FILESDIR}"/${PN}-131.1.0-cmake.patch -) - -python_check_deps() { - python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]" -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - MULTIBUILD_VARIANTS=( - float - $(usev double) - $(usev int16 int16_t) - $(usev int32 int32_t) - $(usev cpu_flags_x86_sse simd) - ) - - use test && python-any-r1_pkg_setup - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -kissfft_configure() { - local mycmakeargs=( - -DKISSFFT_OPENMP=$(usex openmp 1 0) - -DKISSFFT_TEST=$(usex test) - -DKISSFFT_TOOLS=$(usex tools) - -DKISSFFT_USE_ALLOCA=$(usex alloca) - -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT} - ) - - cmake_src_configure -} - -src_configure() { - multibuild_foreach_variant kissfft_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_test() { - multibuild_foreach_variant cmake_src_test -} - -src_install() { - multibuild_foreach_variant cmake_src_install -} diff --git a/sci-libs/kissfft/kissfft-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild deleted file mode 100644 index eec98399e9db..000000000000 --- a/sci-libs/kissfft/kissfft-9999.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake multibuild python-any-r1 toolchain-funcs - -DESCRIPTION="Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid" -HOMEPAGE="https://github.com/mborgerding/kissfft" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/mborgerding/kissfft" - inherit git-r3 -else - SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools" -RESTRICT="!test? ( test )" - -RDEPEND="tools? ( media-libs/libpng:= )" -DEPEND=" - ${RDEPEND} - test? ( - sci-libs/fftw:3.0 - $(python_gen_any_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" - -PATCHES=( - # PR pending https://github.com/mborgerding/kissfft/pull/92 - "${FILESDIR}"/${PN}-131.1.0-cmake.patch -) - -python_check_deps() { - python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]" -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - MULTIBUILD_VARIANTS=( - float - $(usev double) - $(usev int16 int16_t) - $(usev int32 int32_t) - $(usev cpu_flags_x86_sse simd) - ) - - use test && python-any-r1_pkg_setup - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -kissfft_configure() { - local mycmakeargs=( - -DKISSFFT_OPENMP=$(usex openmp 1 0) - -DKISSFFT_TEST=$(usex test) - -DKISSFFT_TOOLS=$(usex tools) - -DKISSFFT_USE_ALLOCA=$(usex alloca) - -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT} - ) - - cmake_src_configure -} - -src_configure() { - multibuild_foreach_variant kissfft_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_test() { - multibuild_foreach_variant cmake_src_test -} - -src_install() { - multibuild_foreach_variant cmake_src_install -} diff --git a/sci-libs/kissfft/metadata.xml b/sci-libs/kissfft/metadata.xml deleted file mode 100644 index 5ffd94eab047..000000000000 --- a/sci-libs/kissfft/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="alloca">Use alloca(3) instead of malloc(3) for memory management</flag> - <flag name="double">Build library for primary data type of double</flag> - <flag name="int16">Build library for primary data type of int16_t</flag> - <flag name="int32">Build library for primary data type of int32_t</flag> - <flag name="tools">Build command line tools</flag> - </use> - <upstream> - <remote-id type="github">mborgerding/kissfft</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/klu/Manifest b/sci-libs/klu/Manifest deleted file mode 100644 index 6f008e22cc8a..000000000000 --- a/sci-libs/klu/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST klu-1.3.9.tar.bz2 635596 BLAKE2B 6c6c84cf1b30e78cbaaee6bebed21c806d1672bee5f7ea061e7ef057ff56fd456e8517ca2ff1018a14ebcbc8f96b9e87989e22d8996817394666e6d8d2d727dd SHA512 b7fd862fe8443596758c27f9c918e367b3b3816340836e74cf8d97a2e755fbe07d133778eea3d054bc70243fa15c2bd71f4fd90c1179879661ba2d624b8f0706 diff --git a/sci-libs/klu/files/klu-1.3.9-dash_doc.patch b/sci-libs/klu/files/klu-1.3.9-dash_doc.patch deleted file mode 100644 index a0db5d45c597..000000000000 --- a/sci-libs/klu/files/klu-1.3.9-dash_doc.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/Doc/Makefile.am -+++ b/Doc/Makefile.am -@@ -1,15 +1,14 @@ - - KLU_UserGuide.pdf: -- echo '\begin{verbatim}' > klu_h.tex -+ printf '\\begin{verbatim}\n' > klu_h.tex - expand -8 $(top_srcdir)/Include/klu.h >> klu_h.tex -- echo '\end{verbatim}' >> klu_h.tex -- echo '\begin{verbatim}' > btf_h.tex -- echo 'See your btf.h local install' >> btf_h.tex -- echo '\end{verbatim}' >> btf_h.tex -- echo '\begin{verbatim}' > klu_simple_c.tex -+ printf '\\end{verbatim}\n' >> klu_h.tex -+ printf '\\begin{verbatim}\n' > btf_h.tex -+ printf 'See your btf.h local install\n' >> btf_h.tex -+ printf '\\end{verbatim}\n' >> btf_h.tex -+ printf '\\begin{verbatim}\n' > klu_simple_c.tex - expand -8 $(top_srcdir)/Demo/klu_simple.c >> klu_simple_c.tex -- echo '\end{verbatim}' >> klu_simple_c.tex -- -ln -s $(srcdir)/*.{tex,bib} . -+ printf '\\end{verbatim}\n' >> klu_simple_c.tex - $(PDFLATEX) KLU_UserGuide - $(BIBTEX) KLU_UserGuide - $(PDFLATEX) KLU_UserGuide diff --git a/sci-libs/klu/klu-1.3.9-r2.ebuild b/sci-libs/klu/klu-1.3.9-r2.ebuild deleted file mode 100644 index 11a3576ac16e..000000000000 --- a/sci-libs/klu/klu-1.3.9-r2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Sparse LU factorization for circuit simulation" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" -IUSE="doc" - -BDEPEND=" - virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND=" - >=sci-libs/amd-2.4 - >=sci-libs/btf-1.2 - >=sci-libs/colamd-2.9" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-1.3.9-dash_doc.patch ) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - $(use_with doc) -} - -src_install() { - default - - # remove .la file - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/klu/klu-2.0.3.ebuild b/sci-libs/klu/klu-2.0.3.ebuild deleted file mode 100644 index bbffb493faa6..000000000000 --- a/sci-libs/klu/klu-2.0.3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Sparse LU factorization for circuit simulation" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-7.0.0 - >=sci-libs/amd-3.0.3 - >=sci-libs/btf-2.0.3 - >=sci-libs/colamd-3.0.3 - >=sci-libs/cholmod-4.0.3" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run demo files - ./klu_simple || die "failed testing" - ./kludemo < "${S}"/Matrix/1c.mtx || die "failed testing" - ./kludemo < "${S}"/Matrix/arrowc.mtx || die "failed testing" - ./kludemo < "${S}"/Matrix/arrow.mtx || die "failed testing" - ./kludemo < "${S}"/Matrix/impcol_a.mtx || die "failed testing" - ./kludemo < "${S}"/Matrix/w156.mtx || die "failed testing" - ./kludemo < "${S}"/Matrix/ctina.mtx || die "failed testing" - ./kluldemo < "${S}"/Matrix/1c.mtx || die "failed testing" - ./kluldemo < "${S}"/Matrix/arrowc.mtx || die "failed testing" - ./kluldemo < "${S}"/Matrix/arrow.mtx || die "failed testing" - ./kluldemo < "${S}"/Matrix/impcol_a.mtx || die "failed testing" - ./kluldemo < "${S}"/Matrix/w156.mtx || die "failed testing" - ./kluldemo < "${S}"/Matrix/ctina.mtx || die "failed testing" -} - -multilib_src_install() { - if use doc; then - pushd "${S}/Doc" - emake clean - rm -rf *.pdf - emake - popd - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/klu/klu-2.3.6.ebuild b/sci-libs/klu/klu-2.3.6.ebuild deleted file mode 100644 index 01dc380dba1a..000000000000 --- a/sci-libs/klu/klu-2.3.6.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Sparse LU factorization for circuit simulation" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="LGPL-2.1+" -SLOT="0/2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.3.4 - >=sci-libs/btf-2.3.3 - >=sci-libs/colamd-3.3.5 - >=sci-libs/cholmod-5.3.4" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Run demo files - local dtype=( - demo - ldemo - ) - local samples=( - 1c.mtx - arrowc.mtx - arrow.mtx - impcol_a.mtx - w156.mtx - ctina.mtx - ) - ./klu_simple || die "klu_simple failed to run" - local i - local j - for i in ${dtype[@]}; do - for j in ${samples[@]}; do - ./klu${i} < "${S}/Matrix/${j}" || die "failed testing klu${i} with ${j}" - done - done - einfo "All tests passed" -} - -src_install() { - if use doc; then - pushd "${S}/Doc" || die - emake clean - rm -rf *.pdf || die - emake - popd || die - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/klu/metadata.xml b/sci-libs/klu/metadata.xml deleted file mode 100644 index 16b070542e68..000000000000 --- a/sci-libs/klu/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - KLU is a sparse LU factorization algorithm well-suited for use in - circuit simulation. It is also part of the University - of Florida sparse matrix suite. - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest deleted file mode 100644 index 3b5287e34cf6..000000000000 --- a/sci-libs/lapack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST lapack-3.12.1.tar.gz 8067087 BLAKE2B 13fd3bbb6d1f23eb0add0a71d302af7af172d608b3e2354031d0b13cb7fbf243017d85b53ca04322983c5ed069ad3773510833d231d533b2dc417962cc24a817 SHA512 9749976d773830eb635498611c7f1247af8dece23fe8c08446243aa39bdcc20dd35fdc670345643cd1ec6828e379d5c2152009817e0b486c10fd89a06602e0fb diff --git a/sci-libs/lapack/files/lapack-3.12.1-broken-flow-deux.patch b/sci-libs/lapack/files/lapack-3.12.1-broken-flow-deux.patch deleted file mode 100644 index 430b43d48ad4..000000000000 --- a/sci-libs/lapack/files/lapack-3.12.1-broken-flow-deux.patch +++ /dev/null @@ -1,196 +0,0 @@ -https://bugs.gentoo.org/958932 -https://github.com/Reference-LAPACK/lapack/pull/1094 - -From f5103fc3b42fcff40e70b1fa4b5567df01dae9bc Mon Sep 17 00:00:00 2001 -From: Wouter Deconinck <wdconinc@gmail.com> -Date: Fri, 10 Jan 2025 14:32:30 -0600 -Subject: [PATCH] ?ge(lq|qr)s.f: WORK( LWORK ) -> WORK( * ) - ---- - SRC/DEPRECATED/cgelqs.f | 4 ++-- - SRC/DEPRECATED/cgeqrs.f | 4 ++-- - SRC/DEPRECATED/dgelqs.f | 4 ++-- - SRC/DEPRECATED/dgeqrs.f | 4 ++-- - SRC/DEPRECATED/sgelqs.f | 4 ++-- - SRC/DEPRECATED/sgeqrs.f | 4 ++-- - SRC/DEPRECATED/zgelqs.f | 4 ++-- - SRC/DEPRECATED/zgeqrs.f | 4 ++-- - 8 files changed, 16 insertions(+), 16 deletions(-) - -diff --git a/SRC/DEPRECATED/cgelqs.f b/SRC/DEPRECATED/cgelqs.f -index 47e17a5830..aba3632a74 100644 ---- a/SRC/DEPRECATED/cgelqs.f -+++ b/SRC/DEPRECATED/cgelqs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE CGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== -diff --git a/SRC/DEPRECATED/cgeqrs.f b/SRC/DEPRECATED/cgeqrs.f -index 13ac7f74fd..9d0527283d 100644 ---- a/SRC/DEPRECATED/cgeqrs.f -+++ b/SRC/DEPRECATED/cgeqrs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE CGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== -diff --git a/SRC/DEPRECATED/dgelqs.f b/SRC/DEPRECATED/dgelqs.f -index dc08f2398b..1bab678901 100644 ---- a/SRC/DEPRECATED/dgelqs.f -+++ b/SRC/DEPRECATED/dgelqs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE DGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== -diff --git a/SRC/DEPRECATED/dgeqrs.f b/SRC/DEPRECATED/dgeqrs.f -index bfb7bd8bb8..e3e6c4048e 100644 ---- a/SRC/DEPRECATED/dgeqrs.f -+++ b/SRC/DEPRECATED/dgeqrs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE DGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== -diff --git a/SRC/DEPRECATED/sgelqs.f b/SRC/DEPRECATED/sgelqs.f -index 330d4d5850..2b1dd44b71 100644 ---- a/SRC/DEPRECATED/sgelqs.f -+++ b/SRC/DEPRECATED/sgelqs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * REAL A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE SGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - REAL A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== -diff --git a/SRC/DEPRECATED/sgeqrs.f b/SRC/DEPRECATED/sgeqrs.f -index ed11489104..bdbad5dcb4 100644 ---- a/SRC/DEPRECATED/sgeqrs.f -+++ b/SRC/DEPRECATED/sgeqrs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * REAL A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE SGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - REAL A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== -diff --git a/SRC/DEPRECATED/zgelqs.f b/SRC/DEPRECATED/zgelqs.f -index 5f629f8c7e..772165dfd9 100644 ---- a/SRC/DEPRECATED/zgelqs.f -+++ b/SRC/DEPRECATED/zgelqs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE ZGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== -diff --git a/SRC/DEPRECATED/zgeqrs.f b/SRC/DEPRECATED/zgeqrs.f -index 6583e38591..cc33a45fc1 100644 ---- a/SRC/DEPRECATED/zgeqrs.f -+++ b/SRC/DEPRECATED/zgeqrs.f -@@ -16,7 +16,7 @@ - * .. - * .. Array Arguments .. - * COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ), --* $ WORK( LWORK ) -+* $ WORK( * ) - * .. - * - * -@@ -128,7 +128,7 @@ SUBROUTINE ZGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, - * .. - * .. Array Arguments .. - COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ), -- $ WORK( LWORK ) -+ $ WORK( * ) - * .. - * - * ===================================================================== - diff --git a/sci-libs/lapack/files/lapack-3.12.1-broken-flow-trois.patch b/sci-libs/lapack/files/lapack-3.12.1-broken-flow-trois.patch deleted file mode 100644 index 3496ba9a8907..000000000000 --- a/sci-libs/lapack/files/lapack-3.12.1-broken-flow-trois.patch +++ /dev/null @@ -1,77 +0,0 @@ -https://bugs.gentoo.org/961788 -https://github.com/Reference-LAPACK/lapack/pull/1099 - -From 304fa305e85190c934e78eae75c7b092fcfd54c1 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Sun, 19 Jan 2025 22:55:52 +0100 -Subject: [PATCH 1/3] Fix line reflow on addition of _64 symbol suffixes - ---- - SRC/DEPRECATED/cgelsx.f | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/SRC/DEPRECATED/cgelsx.f b/SRC/DEPRECATED/cgelsx.f -index b55fe1565..7281a0668 100644 ---- a/SRC/DEPRECATED/cgelsx.f -+++ b/SRC/DEPRECATED/cgelsx.f -@@ -364,8 +364,8 @@ SUBROUTINE CGELSX( M, N, NRHS, A, LDA, B, LDB, JPVT, RCOND, - * - * B(1:M,1:NRHS) := Q**H * B(1:M,1:NRHS) - * -- CALL CUNM2R( 'Left', 'Conjugate transpose', M, NRHS, MN, A, LDA, -- $ WORK( 1 ), B, LDB, WORK( 2*MN+1 ), INFO ) -+ CALL CUNM2R( 'Left', 'Conjugate transpose', M, NRHS, MN, A, -+ $ LDA, WORK( 1 ), B, LDB, WORK( 2*MN+1 ), INFO ) - * - * workspace NRHS - * - -From bc0c38f247f90f815a93f6ca0829004120745da4 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Sun, 19 Jan 2025 22:58:19 +0100 -Subject: [PATCH 2/3] Fix line reflow on addition of _64 symbol suffix - ---- - SRC/DEPRECATED/dgeqpf.f | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/SRC/DEPRECATED/dgeqpf.f b/SRC/DEPRECATED/dgeqpf.f -index 36f6fb50e..067da29d0 100644 ---- a/SRC/DEPRECATED/dgeqpf.f -+++ b/SRC/DEPRECATED/dgeqpf.f -@@ -218,8 +218,8 @@ SUBROUTINE DGEQPF( M, N, A, LDA, JPVT, TAU, WORK, INFO ) - MA = MIN( ITEMP, M ) - CALL DGEQR2( M, MA, A, LDA, TAU, WORK, INFO ) - IF( MA.LT.N ) THEN -- CALL DORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, TAU, -- $ A( 1, MA+1 ), LDA, WORK, INFO ) -+ CALL DORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, -+ $ TAU, A( 1, MA+1 ), LDA, WORK, INFO ) - END IF - END IF - * - -From 3c209c6bdf524869d18d00119aeae4962740c3b3 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Sun, 19 Jan 2025 22:59:21 +0100 -Subject: [PATCH 3/3] Fix line reflow on addition of _64 symbol suffix - ---- - SRC/DEPRECATED/sgeqpf.f | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/SRC/DEPRECATED/sgeqpf.f b/SRC/DEPRECATED/sgeqpf.f -index 7963bd8e7..f74a084a0 100644 ---- a/SRC/DEPRECATED/sgeqpf.f -+++ b/SRC/DEPRECATED/sgeqpf.f -@@ -218,8 +218,8 @@ SUBROUTINE SGEQPF( M, N, A, LDA, JPVT, TAU, WORK, INFO ) - MA = MIN( ITEMP, M ) - CALL SGEQR2( M, MA, A, LDA, TAU, WORK, INFO ) - IF( MA.LT.N ) THEN -- CALL SORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, TAU, -- $ A( 1, MA+1 ), LDA, WORK, INFO ) -+ CALL SORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, -+ $ TAU, A( 1, MA+1 ), LDA, WORK, INFO ) - END IF - END IF - * diff --git a/sci-libs/lapack/files/lapack-3.12.1-broken-flow.patch b/sci-libs/lapack/files/lapack-3.12.1-broken-flow.patch deleted file mode 100644 index b11d5cad326b..000000000000 --- a/sci-libs/lapack/files/lapack-3.12.1-broken-flow.patch +++ /dev/null @@ -1,32 +0,0 @@ -https://bugs.gentoo.org/958525 -https://github.com/Reference-LAPACK/lapack/pull/1093 - -From 3aa877584bcc96e1a0ee37742628946c56afc15f Mon Sep 17 00:00:00 2001 -From: Wouter Deconinck <wdconinc@gmail.com> -Date: Fri, 10 Jan 2025 13:05:28 -0600 -Subject: [PATCH] dlahrd.f: consistent line reflow for DTRMV calls - ---- a/SRC/DEPRECATED/dlahrd.f -+++ b/SRC/DEPRECATED/dlahrd.f -@@ -231,8 +231,8 @@ SUBROUTINE DLAHRD( N, K, NB, A, LDA, TAU, T, LDT, Y, LDY ) - * - * w := T**T *w - * -- CALL DTRMV( 'Upper', 'Transpose', 'Non-unit', I-1, T, LDT, -- $ T( 1, NB ), 1 ) -+ CALL DTRMV( 'Upper', 'Transpose', 'Non-unit', I-1, -+ $ T, LDT, T( 1, NB ), 1 ) - * - * b2 := b2 - V2*w - * -@@ -270,8 +270,8 @@ SUBROUTINE DLAHRD( N, K, NB, A, LDA, TAU, T, LDT, Y, LDY ) - * Compute T(1:i,i) - * - CALL DSCAL( I-1, -TAU( I ), T( 1, I ), 1 ) -- CALL DTRMV( 'Upper', 'No transpose', 'Non-unit', I-1, T, LDT, -- $ T( 1, I ), 1 ) -+ CALL DTRMV( 'Upper', 'No transpose', 'Non-unit', I-1, -+ $ T, LDT, T( 1, I ), 1 ) - T( I, I ) = TAU( I ) - * - 10 CONTINUE diff --git a/sci-libs/lapack/files/lapack-3.12.1-lapack64-pc.patch b/sci-libs/lapack/files/lapack-3.12.1-lapack64-pc.patch deleted file mode 100644 index 0bdde1ab09e3..000000000000 --- a/sci-libs/lapack/files/lapack-3.12.1-lapack64-pc.patch +++ /dev/null @@ -1,34 +0,0 @@ -https://github.com/Reference-LAPACK/lapack/pull/1154 - -From b73a7c9e4de884ea7550832cb28ad518bab0c178 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 14 Sep 2025 11:27:26 +0200 -Subject: [PATCH] fix library names in `lapack64.pc` -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add substitutions to `lapack.pc.in`, in order to ensure that -the generated `lapack64.pc` file correctly references the index64 -library and BLAS dependency. It seems that other pkg-config templates -have been updated as part of #462 but this one was omitted. -As a result, finding a lapack64 via pkg-config gave non-index64 -libraries. - -Signed-off-by: Michał Górny <mgorny@gentoo.org> ---- - lapack.pc.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/lapack.pc.in b/lapack.pc.in -index 316c871011..27cd99f7c8 100644 ---- a/lapack.pc.in -+++ b/lapack.pc.in -@@ -5,5 +5,5 @@ Name: LAPACK - Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage - Version: @LAPACK_VERSION@ - URL: http://www.netlib.org/lapack/ --Libs: -L${libdir} -llapack --Requires.private: blas -+Libs: -L${libdir} -l@LAPACKLIB@ -+Requires.private: @BLASLIB@ diff --git a/sci-libs/lapack/lapack-3.12.1-r2.ebuild b/sci-libs/lapack/lapack-3.12.1-r2.ebuild deleted file mode 100644 index 4eb56ab3dd7d..000000000000 --- a/sci-libs/lapack/lapack-3.12.1-r2.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Some additional tests are run if Python is found -PYTHON_COMPAT=( python3_{13..14} ) -inherit cmake flag-o-matic fortran-2 python-any-r1 - -DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations" -HOMEPAGE="https://www.netlib.org/lapack/" -SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="flexiblas lapacke deprecated doc eselect-ldso index64 test" -REQUIRED_USE="flexiblas? ( deprecated !eselect-ldso )" -RESTRICT="!test? ( test )" - -RDEPEND=" - !app-eselect/eselect-cblas - virtual/fortran - eselect-ldso? ( - >=app-eselect/eselect-blas-0.2 - >=app-eselect/eselect-lapack-0.2 - ) - doc? ( app-doc/blas-docs ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - test? ( ${PYTHON_DEPS} ) -" -PDEPEND=" - flexiblas? ( - sci-libs/flexiblas[system-blas(-)] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.12.1-broken-flow.patch - "${FILESDIR}"/${PN}-3.12.1-broken-flow-deux.patch - "${FILESDIR}"/${PN}-3.12.1-broken-flow-trois.patch - "${FILESDIR}"/${PN}-3.12.1-lapack64-pc.patch -) - -pkg_setup() { - fortran-2_pkg_setup - use test && python-any-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - if use flexiblas; then - # install libraries renamed to '*-reference' - sed -i -e '/set([A-Z]*LIB/s:"):-reference"):' CMakeLists.txt || die - fi -} - -src_configure() { - # bug #878891 - filter-lto - - local mycmakeargs=( - -DCBLAS=ON - -DLAPACKE=$(usex lapacke) - -DBUILD_DEPRECATED=$(usex deprecated) - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTING=$(usex test) - -DLAPACK_TESTING_USE_PYTHON=$(usex test) - # Breaks cross - -DTEST_FORTRAN_COMPILER=OFF - ) - if use flexiblas; then - mycmakeargs+=( - -DCMAKE_INSTALL_INCLUDEDIR=include/lapack-reference - # Disable the additional ILP64 symbols in LP64 libraries - # for now, to save time. FlexiBLAS cannot use them - # at the moment. - -DBUILD_INDEX64_EXT_API=OFF - ) - fi - - cmake_src_configure - - if use index64; then - mycmakeargs+=( - -DBUILD_INDEX64=ON - ) - BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_configure - fi -} - -src_compile() { - cmake_src_compile - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_compile -} - -src_install() { - cmake_src_install - use index64 && BUILD_DIR=${BUILD_DIR}-ilp64 cmake_src_install - - use eselect-ldso || return - # Create private lib directory for eselect::blas (ld.so.conf) - dodir /usr/$(get_libdir)/blas/reference - dosym -r /usr/$(get_libdir)/libblas.so /usr/$(get_libdir)/blas/reference/libblas.so - dosym -r /usr/$(get_libdir)/libblas.so.3 /usr/$(get_libdir)/blas/reference/libblas.so.3 - dosym -r /usr/$(get_libdir)/libcblas.so /usr/$(get_libdir)/blas/reference/libcblas.so - dosym -r /usr/$(get_libdir)/libcblas.so.3 /usr/$(get_libdir)/blas/reference/libcblas.so.3 - - # Create private lib directory for eselect::lapack (ld.so.conf) - dodir /usr/$(get_libdir)/lapack/reference - dosym -r /usr/$(get_libdir)/liblapack.so /usr/$(get_libdir)/lapack/reference/liblapack.so - dosym -r /usr/$(get_libdir)/liblapack.so.3 /usr/$(get_libdir)/lapack/reference/liblapack.so.3 -} - -pkg_postinst() { - use eselect-ldso || return - - local me=reference libdir=$(get_libdir) - # check eselect-blas - eselect blas add ${libdir} "${EPREFIX}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - else - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi - - # check eselect-lapack - eselect lapack add ${libdir} "${EPREFIX}"/usr/${libdir}/lapack/${me} ${me} - local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) - if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then - eselect lapack set ${libdir} ${me} - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - else - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - elog "To use lapack [${me}] implementation, you have to issue (as root):" - elog "\t eselect lapack set ${libdir} ${me}" - fi -} - -pkg_postrm() { - use eselect-ldso || return - - eselect blas validate - eselect lapack validate -} diff --git a/sci-libs/lapack/metadata.xml b/sci-libs/lapack/metadata.xml deleted file mode 100644 index 99e27523a2df..000000000000 --- a/sci-libs/lapack/metadata.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -The BLAS (Basic Linear Algebra Subprograms) are high quality "building -block" routines for performing basic vector and matrix operations. Level 1 -BLAS do vector-vector operations, Level 2 BLAS do matrix-vector operations, -and Level 3 BLAS do matrix-matrix operations. Because the BLAS are -efficient, portable, and widely available, they're commonly used in the -development of high quality linear algebra software, LAPACK for -example. This packages implements the reference FORTRAN 77 library, -the reference C library as a wrapper to the FORTRAN 77 BLAS library. - -LAPACK is a comprehensive library that does linear algebra -operations including matrix inversions, least squared solutions to -linear sets of equations, eigenvector analysis, singular value -decomposition, etc. It is a very comprehensive and reputable package -that has found extensive use in the scientific community. -This package installs the reference FORTRAN 77 implementation from Netlib. - </longdescription> - <use> - <flag name="deprecated">Also build deprecated functions</flag> - <flag name="flexiblas"> - Rename install files, for system FlexiBLAS compatibility - </flag> - <flag name="index64">Build a separate ILP64 library in addition to LP64</flag> - <flag name="lapacke">Build LAPACKE</flag> - <flag name="eselect-ldso">Enable runtime library switching by - eselect and ld.so.</flag> - </use> - <upstream> - <remote-id type="github">Reference-LAPACK/lapack</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/ldl/Manifest b/sci-libs/ldl/Manifest deleted file mode 100644 index 9780cb45df5d..000000000000 --- a/sci-libs/ldl/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST ldl-2.2.6.tar.bz2 342923 BLAKE2B 7acf1a82824de013fe9a7742fb2d5c44c86de96e95d1d7408106d4af420dc3655ab7533eb80592b52523245c7545bc246bf129712547ff6eba856a807c78b6ad SHA512 266c9e62c474a6a9b2d7f74aa580e313fbe4b322197236ba6fbbab6d1756348cf146c1d807ea6d8d0e5941cedc48298e8437aaf386dd6c433dcaf41a9d0b7371 diff --git a/sci-libs/ldl/ldl-2.2.6.ebuild b/sci-libs/ldl/ldl-2.2.6.ebuild deleted file mode 100644 index 2889f37144ca..000000000000 --- a/sci-libs/ldl/ldl-2.2.6.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm" -HOMEPAGE="http://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc ~x86" -IUSE="doc static-libs" - -BDEPEND="virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND="sci-libs/suitesparseconfig" -RDEPEND="${DEPEND}" - -src_configure() { - econf \ - $(use_with doc) \ - $(use_enable static-libs static) -} diff --git a/sci-libs/ldl/ldl-3.0.3.ebuild b/sci-libs/ldl/ldl-3.0.3.ebuild deleted file mode 100644 index 974db174c30f..000000000000 --- a/sci-libs/ldl/ldl-3.0.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/3" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.0.3" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Some programs assume that they can access the Matrix folder in ${S} - ln -s "${S}/Matrix" || die "cannot link to the Matrix folder" - # Run demo files - local demofiles=( - ldlsimple - ldllsimple - ldlmain - ldllmain - ldlamd - ldllamd - ) - for i in ${demofiles[@]}; do - ./"${i}" > "${i}.out" || die "failed to run test ${i}" - diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}" - done -} - -multilib_src_install() { - if use doc; then - pushd "${S}/Doc" - rm -rf *.pdf - emake - popd - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/ldl/ldl-3.3.3.ebuild b/sci-libs/ldl/ldl-3.3.3.ebuild deleted file mode 100644 index 88a3e42de7d3..000000000000 --- a/sci-libs/ldl/ldl-3.3.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="LGPL-2.1+" -SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.3.4" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -src_configure() { - # May slightly skew FP numbers if enabled, and we want to match - # the expected output bit-by-bit in tests. - use test && append-flags -ffp-contract=off - - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Some programs assume that they can access the Matrix folder in ${S} - ln -s "${S}/Matrix" || die - # Run demo files - local demofiles=( - ldllsimple - ldlmain - ldllmain - ldlamd - ldllamd - ) - # not running ldlsimple until it does not "test" suitesparse version as well. - local i - for i in ${demofiles[@]}; do - einfo "testing ${i}" - ./"${i}" > "${i}.out" || die "${i} failed to run" - diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}" - done - einfo "All tests passed" -} - -src_install() { - if use doc; then - pushd "${S}/Doc" || die - emake clean - rm -rf *.pdf || die - emake - popd || die - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/ldl/metadata.xml b/sci-libs/ldl/metadata.xml deleted file mode 100644 index c450822b982c..000000000000 --- a/sci-libs/ldl/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - LDL is a set of concise routines for factorizing symmetric - positive-definite sparse matrices, with some applicability to - symmetric indefinite matrices. Its primary purpose is to illustrate - much of the basic theory of sparse matrix algorithms in as concise a - code as possible, including an elegant new method of sparse symmetric - factorization that computes the factorization row-by-row but stores it - column-by-column. The entire symbolic and numeric factorization - consists of a total of only 49 lines of code. The package is written - in C, and includes a MATLAB interface. - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/lemon/Manifest b/sci-libs/lemon/Manifest deleted file mode 100644 index 613b6a848c33..000000000000 --- a/sci-libs/lemon/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST lemon-1.3.1.tar.gz 5142826 BLAKE2B 23d3b637b4dd32d73bb053b4f5d032e16be787ba162eed6df793f65b81efef6d7ca66d6e5a483b75ac7b1ddb7c8a2698b3b13eb16fcd44e0b726052290082bee SHA512 715eb45e790c908e41de4c13e68b7880e1d86c54eca53f896c95b6bc411ded504f3f768bed9d63562ed4adad53167fb3a7828c67456fdea645a5d0a94ae2e038 diff --git a/sci-libs/lemon/files/lemon-1.3-as-needed.patch b/sci-libs/lemon/files/lemon-1.3-as-needed.patch deleted file mode 100644 index ab205e69a4fa..000000000000 --- a/sci-libs/lemon/files/lemon-1.3-as-needed.patch +++ /dev/null @@ -1,47 +0,0 @@ - CMakeLists.txt | 4 ++++ - lemon/CMakeLists.txt | 2 ++ - 2 files changed, 6 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b06e5c7..fa68aa8 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -84,21 +84,25 @@ IF(GLPK_FOUND) - SET(LEMON_HAVE_LP TRUE) - SET(LEMON_HAVE_MIP TRUE) - SET(LEMON_HAVE_GLPK TRUE) -+ SET(LEMON_LP_LIBRARIES ${LEMON_LP_LIBRARIES} ${GLPK_LIBRARIES}) - ENDIF(GLPK_FOUND) - IF(ILOG_FOUND) - SET(LEMON_HAVE_LP TRUE) - SET(LEMON_HAVE_MIP TRUE) - SET(LEMON_HAVE_CPLEX TRUE) -+ SET(LEMON_LP_LIBRARIES ${LEMON_LP_LIBRARIES} ${ILOG_LIBRARIES}) - ENDIF(ILOG_FOUND) - IF(COIN_FOUND) - SET(LEMON_HAVE_LP TRUE) - SET(LEMON_HAVE_MIP TRUE) - SET(LEMON_HAVE_CLP TRUE) - SET(LEMON_HAVE_CBC TRUE) -+ SET(LEMON_LP_LIBRARIES ${LEMON_LP_LIBRARIES} ${COIN_LIBRARIES}) - ENDIF(COIN_FOUND) - IF(SOPLEX_FOUND) - SET(LEMON_HAVE_LP TRUE) - SET(LEMON_HAVE_SOPLEX TRUE) -+ SET(LEMON_LP_LIBRARIES ${LEMON_LP_LIBRARIES} ${COIN_LIBRARIES}) - ENDIF(SOPLEX_FOUND) - - IF(ILOG_FOUND) -diff --git a/lemon/CMakeLists.txt b/lemon/CMakeLists.txt -index 8011833..2487345 100644 ---- a/lemon/CMakeLists.txt -+++ b/lemon/CMakeLists.txt -@@ -59,6 +59,8 @@ IF(UNIX) - SET_TARGET_PROPERTIES(lemon PROPERTIES OUTPUT_NAME emon) - ENDIF() - -+TARGET_LINK_LIBRARIES(lemon ${LEMON_LP_LIBRARIES}) -+ - INSTALL( - TARGETS lemon - ARCHIVE DESTINATION lib diff --git a/sci-libs/lemon/files/lemon-1.3.1-cmake4.patch b/sci-libs/lemon/files/lemon-1.3.1-cmake4.patch deleted file mode 100644 index 1a70f1eb228a..000000000000 --- a/sci-libs/lemon/files/lemon-1.3.1-cmake4.patch +++ /dev/null @@ -1,21 +0,0 @@ -Source: https://salsa.debian.org/med-team/liblemon/-/raw/master/debian/patches/cmake-4.patch - -Description: bump cmake minimum required to 3.10. - Portability to cmake 4 and beyond also required dropping the CMP0048 - enforcement to the OLD behavior. -Author: Étienne Mollier <emollier@debian.org> -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113170 -Forwarded: no -Last-Update: 2025-10-02 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- liblemon.orig/CMakeLists.txt -+++ liblemon/CMakeLists.txt -@@ -1,6 +1,4 @@ --CMAKE_MINIMUM_REQUIRED(VERSION 2.8) -- --CMAKE_POLICY(SET CMP0048 OLD) -+CMAKE_MINIMUM_REQUIRED(VERSION 3.10) - - SET(PROJECT_NAME "LEMON") - PROJECT(${PROJECT_NAME}) diff --git a/sci-libs/lemon/files/lemon-1.3.1-disable-broken-tests.patch b/sci-libs/lemon/files/lemon-1.3.1-disable-broken-tests.patch deleted file mode 100644 index 18597bb5473b..000000000000 --- a/sci-libs/lemon/files/lemon-1.3.1-disable-broken-tests.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 241c0472607f691d6ffca254eca96a6ea794911d Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Fri, 19 Dec 2025 23:35:42 +0100 -Subject: [PATCH] Disable presumably broken tests - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - test/CMakeLists.txt | 8 -------- - 1 file changed, 8 deletions(-) - -diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt -index 96fc5dd..0f3f1cb 100644 ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -31,7 +31,6 @@ SET(TESTS - gomory_hu_test - graph_copy_test - graph_test -- graph_utils_test - hao_orlin_test - heap_test - kruskal_test -@@ -40,8 +39,6 @@ SET(TESTS - maps_test - matching_test - max_cardinality_search_test -- max_clique_test -- max_flow_test - min_cost_arborescence_test - min_cost_flow_test - min_mean_cycle_test -@@ -49,10 +46,7 @@ SET(TESTS - path_test - planarity_test - radix_sort_test -- random_test - suurballe_test -- time_measure_test -- tsp_test - unionfind_test - ) - -@@ -79,8 +73,6 @@ IF(LEMON_HAVE_LP) - ENDIF() - - TARGET_LINK_LIBRARIES(lp_test ${LP_TEST_LIBS}) -- ADD_TEST(lp_test lp_test) -- ADD_DEPENDENCIES(check lp_test) - - IF(WIN32 AND LEMON_HAVE_GLPK) - GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION) --- -2.52.0 - diff --git a/sci-libs/lemon/files/lemon-1.3.1-multilib.patch b/sci-libs/lemon/files/lemon-1.3.1-multilib.patch deleted file mode 100644 index f2b3cd6bf00c..000000000000 --- a/sci-libs/lemon/files/lemon-1.3.1-multilib.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/lemon/CMakeLists.txt 2014-07-07 16:40:24.911315501 +0200 -+++ b/lemon/CMakeLists.txt 2018-10-15 22:13:12.040890710 +0200 -@@ -66,8 +66,8 @@ - - INSTALL( - TARGETS lemon -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib -+ ARCHIVE DESTINATION lib${LIB_SUFFIX} -+ LIBRARY DESTINATION lib${LIB_SUFFIX} - COMPONENT library - ) - -@@ -86,6 +86,6 @@ - - INSTALL( - FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc -- DESTINATION lib/pkgconfig -+ DESTINATION lib${LIB_SUFFIX}/pkgconfig - ) - ---- a/lemon/lemon.pc.in 2014-07-07 16:40:24.949315716 +0200 -+++ b/lemon/lemon.pc.in 2018-10-15 22:45:28.869931587 +0200 -@@ -1,6 +1,6 @@ - prefix=@CMAKE_INSTALL_PREFIX@ - exec_prefix=@CMAKE_INSTALL_PREFIX@/bin --libdir=@CMAKE_INSTALL_PREFIX@/lib -+libdir=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@ - includedir=@CMAKE_INSTALL_PREFIX@/include - - Name: @PROJECT_NAME@ diff --git a/sci-libs/lemon/lemon-1.3.1-r2.ebuild b/sci-libs/lemon/lemon-1.3.1-r2.ebuild deleted file mode 100644 index d66b11a7bda8..000000000000 --- a/sci-libs/lemon/lemon-1.3.1-r2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Needed to build tests for now -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake - -DESCRIPTION="C++ template static library of common data structures and algorithms" -HOMEPAGE="https://lemon.cs.elte.hu/trac/lemon/" -SRC_URI="https://lemon.cs.elte.hu/pub/sources/${P}.tar.gz" - -LICENSE="Boost-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+coin doc glpk static-libs test" - -REQUIRED_USE="|| ( coin glpk )" -RESTRICT="!test? ( test )" - -RDEPEND=" - coin? ( - sci-libs/coinor-cbc:= - sci-libs/coinor-clp:= - ) - glpk? ( sci-mathematics/glpk:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( - app-text/doxygen - app-text/ghostscript-gpl - <dev-libs/mathjax-3 - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-multilib.patch - "${FILESDIR}"/${PN}-1.3-as-needed.patch - "${FILESDIR}"/${P}-cmake4.patch # bug 967729 - "${FILESDIR}"/${P}-disable-broken-tests.patch -) - -src_prepare() { - cmake_comment_add_subdirectory demo - - use doc || cmake_comment_add_subdirectory doc - use test || cmake_comment_add_subdirectory test - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DLEMON_ENABLE_COIN=$(usex coin) - -DLEMON_ENABLE_GLPK=$(usex glpk) - ) - - use coin && mycmakeargs+=( -DCOIN_ROOT_DIR="${EPREFIX}/usr" ) - - if use doc; then - mycmakeargs+=( - -DLEMON_DOC_MATHJAX_RELPATH="${EPREFIX}/usr/share/mathjax" - -DLEMON_DOC_SOURCE_BROWSER=$(usex doc) - -DLEMON_DOC_USE_MATHJAX=$(usex doc) - ) - fi - - cmake_src_configure -} - -src_test() { - pushd "${S}" > /dev/null || die - emake -C "${BUILD_DIR}" check - popd > /dev/null || die -} - -src_install() { - cmake_src_install - - # TODO: Upstream needs to see the light of GNUInstallDirs - if use doc; then - mv "${ED}"/usr/share/doc/lemon/html "${ED}"/usr/share/doc/${PF} || die - rmdir "${ED}"/usr/share/doc/lemon || die - fi -} diff --git a/sci-libs/lemon/metadata.xml b/sci-libs/lemon/metadata.xml deleted file mode 100644 index 8fca14a06fa0..000000000000 --- a/sci-libs/lemon/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - LEMON stands for Library for Efficient Modeling and Optimization in - Networks. It is a C++ template library providing efficient - implementations of common data structures and algorithms with focus - on combinatorial optimization tasks connected mainly with graphs and - networks. - </longdescription> - <use> - <flag name="coin">Enable the <pkg>sci-libs/coinor-clp</pkg> and <pkg>sci-libs/coinor-cbc</pkg> graph algorithms</flag> - <flag name="glpk">Enable GNU Linear Programming Kit <pkg>sci-mathematics/glpk</pkg> support</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/levmar/Manifest b/sci-libs/levmar/Manifest deleted file mode 100644 index 52e3ec046326..000000000000 --- a/sci-libs/levmar/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST levmar-2.6.tgz 81143 BLAKE2B 569bba64797e3cf20a0248167b48dfac4b87b3f238637ae5a970616786faedddc63e35b89c5623ee46239442b50e5f7129958ea0715a7ecb965363c0e2efc216 SHA512 5b4c64b63be9b29d6ad2df435af86cd2c2e3216313378561a670ac6a392a51bbf1951e96c6b1afb77c570f23dd8e194017808e46929fec2d8d9a7fe6cf37022b diff --git a/sci-libs/levmar/files/levmar-2.6-cmake4.patch b/sci-libs/levmar/files/levmar-2.6-cmake4.patch deleted file mode 100644 index dc22c65434b4..000000000000 --- a/sci-libs/levmar/files/levmar-2.6-cmake4.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 1f62addb14438d89c60ebbf28985d46d30520a47 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Sun, 31 Aug 2025 23:17:51 +0200 -Subject: [PATCH] Fix build w/ cmake-4 - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d138776..ad6b968 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,7 +1,7 @@ - # levmar CMake file; see http://www.cmake.org and
- # http://www.insightsoftwareconsortium.org/wiki/index.php/CMake_Tutorial
-
--CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-+CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
- PROJECT(LEVMAR)
-
- SET(HAVE_LAPACK 1 CACHE BOOL "Do we have LAPACK/BLAS?")
--- -2.51.0 - diff --git a/sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch b/sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch deleted file mode 100644 index a6be5587d3e0..000000000000 --- a/sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN levmar-2.6.old/CMakeLists.txt levmar-2.6/CMakeLists.txt ---- levmar-2.6.old/CMakeLists.txt 2014-08-07 18:22:25.739008113 +0200 -+++ levmar-2.6/CMakeLists.txt 2014-08-07 18:22:36.050014845 +0200 -@@ -67,7 +67,7 @@ -
- # demo program
- IF(BUILD_DEMO)
-- SET(LIBS levmar)
-+ SET(LIBS levmar m)
-
- LINK_DIRECTORIES(${CMAKE_BINARY_DIR}) # location of the levmar library
- LINK_DIRECTORIES(${LAPACKBLAS_DIR})
diff --git a/sci-libs/levmar/files/levmar-2.6-shared.patch b/sci-libs/levmar/files/levmar-2.6-shared.patch deleted file mode 100644 index e89750cc028f..000000000000 --- a/sci-libs/levmar/files/levmar-2.6-shared.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur levmar-2.6.orig/CMakeLists.txt levmar-2.6/CMakeLists.txt ---- levmar-2.6.orig/CMakeLists.txt 2012-04-13 04:53:53.000000000 +0100 -+++ levmar-2.6/CMakeLists.txt 2012-04-13 04:54:20.000000000 +0100 -@@ -60,7 +60,7 @@ - ENDIF(HAVE_PLASMA)
-
- # levmar library source files
--ADD_LIBRARY(levmar STATIC
-+ADD_LIBRARY(levmar SHARED
- lm.c Axb.c misc.c lmlec.c lmbc.c lmblec.c lmbleic.c
- levmar.h misc.h compiler.h
- )
diff --git a/sci-libs/levmar/levmar-2.6-r1.ebuild b/sci-libs/levmar/levmar-2.6-r1.ebuild deleted file mode 100644 index fb08ec4c6bcb..000000000000 --- a/sci-libs/levmar/levmar-2.6-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Levenberg-Marquardt nonlinear least squares C library" -HOMEPAGE="https://www.ics.forth.gr/~lourakis/levmar/" -SRC_URI="https://www.ics.forth.gr/~lourakis/levmar/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - virtual/blas - virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( README.txt ) - -PATCHES=( - "${FILESDIR}"/${P}-cmake4.patch - "${FILESDIR}"/${P}-shared.patch - "${FILESDIR}"/${P}-demo-underlinking.patch -) - -src_configure() { - local mycmakeargs=( - -DNEED_F2C=OFF - -DHAVE_LAPACK=ON - -DLAPACKBLAS_LIB_NAMES="$($(tc-getPKG_CONFIG) --libs blas lapack)" - -DBUILD_DEMO=$(usex test) - ) - cmake_src_configure -} - -src_test() { - "${BUILD_DIR}"/lmdemo || die "Tests failed" -} - -src_install() { - dolib.so "${BUILD_DIR}"/liblevmar.so - insinto /usr/include - doins "${S}"/levmar.h -} diff --git a/sci-libs/levmar/metadata.xml b/sci-libs/levmar/metadata.xml deleted file mode 100644 index b67b88aecfbe..000000000000 --- a/sci-libs/levmar/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>amynka@gentoo.org</email> - </maintainer> - <maintainer type="project"> - <email>3dprint@gentoo.org</email> - <name>Gentoo 3D print</name> - </maintainer> - <longdescription> - levmar is a native ANSI C implementation of the Levenberg-Marquardt - optimization algorithm. Both unconstrained and constrained (under - linear equations, inequality and box constraints) - Levenberg-Marquardt variants are included. The LM algorithm is an - iterative technique that finds a local minimum of a function that is - expressed as the sum of squares of nonlinear functions. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/libaec/Manifest b/sci-libs/libaec/Manifest deleted file mode 100644 index 5e815a85b777..000000000000 --- a/sci-libs/libaec/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libaec-v1.1.4.tar.bz2 2314074 BLAKE2B 453c03e9559f84fac37ea6abd1e3b37c1b88adb78b3d9db45e63ba1d38c8fccd25127748070b0b3e52d347a13676418531048e21a995b6742db74c622d6306b3 SHA512 08d29dadbc3f2bea1a050e6d67669dec693124daee1b374a03823a9e49725223eb83aa0083f206e1d64960ebfa6717c7a9621f1bb499712d21d48b21dbb5f0d7 diff --git a/sci-libs/libaec/libaec-1.1.4.ebuild b/sci-libs/libaec/libaec-1.1.4.ebuild deleted file mode 100644 index 92e29ecaec6d..000000000000 --- a/sci-libs/libaec/libaec-1.1.4.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_P="${PN}-v${PV}" -DESCRIPTION="Adaptive Entropy Coding library" -HOMEPAGE="https://gitlab.dkrz.de/k202009/libaec" -SRC_URI="https://gitlab.dkrz.de/k202009/libaec/-/archive/v${PV}/${MY_P}.tar.bz2" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="0/2" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" -IUSE="+szip test" -RESTRICT="!test? ( test )" - -RDEPEND="szip? ( !sci-libs/szip )" - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DBUILD_STATIC_LIBS=OFF - -DCMAKE_INSTALL_LIBDIR=$(get_libdir) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # avoid conflict with szip (easier than patching) - if ! use szip; then - rm "${ED}"/usr/include/szlib.h || die - rm "${ED}"/usr/$(get_libdir)/libsz* || die - rm "${ED}"/usr/share/doc/${PF}/README.SZIP || die - fi -} diff --git a/sci-libs/libaec/metadata.xml b/sci-libs/libaec/metadata.xml deleted file mode 100644 index 276aa45e4036..000000000000 --- a/sci-libs/libaec/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> - Libaec provides fast lossless compression of 1 up to 32 bit wide - signed or unsigned integers (samples). The library achieves best - results for low entropy data as often encountered in space imaging - instrument data or numerical model output from weather or climate - simulations. While floating point representations are not directly - supported, they can also be efficiently coded by grouping exponents - and mantissa. -</longdescription> -</pkgmetadata> diff --git a/sci-libs/libbraiding/Manifest b/sci-libs/libbraiding/Manifest deleted file mode 100644 index e1f90e9591ab..000000000000 --- a/sci-libs/libbraiding/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST libbraiding-1.3.1.tar.gz 393142 BLAKE2B 6a012005549c6de513463f887202dd0c2774f10d2c72b9bae4b46e73d5592b01011760d034e2c8eb9abbe0f56db3932d96a062e19f767b9efb4f9b639a9f719f SHA512 358c53365f318e5fd77f2332e0f70374d720ebacb9426a2d24abc4e4eff179ff315bbd7447211797e097a0bbead7efc73b2c26f1e068bdb86766af1144a2e823 -DIST libbraiding-1.3.2.tar.gz 408498 BLAKE2B a804d5f0dde6bce93a6f24586ef3be5e0096e7b200ca929d9a8d41c22d6ff269d456e6ffd556f40660e6098e4d8b3e54976ed7342f23a16629c796f5c9fc32c2 SHA512 1c3aed0abe9c929089fdd77ba8ab093aeb06ccae78b16fdb1dbc351865905bad2f6e89c337f3276c88ae59a171c640130df23b93d6ff82d92c3392fc07b2ec80 diff --git a/sci-libs/libbraiding/libbraiding-1.3.1.ebuild b/sci-libs/libbraiding/libbraiding-1.3.1.ebuild deleted file mode 100644 index ff9e29d42ff4..000000000000 --- a/sci-libs/libbraiding/libbraiding-1.3.1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Expose the functionality of cbraid as a shared library" -HOMEPAGE="https://github.com/miguelmarco/libbraiding" - -SRC_URI="https://github.com/miguelmarco/${PN}/releases/download/${PV}/${P}.tar.gz" - -# A few source headers still say GPLv2, but I believe that to be an -# oversight: https://github.com/jeanluct/cbraid/issues/4 -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libbraiding/libbraiding-1.3.2.ebuild b/sci-libs/libbraiding/libbraiding-1.3.2.ebuild deleted file mode 100644 index d1a481634fe7..000000000000 --- a/sci-libs/libbraiding/libbraiding-1.3.2.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Expose the functionality of cbraid as a shared library" -HOMEPAGE="https://github.com/miguelmarco/libbraiding" - -SRC_URI="https://github.com/miguelmarco/${PN}/releases/download/${PV}/${P}.tar.gz" - -# A few source headers still say GPLv2, but I believe that to be an -# oversight: https://github.com/jeanluct/cbraid/issues/4 -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libbraiding/metadata.xml b/sci-libs/libbraiding/metadata.xml deleted file mode 100644 index d816504879a2..000000000000 --- a/sci-libs/libbraiding/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <longdescription lang="en"> - This is a project to expose the functionality of the cbraid - program as a shared library. The original goal was to include it - as a component of SageMath, but it can be used in any other C++ - program. - </longdescription> - - <upstream> - <remote-id type="github">miguelmarco/libbraiding</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libcerf/Manifest b/sci-libs/libcerf/Manifest deleted file mode 100644 index 97d791b2e332..000000000000 --- a/sci-libs/libcerf/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST libcerf-v1.17.tar.gz 76610 BLAKE2B 94310a8378b9272ecf39c29420eaec98716e4be71717515cebc37d9b101a1a6e4b1d673ccfb70ba55e4cd34bead21b39252738ccf8767dcb376205ac5edf12d3 SHA512 cfa9f56f69a7f030f256610f2bfcbf1b48e979af379e23aedb19df33421c488f91e5757df9a37083060b96093854e1a07175aa2d1b75ee9711f9089b61241688 -DIST libcerf-v2.5.tar.gz 138432 BLAKE2B fe44cb2f7b8e8a1210186ec77ac2aca433b66823e0124fd81120cb5bbc3db0eee957356f25cc782a13e631ada28df691124c5dfcf9eedff1ebf12234283c2498 SHA512 871feacd16d2ca4e0d00e8125dca9690d20ee2ebce65a558bc382092ac9ac360811e4eb27199001093fc9ad3cfcf44750b71c90745dfc2bfb8695fc4a2213a42 diff --git a/sci-libs/libcerf/libcerf-1.17.ebuild b/sci-libs/libcerf/libcerf-1.17.ebuild deleted file mode 100644 index fb1b5c5caf44..000000000000 --- a/sci-libs/libcerf/libcerf-1.17.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_P="${PN}-v${PV}" -DESCRIPTION="Efficient and accurate implementation of complex error functions" -HOMEPAGE="https://jugit.fz-juelich.de/mlz/libcerf" -SRC_URI="https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${PV}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" diff --git a/sci-libs/libcerf/libcerf-2.5.ebuild b/sci-libs/libcerf/libcerf-2.5.ebuild deleted file mode 100644 index f21db39d657b..000000000000 --- a/sci-libs/libcerf/libcerf-2.5.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_P="${PN}-v${PV}" -DESCRIPTION="Efficient and accurate implementation of complex error functions" -HOMEPAGE="https://jugit.fz-juelich.de/mlz/libcerf" -SRC_URI="https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${PV}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0/2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" diff --git a/sci-libs/libcerf/metadata.xml b/sci-libs/libcerf/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/sci-libs/libcerf/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/libcifpp/Manifest b/sci-libs/libcifpp/Manifest deleted file mode 100644 index 897a719b880a..000000000000 --- a/sci-libs/libcifpp/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST libcifpp-10.0.4-components.cif.xz 73220300 BLAKE2B f028b1d4722034bf4a3695c140f9d586e418019c3015171a098d48033a03f25c38261788fd1d0cfb7a32b973ce984fcdbb48b25f6eebc4de1a358e267c64f825 SHA512 3472de3d57aab6f3b53513744627e6bb7bc6c1498500b7ccb9b5c45fdde358523dbdeb668d70bc64931f419a45f567d5ca4bb620c52ae92aec7b320d7930310a -DIST libcifpp-10.0.4.tar.gz 3042692 BLAKE2B 923bfc15521f3167ed3e447c4b4d21ffcf3dfb587333a4e314cfd6d930dd8a870f8c1f93555beab6bf4e0f99e8bb3e70d7e0161b1e585442278cfcdebdf1e5a8 SHA512 2097b744feecc79d7ab3e2b9f01d04e397831c75f0dc69187373ce33c3cd3a74b2608bbff8d6a4c9fe7961068481352758970d2a527a44c91a1e6bd10ed57436 -DIST libcifpp-9.0.5-components.cif.xz 70647304 BLAKE2B b71236019ff52f5c49d351712420ef4e75270bb9e843f3f51c2cb6658d93398d7841b80959cd63ab46badcc9d90cadb8924ca51b507d932cec54f60ca302c216 SHA512 c7f0e6f17bbde714f85351c9e6f0b103b0d14e10b07d1e2a598d98760ab3915a961f9a908183fdd9e48bfe428dc45614c0540623a8868b9de62ea301b36cbdce -DIST libcifpp-9.0.5.tar.gz 2735738 BLAKE2B 2c9e4d2885d1a8a570b1345a092999745d931040cecb744a7098f5c80f41b5154c21aeeb40087fd2f72b5a27617bf9989c5192885efffbd743fc9d96c3106430 SHA512 061f4be8158f9f7e5b45283eeea3dae62a80f56d89e3a588a0dee920307621f1becb87cd02486a93f94f7dd388ef296a2d38902167fefeab05caf313aa9f1846 -DIST libcifpp-9.0.6-components.cif.xz 71892060 BLAKE2B e75c4fb961396654948c10bcac8c2ae59b73ad55d29986beeda4ba8f45581384fcf66892b8a3ded4f726f75506b263ba1539c46efcd440b1f2e7537ef0b518f5 SHA512 d0a12eae2d651b906871af692062db9ffabd3dca02983c36f82bf88fecafad82be5e0d329956ba27f8b11866beb21f9e74ff4ee659b0abd7aba5d8d9e7885748 -DIST libcifpp-9.0.6.tar.gz 2735142 BLAKE2B 0af47aa276deef70f4be81b21f42fd14962bb38a6715ed8acf5474fafbda55c6af001021ee353f2b9cf7a9ca85e6e1d4438f40a0d1c1f0262919b1860bbd42e1 SHA512 a4e802f620a7f2bee1adb8d51e4c4f24fe289a62d1dccca5e52a43088d92d1d5f9d76ed1a03b31edc5ffeb8377f05a38817e0ba1f755831b254f2ff566735bd7 diff --git a/sci-libs/libcifpp/libcifpp-10.0.4.ebuild b/sci-libs/libcifpp/libcifpp-10.0.4.ebuild deleted file mode 100644 index aced8c17bf52..000000000000 --- a/sci-libs/libcifpp/libcifpp-10.0.4.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake - -DESCRIPTION="Code to work with mmCIF and PDB files" -HOMEPAGE="https://github.com/PDB-REDO/libcifpp" -# Update components file on every bump -# https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz -SRC_URI=" - https://github.com/PDB-REDO/libcifpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~pacho/${PN}/${P}-components.cif.xz -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples sqlite test" -# https://github.com/PDB-REDO/libcifpp/issues/75 -REQUIRED_USE=" - examples? ( sqlite ) - test? ( sqlite ) -" - -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-cpp/eigen-3.4.0:3 - dev-libs/boost:= - dev-libs/libpcre2 - virtual/zlib:= - sqlite? ( dev-db/sqlite:3 ) - test? ( dev-cpp/catch:0 ) -" -RDEPEND="${DEPEND}" - -src_configure() { - cp "${WORKDIR}"/${P}-components.cif rsrc/components.cif || die - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF - -DBUILD_EXAMPLES="$(usex examples)" - -DBUILD_SQLITE_INTERFACE="$(usex sqlite)" - -DBUILD_TESTING="$(usex test)" - ) - cmake_src_configure -} diff --git a/sci-libs/libcifpp/libcifpp-9.0.5.ebuild b/sci-libs/libcifpp/libcifpp-9.0.5.ebuild deleted file mode 100644 index 3b6bef616a5c..000000000000 --- a/sci-libs/libcifpp/libcifpp-9.0.5.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake - -DESCRIPTION="Code to work with mmCIF and PDB files" -HOMEPAGE="https://github.com/PDB-REDO/libcifpp" -# Update components file on every bump -# https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz -SRC_URI=" - https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~pacho/${PN}/${P}-components.cif.xz -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-cpp/eigen-3.4.0:= - dev-libs/boost:= - dev-libs/libpcre2 - virtual/zlib:= - test? ( dev-cpp/catch:0 ) -" -RDEPEND="${DEPEND}" - -src_configure() { - cp "${WORKDIR}"/${P}-components.cif rsrc/components.cif || die - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF - -DBUILD_TESTING="$(usex test)" - ) - cmake_src_configure -} diff --git a/sci-libs/libcifpp/libcifpp-9.0.6.ebuild b/sci-libs/libcifpp/libcifpp-9.0.6.ebuild deleted file mode 100644 index 698339ff961e..000000000000 --- a/sci-libs/libcifpp/libcifpp-9.0.6.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake - -DESCRIPTION="Code to work with mmCIF and PDB files" -HOMEPAGE="https://github.com/PDB-REDO/libcifpp" -# Update components file on every bump -# https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz -SRC_URI=" - https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~pacho/${PN}/${P}-components.cif.xz -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-cpp/eigen-3.4.0:= - dev-libs/boost:= - dev-libs/libpcre2 - virtual/zlib:= - test? ( dev-cpp/catch:0 ) -" -RDEPEND="${DEPEND}" - -src_configure() { - cp "${WORKDIR}"/${P}-components.cif rsrc/components.cif || die - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF - -DBUILD_TESTING="$(usex test)" - ) - cmake_src_configure -} diff --git a/sci-libs/libcifpp/metadata.xml b/sci-libs/libcifpp/metadata.xml deleted file mode 100644 index 403881fddf16..000000000000 --- a/sci-libs/libcifpp/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>pacho@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="github">PDB-REDO/libcifpp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libdap/Manifest b/sci-libs/libdap/Manifest deleted file mode 100644 index 4fe0d43bb95c..000000000000 --- a/sci-libs/libdap/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST libdap-3.20.9.tar.gz 2838651 BLAKE2B 84186a73455d8756d0dccaf11554861d48f55a358cc3f70d899d7f24b0b676b0bacdfff47b63c956619717c7fb7f7e3678669599724a2170221a4bc74d8388c2 SHA512 2e360148e5ca3b5c12552ff429b161d8be6905594ae2df98c5b005cd286cb803913b8336371cd07361082749122f7aa5cbc93ff1812ed598908afd0e83df927c -DIST libdap-3.21.1.tar.gz 2622133 BLAKE2B 96fc7bd65793bcda3c63b5329dc55338a838e1a964ddce43153e9dcad045a92b0e5d4e1b57c2c17c6504beaf05f9c70717425e07d8611258f278c03bc50f53e3 SHA512 a03562b536fccc580f4bfc6bc6ae27398171136a058c8e5edb3c7f395aeb5afc8739c9b45d3c82a98e1db6e22c559325f8ac33df29d412776f87aeaf7393c712 diff --git a/sci-libs/libdap/files/libdap-3.20.9-disable-net-tests.patch b/sci-libs/libdap/files/libdap-3.20.9-disable-net-tests.patch deleted file mode 100644 index 9426a287b42e..000000000000 --- a/sci-libs/libdap/files/libdap-3.20.9-disable-net-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://src.fedoraproject.org/rpms/libdap/raw/rawhide/f/libdap-offline.patch -https://bugs.gentoo.org/830221 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -120,7 +120,6 @@ $(EXPRTESTSUITE) $(DMRTESTSUITE) $(GETDA - $(SHELL) '$(DDSTESTSUITE)' $(TESTSUITEFLAGS) - $(SHELL) '$(EXPRTESTSUITE)' $(TESTSUITEFLAGS) - $(SHELL) '$(DMRTESTSUITE)' $(TESTSUITEFLAGS) -- $(SHELL) '$(GETDAPTESTSUITE)' $(TESTSUITEFLAGS) - - # Make sure there are no spaces after the DASTESTSUITE names. jhrg 3/16/15 - # Delete the scripts here and not using CLEANFILES because this target is ---- a/unit-tests/Makefile.am -+++ b/unit-tests/Makefile.am -@@ -78,9 +78,9 @@ D4-xml.tar.gz: D4-xml/DMR_*[0-9].xml - if CPPUNIT - UNIT_TESTS = marshT arrayT attrTableT structT sequenceT ddsT dasT \ - RegexTest ArrayTest AttrTableTest ByteTest MIMEUtilTest ancT DASTest \ -- DDSTest DDXParserTest generalUtilTest HTTPConnectTest parserUtilTest \ -+ DDSTest DDXParserTest generalUtilTest parserUtilTest \ - RCReaderTest SequenceTest SignalHandlerTest MarshallerTest \ -- HTTPCacheTest ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \ -+ ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \ - Int32Test UInt32Test Int64Test UInt64Test Float32Test Float64Test \ - D4BaseTypeFactoryTest BaseTypeFactoryTest - diff --git a/sci-libs/libdap/files/libdap-3.21.1-disable-net-tests.patch b/sci-libs/libdap/files/libdap-3.21.1-disable-net-tests.patch deleted file mode 100644 index 5d7550cdb75e..000000000000 --- a/sci-libs/libdap/files/libdap-3.21.1-disable-net-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://src.fedoraproject.org/rpms/libdap/raw/rawhide/f/libdap-offline.patch -https://bugs.gentoo.org/830221 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -122,7 +122,6 @@ $(EXPRTESTSUITE) $(DMRTESTSUITE) $(GETDAPTESTSUITE) - $(SHELL) '$(DDSTESTSUITE)' $(TESTSUITEFLAGS) - $(SHELL) '$(EXPRTESTSUITE)' $(TESTSUITEFLAGS) - $(SHELL) '$(DMRTESTSUITE)' $(TESTSUITEFLAGS) -- $(SHELL) '$(GETDAPTESTSUITE)' $(TESTSUITEFLAGS) - - # Make sure there are no spaces after the DASTESTSUITE names. jhrg 3/16/15 - # Delete the scripts here and not using CLEANFILES because this target is ---- a/unit-tests/Makefile.am -+++ b/unit-tests/Makefile.am -@@ -85,9 +85,9 @@ D4-xml.tar.gz: D4-xml/DMR_*[0-9].xml - if CPPUNIT - UNIT_TESTS = marshT arrayT attrTableT structT sequenceT ddsT dasT \ - RegexTest ArrayTest GridTest AttrTableTest ByteTest MIMEUtilTest ancT DASTest \ -- DDSTest DDXParserTest generalUtilTest HTTPConnectTest parserUtilTest \ -+ DDSTest DDXParserTest generalUtilTest parserUtilTest \ - RCReaderTest SequenceTest SignalHandlerTest MarshallerTest \ -- HTTPCacheTest ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \ -+ ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \ - Int32Test UInt32Test Int64Test UInt64Test Float32Test Float64Test \ - D4BaseTypeFactoryTest BaseTypeFactoryTest util_mitTest - diff --git a/sci-libs/libdap/libdap-3.20.9-r1.ebuild b/sci-libs/libdap/libdap-3.20.9-r1.ebuild deleted file mode 100644 index 682ddcff8498..000000000000 --- a/sci-libs/libdap/libdap-3.20.9-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="Implementation of a C++ SDK for DAP 2.0 and 3.2" -HOMEPAGE="https://www.opendap.org" -SRC_URI="https://www.opendap.org/pub/source/${P}.tar.gz" - -LICENSE="|| ( LGPL-2.1 URI )" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 ~x86" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libxml2:2= - net-misc/curl - sys-apps/util-linux - virtual/zlib:=" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - app-alternatives/lex - test? ( dev-util/cppunit )" - -PATCHES=( - "${FILESDIR}"/${PN}-3.20.9-disable-net-tests.patch -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # -Werror=lto, -Werror=strict-aliasing - # https://bugs.gentoo.org/878895 - # https://github.com/OPENDAP/libdap4/issues/244 - append-flags -fno-strict-aliasing - filter-lto - - # bug 619144 - append-cxxflags -std=c++14 - - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -src_install() { - default - - # package provides .pc files - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libdap/libdap-3.21.1.ebuild b/sci-libs/libdap/libdap-3.21.1.ebuild deleted file mode 100644 index 79b90a26de59..000000000000 --- a/sci-libs/libdap/libdap-3.21.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="Implementation of a C++ SDK for DAP 2.0 and 3.2" -HOMEPAGE="https://www.opendap.org" -SRC_URI="https://www.opendap.org/pub/source/${P}.tar.gz" - -LICENSE="|| ( LGPL-2.1 URI )" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libxml2:2 - net-misc/curl - sys-apps/util-linux - virtual/zlib:= -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - sys-devel/bison - sys-devel/flex - test? ( dev-util/cppunit ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.21.1-disable-net-tests.patch -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # -Werror=lto, -Werror=strict-aliasing - # https://bugs.gentoo.org/878895 - # https://github.com/OPENDAP/libdap4/issues/244 - append-flags -fno-strict-aliasing - filter-lto - - # Needs bison/flex - unset YACC LEX - - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -src_install() { - default - - # package provides .pc files - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libdap/metadata.xml b/sci-libs/libdap/metadata.xml deleted file mode 100644 index 49e897584843..000000000000 --- a/sci-libs/libdap/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> -</maintainer> -<longdescription> - libdap is a C++ implementation of OPeNDAP which allows access to - data over the internet, from programs that weren't originally - designed for that purpose, as well as some that were. While OPeNDAP - s the original developer of the Data Access Protocol (DAP) which - it's software uses, many other groups have adopted DAP and provide - compatible clients, servers and software development kits. DAP is a - NASA community standard: http://www.esdswg.org/spg/rfc/ese-rfc-004 -</longdescription> -<upstream> - <remote-id type="github">OPENDAP/libdap4</remote-id> -</upstream> -</pkgmetadata> diff --git a/sci-libs/libecpint/Manifest b/sci-libs/libecpint/Manifest deleted file mode 100644 index 6c175d79bd31..000000000000 --- a/sci-libs/libecpint/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libecpint-1.0.6.tar.gz 1331016 BLAKE2B 9b1a8452b6810eaca17eb9e6efe876537ae32e980593ec89681fa4b2d6eaf5a908d5971c774eccd75858025599eeeb119a74b03fdbf7bcee644316dc6acad0d9 SHA512 8b0bf20d263891255ea8828cb9df7c919155ef461a66ae6c8979e9996e3392ea1b7adf21ef9ad9188e2f56547c1e2b525c3711f7cd1ace2b3c09b8ae38f75ee8 diff --git a/sci-libs/libecpint/libecpint-1.0.6-r1.ebuild b/sci-libs/libecpint/libecpint-1.0.6-r1.ebuild deleted file mode 100644 index 8a4123be9ad7..000000000000 --- a/sci-libs/libecpint/libecpint-1.0.6-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Efficient evaluation of integrals over ab initio effective core potentials" -HOMEPAGE="https://github.com/robashaw/libecpint" -SRC_URI="https://github.com/robashaw/libecpint/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-libs/pugixml" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest )" - -src_prepare() { - cmake_src_prepare - - find . -name CMakeLists.txt -exec \ - sed -i -e 's/CXX_STANDARD 11/CXX_STANDARD 14/g' {} \; || die -} - -src_configure() { - local mycmakeargs=( - -DLIBECPINT_BUILD_TESTS=$(usex test) - ) - cmake_src_configure -} diff --git a/sci-libs/libecpint/metadata.xml b/sci-libs/libecpint/metadata.xml deleted file mode 100644 index 230c9374fc5b..000000000000 --- a/sci-libs/libecpint/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Libecpint is a C++ library for the efficient evaluation of integrals over ab - initio effective core potentials, using a mixture of generated, recursive - code and Gauss-Chebyshev quadrature. It is designed to be standalone and - generic. - </longdescription> - <upstream> - <remote-id type="github">robashaw/libecpint</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libexcelformat/Manifest b/sci-libs/libexcelformat/Manifest deleted file mode 100644 index 4dfc3813dfc4..000000000000 --- a/sci-libs/libexcelformat/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libexcelformat-101016.tar.bz2 47980 BLAKE2B 6b6d003d5322d66193655c506e6841af5c3a826558c3f15c9253078975d2d1138f6173753bdc35ec27c6030e23ed76463cc396d6fd0923cdfcc34daf4fd2db84 SHA512 40d43e7b0c15d00026fde3927b3f6fdf9ea110c43141f1a25f3a8ed9ccf6a2acd1de68e25fc54d0c030364d4a4e300aa267332b9d2ac0fb0a422858715156576 diff --git a/sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch b/sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch deleted file mode 100644 index 9ce8f4a7aa85..000000000000 --- a/sci-libs/libexcelformat/files/libexcelformat-101016-Wliteral-suffix.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix -Wliteral-suffix (#731886) - ---- a/BasicExcel.cpp -+++ b/BasicExcel.cpp -@@ -4913,7 +4913,7 @@ - do - { - char sname[50]; -- sprintf(sname, "Sheet"FMT_SIZE_T, sheetNo++); -+ sprintf(sname, "Sheet" FMT_SIZE_T, sheetNo++); - yesheet = AddWorksheet(sname, sheetIndex); - } while (!yesheet); - return yesheet; diff --git a/sci-libs/libexcelformat/libexcelformat-101016-r1.ebuild b/sci-libs/libexcelformat/libexcelformat-101016-r1.ebuild deleted file mode 100644 index 933bc8acb1c8..000000000000 --- a/sci-libs/libexcelformat/libexcelformat-101016-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="reading, writing, and editing of XLS (BIFF8 format) files using C++" -HOMEPAGE="https://www.codeproject.com/Articles/42504/ExcelFormat-Library" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -S="${WORKDIR}/libExcelFormat" - -LICENSE="CPOL" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( "${FILESDIR}"/${P}-Wliteral-suffix.patch ) - -src_configure() { - tc-export CXX -} - -src_install() { - doheader *.h* - dolib.so libExcelFormat.so* -} diff --git a/sci-libs/libexcelformat/metadata.xml b/sci-libs/libexcelformat/metadata.xml deleted file mode 100644 index c0cd18916a93..000000000000 --- a/sci-libs/libexcelformat/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/libgeotiff/Manifest b/sci-libs/libgeotiff/Manifest deleted file mode 100644 index 66332cd9b9c0..000000000000 --- a/sci-libs/libgeotiff/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST libgeotiff-1.7.1.tar.gz 542779 BLAKE2B e26a14fcb463f4a9e5a3652b978223da6b11dcb4ec6a3b6068460f929a57e9affafdb652f16fad23a2da4612c6ae3c2624bfb4f26c96fc4290a33f1e0629b726 SHA512 af119040598f4349124848d9788ea1d0d2019e23fc48eaf4b0445320c51e91afa6c7e25b49738bdaf0aa4467a19104b00838d669da27dee77898c489fe5fe4c1 -DIST libgeotiff-1.7.3.tar.gz 547548 BLAKE2B cc22000d71c30d178c190a4e10487a49c970590148c92474e805957e3f7dee8211b3cb3543455a9c8a9aa48a9ee79c95e116bdb0741c458b9c7fe91fa2a8fd63 SHA512 a523d6117c7433fe37b7c0cdcba81698426cd4b084bcb35c7dacc9e87bfda1ab7a4c16a9aa64a69dedb78edc2f85e8032bf8b158411f50909603e04d13821cd3 -DIST libgeotiff-1.7.4.tar.gz 549848 BLAKE2B c2eb314b1e318e707831d548442d047bacf84b8040750e99df191b38b0d56f0f6e4a98eb8921fc86a3688ab77d9d7053e9fc93a25656226f66ce067f1884cc72 SHA512 72e81075348ef92c56f84c51bb8234eaf38e10fd88dc786c317ee6c1cf9fb1c07178b8cf4fc6348b1ddf6e42d5888861f8c57dac57273a278d157c59e9803eb1 diff --git a/sci-libs/libgeotiff/files/Doxyfile b/sci-libs/libgeotiff/files/Doxyfile deleted file mode 100644 index fcf0539b5748..000000000000 --- a/sci-libs/libgeotiff/files/Doxyfile +++ /dev/null @@ -1,261 +0,0 @@ -# Doxyfile 1.6.1 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -DOXYFILE_ENCODING = UTF-8 -PROJECT_NAME = libgeotiff -PROJECT_NUMBER = -OUTPUT_DIRECTORY = -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = NO -QT_AUTOBRIEF = NO -MULTILINE_CPP_IS_BRIEF = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 8 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = NO -OPTIMIZE_FOR_FORTRAN = NO -OPTIMIZE_OUTPUT_VHDL = NO -EXTENSION_MAPPING = -BUILTIN_STL_SUPPORT = YES -CPP_CLI_SUPPORT = NO -SIP_SUPPORT = NO -IDL_PROPERTY_SUPPORT = YES -DISTRIBUTE_GROUP_DOC = NO -SUBGROUPING = YES -TYPEDEF_HIDES_STRUCT = NO -SYMBOL_CACHE_SIZE = 0 -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = NO -EXTRACT_PRIVATE = NO -EXTRACT_STATIC = NO -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -EXTRACT_ANON_NSPACES = NO -HIDE_UNDOC_MEMBERS = YES -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = NO -SORT_MEMBERS_CTORS_1ST = NO -SORT_GROUP_NAMES = NO -SORT_BY_SCOPE_NAME = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -SHOW_DIRECTORIES = NO -SHOW_FILES = YES -SHOW_NAMESPACES = YES -FILE_VERSION_FILTER = -LAYOUT_FILE = -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = NO -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = . \ - libxtiff/xtiff.c -INPUT_ENCODING = UTF-8 -FILE_PATTERNS = *.h \ - *.cpp \ - *.c \ - *.inc -RECURSIVE = NO -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXCLUDE_SYMBOLS = -EXAMPLE_PATH = . -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = NO -REFERENCES_LINK_SOURCE = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = docs/api -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -HTML_DYNAMIC_SECTIONS = NO -GENERATE_DOCSET = NO -DOCSET_FEEDNAME = "Doxygen generated docs" -DOCSET_BUNDLE_ID = org.doxygen.Project -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -CHM_INDEX_ENCODING = -BINARY_TOC = NO -TOC_EXPAND = NO -GENERATE_QHP = NO -QCH_FILE = -QHP_NAMESPACE = -QHP_VIRTUAL_FOLDER = doc -QHP_CUST_FILTER_NAME = -QHP_CUST_FILTER_ATTRS = -QHP_SECT_FILTER_ATTRS = -QHG_LOCATION = -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = NO -USE_INLINE_TREES = NO -TREEVIEW_WIDTH = 250 -FORMULA_FONTSIZE = 10 -SEARCHENGINE = NO -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = YES -USE_PDFLATEX = YES -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -LATEX_SOURCE_CODE = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/local/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -MSCGEN_PATH = -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO -DOT_FONTNAME = FreeSans -DOT_FONTSIZE = 10 -DOT_FONTPATH = -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = YES -UML_LOOK = NO -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -CALLER_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = -DOT_GRAPH_MAX_NODES = 50 -MAX_DOT_GRAPH_DEPTH = 0 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = YES -DOT_CLEANUP = YES diff --git a/sci-libs/libgeotiff/files/libgeotiff-1.7.1-gnuinstalldirs.patch b/sci-libs/libgeotiff/files/libgeotiff-1.7.1-gnuinstalldirs.patch deleted file mode 100644 index 6fdcd9753f95..000000000000 --- a/sci-libs/libgeotiff/files/libgeotiff-1.7.1-gnuinstalldirs.patch +++ /dev/null @@ -1,120 +0,0 @@ -https://github.com/OSGeo/libgeotiff/pull/74 - -From d18deccb461990c826ceee8fbcc57a44502ace2e Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 20 Mar 2022 02:55:50 +0000 -Subject: [PATCH] CMake: adopt GNUInstallDirs - -This makes it a lot easier for packagers (it happens by default -if we've setup our environment correctly) to have files installed in the right -places, including libdir, but also documentation, which can vary. - -This works cross-platform still but it means libgeotiff uses the -standard options which CMake projects tend to use for such locations -and therefore no special treatment is needed when packaging it. - -Fixes: https://github.com/OSGeo/issues/33 -Signed-off-by: Sam James <sam@gentoo.org> ---- - CMakeLists.txt | 41 ++++++++++------------------------- - bin/CMakeLists.txt | 6 ++--- - 2 files changed, 14 insertions(+), 33 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 001df67..1840258 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -7,6 +7,8 @@ - ############################################################################### - PROJECT(GeoTIFF) - -+include(GNUInstallDirs) -+ - SET(GEOTIFF_LIB_NAME geotiff) - SET(GEOTIFF_LIBRARY_TARGET geotiff_library) - -@@ -239,38 +241,17 @@ SET(GEOTIFF_MAN_PAGES - - # ${PROJECT_BINARY_DIR}/geotiff_version.h - --SET(DEFAULT_BIN_SUBDIR bin) --SET(DEFAULT_LIB_SUBDIR lib) --SET(DEFAULT_INCLUDE_SUBDIR include) -- --# Locations are changeable by user to customize layout of GeoTIFF installation --# (default values are platform-specIFic) --SET(GEOTIFF_BIN_SUBDIR ${DEFAULT_BIN_SUBDIR} CACHE STRING -- "Subdirectory where executables will be installed") --SET(GEOTIFF_LIB_SUBDIR ${DEFAULT_LIB_SUBDIR} CACHE STRING -- "Subdirectory where libraries will be installed") --SET(GEOTIFF_INCLUDE_SUBDIR ${DEFAULT_INCLUDE_SUBDIR} CACHE STRING -- "Subdirectory where header files will be installed") -- --# Mark *_SUBDIR variables as advanced and dedicated to use by power-users only. --MARK_AS_ADVANCED(GEOTIFF_BIN_SUBDIR GEOTIFF_LIB_SUBDIR GEOTIFF_INCLUDE_SUBDIR) -- --# Full paths for the installation --SET(GEOTIFF_BIN_DIR ${GEOTIFF_BIN_SUBDIR}) --SET(GEOTIFF_LIB_DIR ${GEOTIFF_LIB_SUBDIR}) --SET(GEOTIFF_INCLUDE_DIR ${GEOTIFF_INCLUDE_SUBDIR}) -- - # Install doc files - INSTALL(FILES - AUTHORS ChangeLog COPYING INSTALL LICENSE README README_BIN README.WIN -- DESTINATION doc) -+ DESTINATION ${CMAKE_INSTALL_DOCDIR}) - - # Install man pages --INSTALL(FILES ${GEOTIFF_MAN_PAGES} DESTINATION share/man/man1) -+INSTALL(FILES ${GEOTIFF_MAN_PAGES} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) - - - # Install header files for development distribution --INSTALL(FILES ${GEOTIFF_LIB_HEADERS} DESTINATION ${GEOTIFF_INCLUDE_DIR}) -+INSTALL(FILES ${GEOTIFF_LIB_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - ############################################################################### - # Build libxtiff library -@@ -323,7 +304,7 @@ if(UNIX) - set_target_properties( - ${GEOTIFF_LIBRARY_TARGET} - PROPERTIES -- INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${GEOTIFF_LIB_DIR}") -+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") - endif() - endif() - -@@ -348,14 +329,14 @@ target_link_libraries(${GEOTIFF_LIBRARY_TARGET} PRIVATE - target_include_directories( - ${GEOTIFF_LIBRARY_TARGET} - PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}> -- $<INSTALL_INTERFACE:${GEOTIFF_INCLUDE_DIR}>) -+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) - - INSTALL( TARGETS ${GEOTIFF_LIBRARY_TARGET} - EXPORT depends -- RUNTIME DESTINATION ${GEOTIFF_BIN_DIR} -- LIBRARY DESTINATION ${GEOTIFF_LIB_DIR} -- PUBLIC_HEADER DESTINATION ${GEOTIFF_INCLUDE_DIR} -- ARCHIVE DESTINATION ${GEOTIFF_LIB_DIR} ) -+ RUNTIME DESTINATION ${CMAKE_INSTALLL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) - - # Define grouping of source files in PROJECT file (e.g. Visual Studio) - SOURCE_GROUP("CMake Files" FILES CMakeLists.txt) -diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt -index dad465f..c61585c 100644 ---- a/bin/CMakeLists.txt -+++ b/bin/CMakeLists.txt -@@ -41,6 +41,6 @@ MESSAGE(STATUS "Adding GeoTIFF utilities to build - done: ${GEOTIFF_UTILITIES}") - # Targets installation - - INSTALL(TARGETS ${GEOTIFF_UTILITIES} -- RUNTIME DESTINATION ${GEOTIFF_BIN_DIR} -- LIBRARY DESTINATION ${GEOTIFF_LIB_DIR} -- ARCHIVE DESTINATION ${GEOTIFF_LIB_DIR}) -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/sci-libs/libgeotiff/libgeotiff-1.7.1-r3.ebuild b/sci-libs/libgeotiff/libgeotiff-1.7.1-r3.ebuild deleted file mode 100644 index 6f31d1093aed..000000000000 --- a/sci-libs/libgeotiff/libgeotiff-1.7.1-r3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" -HOMEPAGE="https://trac.osgeo.org/geotiff/ https://github.com/OSGeo/libgeotiff" -SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/5" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86 ~x64-macos" -IUSE="doc jpeg +tiff zlib" - -DEPEND=">=sci-libs/proj-6.0.0:= - jpeg? ( media-libs/libjpeg-turbo:= ) - tiff? ( >=media-libs/tiff-3.9.1:= ) - zlib? ( virtual/zlib:= )" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-text/doxygen )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.7.1-gnuinstalldirs.patch -) - -src_configure() { - local mycmakeargs=( - -DWITH_JPEG=$(usex jpeg) - -DWITH_TIFF=$(usex tiff) - -DWITH_ZLIB=$(usex zlib) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - mkdir -p docs/api || die - cp "${FILESDIR}"/Doxyfile Doxyfile || die - doxygen -u Doxyfile || die "updating doxygen config failed" - doxygen Doxyfile || die "docs generation failed" - fi -} - -src_install() { - use doc && local HTML_DOCS=( docs/api/. ) - - cmake_src_install -} diff --git a/sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild b/sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild deleted file mode 100644 index 70aa47cf5284..000000000000 --- a/sci-libs/libgeotiff/libgeotiff-1.7.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" -HOMEPAGE="https://trac.osgeo.org/geotiff/ https://github.com/OSGeo/libgeotiff" -SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~x64-macos" -# TODO: add tiff when resolved: https://github.com/OSGeo/libgeotiff/issues/125 -IUSE="doc jpeg zlib" - -DEPEND=" - >=sci-libs/proj-6.0.0:= - >=media-libs/tiff-3.9.1:= - jpeg? ( media-libs/libjpeg-turbo:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=media-libs/tiff-3.9.1 - doc? ( app-text/doxygen ) -" - -src_configure() { - # in >1.7.3 there is BUILD_{DOC,MAN}, it should be added - local mycmakeargs=( - -DWITH_JPEG=$(usex jpeg) - -DWITH_TIFF=ON # bug 837287 - -DWITH_TOWGS84=OFF # default - -DWITH_ZLIB=$(usex zlib) - ) - use doc && HTML_DOCS=( docs/api/. ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - mkdir -p docs/api || die - cp "${FILESDIR}"/Doxyfile Doxyfile || die - doxygen -u Doxyfile || die "updating doxygen config failed" - doxygen Doxyfile || die "docs generation failed" - fi -} - -src_test() { - # https://github.com/OSGeo/libgeotiff?tab=readme-ov-file#testing - # Check if still needed: https://github.com/OSGeo/libgeotiff/issues/126 - pushd "${BUILD_DIR}"/bin || die - - # prepare file - ./makegeo || die "makegeo failed" - [[ -f "newgeo.tif" ]] || die "makegeo did not produce a file" - - # test - ./listgeo newgeo.tif > metadata.txt || die "listgeo metadata extraction failed" - ./geotifcp -g metadata.txt newgeo.tif newer.tif > /dev/null || die - cmp new{geo,er}.tif || die "geotifcp produces different files" - popd || die -} diff --git a/sci-libs/libgeotiff/libgeotiff-1.7.4.ebuild b/sci-libs/libgeotiff/libgeotiff-1.7.4.ebuild deleted file mode 100644 index 457267aacb90..000000000000 --- a/sci-libs/libgeotiff/libgeotiff-1.7.4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" - -inherit cmake docs - -DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" -HOMEPAGE=" - https://trac.osgeo.org/geotiff/ - https://github.com/OSGeo/libgeotiff/tree/master/libgeotiff -" -SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/5" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86 ~x64-macos" -# TODO: add tiff when resolved: https://github.com/OSGeo/libgeotiff/issues/125 -IUSE="jpeg zlib" - -DEPEND=" - >=sci-libs/proj-6.0.0:= - >=media-libs/tiff-3.9.1:= - jpeg? ( media-libs/libjpeg-turbo:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=">=media-libs/tiff-3.9.1" -# Upstream DOCS are a mess, install the bare minimum -DOCS=( NEWS README ) - -src_configure() { - # in >1.7.3 there is BUILD_{DOC,MAN}, it should be added - local mycmakeargs=( - -DBUILD_MAN=ON # 12K - -DBUILD_DOC=OFF # installs AUTHORS, COPYING... - -DWITH_TOWGS84=ON # default - -DWITH_UTILITIES=ON # default - - -DWITH_JPEG=$(usex jpeg) - -DWITH_TIFF=ON # bug 837287 - -DWITH_ZLIB=$(usex zlib) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then # use our Doxyfile, upstream violates the sandbox - mkdir -p docs/api || die - ln -s "${FILESDIR}"/Doxyfile ./ || die - doxygen -u Doxyfile || die "updating doxygen config failed" - fi - docs_compile -} - -src_test() { - # https://github.com/OSGeo/libgeotiff?tab=readme-ov-file#testing - # Check if still needed: https://github.com/OSGeo/libgeotiff/issues/126 - pushd "${BUILD_DIR}"/bin || die - - # prepare file - ./makegeo || die "makegeo failed" - [[ -f "newgeo.tif" ]] || die "makegeo did not produce a file" - - # test - ./listgeo newgeo.tif > metadata.txt || die "listgeo metadata extraction failed" - ./geotifcp -g metadata.txt newgeo.tif newer.tif > /dev/null || die - cmp new{geo,er}.tif || die "geotifcp produces different files" - popd || die -} diff --git a/sci-libs/libgeotiff/metadata.xml b/sci-libs/libgeotiff/metadata.xml deleted file mode 100644 index 8885661c78b0..000000000000 --- a/sci-libs/libgeotiff/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/OSGeo/libgeotiff/issues</bugs-to> - <changelog>https://github.com/OSGeo/libgeotiff/blob/master/libgeotiff/NEWS</changelog> - <remote-id type="github">OSGeo/libgeotiff</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libh2o/Manifest b/sci-libs/libh2o/Manifest deleted file mode 100644 index 160f649e5ebd..000000000000 --- a/sci-libs/libh2o/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libh2o-0.2.1.tar.bz2 290418 BLAKE2B a1de444e13d8ceb65af73eb7fc8f0b35ff59377fa72417b1cf2ee4d919a44d31f356ed14dc0bf9c04ca6f3e5cce71bed7552e98a30f5b134f7a5d322845bf105 SHA512 e2fb14171aa401e85edcef6be36bfd2af31a7da2db03bc77c41fd58962a8e2616bbbd43adb268c262b848d044c9d33016c504ce770f5cfe0d585d05dacc63e2a diff --git a/sci-libs/libh2o/libh2o-0.2.1-r1.ebuild b/sci-libs/libh2o/libh2o-0.2.1-r1.ebuild deleted file mode 100644 index e6eab7d0ace6..000000000000 --- a/sci-libs/libh2o/libh2o-0.2.1-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Library of routines for IF97 water & steam properties" -HOMEPAGE="https://github.com/projg2/libh2o/" -SRC_URI=" - https://github.com/projg2/libh2o/releases/download/${P}/${P}.tar.bz2 -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug static-libs" - -RDEPEND=" - !www-servers/h2o -" -BDEPEND=" - virtual/pkgconfig -" - -src_configure() { - local myconf=( - $(use_enable debug) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/libh2o/metadata.xml b/sci-libs/libh2o/metadata.xml deleted file mode 100644 index abd4fda5e9a6..000000000000 --- a/sci-libs/libh2o/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <upstream> - <maintainer status="active"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <bugs-to>https://github.com/projg2/libh2o/issues/</bugs-to> - <remote-id type="github">projg2/libh2o</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libh2oxx/Manifest b/sci-libs/libh2oxx/Manifest deleted file mode 100644 index a537fc63caa7..000000000000 --- a/sci-libs/libh2oxx/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libh2oxx-0.2.tar.bz2 266320 BLAKE2B b63363dfa5ec1a63a3fa35b0dcf8bf79b84d33a8fdd1452c4ae2b7e2c3ed14d5e24bc732ff5cf240557ab7e92558f2aa41f005b1bfe2f7efa294dde21bd1c0b9 SHA512 37b5eb713eed9a41f001add0ed3415fb4e1d6a19917de7fe36017f9a8b102394ac86b47fa845b18d7c4c63ad94e270f28e0883c9e9503c1952fdefbfdb6cc3a3 diff --git a/sci-libs/libh2oxx/libh2oxx-0.2-r1.ebuild b/sci-libs/libh2oxx/libh2oxx-0.2-r1.ebuild deleted file mode 100644 index 90d7e856815a..000000000000 --- a/sci-libs/libh2oxx/libh2oxx-0.2-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="C++ bindings for libh2o" -HOMEPAGE="https://github.com/projg2/libh2oxx/" -SRC_URI=" - https://github.com/projg2/libh2oxx/releases/download/${P}/${P}.tar.bz2 -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -DEPEND=" - >=sci-libs/libh2o-0.2:0= -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - local myconf=( - $(use_enable debug) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/libh2oxx/metadata.xml b/sci-libs/libh2oxx/metadata.xml deleted file mode 100644 index 4ee008f4b14f..000000000000 --- a/sci-libs/libh2oxx/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <upstream> - <maintainer status="active"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <bugs-to>https://github.com/projg2/libh2oxx/issues/</bugs-to> - <remote-id type="github">projg2/libh2oxx</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libhomfly/Manifest b/sci-libs/libhomfly/Manifest deleted file mode 100644 index 54c9c41eb7a9..000000000000 --- a/sci-libs/libhomfly/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST libhomfly-1.02r6.tar.gz 359354 BLAKE2B 7b60c54e56777dc4b81240cbdd63726591323dc6d841f8d56d641ea304d9a4c1c3ffb3078fc54861f22b5007b36bd32c5f397e2fe8d40f10362eca8d08ba4915 SHA512 44f81815a0ba4c0358d433eb9769944af2ee02790d78aaa08e791d03ba68ba3dcf0389b4287f687211e6a7ba84e1bea3d2ebe69fc8bb4f12d677b7f54872d618 -DIST libhomfly-1.04.tar.gz 385799 BLAKE2B b02542b76af139473c3ee0e5e4b2f2fb6f34e3af24d918e278eab31d7b92f0df32c8ebf6bc2b49691bfbf80dfa38b19bff424735e324899ab15f97d3d788075d SHA512 e62b0997d3ff9ceb04c54b8226fb4ecee579e45f4c339b28871d90894c267d495a695de8e62a85da64d99a97dfb894c375a54e7cba3bf95a709f270f4be7912d diff --git a/sci-libs/libhomfly/libhomfly-1.02.6.ebuild b/sci-libs/libhomfly/libhomfly-1.02.6.ebuild deleted file mode 100644 index 8f489d9154da..000000000000 --- a/sci-libs/libhomfly/libhomfly-1.02.6.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=$(ver_rs 2 r) -MY_P="${PN}-${MY_PV}" -DESCRIPTION="Library to compute the homfly polynomial of a link" -HOMEPAGE="https://github.com/miguelmarco/libhomfly" -SRC_URI="https://github.com/miguelmarco/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="amd64 ~riscv" -IUSE="static-libs" - -DEPEND="dev-libs/boehm-gc" -RDEPEND="${DEPEND}" - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libhomfly/libhomfly-1.04.ebuild b/sci-libs/libhomfly/libhomfly-1.04.ebuild deleted file mode 100644 index 04b659b71dbc..000000000000 --- a/sci-libs/libhomfly/libhomfly-1.04.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PV=$(ver_rs 2 r) -MY_P="${PN}-${MY_PV}" -DESCRIPTION="Library to compute the homfly polynomial of a link" -HOMEPAGE="https://github.com/miguelmarco/libhomfly" -SRC_URI="https://github.com/miguelmarco/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -DEPEND="dev-libs/boehm-gc" -RDEPEND="${DEPEND}" - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libhomfly/metadata.xml b/sci-libs/libhomfly/metadata.xml deleted file mode 100644 index 37825533559b..000000000000 --- a/sci-libs/libhomfly/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <upstream> - <remote-id type="github">miguelmarco/libhomfly</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libigl/Manifest b/sci-libs/libigl/Manifest deleted file mode 100644 index f7966dfde000..000000000000 --- a/sci-libs/libigl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libigl-2.5.0.tar.gz 1230536 BLAKE2B c92df589a6e114c33151256945786aa7357d89f32bf4b0dedb3d523e3beef85beed67e926875066c05b899b3dfc70d9f64aeb7674449a2487acaf0f67e9217b3 SHA512 39b92ec4c2479a3c0a8e99b2890643c9d76a7e5b61b485c1a3a5f5abff1da4e62b67b879dbcf6e18a43f98172fc9f87f0a6c92b99e2a1900e6f1d2e809899b11 diff --git a/sci-libs/libigl/libigl-2.5.0.ebuild b/sci-libs/libigl/libigl-2.5.0.ebuild deleted file mode 100644 index 190d833eb0d5..000000000000 --- a/sci-libs/libigl/libigl-2.5.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="A simple C++ geometry processing library" -HOMEPAGE="https://libigl.github.io/" -SRC_URI="https://github.com/libigl/libigl/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+ MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="static-libs" - -DEPEND="dev-cpp/eigen:=" -RDEPEND="${DEPEND}" - -src_prepare() { - cmake_src_prepare - - # Tries to copy eigen headers into /usr/include - sed -e '/install(DIRECTORY/d' -i cmake/recipes/external/eigen.cmake || die -} - -src_configure() { - local mycmakeargs=( - -DFETCHCONTENT_FULLY_DISCONNECTED=ON - -DLIBIGL_BUILD_TESTS=OFF - -DLIBIGL_BUILD_TUTORIALS=OFF - -DLIBIGL_USE_STATIC_LIBRARY=$(usex static-libs) - -DLIBIGL_COPYLEFT_CGAL=OFF - -DLIBIGL_COPYLEFT_COMISO=OFF - -DLIBIGL_EMBREE=OFF - -DLIBIGL_DEFAULT_MATLAB=OFF - -DLIBIGL_DEFAULT_MOSEK=OFF - -DLIBIGL_OPENGL=OFF - -DLIBIGL_GLFW=OFF - -DLIBIGL_IMGUI=OFF - -DLIBIGL_STB=OFF - -DLIBIGL_PREDICATES=OFF - -DLIBIGL_SPECTRA=OFF - -DLIBIGL_COPYLEFT_TETGEN=OFF - -DLIBIGL_RESTRICTED_TRIANGLE=OFF - -DLIBIGL_XML=OFF - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Install won't install all headers - insinto /usr/include/ - doins -r include/igl -} diff --git a/sci-libs/libigl/metadata.xml b/sci-libs/libigl/metadata.xml deleted file mode 100644 index cf81a4fd43e8..000000000000 --- a/sci-libs/libigl/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>3dprint@gentoo.org</email> - <name>Gentoo 3D Printer Project</name> - </maintainer> - <longdescription> - ibigl is a simple C++ geometry processing library with a wide functionality including construction of sparse - discrete differential geometry operators and finite-elements matrices such as the cotangent Laplacian and - diagonalized mass matrix, simple facet and edge-based topology data structures, mesh-viewing utilities for - OpenGL and GLSL, and many core functions for matrix manipulation which make Eigen feel a lot more like MATLAB. - </longdescription> - <upstream> - <bugs-to>https://github.com/libigl/libigl/issues</bugs-to> - <remote-id type="github">libigl/libigl</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest deleted file mode 100644 index 5c42e92a40f2..000000000000 --- a/sci-libs/libint/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST libint-1.1.6.tar.gz 256404 BLAKE2B c754e25f0c3bc6c52eb434beafd2cb794a2e715003ee9409d76e8ae06e0ce19a42a9331ad4db9be2745d6820e7248210d10b4c004146e99192fd16fd2c31966d SHA512 cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7 -DIST libint-2.11.0.tar.gz 21958050 BLAKE2B 44f4317a258d4133e3045b036446644bbfb08f15d263b1dc049b37e14cc10608a9834f90154e257b16af29569e34e5b2bdff591530777bd4d7e05d22a52f7f18 SHA512 00e3c9b3938aaf7c0b463686f2bf245f0ebefabdab84e3b898a29a87420ca4d461769558e30ff9cf84e6c2c588a3910fcec1ded353f5c62f9ecaf4ee637b6e32 -DIST libint-2.9.0.tar.gz 21705777 BLAKE2B b2e8f36356f6eb8eff1207ba47c0f3bcc4471bd918cf933d03a1dd97efddd72d65464af743815d8bb633567ba97b19b8629881a5115b14f1630df1be7e6d0304 SHA512 6cffbd3d78dee4722b8085f4dd93085351cb610b5cb7ac090335adb2c43e87256ca06a658c202473fd763a38f7c0eeb6570b2c6a107e3f41d1258baf6e5b17de diff --git a/sci-libs/libint/files/libint-1.1.6-as-needed.patch b/sci-libs/libint/files/libint-1.1.6-as-needed.patch deleted file mode 100644 index d9f6e449ba08..000000000000 --- a/sci-libs/libint/files/libint-1.1.6-as-needed.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -317,12 +317,11 @@ LIBS=$withval - echo Using extra libraries: $withval - ) - --LDFLAGS= - LIBDIRS= - AC_ARG_WITH(libdirs, - [ --with-libdirs Specifies library directories (-Ldir1 -Ldir2).], - LIBDIRS=$withval --LDFLAGS=$withval -+LDFLAGS="$LDFLAGS $withval" - echo Using extra library directories: $withval - ) - ---- a/src/bin/MakeRules.in -+++ b/src/bin/MakeRules.in -@@ -3,7 +3,7 @@ HAVE_MAKERULES = yes - - BINOBJ = $(BUILD_CSRC:%.c=%.$(OBJSUF)) $(BUILD_CXXSRC:%.cc=%.$(OBJSUF)) - $(BUILD_BINARY): $(BINOBJ) -- $(LD) $^ $(LDFLAGS) $(SYSLIBS) -o $@ -+ $(LD) $(LDFLAGS) $^ $(SYSLIBS) -o $@ - - .PHONY: install install_inc install_target uninstall clean oclean distclean targetclean realclean - install:: ---- a/src/lib/libderiv/Makefile.library -+++ b/src/lib/libderiv/Makefile.library -@@ -23,7 +23,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ) - - # this is how shared library is made - $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ) -- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS) -+ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS) - - $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h - $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME) ---- a/src/lib/libint/Makefile.library -+++ b/src/lib/libint/Makefile.library -@@ -41,7 +41,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ) - - # this is how shared library is made - $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ) -- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS) -+ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS) - - $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h - $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME) ---- a/src/lib/libr12/Makefile.library -+++ b/src/lib/libr12/Makefile.library -@@ -47,7 +47,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ) - - # this is how shared library is made - $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ) -- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS) -+ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS) - - $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h - $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME) diff --git a/sci-libs/libint/files/libint-2.9.0-gcc15-include.patch b/sci-libs/libint/files/libint-2.9.0-gcc15-include.patch deleted file mode 100644 index 5c84991fc9d0..000000000000 --- a/sci-libs/libint/files/libint-2.9.0-gcc15-include.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://bugs.gentoo.org/939020 -https://github.com/evaleev/libint/pull/366 - -From 485aaae9e18e9ad3d0d43f20caf8f054ded9b80b Mon Sep 17 00:00:00 2001 -From: Alfred Wingate <parona@protonmail.com> -Date: Mon, 28 Apr 2025 16:28:23 +0300 -Subject: [PATCH] Include implicit cstdint - -Gcc-15 and unreleased clang-21 don't implicitly include it anymore for -intptr_t. - -https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes - -Bug: https://bugs.gentoo.org/939020 -Signed-off-by: Alfred Wingate <parona@protonmail.com> ---- a/src/bin/libint/memory.h -+++ b/src/bin/libint/memory.h -@@ -21,6 +21,7 @@ - #include <limits.h> - #include <smart_ptr.h> - -+#include <cstdint> - #include <list> - - #ifndef _libint2_src_bin_libint_memory_h_ --- -2.49.0 - diff --git a/sci-libs/libint/libint-1.1.6.ebuild b/sci-libs/libint/libint-1.1.6.ebuild deleted file mode 100644 index 83dfe99cd15e..000000000000 --- a/sci-libs/libint/libint-1.1.6.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools fortran-2 toolchain-funcs - -MY_PV="$(ver_rs 0- -)" - -DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions" -HOMEPAGE="https://github.com/evaleev/libint" -SRC_URI="https://github.com/evaleev/libint/archive/release-${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-release-${MY_PV}" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="amd64 ~x86" - -PATCHES=( "${FILESDIR}"/${P}-as-needed.patch ) - -src_prepare() { - mv configure.{in,ac} || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-deriv - --enable-r12 - --with-cc="$(tc-getCC)" - --with-cxx="$(tc-getCXX)" - --with-cc-optflags="${CFLAGS}" - --with-cxx-optflags="${CXXFLAGS}" - ) - econf "${myeconfargs[@]}" -} diff --git a/sci-libs/libint/libint-2.11.0.ebuild b/sci-libs/libint/libint-2.11.0.ebuild deleted file mode 100644 index 62bcf8d985da..000000000000 --- a/sci-libs/libint/libint-2.11.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions" -HOMEPAGE="https://github.com/evaleev/libint" -SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="amd64 ~x86" -IUSE="static-libs doc" - -DEPEND=" - dev-libs/boost - dev-libs/gmp[cxx(+)] - doc? ( - dev-texlive/texlive-latex - dev-tex/latex2html - ) -" - -PATCHES=( - "${FILESDIR}"/libint-2.9.0-gcc15-include.patch -) - -src_prepare() { - default - eautoreconf - - # bug 725454 - sed -i -e '/RANLIB/d' src/bin/libint/Makefile || die -} - -src_configure() { - # bug #862894 - append-flags -fno-strict-aliasing - filter-lto - - econf \ - --with-cxx="$(tc-getCXX)" \ - --with-cxx-optflags="${CXXFLAGS}" \ - --with-cxxgen-optflags="${CXXFLAGS}" \ - --with-cxxdepend="$(tc-getCXX)" \ - --with-ranlib="$(tc-getRANLIB)" \ - --with-ar="$(tc-getAR)" \ - --with-ld="$(tc-getLD)" \ - --enable-eri=2 --enable-eri3=2 --enable-eri2=2 \ - --with-eri-max-am=7,5,4 --with-eri-opt-am=3 \ - --with-eri3-max-am=7 --with-eri2-max-am=7 \ - --with-g12-max-am=5 --with-g12-opt-am=3 \ - --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \ - --enable-contracted-ints \ - --enable-shared \ - $(use_enable static-libs static) -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" - - use doc && emake html pdf -} - -src_install() { - default - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die "Failed to remove .la files" - fi - - if use doc; then - DOCS=( doc/progman/progman.pdf ) - HTML_DOCS=( doc/progman/progman/*.{html,png,css} ) - einstalldocs - fi -} diff --git a/sci-libs/libint/libint-2.9.0.ebuild b/sci-libs/libint/libint-2.9.0.ebuild deleted file mode 100644 index 62bcf8d985da..000000000000 --- a/sci-libs/libint/libint-2.9.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions" -HOMEPAGE="https://github.com/evaleev/libint" -SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="amd64 ~x86" -IUSE="static-libs doc" - -DEPEND=" - dev-libs/boost - dev-libs/gmp[cxx(+)] - doc? ( - dev-texlive/texlive-latex - dev-tex/latex2html - ) -" - -PATCHES=( - "${FILESDIR}"/libint-2.9.0-gcc15-include.patch -) - -src_prepare() { - default - eautoreconf - - # bug 725454 - sed -i -e '/RANLIB/d' src/bin/libint/Makefile || die -} - -src_configure() { - # bug #862894 - append-flags -fno-strict-aliasing - filter-lto - - econf \ - --with-cxx="$(tc-getCXX)" \ - --with-cxx-optflags="${CXXFLAGS}" \ - --with-cxxgen-optflags="${CXXFLAGS}" \ - --with-cxxdepend="$(tc-getCXX)" \ - --with-ranlib="$(tc-getRANLIB)" \ - --with-ar="$(tc-getAR)" \ - --with-ld="$(tc-getLD)" \ - --enable-eri=2 --enable-eri3=2 --enable-eri2=2 \ - --with-eri-max-am=7,5,4 --with-eri-opt-am=3 \ - --with-eri3-max-am=7 --with-eri2-max-am=7 \ - --with-g12-max-am=5 --with-g12-opt-am=3 \ - --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \ - --enable-contracted-ints \ - --enable-shared \ - $(use_enable static-libs static) -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" - - use doc && emake html pdf -} - -src_install() { - default - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die "Failed to remove .la files" - fi - - if use doc; then - DOCS=( doc/progman/progman.pdf ) - HTML_DOCS=( doc/progman/progman/*.{html,png,css} ) - einstalldocs - fi -} diff --git a/sci-libs/libint/metadata.xml b/sci-libs/libint/metadata.xml deleted file mode 100644 index ac6ca5192ede..000000000000 --- a/sci-libs/libint/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - libint is two things: - 1. a library of C/C++ functions for efficient evaluation of several - kinds of two-body molecular integrals over Gaussian functions; - 2. the optimizing compiler that generates a Libint library. - </longdescription> - <upstream> - <remote-id type="github">evaleev/libint</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libmuscle/Manifest b/sci-libs/libmuscle/Manifest deleted file mode 100644 index a5984802241a..000000000000 --- a/sci-libs/libmuscle/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libmuscle-3.7-r1.tar.bz2 458852 BLAKE2B 7f3fc693f9e1ca47f16020055b49b5130e5b3ee69a51b390e335bef67f643001470ad06ffbed7abafbd0beb6a97fe7c9b84ea3d908146ec74f1d0a6ac409777f SHA512 3031070dcd888c327b023eeb225a291bf36ec0c6fa8046fb1d945929305692bcdb3bc9623b02dfd753e086d3524bb7f10b9b011f663e38c71b17f6f516c0ac62 diff --git a/sci-libs/libmuscle/files/3.7-bufferoverflow.patch b/sci-libs/libmuscle/files/3.7-bufferoverflow.patch deleted file mode 100644 index 384f17acfbf4..000000000000 --- a/sci-libs/libmuscle/files/3.7-bufferoverflow.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/libMUSCLE/globalslinux.cpp -+++ b/libMUSCLE/globalslinux.cpp -@@ -159,7 +159,7 @@ - }
- return DEFAULT_RAM;
- }
-- int Bytes = atoi(pMem+9)*1000;
-+ long Bytes = atol(pMem+9)*1000;
- return ((double) Bytes)/1e6;
- }
-
---- a/libMUSCLE/progress.cpp -+++ b/libMUSCLE/progress.cpp -@@ -48,7 +48,7 @@ - if (MB < 0)
- return "";
-
-- static char Str[9];
-+ static char Str[11];
- static double MaxMB = 0;
- static double RAMMB = 0;
-
diff --git a/sci-libs/libmuscle/files/libmuscle-3.7-fix-build-system.patch b/sci-libs/libmuscle/files/libmuscle-3.7-fix-build-system.patch deleted file mode 100644 index 2b2c28c8132a..000000000000 --- a/sci-libs/libmuscle/files/libmuscle-3.7-fix-build-system.patch +++ /dev/null @@ -1,21 +0,0 @@ -* Make build system parallel buildable -* Remove -funroll-loops and friends - ---- a/libMUSCLE/Makefile.am -+++ b/libMUSCLE/Makefile.am -@@ -1,6 +1,4 @@ --OPTIMIZATION = -O2 -Wall -funroll-loops -fomit-frame-pointer -ftree-vectorize -funsafe-math-optimizations --AM_CXXFLAGS = $(OPTIMIZATION) -DNDEBUG=1 @OPENMP_CXXFLAGS@ --AM_LDFLAGS = $(OPTIMIZATION) -+AM_CXXFLAGS = -DNDEBUG=1 @OPENMP_CXXFLAGS@ - - LIBMUSCLE_H = \ - alpha.h cluster.h clust.h clustsetdf.h clustset.h clustsetmsa.h diaglist.h distcalc.h distfunc.h dpregionlist.h dpreglist.h edgelist.h enumopts.h enums.h estring.h gapscoredimer.h gonnet.h intmath.h msadist.h msa.h muscle.h objscore.h params.h profile.h pwpath.h refine.h scorehistory.h seq.h seqvect.h textfile.h timing.h tree.h types.h unixio.h threadstorage.h -@@ -36,6 +34,6 @@ - - - muscle_SOURCES = main.cpp --muscle_LDADD = $(top_builddir)/libMUSCLE/libMUSCLE-3.7.la -+muscle_LDADD = libMUSCLE-3.7.la - - diff --git a/sci-libs/libmuscle/libmuscle-3.7-r4.ebuild b/sci-libs/libmuscle/libmuscle-3.7-r4.ebuild deleted file mode 100644 index 1a00a894d11e..000000000000 --- a/sci-libs/libmuscle/libmuscle-3.7-r4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="Library for sci-biology/mauve" -HOMEPAGE="http://gel.ahabs.wisc.edu/mauve/" -SRC_URI="mirror://gentoo/${P}-r1.tar.bz2" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc static-libs" - -RDEPEND="!sci-biology/muscle" -BDEPEND="doc? ( app-text/doxygen )" - -PATCHES=( - "${FILESDIR}"/${PV}-bufferoverflow.patch - "${FILESDIR}"/${PN}-3.7-fix-build-system.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862897 - # Upstream website doesn't load. Nowhere to report bugs to. - # - # Do not trust with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - econf $(use_enable static-libs static) -} - -src_install() { - default - - # package provides .pc file - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/libmuscle/metadata.xml b/sci-libs/libmuscle/metadata.xml deleted file mode 100644 index bdabd1d83788..000000000000 --- a/sci-libs/libmuscle/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest deleted file mode 100644 index 23aa8e94f86d..000000000000 --- a/sci-libs/libnova/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libnova-0.16.0.tar.xz 909212 BLAKE2B ae7efef8295dafd3715c37506d7403fc38a951c9a7c43e41e3c6ca3c922243a396052bbb71f07901bbd3aae2b2bee183efbd9e3e9c50dce72379f6ced80d5701 SHA512 f1c33421b7f09097223afe1bd5c31fa9a4591e4c965ba8a5ae1f164367717aa03986970ffe9c01e400b27aea43843fbb67cfbfe6ef44ec2c519f524aab9ea86f diff --git a/sci-libs/libnova/files/libnova-0.16.0-cflags.patch b/sci-libs/libnova/files/libnova-0.16.0-cflags.patch deleted file mode 100644 index fcb06a9360c9..000000000000 --- a/sci-libs/libnova/files/libnova-0.16.0-cflags.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -1,6 +1,6 @@ - ## Process this file with automake to produce Makefile.in - --AM_CFLAGS = -Wall -O3 $(AVX_CFLAGS) -+AM_CFLAGS = $(AVX_CFLAGS) - - SUBDIRS = libnova elp - ---- a/src/elp/Makefile.am -+++ b/src/elp/Makefile.am -@@ -1,6 +1,6 @@ - noinst_LTLIBRARIES = libelp.la - --AM_CFLAGS = -I ../ -Wall -O3 $(AVX_CFLAGS) -+AM_CFLAGS = -I ../ $(AVX_CFLAGS) - - libelp_la_SOURCES = \ - elp1.c \ --- -2.45.2 - diff --git a/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch b/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch deleted file mode 100644 index 330952d058bf..000000000000 --- a/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 1be82238860bba941b1b16c6f31763577a17b8af Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Tue, 6 Aug 2024 21:49:52 +0200 -Subject: Fix build with >=GCC-14 - ---- - src/parallax.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/parallax.c b/src/parallax.c -index 733e26c..0c11f04 100644 ---- a/src/parallax.c -+++ b/src/parallax.c -@@ -17,6 +17,7 @@ - */ - - #include <math.h> -+#include <libnova/earth.h> - #include <libnova/parallax.h> - #include <libnova/utility.h> - #include <libnova/sidereal_time.h> --- -2.45.2 - diff --git a/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch b/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch deleted file mode 100644 index 746f46f443f4..000000000000 --- a/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 857957a9229b49044070301da24b84dcb2bb0d67 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Sun, 28 Mar 2021 07:49:22 -0700 -Subject: [PATCH] build: Link with the libelp .la file. - ---- - src/Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/src/Makefile.am b/src/Makefile.am -index aab450c..6d2b62e 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -46,8 +46,7 @@ noinst_HEADERS = \ - lunar-priv.h - - libnova_la_LIBADD = \ -- -Lelp/ \ -- -lelp -+ elp/libelp.la - - libnova_la_LDFLAGS = \ - -version-info $(LT_VERSION) \ --- -2.29.2 - diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild b/sci-libs/libnova/libnova-0.16.0.ebuild deleted file mode 100644 index 7c83345953a8..000000000000 --- a/sci-libs/libnova/libnova-0.16.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library" -HOMEPAGE="https://libnova.sourceforge.net/" -SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz" - -LICENSE="LGPL-2" -SLOT="0/0.16" -KEYWORDS="amd64 ~hppa ~ppc ppc64 ~riscv ~x86" -IUSE="doc examples" - -BDEPEND="doc? ( app-text/doxygen )" - -PATCHES=( - "${FILESDIR}"/${P}-slibtool.patch - "${FILESDIR}"/${P}-cflags.patch - "${FILESDIR}"/${P}-gcc14.patch # bug 886455 -) - -src_prepare() { - default - eautoreconf -} - -src_compile() { - default - use doc && emake -C doc doc -} - -src_install() { - use doc && HTML_DOCS=( doc/html/. ) - default - - if use examples; then - emake clean - rm examples/Makefile* || die - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - find "${D}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/libnova/metadata.xml b/sci-libs/libnova/metadata.xml deleted file mode 100644 index bad8acc79bf8..000000000000 --- a/sci-libs/libnova/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-astronomy@gentoo.org</email> - <name>Gentoo Astronomy Project</name> - </maintainer> - <longdescription lang="en"> - libnova is a general purpose, double precision, astronomical - calculation library. The intended audience of libnova is C / C++ programmers, - astronomers and anyone else interested in calculating positions of - astronomical objects. - </longdescription> - <upstream> - <remote-id type="sourceforge">libnova</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/liborigin/Manifest b/sci-libs/liborigin/Manifest deleted file mode 100644 index 418d138d29d8..000000000000 --- a/sci-libs/liborigin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST liborigin-3.0.1_p20210828.tar.gz 156437 BLAKE2B 48713d8854ccd7f46b1aca72bf7b7739af588f08aea32e1d27ff4416ca4fa96a942b19e37fb151f5e7afbd5133d870c305a608e639c620672e683fe805d4f5d1 SHA512 0c9866bef16844102be6ae6e150c927420ca07e6ee50342e9fbd4312f9cd3c476c8d730464b010076f31d7fdcc16bd1133de9ace3a6e5b9b321a231ddab00458 diff --git a/sci-libs/liborigin/files/liborigin-3.0.1-missing-header.patch b/sci-libs/liborigin/files/liborigin-3.0.1-missing-header.patch deleted file mode 100644 index 3f78c61ebabe..000000000000 --- a/sci-libs/liborigin/files/liborigin-3.0.1-missing-header.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/OriginAnyParser.cpp b/OriginAnyParser.cpp -index 05bfb95..dd5dd9b 100644 ---- a/OriginAnyParser.cpp -+++ b/OriginAnyParser.cpp -@@ -22,6 +22,7 @@ - #include "OriginAnyParser.h" - #include <sstream> - #include <cinttypes> -+#include <iostream> - - /* define a macro to get an int (or uint) from a istringstream in binary mode */ - #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ -diff --git a/opj2dat.cpp b/opj2dat.cpp -index 4b8d57a..5a31b4e 100644 ---- a/opj2dat.cpp -+++ b/opj2dat.cpp -@@ -31,6 +31,7 @@ - #include <cmath> - #include <fstream> - #include <sstream> -+#include <iostream> - #include <string> - - using namespace std; diff --git a/sci-libs/liborigin/files/liborigin-3.0.1_p20210828-buildsystem.patch b/sci-libs/liborigin/files/liborigin-3.0.1_p20210828-buildsystem.patch deleted file mode 100644 index 150ae4e21be1..000000000000 --- a/sci-libs/liborigin/files/liborigin-3.0.1_p20210828-buildsystem.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a8e5914..a1a129c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -41,7 +41,6 @@ set (devel-headers - OriginObj.h - OriginFile.h - OriginParser.h -- tree.hh - ) - - # allow for installation of individual targets -@@ -59,12 +58,8 @@ else() - message("File parsing will NOT be logged. Define GENERATE_CODE_FOR_LOG to activate logging.") - endif () - --# Static library --add_library (origin_static STATIC $<TARGET_OBJECTS:origin>) -- --set_target_properties(origin_static PROPERTIES OUTPUT_NAME "origin" ) -- - if( "${CMAKE_SOURCE_DIR}" STREQUAL "${PROJECT_SOURCE_DIR}" ) -+ include(GNUInstallDirs) - - # Shared library - add_library( origin_shared SHARED $<TARGET_OBJECTS:origin>) -@@ -74,15 +69,16 @@ if( "${CMAKE_SOURCE_DIR}" STREQUAL "${PROJECT_SOURCE_DIR}" ) - SOVERSION ${PROJECT_VERSION_MAJOR} - ) - # Generate a pkg-config file matching this config -- configure_file( "liborigin.pc.in" "$liborigin.pc" @ONLY ) -+ configure_file( "liborigin.pc.in" "liborigin.pc" @ONLY ) - -+ if(ENABLE_TOOLS) - # command line util - add_executable(opj2dat opj2dat.cpp) -- target_link_libraries (opj2dat origin_static) -+ target_link_libraries (opj2dat origin_shared) -+ endif () - -- include(GNUInstallDirs) - # install libraries -- install( TARGETS origin_shared origin_static -+ install( TARGETS origin_shared - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -@@ -92,7 +88,9 @@ if( "${CMAKE_SOURCE_DIR}" STREQUAL "${PROJECT_SOURCE_DIR}" ) - # install pkg-config file - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/liborigin.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) - # -+ if(ENABLE_TOOLS) - install(TARGETS opj2dat DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL) -+ endif () - # documentation - install(FILES COPYING FORMAT README - DESTINATION ${CMAKE_INSTALL_DOCDIR} -diff --git a/liborigin.pc.in b/liborigin.pc.in -index b6f7c90..55f82fa 100644 ---- a/liborigin.pc.in -+++ b/liborigin.pc.in -@@ -5,7 +5,7 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ - - Name: liborigin - Description: Library for reading OriginLab files --Version: @LIBORIGIN_VERSION_MAJOR@.@LIBORIGIN_VERSION_MINOR@.@LIBORIGIN_VERSION_BUGFIX@ -+Version: @liborigin_VERSION_MAJOR@.@liborigin_VERSION_MINOR@.@liborigin_VERSION_PATCH@ - - Requires: - Libs: -L${libdir} -lorigin diff --git a/sci-libs/liborigin/liborigin-3.0.1_p20210828-r1.ebuild b/sci-libs/liborigin/liborigin-3.0.1_p20210828-r1.ebuild deleted file mode 100644 index c77f9de2d308..000000000000 --- a/sci-libs/liborigin/liborigin-3.0.1_p20210828-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -COMMIT="970b90ada051dfa2e80929cde91d052bf28be674" - -DESCRIPTION="Library for reading OriginLab OPJ project files" -HOMEPAGE="https://sourceforge.net/projects/liborigin/ https://github.com/SciDAVis/liborigin/" -SRC_URI="https://github.com/SciDAVis/liborigin/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="GPL-3" -SLOT="2" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc tools" - -BDEPEND=" - doc? ( app-text/doxygen ) -" -RDEPEND=" - dev-cpp/tree -" -DEPEND="${RDEPEND}" - -PATCHES=( - # add missing header - "${FILESDIR}/${PN}-3.0.1-missing-header.patch" - # downstream - "${FILESDIR}/${P}-buildsystem.patch" # ENABLE_TOOLS, shared link, doc paths -) - -src_prepare() { - cmake_src_prepare - rm tree.hh || die "failed to remove bundled tree.hh" - - sed -e "/install.*html/s/liborigin/${PF}/" \ - -i CMakeLists.txt || die "failed to fix htmldoc install path" -} - -src_configure() { - local mycmakeargs=( - -DGENERATE_CODE_FOR_LOG=$(usex debug) - $(cmake_use_find_package doc Doxygen) - -DENABLE_TOOLS=$(usex tools) - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use doc && cmake_src_compile doc -} diff --git a/sci-libs/liborigin/metadata.xml b/sci-libs/liborigin/metadata.xml deleted file mode 100644 index 9e1b2fba29be..000000000000 --- a/sci-libs/liborigin/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="tools">Install opj2dat command line util</flag> - </use> - <upstream> - <remote-id type="sourceforge">liborigin</remote-id> - <remote-id type="github">SciDAVis/liborigin</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libpdb++/Manifest b/sci-libs/libpdb++/Manifest deleted file mode 100644 index fd462273c94e..000000000000 --- a/sci-libs/libpdb++/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libpdb++-040728.shar 113174 BLAKE2B 5576691dfab8a4be63c658837eed9f15a2df83edeabf9353a8b668ed1d7d01c0438c25da4d197c08b49d25194b4d606a447995166a23b2e5485d24b6f4ee58c4 SHA512 4b3e4b12ea10395ba38fbc12fbb3589bd7b40997e1a0bcb79d3d0a495c361e4dea8dbdc4c434de290b5f62412e297df09742beeea0a8b881dbf92317013aa930 diff --git a/sci-libs/libpdb++/files/libpdb++-040728-dynlib+flags.patch b/sci-libs/libpdb++/files/libpdb++-040728-dynlib+flags.patch deleted file mode 100644 index 3600481f4c72..000000000000 --- a/sci-libs/libpdb++/files/libpdb++-040728-dynlib+flags.patch +++ /dev/null @@ -1,54 +0,0 @@ - Makefile | 20 +++++++++++++------- - 1 file changed, 13 insertions(+), 7 deletions(-) - -diff --git a/Makefile b/Makefile -index bbf0778..1dc6c62 100644 ---- a/Makefile -+++ b/Makefile -@@ -4,22 +4,22 @@ - # On System V machines, RANLIB should be ':' - # - SHELL = /bin/sh --RANLIB = : -+#RANLIB = : - --CXX = gcc -felide-constructors -+CXX ?= g++ - #CXX = CC - - .SUFFIXES: .cc - - .cc.o: -- $(CXX) $(CCFLAGS) -c $< -o $@ -+ $(CXX) $(CXXFLAGS) -fPIC -felide-constructors -c $< -o $@ - - OPT = -O - DEBUG = - CCFLAGS = $(OPT) $(DEBUG) - LIBRARY = pdb++ - --LIBARCH = lib$(LIBRARY).a -+LIBARCH = lib$(LIBRARY) - OBJS = pdb_read.o pdb_sprntf.o pdb_sscanf.o pdb_chars.o \ - pdb_type.o pdb++.o pdbinput.o - SRCS = pdb_read.cc pdb_sprntf.cc pdb_sscanf.cc pdb_chars.cc \ -@@ -30,10 +30,16 @@ all: $(LIBARCH) - install: $(LIBARCH) - install -F /usr/local/lib $(LIBARCH) - --$(LIBARCH): $(OBJS) -+$(LIBARCH).a: $(OBJS) - @echo "Loading $(LIBARCH) ... " -- @ar cru $(LIBARCH) $(OBJS) -- @$(RANLIB) $(LIBARCH) -+ $(AR) cru $@ $(OBJS) -+ $(RANLIB) $@ -+ @echo "done" -+ -+$(LIBARCH).so: $(OBJS) -+ $(CXX) $(LDFLAGS) -shared -Wl,--soname,libpdb++.so.0 -o libpdb++.so.0.1 $(OBJS) -+ ln -sf libpdb++.so.0.1 libpdb++.so.0 -+ ln -sf libpdb++.so.0.1 libpdb++.so - @echo "done" - - clean:; @rm -f $(OBJS) diff --git a/sci-libs/libpdb++/libpdb++-040728-r2.ebuild b/sci-libs/libpdb++/libpdb++-040728-r2.ebuild deleted file mode 100644 index 5f8fa3595581..000000000000 --- a/sci-libs/libpdb++/libpdb++-040728-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs - -DESCRIPTION="PDB Record I/O Libraries -- c++ version" -HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html" -SRC_URI="mirror://gentoo/f8/${P}.shar" -S=${WORKDIR}/${PN} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -BDEPEND="app-arch/sharutils" - -PATCHES=( "${FILESDIR}"/${P}-dynlib+flags.patch ) - -src_unpack() { - edo unshar "${DISTDIR}"/${A} -} - -src_prepare() { - default - tc-export CXX AR RANLIB -} - -src_compile() { - emake ${PN}.so - use static-libs && emake ${PN}.a -} - -src_install() { - dolib.so ${PN}.so* - use static-libs && dolib.a ${PN}.a - - insinto /usr/include/${PN} - doins *.h -} diff --git a/sci-libs/libpdb++/metadata.xml b/sci-libs/libpdb++/metadata.xml deleted file mode 100644 index c0cd18916a93..000000000000 --- a/sci-libs/libpdb++/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/libpdb/Manifest b/sci-libs/libpdb/Manifest deleted file mode 100644 index 172821391499..000000000000 --- a/sci-libs/libpdb/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libpdb-991112.shar 123895 BLAKE2B 26b1de521fa2de1003dd34d4ce280a2c402484385ba61119ac6e1f13160bc5354e4c3668c686924c686c61c3328d7a0d4fbb0fc956d1329993045b3ff6e67835 SHA512 ae356997d11068736bbbd1a57e4e3a28fa54fd396326bc8fea41485186a1c69ce39c7f81195ae65ddc59c017d85dd123614f56f910c8faffd4791fcfd1b064f4 diff --git a/sci-libs/libpdb/files/libpdb-991112-dynlib+flags.patch b/sci-libs/libpdb/files/libpdb-991112-dynlib+flags.patch deleted file mode 100644 index 72048b684a93..000000000000 --- a/sci-libs/libpdb/files/libpdb-991112-dynlib+flags.patch +++ /dev/null @@ -1,46 +0,0 @@ - Makefile | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -diff --git a/Makefile b/Makefile -index 760a427..de7e724 100644 ---- a/Makefile -+++ b/Makefile -@@ -8,16 +8,16 @@ - # RANLIB should be ':' - # - SHELL = /bin/sh --RANLIB = : -+#RANLIB = : - NOTHING = - LINTOPT = -o $(NOTHING) - - OPT = -O -g - DEBUG = --CFLAGS = $(OPT) $(DEBUG) -+CFLAGS += -fPIC - LIBRARY = pdb - --LIBARCH = lib$(LIBRARY).a -+LIBARCH = lib$(LIBRARY) - LINTLIB = llib-l$(LIBRARY).ln - OBJS = pdb_read.o pdb_sprntf.o pdb_sscanf.o pdb_write.o pdbrun.o ms.o - SRCS = pdb_read.c pdb_sprntf.c pdb_sscanf.c pdb_write.c pdbrun.c ms.c -@@ -27,10 +27,15 @@ all: $(LIBARCH) $(LINTLIB) - install: $(LIBARCH) - install -F /usr/local/lib $(LIBARCH) - --$(LIBARCH): $(OBJS) -+$(LIBARCH).so: $(OBJS) -+ $(CC) $(LDFLAGS) -shared -Wl,--soname,libpdb.so.0 -o libpdb.so.0.1 $(OBJS) -+ ln -sf libpdb.so.0.1 libpdb.so.0 -+ ln -sf libpdb.so.0.1 libpdb.so -+ -+$(LIBARCH).a: $(OBJS) - @echo "Loading $(LIBARCH) ... " -- @ar cru $(LIBARCH) $(OBJS) -- @$(RANLIB) $(LIBARCH) -+ $(AR) cru $@ $(OBJS) -+ $(RANLIB) $@ - @echo "done" - - $(LINTLIB): $(SRCS) $(HDRS) diff --git a/sci-libs/libpdb/libpdb-991112-r2.ebuild b/sci-libs/libpdb/libpdb-991112-r2.ebuild deleted file mode 100644 index 8f2b51898d2b..000000000000 --- a/sci-libs/libpdb/libpdb-991112-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs - -DESCRIPTION="PDB Record I/O Libraries -- c version" -HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html" -SRC_URI="mirror://gentoo/90/${P}.shar" -S=${WORKDIR} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -BDEPEND="app-arch/sharutils" - -PATCHES=( "${FILESDIR}"/${P}-dynlib+flags.patch ) - -src_unpack() { - edo unshar "${DISTDIR}"/${A} -} - -src_prepare() { - default - tc-export CC RANLIB AR -} - -src_compile() { - emake ${PN}.so - use static-libs && emake ${PN}.a -} - -src_install() { - dolib.so ${PN}.so* - use static-libs && dolib.a ${PN}.a - - insinto /usr/include/${PN} - doins *.h -} diff --git a/sci-libs/libpdb/metadata.xml b/sci-libs/libpdb/metadata.xml deleted file mode 100644 index c0cd18916a93..000000000000 --- a/sci-libs/libpdb/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest deleted file mode 100644 index b0689e1cbc3e..000000000000 --- a/sci-libs/libqalculate/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST libqalculate-5.10.0.tar.gz 2297914 BLAKE2B 3545d9893ef54296aa0dba9f6d8c064c9a8f2dfbfa6906eece54c9534c24b143ab49546e760264f33dfc78c87fc6dc4ecd0deae7cca3d7a9b0f096ee93596591 SHA512 4b9d0e07e7915acea052d153298d175dcfcc0e116e2c106d0296c06eb4459f2c072e813b590c3f92826bce29eea15c439f5a7984695b3bf36e48932218df5cc9 -DIST libqalculate-5.8.2.tar.gz 2370999 BLAKE2B 4a7fd5d5a4977e2506c88b3cdfea681841d19e831b31bf644c923764c192b48c4b8b2659077f54e0784c49417b5611b3255801042aaa8d8f4c984f1ac3f0738b SHA512 7f35184fdab3a0bd10ae39c54023491aaa52160f9bd97c4b6e3bb465b49389009627719da2678015d9b297fa8339cc0abe48332fccfe51ad9b2ee888a608ac0a -DIST libqalculate-5.9.0.tar.gz 2282817 BLAKE2B 74a53595ecd2e6487d46834b863bf45ee13c282c6a8ad9e5d7be4924996661aff7d3e77607d6d2a383b6e9993f06973a73a2c959dcd638b1e3db849361430845 SHA512 8c9e2515da0b4bd4d8116a196f2a5f32e8e20a6075e548db41ed40c252f9ae6d4b9997d6c4dd2574f32b42f2248af1f604c7c54ff8a96e08138e9c8153a6805c diff --git a/sci-libs/libqalculate/libqalculate-5.10.0.ebuild b/sci-libs/libqalculate/libqalculate-5.10.0.ebuild deleted file mode 100644 index 06a910bcafc9..000000000000 --- a/sci-libs/libqalculate/libqalculate-5.10.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=9 - -# Bump with sci-calculators/qalculate-gtk and sci-calculators/qalculate-qt - -inherit autotools flag-o-matic toolchain-funcs - -MY_PV="${PV//b/}" - -DESCRIPTION="A modern multi-purpose calculator library" -HOMEPAGE="https://qalculate.github.io/" -SRC_URI="https://github.com/Qalculate/libqalculate/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/"${PN}-${MY_PV}" - -LICENSE="GPL-2+" -# SONAME changes pretty often on bumps. Check! -SLOT="0/23.3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="+curl icu gnuplot +hardened readline test" -RESTRICT="!test? ( test )" - -DEPEND="dev-libs/gmp:= - dev-libs/libxml2:2= - dev-libs/mpfr:= - virtual/libiconv - curl? ( net-misc/curl ) - icu? ( dev-libs/icu:= ) - readline? ( sys-libs/readline:= )" -RDEPEND="${DEPEND} - gnuplot? ( >=sci-visualization/gnuplot-3.7 )" -BDEPEND="dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -src_prepare() { - default - cat >po/POTFILES.skip <<-EOF || die - # Required by make check - data/currencies.xml.in - data/datasets.xml.in - data/elements.xml.in - data/functions.xml.in - data/planets.xml.in - data/prefixes.xml.in - data/units.xml.in - data/variables.xml.in - src/defs2doc.cc - EOF - - eautoreconf -} - -src_configure() { - # Needed for po-defs/Makefile - export CXX_FOR_BUILD="$(tc-getBUILD_CXX)" - export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E" - - # bug #792027 - tc-export CC - - # bug #924939 - use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 - - local myeconfargs=( - $(use_enable test tests) - $(use_enable test unittests) - $(use_with curl libcurl) - $(use_with gnuplot gnuplot-call) - $(use_enable !hardened insecure) - $(use_with icu) - $(use_with readline) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - # docs/reference/Makefile.am -> referencedir= - emake \ - DESTDIR="${D}" \ - referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \ - install - - einstalldocs - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libqalculate/libqalculate-5.8.2.ebuild b/sci-libs/libqalculate/libqalculate-5.8.2.ebuild deleted file mode 100644 index 500773f31146..000000000000 --- a/sci-libs/libqalculate/libqalculate-5.8.2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Bump with sci-calculators/qalculate-gtk and sci-calculators/qalculate-qt - -inherit autotools flag-o-matic toolchain-funcs - -MY_PV="${PV//b/}" - -DESCRIPTION="A modern multi-purpose calculator library" -HOMEPAGE="https://qalculate.github.io/" -SRC_URI="https://github.com/Qalculate/libqalculate/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/"${PN}-${MY_PV}" - -LICENSE="GPL-2+" -# SONAME changes pretty often on bumps. Check! -SLOT="0/23.3" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" -IUSE="+curl icu gnuplot +hardened readline test" -RESTRICT="!test? ( test )" - -DEPEND="dev-libs/gmp:= - dev-libs/libxml2:2= - dev-libs/mpfr:= - virtual/libiconv - curl? ( net-misc/curl ) - icu? ( dev-libs/icu:= ) - readline? ( sys-libs/readline:= )" -RDEPEND="${DEPEND} - gnuplot? ( >=sci-visualization/gnuplot-3.7 )" -BDEPEND="dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -src_prepare() { - default - cat >po/POTFILES.skip <<-EOF || die - # Required by make check - data/currencies.xml.in - data/datasets.xml.in - data/elements.xml.in - data/functions.xml.in - data/planets.xml.in - data/prefixes.xml.in - data/units.xml.in - data/variables.xml.in - src/defs2doc.cc - EOF - - eautoreconf -} - -src_configure() { - # Needed for po-defs/Makefile - export CXX_FOR_BUILD="$(tc-getBUILD_CXX)" - export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E" - - # bug #792027 - tc-export CC - - # bug #924939 - use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 - - local myeconfargs=( - $(use_enable test tests) - $(use_enable test unittests) - $(use_with curl libcurl) - $(use_with gnuplot gnuplot-call) - $(use_enable !hardened insecure) - $(use_with icu) - $(use_with readline) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - # docs/reference/Makefile.am -> referencedir= - emake \ - DESTDIR="${D}" \ - referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \ - install - - einstalldocs - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libqalculate/libqalculate-5.9.0.ebuild b/sci-libs/libqalculate/libqalculate-5.9.0.ebuild deleted file mode 100644 index c284feb651ff..000000000000 --- a/sci-libs/libqalculate/libqalculate-5.9.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Bump with sci-calculators/qalculate-gtk and sci-calculators/qalculate-qt - -inherit autotools flag-o-matic toolchain-funcs - -MY_PV="${PV//b/}" - -DESCRIPTION="A modern multi-purpose calculator library" -HOMEPAGE="https://qalculate.github.io/" -SRC_URI="https://github.com/Qalculate/libqalculate/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/"${PN}-${MY_PV}" - -LICENSE="GPL-2+" -# SONAME changes pretty often on bumps. Check! -SLOT="0/23.3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="+curl icu gnuplot +hardened readline test" -RESTRICT="!test? ( test )" - -DEPEND="dev-libs/gmp:= - dev-libs/libxml2:2= - dev-libs/mpfr:= - virtual/libiconv - curl? ( net-misc/curl ) - icu? ( dev-libs/icu:= ) - readline? ( sys-libs/readline:= )" -RDEPEND="${DEPEND} - gnuplot? ( >=sci-visualization/gnuplot-3.7 )" -BDEPEND="dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -src_prepare() { - default - cat >po/POTFILES.skip <<-EOF || die - # Required by make check - data/currencies.xml.in - data/datasets.xml.in - data/elements.xml.in - data/functions.xml.in - data/planets.xml.in - data/prefixes.xml.in - data/units.xml.in - data/variables.xml.in - src/defs2doc.cc - EOF - - eautoreconf -} - -src_configure() { - # Needed for po-defs/Makefile - export CXX_FOR_BUILD="$(tc-getBUILD_CXX)" - export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E" - - # bug #792027 - tc-export CC - - # bug #924939 - use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 - - local myeconfargs=( - $(use_enable test tests) - $(use_enable test unittests) - $(use_with curl libcurl) - $(use_with gnuplot gnuplot-call) - $(use_enable !hardened insecure) - $(use_with icu) - $(use_with readline) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - # docs/reference/Makefile.am -> referencedir= - emake \ - DESTDIR="${D}" \ - referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \ - install - - einstalldocs - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libqalculate/metadata.xml b/sci-libs/libqalculate/metadata.xml deleted file mode 100644 index d74d70bca4b5..000000000000 --- a/sci-libs/libqalculate/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>csfore@gentoo.org</email> - <name>Christopher Fore</name> - </maintainer> - <use> - <flag name="hardened"> - Disable unsafe functions like 'command' and variables like 'uptime'. - </flag> - </use> - <upstream> - <remote-id type="sourceforge">qalculate</remote-id> - <remote-id type="github">Qalculate/libqalculate</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libsc/Manifest b/sci-libs/libsc/Manifest deleted file mode 100644 index 2eb96e886d79..000000000000 --- a/sci-libs/libsc/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST libsc-2.8.6.tar.gz 436045 BLAKE2B e0c9911ece10703d70686c5fa67700ed28f2ad2cfa6fc5e8f31c18fadb3e85c82a062520765589f71fbb8b69f2ebc9d07803488e8b0eae50d3146cefddb6c1ad SHA512 9e8d9256fafce3a583a9dc850308020ae614434e94146dc81bd1b8a3130e6ff55eb094d97fe48bf2b9205ea16906503313f1ebf4f3386db92d6cf0bac50c2d74 -DIST libsc-2.8.7.tar.gz 469486 BLAKE2B f1e2cc5b16f9e5c21e6355f63503478047bc206ce213b38f91ee1a7a7b05c485c4318f5b4aa63a83b7afee1850e5b4910a755556ce3b614d1ce7f2ec3df5a352 SHA512 03295c612c2d6f775d019203d333f0662b2b9d4a4dcbd29bc1821ca7b94dcefd2ad6cc8433212fa9fea3380b70c7be7a44de89c9fa01f3c815fcf3dfb04e5fc4 diff --git a/sci-libs/libsc/files/libsc-2.8.6-fix_build_system.patch b/sci-libs/libsc/files/libsc-2.8.6-fix_build_system.patch deleted file mode 100644 index ed0f30a1a7c8..000000000000 --- a/sci-libs/libsc/files/libsc-2.8.6-fix_build_system.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9ebf6ef..0a14b19 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -10,6 +10,8 @@ HOMEPAGE_URL https://www.p4est.org/ - DESCRIPTION "The SC library supports parallel scientific applications." - VERSION ${PROJECT_VERSION}) - -+set(CMAKE_POSITION_INDEPENDENT_CODE ON) -+ - enable_testing() - - include(GNUInstallDirs) -@@ -63,7 +65,10 @@ TYPE INCLUDE - FILES_MATCHING PATTERN "*.h" - ) - --install(TARGETS sc EXPORT ${PROJECT_NAME}-targets) -+install(TARGETS sc EXPORT ${PROJECT_NAME}-targets -+ARCHIVE DESTINATION ${library_reldir} -+LIBRARY DESTINATION ${library_reldir} -+) - - add_subdirectory(src) - diff --git a/sci-libs/libsc/files/libsc-2.8.6-fix_cmake_path.patch b/sci-libs/libsc/files/libsc-2.8.6-fix_cmake_path.patch deleted file mode 100644 index 6c8b65f32215..000000000000 --- a/sci-libs/libsc/files/libsc-2.8.6-fix_cmake_path.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/cmake/install.cmake b/cmake/install.cmake -index edd8012..93f9301 100644 ---- a/cmake/install.cmake -+++ b/cmake/install.cmake -@@ -14,13 +14,13 @@ COMPATIBILITY SameMajorVersion - - install(EXPORT ${PROJECT_NAME}-targets - NAMESPACE ${PROJECT_NAME}:: --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/SC - ) - - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake - ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/SC - ) - - export(EXPORT ${PROJECT_NAME}-targets -diff --git a/cmake/pkgconf.cmake b/cmake/pkgconf.cmake -index 1a1b865..f5bab08 100644 ---- a/cmake/pkgconf.cmake -+++ b/cmake/pkgconf.cmake -@@ -17,14 +17,4 @@ set(pc_filename libsc-${git_version}.pc) - configure_file(${CMAKE_CURRENT_LIST_DIR}/pkgconf.pc.in ${pc_filename} @ONLY) - - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${pc_filename} -- DESTINATION lib/pkgconfig) -- --set(pc_target ${pc_filename}) --set(pc_link ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/libsc.pc) -- --install(CODE "execute_process( \ -- COMMAND ${CMAKE_COMMAND} -E create_symlink \ -- ${pc_target} \ -- ${pc_link} \ -- )" -- ) -+ DESTINATION ${library_reldir}/pkgconfig) diff --git a/sci-libs/libsc/files/libsc-2.8.6-set_version.patch b/sci-libs/libsc/files/libsc-2.8.6-set_version.patch deleted file mode 100644 index c37943e21c15..000000000000 --- a/sci-libs/libsc/files/libsc-2.8.6-set_version.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/cmake/git.cmake b/cmake/git.cmake -index 4718b8e..c2c594d 100644 ---- a/cmake/git.cmake -+++ b/cmake/git.cmake -@@ -1,39 +1,6 @@ - # --- extract version from Git - --set(PROJECT_MAJOR 0) --set(PROJECT_MINOR 0) --set(PROJECT_PATCH 0) --set(PROJECT_VERSION 0.0.0) --find_program(GIT_VERSION_GEN NAMES git-version-gen -- PATHS ${PROJECT_SOURCE_DIR}/build-aux NO_DEFAULT_PATH) --if(GIT_VERSION_GEN) -- execute_process(COMMAND ${GIT_VERSION_GEN} .tarball-version -- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -- RESULT_VARIABLE _err -- OUTPUT_VARIABLE git_version -- OUTPUT_STRIP_TRAILING_WHITESPACE) --endif() --if(_err EQUAL 0) -- if(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.].*") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}.999) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}) -- endif() --endif() -+set(PROJECT_MAJOR 2) -+set(PROJECT_MINOR 8) -+set(PROJECT_PATCH 6) -+set(PROJECT_VERSION 2.8.6) diff --git a/sci-libs/libsc/files/libsc-2.8.7-fix_build_system.patch b/sci-libs/libsc/files/libsc-2.8.7-fix_build_system.patch deleted file mode 100644 index c1c391f5804f..000000000000 --- a/sci-libs/libsc/files/libsc-2.8.7-fix_build_system.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8599616..c283281 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -11,6 +11,8 @@ HOMEPAGE_URL https://www.p4est.org/ - DESCRIPTION "The SC library supports parallel scientific applications." - VERSION ${PROJECT_VERSION}) - -+set(CMAKE_POSITION_INDEPENDENT_CODE ON) -+ - include(GNUInstallDirs) - include(cmake/config.cmake) # options.cmake before config.cmake to determine user intent - include(cmake/compilers.cmake) # compilers.cmake must be AFTER find_package() calls in config.cmake in general -@@ -71,7 +73,10 @@ TYPE INCLUDE - FILES_MATCHING PATTERN "*.h" - ) - --install(TARGETS sc EXPORT ${PROJECT_NAME}-targets) -+install(TARGETS sc EXPORT ${PROJECT_NAME}-targets -+ARCHIVE DESTINATION ${library_reldir} -+LIBRARY DESTINATION ${library_reldir} -+) - - add_subdirectory(src) - diff --git a/sci-libs/libsc/files/libsc-2.8.7-fix_cmake_path.patch b/sci-libs/libsc/files/libsc-2.8.7-fix_cmake_path.patch deleted file mode 100644 index cbca12807f61..000000000000 --- a/sci-libs/libsc/files/libsc-2.8.7-fix_cmake_path.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff --git a/cmake/install.cmake b/cmake/install.cmake -index 03c9f04..84a1156 100644 ---- a/cmake/install.cmake -+++ b/cmake/install.cmake -@@ -4,7 +4,7 @@ include(CMakePackageConfigHelpers) - - configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/config.cmake.in - ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake --INSTALL_DESTINATION cmake -+INSTALL_DESTINATION ${library_reldir}/cmake/SC - ) - - write_basic_package_version_file( -@@ -14,13 +14,13 @@ COMPATIBILITY SameMajorVersion - - install(EXPORT ${PROJECT_NAME}-targets - NAMESPACE ${PROJECT_NAME}:: --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/SC - ) - - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake - ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/SC - ) - - export(EXPORT ${PROJECT_NAME}-targets -diff --git a/cmake/pkgconf.cmake b/cmake/pkgconf.cmake -index 8fb4783..557d920 100644 ---- a/cmake/pkgconf.cmake -+++ b/cmake/pkgconf.cmake -@@ -20,11 +20,4 @@ set(pc_filename libsc-${git_version}.pc) - configure_file(${CMAKE_CURRENT_LIST_DIR}/pkgconf.pc.in ${pc_filename} @ONLY) - - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${pc_filename} -- DESTINATION lib/pkgconfig) -- --set(pc_target ${pc_filename}) --set(pc_link lib/pkgconfig/libsc.pc) -- --install(CODE " -- file(CREATE_LINK ${pc_target} \${CMAKE_INSTALL_PREFIX}/${pc_link} SYMBOLIC) --") -+ DESTINATION ${library_reldir}/pkgconfig) diff --git a/sci-libs/libsc/files/libsc-2.8.7-set_version.patch b/sci-libs/libsc/files/libsc-2.8.7-set_version.patch deleted file mode 100644 index 138a5439518b..000000000000 --- a/sci-libs/libsc/files/libsc-2.8.7-set_version.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/cmake/git.cmake b/cmake/git.cmake -index 10e8d14..0ab2893 100644 ---- a/cmake/git.cmake -+++ b/cmake/git.cmake -@@ -1,39 +1,6 @@ - # --- extract version from Git - --set(PROJECT_MAJOR 0) --set(PROJECT_MINOR 0) --set(PROJECT_PATCH 0) --set(PROJECT_VERSION 0.0.0) --find_program(GIT_VERSION_GEN NAMES git-version-gen -- PATHS ${CMAKE_CURRENT_SOURCE_DIR}/build-aux NO_DEFAULT_PATH) --if(GIT_VERSION_GEN) -- execute_process(COMMAND ${GIT_VERSION_GEN} .tarball-version -- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -- RESULT_VARIABLE _err -- OUTPUT_VARIABLE git_version -- OUTPUT_STRIP_TRAILING_WHITESPACE) --endif() --if(_err EQUAL 0) -- if(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.].*") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}.999) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}) -- endif() --endif() -+set(PROJECT_MAJOR 2) -+set(PROJECT_MINOR 8) -+set(PROJECT_PATCH 7) -+set(PROJECT_VERSION 2.8.7) diff --git a/sci-libs/libsc/libsc-2.8.6.ebuild b/sci-libs/libsc/libsc-2.8.6.ebuild deleted file mode 100644 index ceb44c4f8365..000000000000 --- a/sci-libs/libsc/libsc-2.8.6.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Support for parallel scientific applications" -HOMEPAGE="http://www.p4est.org/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" - EGIT_BRANCH="develop" -else - SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="debug examples mpi openmp threads" - -RDEPEND=" - sys-apps/util-linux - virtual/zlib:= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[romio] )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-set_version.patch - "${FILESDIR}"/${P}-fix_build_system.patch - "${FILESDIR}"/${P}-fix_cmake_path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # avoid using debug codepaths that are manually enabled with the - # RelWithDebInfo build type - local CMAKE_BUILD_TYPE="Release" - - local mycmakeargs=( - -Dmpi="$(usex mpi)" - -Dopenmp="$(usex openmp)" - -Dlibrary_reldir="$(get_libdir)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - -# rm -r "${ED}"/usr/include/getopt.h \ -# "${ED}"/usr/include/getopt_int.h \ -# "${ED}"/usr/include/sc_builtin || die "rm failed" - - mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${PF}/ || die "mv failed" - rm -r "${ED}"/usr/share/docs || die "rm failed" -} diff --git a/sci-libs/libsc/libsc-2.8.7.ebuild b/sci-libs/libsc/libsc-2.8.7.ebuild deleted file mode 100644 index a8780d13e6eb..000000000000 --- a/sci-libs/libsc/libsc-2.8.7.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Support for parallel scientific applications" -HOMEPAGE="http://www.p4est.org/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" - EGIT_BRANCH="develop" -else - SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="debug examples mpi threads" - -RDEPEND=" - sys-apps/util-linux - virtual/zlib:= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[romio] )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-set_version.patch - "${FILESDIR}"/${P}-fix_build_system.patch - "${FILESDIR}"/${P}-fix_cmake_path.patch -) - -src_configure() { - # avoid using debug codepaths that are manually enabled with the - # RelWithDebInfo build type - local CMAKE_BUILD_TYPE="Release" - - local mycmakeargs=( - -Dmpi="$(usex mpi)" - -Dlibrary_reldir="$(get_libdir)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - -# rm -r "${ED}"/usr/include/getopt.h \ -# "${ED}"/usr/include/getopt_int.h \ -# "${ED}"/usr/include/sc_builtin || die "rm failed" - - mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${PF}/ || die "mv failed" - rm -r "${ED}"/usr/share/docs || die "rm failed" -} diff --git a/sci-libs/libsc/metadata.xml b/sci-libs/libsc/metadata.xml deleted file mode 100644 index ff1113592d21..000000000000 --- a/sci-libs/libsc/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -The SC Library provides support for parallel scientific applications. -This support library is primarily used by <pkg>sci-libs/p4est</pkg>. - </longdescription> - <upstream> - <remote-id type="github">cburstedde/libsc</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libsemigroups/Manifest b/sci-libs/libsemigroups/Manifest deleted file mode 100644 index 1390a2c5d18c..000000000000 --- a/sci-libs/libsemigroups/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libsemigroups-3.5.5.tar.gz 13821323 BLAKE2B 1184d2239f900ea1e90341f66be0cbd27117f9c02c471a1633dae98c8406aafd0d297d76f80e6b5e690173930124350fe989503e32d6aa8cb86a89c00e4aac88 SHA512 946c054508311d16dd94c58c49739bd18fea3a5f289dcdf273ef676125eabc6d14f5c4de40e619e5ab155fa62ed385090c9f26aee2377cf03e03fadb41df6e95 diff --git a/sci-libs/libsemigroups/files/libsemigroups-3.5.5-unbundle-catch.patch b/sci-libs/libsemigroups/files/libsemigroups-3.5.5-unbundle-catch.patch deleted file mode 100644 index 55d7169007e2..000000000000 --- a/sci-libs/libsemigroups/files/libsemigroups-3.5.5-unbundle-catch.patch +++ /dev/null @@ -1,40 +0,0 @@ -This doesn't fully unbundle it, you also need to use sed to change all -of the - - test_foo_SOURCES += third_party/Catch2-3.14.0/catch_amalgamated_patch.cpp - -lines to - - test_foo_LDADD = $(LDADD) -lCatch2 -lCatch2Main - -diff --git a/Makefile.am b/Makefile.am -index 8141e769..550a25b4 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -4,7 +4,6 @@ - - AM_CXXFLAGS = -I$(abs_top_srcdir)/include - AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party # for backward-cpp --AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/Catch2-3.14.0 - AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/HPCombi-1.1.2/include - AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/HPCombi-1.1.2/third_party - AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/rx-ranges/include -@@ -216,9 +215,6 @@ detailinclude_HEADERS += include/libsemigroups/detail/word-graph-with-sources.hp - detailinclude_HEADERS += include/libsemigroups/detail/word-graph-with-sources.tpp - detailinclude_HEADERS += include/libsemigroups/detail/word-iterators.hpp - --catch2includedir = $(includedir)/libsemigroups/Catch2-3.14.0/ --catch2include_HEADERS = third_party/Catch2-3.14.0/catch_amalgamated.hpp -- - if USE_BUNDLED_MAGIC_ENUM - magicenumincludedir = $(includedir)/libsemigroups/magic_enum - magicenuminclude_HEADERS = third_party/magic_enum-0.9.7/include/magic_enum/magic_enum.hpp -@@ -1128,8 +1124,6 @@ EXTRA_DIST += hpcombi.mk.in - EXTRA_DIST += tests/bmat-data.hpp - EXTRA_DIST += tests/test-main.hpp - EXTRA_DIST += tests/word-graph-test-common.hpp --EXTRA_DIST += third_party/Catch2-3.14.0/catch_amalgamated.cpp --EXTRA_DIST += third_party/Catch2-3.14.0/catch_amalgamated.hpp - EXTRA_DIST += third_party/HPCombi-1.1.2/HPCOMBI_VERSION - EXTRA_DIST += third_party/HPCombi-1.1.2/LICENSE - EXTRA_DIST += third_party/HPCombi-1.1.2/README.md diff --git a/sci-libs/libsemigroups/files/libsemigroups-3.5.5-unbundle-magic_enum.patch b/sci-libs/libsemigroups/files/libsemigroups-3.5.5-unbundle-magic_enum.patch deleted file mode 100644 index 75405693c4ac..000000000000 --- a/sci-libs/libsemigroups/files/libsemigroups-3.5.5-unbundle-magic_enum.patch +++ /dev/null @@ -1,90 +0,0 @@ -https://github.com/libsemigroups/libsemigroups/pull/969 - -diff --git a/Makefile.am b/Makefile.am -index 613b204e..f308f1c8 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -8,11 +8,14 @@ AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/Catch2-3.14.0 - AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/HPCombi-1.1.2/include - AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/HPCombi-1.1.2/third_party - AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/rx-ranges/include --AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/magic_enum-0.9.7/include - AM_CXXFLAGS += -std=gnu++17 -O3 -Wall -Wextra - AM_CXXFLAGS += $(WARNING_CXXFLAGS) - AM_CXXFLAGS += $(FMT_CFLAGS) - AM_CXXFLAGS += $(EIGEN3_CFLAGS) -+AM_CXXFLAGS += $(MAGICENUM_CFLAGS) -+if USE_BUNDLED_MAGIC_ENUM -+AM_CXXFLAGS += -I$(abs_top_srcdir)/third_party/magic_enum-0.9.7/include -+endif - if LIBSEMIGROUPS_HPCOMBI_ENABLED - AM_CXXFLAGS += $(HPCOMBI_CXXFLAGS) - endif -@@ -217,6 +220,7 @@ detailinclude_HEADERS += include/libsemigroups/detail/word-iterators.hpp - catch2includedir = $(includedir)/libsemigroups/Catch2-3.14.0/ - catch2include_HEADERS = third_party/Catch2-3.14.0/catch_amalgamated.hpp - -+if USE_BUNDLED_MAGIC_ENUM - magicenumincludedir = $(includedir)/libsemigroups/magic_enum - magicenuminclude_HEADERS = third_party/magic_enum-0.9.7/include/magic_enum/magic_enum.hpp - magicenuminclude_HEADERS += third_party/magic_enum-0.9.7/include/magic_enum/magic_enum_all.hpp -@@ -227,6 +231,7 @@ magicenuminclude_HEADERS += third_party/magic_enum-0.9.7/include/magic_enum/magi - magicenuminclude_HEADERS += third_party/magic_enum-0.9.7/include/magic_enum/magic_enum_iostream.hpp - magicenuminclude_HEADERS += third_party/magic_enum-0.9.7/include/magic_enum/magic_enum_switch.hpp - magicenuminclude_HEADERS += third_party/magic_enum-0.9.7/include/magic_enum/magic_enum_utility.hpp -+endif - - rxrangesincludedir = $(includedir)/libsemigroups/rx - rxrangesinclude_HEADERS = third_party/rx-ranges/include/rx/ranges.hpp -diff --git a/configure.ac b/configure.ac -index 737103b5..92d9eba7 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -135,6 +135,9 @@ AX_CHECK_FMT() - # disabled altogether - AX_CHECK_EIGEN() - -+# Check for an external magic_enum -+AX_CHECK_MAGIC_ENUM() -+ - dnl Output configured files - - dnl compiler builtins -diff --git a/m4/ax_check_magic_enum.m4 b/m4/ax_check_magic_enum.m4 -new file mode 100644 -index 00000000..b364bb60 ---- /dev/null -+++ b/m4/ax_check_magic_enum.m4 -@@ -0,0 +1,32 @@ -+# handle magic_enum checks -+# -+AC_DEFUN([AX_CHECK_MAGIC_ENUM], [ -+ AC_ARG_WITH( -+ [external-magic-enum], -+ [AS_HELP_STRING([--with-external-magic-enum], [use external magic_enum (default: no)])], -+ [], -+ [with_external_magic_enum=no] -+ ) -+ AC_MSG_CHECKING([whether to use external magic_enum]) -+ AC_MSG_RESULT([$with_external_magic_enum]) -+ -+ AS_IF([test "x$with_external_magic_enum" = xyes], [ -+ # Check if we can use magic_enum from the system. If not, error. -+ # The version constraint is to ensure that the headers relative to -+ # $includedir are magic_enum/foo.hpp. In 0.9.6, the magic_enum/ -+ # prefix was not used. -+ m4_ifdef([PKG_CHECK_MODULES], [ -+ PKG_CHECK_MODULES(MAGICENUM, [magic_enum >= 0.9.7], [ -+ AC_MSG_NOTICE([external magic_enum will be used]) -+ ], [ -+ AC_MSG_ERROR([external magic_enum not found]) -+ ]) -+ ], [ -+ AC_MSG_ERROR(m4_normalize([ -+ cannot use flag --with-external-magic-enum, the libsemigroups configure file -+ was created on a system without m4 macros for pkg-config available... -+ ])) -+ ]) -+ ]) -+ AM_CONDITIONAL([USE_BUNDLED_MAGIC_ENUM], [test "x$with_external_magic_enum" != xyes]) -+]) diff --git a/sci-libs/libsemigroups/libsemigroups-3.5.5.ebuild b/sci-libs/libsemigroups/libsemigroups-3.5.5.ebuild deleted file mode 100644 index a6ef6f3817e6..000000000000 --- a/sci-libs/libsemigroups/libsemigroups-3.5.5.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2019-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=9 - -inherit autotools - -DESCRIPTION="C++ library for semigroups and monoids" -HOMEPAGE="https://github.com/libsemigroups/libsemigroups" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" - -# Source headers have "or any later version" -LICENSE="GPL-3+" -SLOT="0/3" -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="cpu_flags_x86_popcnt eigen test" - -RESTRICT="!test? ( test )" - -# eigen, magic_enum, and catch are header-only -BDEPEND=" - dev-cpp/magic_enum - eigen? ( >=dev-cpp/eigen-5.0.1 ) - test? ( =dev-cpp/catch-3* )" -DEPEND="dev-libs/libfmt" - -#...but magic_enum.hpp is included in one of the headers that -# libsemigroups installs, so it needs to be installed too -# eigen has a subslot -RDEPEND="${DEPEND} - eigen? ( >=dev-cpp/eigen-5.0.1:= ) - dev-cpp/magic_enum" - -PATCHES=( - "${FILESDIR}/libsemigroups-3.5.5-unbundle-magic_enum.patch" - "${FILESDIR}/libsemigroups-3.5.5-unbundle-catch.patch" -) - -src_prepare() { - default - - # Remove the bundled Catch2 and magic_enum in concert with two - # patches. Unbundling magic_enum is pretty easy, the patch adds a - # ./configure flag. Unbundlng Catch2 is a little harder; first we - # have to update the include paths, and then we have to ensure that - # the tests link to the shared library on the system. - sed -e 's~".*catch_amalgamated.hpp"~<catch2/catch_all.hpp>~g' \ - -i tests/test*.cpp || die - local CATCH_LIBS='$(LDADD) -lCatch2 -lCatch2Main' - sed -e "s~_SOURCES .*_party/Catch2.*~_LDADD = $CATCH_LIBS~g" \ - -i Makefile.am || die - rm -r third_party/{Catch2-3.14.0,magic_enum-0.9.7} || die - - # Unbundle these normally. - rm -r third_party/{backward-cpp,eigen-5.0.1,fmt-11.1.4,HPCombi-1.1.2} \ - || die - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable cpu_flags_x86_popcnt popcnt) \ - $(use_enable eigen) \ - $(use_with eigen external-eigen) \ - --disable-backward \ - --disable-hpcombi \ - --with-external-fmt \ - --with-external-magic-enum -} - -src_install() { - default - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sci-libs/libsemigroups/metadata.xml b/sci-libs/libsemigroups/metadata.xml deleted file mode 100644 index 1fc262d840f7..000000000000 --- a/sci-libs/libsemigroups/metadata.xml +++ /dev/null @@ -1,54 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <maintainer type="person"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <longdescription lang="en"> - libsemigroups is a C++14 library containing implementations of - several algorithms for computing finite, and finitely presented, - semigroups and monoids. Namely: - - * the Froidure-Pin algorithm for computing finite semigroups; - * the Todd-Coxeter algorithm for finitely presented semigroups - and monoids; - * the Knuth-Bendix algorithm for finitely presented semigroups - and monoids; - * the Schreier-Sims algorithm for permutation groups; - * a preliminary implementation of the Konieczny and Lallement- - McFadden algorithm for computing finite semigroups which act - on sets; - * an implementation of the Radoszewski-Rytter algorithm for - testing equivalence of words in free bands; - * an implementation of the algorithm for solving the word problem - for small overlap monoids, and for computing normal forms in - such monoids; - * a version of Sims low index subgroup algorithm for computing - one-sided congruences of a semigroup or monoid; - * a version of Stephen's procedure for finitely presented - semigroups and monoids (for a given word w this procedure - is for determining words equivalent to w or that are left - divisors of w). - </longdescription> - <use> - <flag name="eigen"> - Use <pkg>dev-cpp/eigen</pkg> (at build time - only) to speed up some matrix operations. - </flag> - </use> - <upstream> - <remote-id type="github">libsemigroups/libsemigroups</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libsigrok/Manifest b/sci-libs/libsigrok/Manifest deleted file mode 100644 index 282f1287f250..000000000000 --- a/sci-libs/libsigrok/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libsigrok-f06f788.zip 1881766 BLAKE2B 9477312c9365c4b35ef5fb5d0908946be6f1a7f681c0b42fe4a02595069b87697bf50ad5c11130abc15229b977c2432ed8407207b954f52078c471695c911908 SHA512 bfc3390cb1f6c54f137f8f75a3eb841451ceb0376c3ba9b020cfd106a815d59179d326bd6c00a59f44a9dd5b559cf422e012761ef16c6e7ec164f1eaef5a374e diff --git a/sci-libs/libsigrok/files/libsigrok-0.6.0_pre20241020-serial.patch b/sci-libs/libsigrok/files/libsigrok-0.6.0_pre20241020-serial.patch deleted file mode 100644 index 3fb259752f33..000000000000 --- a/sci-libs/libsigrok/files/libsigrok-0.6.0_pre20241020-serial.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://bugs.gentoo.org/957126 -https://github.com/sigrokproject/libsigrok/commit/467c80149e1ce0cd9bc77517466cc6b8f4753d49 - -From: Daniel Trnka <daniel.trnka@gmail.com> -Date: Sun, 24 Nov 2024 14:11:46 +0100 -Subject: [PATCH] gwinstek-psp: Only build if serial_comm is enabled - ---- a/configure.ac -+++ b/configure.ac -@@ -336,7 +336,7 @@ SR_DRIVER([GMC MH 1x/2x], [gmc-mh-1x-2x], [serial_comm]) - SR_DRIVER([Great Scott Gadgets GreatFET One], [greatfet], [libusb]) - SR_DRIVER([GW Instek GDS-800], [gwinstek-gds-800], [serial_comm]) - SR_DRIVER([GW Instek GPD], [gwinstek-gpd], [serial_comm]) --SR_DRIVER([GW Instek PSP], [gwinstek-psp]) -+SR_DRIVER([GW Instek PSP], [gwinstek-psp], [serial_comm]) - SR_DRIVER([Hameg HMO], [hameg-hmo]) - SR_DRIVER([Hantek 4032L], [hantek-4032l], [libusb]) - SR_DRIVER([Hantek 6xxx], [hantek-6xxx], [libusb]) diff --git a/sci-libs/libsigrok/files/libsigrok-0.6.0_pre20241020-swig.patch b/sci-libs/libsigrok/files/libsigrok-0.6.0_pre20241020-swig.patch deleted file mode 100644 index 8f96a1e58ce5..000000000000 --- a/sci-libs/libsigrok/files/libsigrok-0.6.0_pre20241020-swig.patch +++ /dev/null @@ -1,38 +0,0 @@ -https://bugs.gentoo.org/878395 -https://bugs.gentoo.org/959264 - -From cdd8b55975e447840ce76f3a241be88fec7585b3 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@gmail.com> -Date: Sun, 3 Nov 2024 17:07:29 +0100 -Subject: [PATCH] support SWIG 4.2 and later -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -otherwise building sigrok fails with -bindings/swig/enums.i:1: Error: Unknown directive '%attribute'. - -Also indicate that bindings/swig/enums.i is a generated file. - -Signed-off-by: Klaus Kämpf <kkaempf@gmail.com> ---- - bindings/cxx/enums.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/bindings/cxx/enums.py b/bindings/cxx/enums.py -index 3711334e7..388faf225 100644 ---- a/bindings/cxx/enums.py -+++ b/bindings/cxx/enums.py -@@ -73,9 +73,11 @@ - code = open(os.path.join(outdirname, 'cxx/enums.cpp'), 'w') - swig = open(os.path.join(outdirname, 'swig/enums.i'), 'w') - --for file in (header, code): -+for file in (header, code, swig): - print("/* Generated file - edit enums.py instead! */", file=file) - -+print('%include "attribute.i"', file=swig) -+ - print("namespace sigrok {", file=header) - - # Template for beginning of class declaration and public members. diff --git a/sci-libs/libsigrok/libsigrok-0.6.0_pre20241020.ebuild b/sci-libs/libsigrok/libsigrok-0.6.0_pre20241020.ebuild deleted file mode 100644 index 7c39faa219c0..000000000000 --- a/sci-libs/libsigrok/libsigrok-0.6.0_pre20241020.ebuild +++ /dev/null @@ -1,211 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33" -RUBY_OPTIONAL="yes" -inherit python-r1 java-pkg-opt-2 ruby-ng udev xdg-utils - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git" - inherit git-r3 autotools - S="${WORKDIR}"/${P} - ;; -*_p*) - inherit autotools unpacker - COMMIT="f06f788118191d19fdbbb37046d3bd5cec91adb1" - SRC_URI="https://sigrok.org/gitweb/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=zip -> ${PN}-${COMMIT:0:7}.zip" - S="${WORKDIR}"/${PN}-${COMMIT:0:7} - ;; -*) - SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz" - S="${WORKDIR}"/${P} - ;; -esac - -DESCRIPTION="Basic hardware drivers for logic analyzers and input/output file format support" -HOMEPAGE="https://sigrok.org/wiki/Libsigrok" - -LICENSE="GPL-3" -if [[ ${PV} == *9999* ]]; then - SLOT="0/9999" -else - SLOT="0/4" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -fi -IUSE="bluetooth +cxx ftdi gpib hidapi java nettle parport python ruby serial test +udev usb" -REQUIRED_USE="java? ( cxx ) - python? ( cxx ${PYTHON_REQUIRED_USE} ) - ruby? ( cxx || ( $(ruby_get_use_targets) ) )" - -RESTRICT="!test? ( test )" - -# We also support librevisa, but that isn't in the tree ... -COMMON_DEPEND=" - >=dev-libs/glib-2.32.0 - >=dev-libs/libzip-0.8:= - virtual/zlib:= - bluetooth? ( >=net-wireless/bluez-4.0:= ) - cxx? ( dev-cpp/glibmm:2 ) - ftdi? ( dev-embedded/libftdi:1 ) - gpib? ( sci-libs/linux-gpib ) - hidapi? ( >=dev-libs/hidapi-0.8.0 ) - nettle? ( dev-libs/nettle:= ) - parport? ( sys-libs/libieee1284 ) - python? ( - ${PYTHON_DEPS} - >=dev-python/pygobject-3.0.0[${PYTHON_USEDEP}] - ) - ruby? ( $(ruby_implementations_depend) ) - serial? ( >=dev-libs/libserialport-0.1.1 ) - usb? ( virtual/libusb:1 ) -" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -DEPEND="${COMMON_DEPEND} - java? ( - >=dev-lang/swig-3.0.6 - >=virtual/jdk-1.8:* - ) - python? ( - >=dev-lang/swig-3.0.6 - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - ) - ruby? ( >=dev-lang/swig-3.0.8 ) - test? ( >=dev-libs/check-0.9.4 ) -" -BDEPEND=" - virtual/pkgconfig - cxx? ( app-text/doxygen ) -" -[[ ${PV} == *_p* ]] && BDEPEND+=" app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/${PN}-0.6.0_pre20241020-swig.patch - "${FILESDIR}"/${PN}-0.6.0_pre20241020-serial.patch -) - -pkg_setup() { - use python && python_setup - use ruby && ruby-ng_pkg_setup - java-pkg-opt-2_pkg_setup -} - -src_unpack() { - case ${PV} in - *9999*) - git-r3_src_unpack ;; - *_p*) - unpack_zip ${A} ;; - esac - default -} - -sigrok_src_prepare() { - [[ ${PV} == *9999* || ${PV} == *_p* ]] && eautoreconf -} - -each_ruby_prepare() { - sigrok_src_prepare -} - -src_prepare() { - if use ruby; then - # copy source to where ruby-ng_src_unpack puts it - cp -rl "${S}" "${WORKDIR}"/all || die - # ruby-ng_src_prepare calls default by itself - ruby-ng_src_prepare - fi - default - sigrok_src_prepare - use python && python_copy_sources -} - -sigrok_src_configure() { - local myeconfargs=( - --disable-python - --disable-ruby - $(use_with bluetooth libbluez) - $(use_enable cxx) - $(use_with ftdi libftdi) - $(use_with hidapi libhidapi) - $(use_enable java) - $(use_with nettle libnettle) - $(use_with parport libieee1284) - $(use_with serial libserialport) - $(use_with usb libusb) - ) - econf "${myeconfargs[@]}" "${@}" -} - -each_python_configure() { - pushd "${BUILD_DIR}" > /dev/null || die - sigrok_src_configure --enable-python - popd >/dev/null || die -} - -each_ruby_configure() { - RUBY="${RUBY}" sigrok_src_configure --enable-ruby -} - -src_configure() { - sigrok_src_configure - use python && python_foreach_impl each_python_configure - use ruby && ruby-ng_src_configure -} - -each_python_compile() { - pushd "${BUILD_DIR}" > /dev/null || die - emake python-build - popd >/dev/null || die -} - -each_ruby_compile() { - emake ruby-build -} - -src_compile() { - default - use python && python_foreach_impl each_python_compile - use ruby && ruby-ng_src_compile -} - -src_test() { - emake check -} - -each_python_install() { - pushd "${BUILD_DIR}" > /dev/null || die - emake python-install DESTDIR="${D}" - python_optimize - popd >/dev/null || die -} - -each_ruby_install() { - emake ruby-install DESTDIR="${D}" -} - -src_install() { - default - use python && python_foreach_impl each_python_install - use ruby && ruby-ng_src_install - use udev && udev_dorules contrib/*.rules - find "${D}" -name '*.la' -type f -delete || die -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - udev_reload -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - udev_reload -} diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild deleted file mode 100644 index eb9638bc52eb..000000000000 --- a/sci-libs/libsigrok/libsigrok-9999.ebuild +++ /dev/null @@ -1,206 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32" -RUBY_OPTIONAL="yes" -inherit python-r1 java-pkg-opt-2 ruby-ng udev xdg-utils - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git" - inherit git-r3 autotools - S="${WORKDIR}"/${P} - ;; -*_p*) - inherit autotools unpacker - COMMIT="f06f788118191d19fdbbb37046d3bd5cec91adb1" - SRC_URI="https://sigrok.org/gitweb/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=zip -> ${PN}-${COMMIT:0:7}.zip" - S="${WORKDIR}"/${PN}-${COMMIT:0:7} - ;; -*) - SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz" - S="${WORKDIR}"/${P} - ;; -esac - -DESCRIPTION="Basic hardware drivers for logic analyzers and input/output file format support" -HOMEPAGE="https://sigrok.org/wiki/Libsigrok" - -LICENSE="GPL-3" -if [[ ${PV} == *9999* ]]; then - SLOT="0/9999" -else - SLOT="0/4" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -fi -IUSE="bluetooth +cxx ftdi gpib hidapi java nettle parport python ruby serial test +udev usb" -REQUIRED_USE="java? ( cxx ) - python? ( cxx ${PYTHON_REQUIRED_USE} ) - ruby? ( cxx || ( $(ruby_get_use_targets) ) )" - -RESTRICT="!test? ( test )" - -# We also support librevisa, but that isn't in the tree ... -COMMON_DEPEND=" - >=dev-libs/glib-2.32.0 - >=dev-libs/libzip-0.8:= - virtual/zlib:= - bluetooth? ( >=net-wireless/bluez-4.0:= ) - cxx? ( dev-cpp/glibmm:2 ) - ftdi? ( dev-embedded/libftdi:1 ) - gpib? ( sci-libs/linux-gpib ) - hidapi? ( >=dev-libs/hidapi-0.8.0 ) - nettle? ( dev-libs/nettle:= ) - parport? ( sys-libs/libieee1284 ) - python? ( - ${PYTHON_DEPS} - >=dev-python/pygobject-3.0.0[${PYTHON_USEDEP}] - ) - ruby? ( $(ruby_implementations_depend) ) - serial? ( >=dev-libs/libserialport-0.1.1 ) - usb? ( virtual/libusb:1 ) -" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -DEPEND="${COMMON_DEPEND} - java? ( - >=dev-lang/swig-3.0.6 - >=virtual/jdk-1.8:* - ) - python? ( - >=dev-lang/swig-3.0.6 - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - ) - ruby? ( >=dev-lang/swig-3.0.8 ) - test? ( >=dev-libs/check-0.9.4 ) -" -BDEPEND=" - virtual/pkgconfig - cxx? ( app-text/doxygen ) -" -[[ ${PV} == *_p* ]] && BDEPEND+=" app-arch/unzip" - -pkg_setup() { - use python && python_setup - use ruby && ruby-ng_pkg_setup - java-pkg-opt-2_pkg_setup -} - -src_unpack() { - case ${PV} in - *9999*) - git-r3_src_unpack ;; - *_p*) - unpack_zip ${A} ;; - esac - default -} - -sigrok_src_prepare() { - [[ ${PV} == *9999* || ${PV} == *_p* ]] && eautoreconf -} - -each_ruby_prepare() { - sigrok_src_prepare -} - -src_prepare() { - if use ruby; then - # copy source to where ruby-ng_src_unpack puts it - cp -rl "${S}" "${WORKDIR}"/all || die - # ruby-ng_src_prepare calls default by itself - ruby-ng_src_prepare - fi - default - sigrok_src_prepare - use python && python_copy_sources -} - -sigrok_src_configure() { - local myeconfargs=( - --disable-python - --disable-ruby - $(use_with bluetooth libbluez) - $(use_enable cxx) - $(use_with ftdi libftdi) - $(use_with hidapi libhidapi) - $(use_enable java) - $(use_with nettle libnettle) - $(use_with parport libieee1284) - $(use_with serial libserialport) - $(use_with usb libusb) - ) - econf "${myeconfargs[@]}" "${@}" -} - -each_python_configure() { - pushd "${BUILD_DIR}" > /dev/null || die - sigrok_src_configure --enable-python - popd >/dev/null || die -} - -each_ruby_configure() { - RUBY="${RUBY}" sigrok_src_configure --enable-ruby -} - -src_configure() { - sigrok_src_configure - use python && python_foreach_impl each_python_configure - use ruby && ruby-ng_src_configure -} - -each_python_compile() { - pushd "${BUILD_DIR}" > /dev/null || die - emake python-build - popd >/dev/null || die -} - -each_ruby_compile() { - emake ruby-build -} - -src_compile() { - default - use python && python_foreach_impl each_python_compile - use ruby && ruby-ng_src_compile -} - -src_test() { - emake check -} - -each_python_install() { - pushd "${BUILD_DIR}" > /dev/null || die - emake python-install DESTDIR="${D}" - python_optimize - popd >/dev/null || die -} - -each_ruby_install() { - emake ruby-install DESTDIR="${D}" -} - -src_install() { - default - use python && python_foreach_impl each_python_install - use ruby && ruby-ng_src_install - use udev && udev_dorules contrib/*.rules - find "${D}" -name '*.la' -type f -delete || die -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - udev_reload -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - udev_reload -} diff --git a/sci-libs/libsigrok/metadata.xml b/sci-libs/libsigrok/metadata.xml deleted file mode 100644 index 25f05587a69c..000000000000 --- a/sci-libs/libsigrok/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>embedded@gentoo.org</email> - <name>Embedded Gentoo</name> - </maintainer> - <longdescription> - libsigrok is a shared library written in C, which provides the basic - hardware access drivers for logic analyzers and other supported devices, - as well as input/output file format support. - </longdescription> - <use> - <flag name="ftdi">Enable drivers that need <pkg>dev-embedded/libftdi</pkg></flag> - <flag name="gpib">Enable drivers that need <pkg>sci-libs/linux-gpib</pkg></flag> - <flag name="hidapi">Enable drivers that need <pkg>dev-libs/hidapi</pkg></flag> - <flag name="nettle">Enable drivers that need <pkg>dev-libs/nettle</pkg></flag> - <flag name="parport">Enable drivers that are parallel (IEEE1284) based</flag> - <flag name="serial">Enable drivers that are serial (RS232) based</flag> - </use> - <upstream> - <remote-id type="github">sigrokproject/libsigrok</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libsigrokdecode/Manifest b/sci-libs/libsigrokdecode/Manifest deleted file mode 100644 index bb87ff5e33be..000000000000 --- a/sci-libs/libsigrokdecode/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libsigrokdecode-71f4514.zip 846498 BLAKE2B 5a44a51524ad5c2c476d32bd5dc5eaa8a20f4455d07318b3d388707985c3efde68bd5f9364ecf8faa60b245a8d04d61f2b87e584dc47161c15d8fda34f1996a2 SHA512 0e1fde37dc9579e7eaa4b917e63335d7bd3a9072a33dbc01ae23ebcd5bc0a20e1c30f2e0686e05210a887db4d1cf75a983aad38b8a29d132e7aa1f4c9083370f diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-0.6.0_pre20241001.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-0.6.0_pre20241001.ebuild deleted file mode 100644 index bfe1010d19e0..000000000000 --- a/sci-libs/libsigrokdecode/libsigrokdecode-0.6.0_pre20241001.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -inherit autotools python-single-r1 - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git" - inherit git-r3 - S="${WORKDIR}"/${P} - ;; -*_p*) - inherit unpacker - COMMIT="71f451443029322d57376214c330b518efd84f88" - SRC_URI="https://sigrok.org/gitweb/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=zip -> ${PN}-${COMMIT:0:7}.zip" - S="${WORKDIR}"/${PN}-${COMMIT:0:7} - ;; -*) - SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz" - S="${WORKDIR}"/${P} - ;; -esac - -DESCRIPTION="Provide (streaming) protocol decoding functionality" -HOMEPAGE="https://sigrok.org/wiki/Libsigrokdecode" - -LICENSE="GPL-3" -if [[ ${PV} == *9999* ]]; then - SLOT="0/9999" -else - SLOT="0/4" - KEYWORDS="~amd64 ~x86" -fi -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=dev-libs/glib-2.34.0 -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" -[[ ${PV} == *_p* ]] && BDEPEND+=" app-arch/unzip" - -src_unpack() { - case ${PV} in - *9999*) - git-r3_src_unpack ;; - *_p*) - unpack_zip ${A} ;; - esac - default -} - -src_prepare() { - default - - # bug #794592 - sed -e "s/\[SRD_PKGLIBS\],\$/& [python-${EPYTHON#python}-embed], [python-${EPYTHON#python}],/" \ - -i configure.ac || die - - eautoreconf -} - -src_configure() { - econf PYTHON3="${PYTHON}" -} - -src_test() { - emake check -} - -src_install() { - default - python_optimize "${D}"/usr/share/libsigrokdecode/decoders - find "${D}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild deleted file mode 100644 index bfe1010d19e0..000000000000 --- a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -inherit autotools python-single-r1 - -case ${PV} in -*9999*) - EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git" - inherit git-r3 - S="${WORKDIR}"/${P} - ;; -*_p*) - inherit unpacker - COMMIT="71f451443029322d57376214c330b518efd84f88" - SRC_URI="https://sigrok.org/gitweb/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=zip -> ${PN}-${COMMIT:0:7}.zip" - S="${WORKDIR}"/${PN}-${COMMIT:0:7} - ;; -*) - SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz" - S="${WORKDIR}"/${P} - ;; -esac - -DESCRIPTION="Provide (streaming) protocol decoding functionality" -HOMEPAGE="https://sigrok.org/wiki/Libsigrokdecode" - -LICENSE="GPL-3" -if [[ ${PV} == *9999* ]]; then - SLOT="0/9999" -else - SLOT="0/4" - KEYWORDS="~amd64 ~x86" -fi -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=dev-libs/glib-2.34.0 -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" -[[ ${PV} == *_p* ]] && BDEPEND+=" app-arch/unzip" - -src_unpack() { - case ${PV} in - *9999*) - git-r3_src_unpack ;; - *_p*) - unpack_zip ${A} ;; - esac - default -} - -src_prepare() { - default - - # bug #794592 - sed -e "s/\[SRD_PKGLIBS\],\$/& [python-${EPYTHON#python}-embed], [python-${EPYTHON#python}],/" \ - -i configure.ac || die - - eautoreconf -} - -src_configure() { - econf PYTHON3="${PYTHON}" -} - -src_test() { - emake check -} - -src_install() { - default - python_optimize "${D}"/usr/share/libsigrokdecode/decoders - find "${D}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/libsigrokdecode/metadata.xml b/sci-libs/libsigrokdecode/metadata.xml deleted file mode 100644 index 98ae10b3c34a..000000000000 --- a/sci-libs/libsigrokdecode/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>embedded@gentoo.org</email> - <name>Embedded Gentoo</name> -</maintainer> -</pkgmetadata> diff --git a/sci-libs/libspatialindex/Manifest b/sci-libs/libspatialindex/Manifest deleted file mode 100644 index d830821da52e..000000000000 --- a/sci-libs/libspatialindex/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST spatialindex-src-1.9.3.tar.bz2 520817 BLAKE2B 89bbb4ef76f620042cbaa2822daad1459bb8a3801fcdedaa73fdc666efcae0e5329e15e79607e3a31ef9a651fbbf9d3657f5bada19b229eaf37fe232935b8dae SHA512 7922807a2f7026542a014d3d7943da5410429b291cf469267ffea5b8075eab2a94e68b6c013425615d221b930fd319c403f3bf43404c9b1d2c92d0e2baae3066 diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch b/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch deleted file mode 100644 index f96fbe11c94c..000000000000 --- a/sci-libs/libspatialindex/files/libspatialindex-1.9.3-respect-compiler-flags.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -117,12 +117,6 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${SIDX_BUILD_OUTPUT_DIRECTORY}) - # Platform and compiler specific settings - #------------------------------------------------------------------------------ - --if(NOT WIN32) -- # Recommended C++ compilation flags -- set(SIDX_COMMON_CXX_FLAGS -- "-pedantic -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long") --endif(NOT WIN32) -- - if (APPLE) - set(SO_EXT dylib) - set(CMAKE_FIND_FRAMEWORK "LAST") diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.9.3-use-system-gtest.patch b/sci-libs/libspatialindex/files/libspatialindex-1.9.3-use-system-gtest.patch deleted file mode 100644 index 996fc9b96921..000000000000 --- a/sci-libs/libspatialindex/files/libspatialindex-1.9.3-use-system-gtest.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/test/gtest/CMakeLists.txt b/test/gtest/CMakeLists.txt ---- a/test/gtest/CMakeLists.txt (revision 5a08124d541319d39886710afc1d61dfff5575a1) -+++ b/test/gtest/CMakeLists.txt (date 1615011059253) -@@ -1,8 +1,5 @@ - set (GOOGLETEST_VERSION "1.10.0") - --add_subdirectory(gtest-1.10.0) --include_directories(./gtest-1.10.0/include) -- - set (SOURCES - test.h - sidx_api_test.h diff --git a/sci-libs/libspatialindex/libspatialindex-1.9.3-r2.ebuild b/sci-libs/libspatialindex/libspatialindex-1.9.3-r2.ebuild deleted file mode 100644 index 11ffc49a6b58..000000000000 --- a/sci-libs/libspatialindex/libspatialindex-1.9.3-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_P="spatialindex-src-${PV}" - -DESCRIPTION="C++ implementation of R*-tree, an MVR-tree and a TPR-tree with C API" -HOMEPAGE="https://libspatialindex.org/ - https://github.com/libspatialindex/libspatialindex" -SRC_URI="https://github.com/libspatialindex/${PN}/releases/download/${PV}/${MY_P}.tar.bz2" - -LICENSE="MIT" -SLOT="0/6" -KEYWORDS="amd64 arm64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="test? ( >=dev-cpp/gtest-1.10.0 )" - -S=${WORKDIR}/${MY_P} - -PATCHES=( - "${FILESDIR}"/${P}-respect-compiler-flags.patch - "${FILESDIR}"/${P}-use-system-gtest.patch -) - -src_prepare() { - cmake_src_prepare - - sed -i -e 's/CMAKE_CXX_STANDARD 11/CMAKE_CXX_STANDARD 14/' \ - CMakeLists.txt || die "sed failed" -} - -src_configure() { - local mycmakeargs=( - -DSIDX_BUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} diff --git a/sci-libs/libspatialindex/metadata.xml b/sci-libs/libspatialindex/metadata.xml deleted file mode 100644 index c1730d14653d..000000000000 --- a/sci-libs/libspatialindex/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>3dprint@gentoo.org</email> - <name>Gentoo 3D print</name> - </maintainer> - <slots> - <subslots>Soname version number of libspatialindex</subslots> - </slots> - <upstream> - <bugs-to>https://github.com/libspatialindex/libspatialindex/issues</bugs-to> - <remote-id type="github">libspatialindex/libspatialindex</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libsvm/Manifest b/sci-libs/libsvm/Manifest deleted file mode 100644 index 35bab6f57f81..000000000000 --- a/sci-libs/libsvm/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST libsvm-3.3.tar.gz 910001 BLAKE2B 69364210998e496e333c6a87a66ad3f1515f2b3e98fe7bc579e8aee6d4df0473a4282f979d4f7d1729ce7080fd8b009ce830caab0ac37b57fafff0d2686e86e0 SHA512 705cdebffce0d9ea053cf51b2bfd46303d306b7a2c34ee46065f19e1227459fbdbe6fde6e4769935a0c225da831ec137fb9c0c28fbc2efa06724a94bdd76500d -DIST libsvm-3.37.tar.gz 943582 BLAKE2B 6b085d8473242d35d7416baecba887fedb432a803b47e99dccee9f46859d6e22f63fc487df3448fd535aa8673b22d529bdb28fc23a53326eb74361dd72431ec5 SHA512 c5ecee6e46dc4b16995af16ab90330aa0804155787301fb6046d790828634d809b90f85675d252020ae7ca60ca2c19cd9eaa3ac53ac50f2674d76ac2b12001cc diff --git a/sci-libs/libsvm/files/libsvm-3.25-openmp.patch b/sci-libs/libsvm/files/libsvm-3.25-openmp.patch deleted file mode 100644 index 1d12e198648e..000000000000 --- a/sci-libs/libsvm/files/libsvm-3.25-openmp.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/svm.cpp -+++ b/svm.cpp -@@ -1282,6 +1282,9 @@ - int start, j; - if((start = cache->get_data(i,&data,len)) < len) - { -+#ifdef OPENMP -+#pragma omp parallel for private(j) -+#endif - for(j=start;j<len;j++) - data[j] = (Qfloat)(y[i]*y[j]*(this->*kernel_function)(i,j)); - } -@@ -2506,7 +2509,10 @@ - model->param.svm_type == NU_SVR) - { - double *sv_coef = model->sv_coef[0]; -- double sum = 0; -+ double sum = 0; int i; -+#ifdef OPENMP -+#pragma omp parallel for private(i) reduction(+:sum) -+#endif - for(i=0;i<model->l;i++) - sum += sv_coef[i] * Kernel::k_function(x,model->SV[i],model->param); - sum -= model->rho[0]; -@@ -2523,6 +2529,9 @@ - int l = model->l; - - double *kvalue = Malloc(double,l); -+#ifdef OPENMP -+#pragma omp parallel for private(i) -+#endif - for(i=0;i<l;i++) - kvalue[i] = Kernel::k_function(x,model->SV[i],model->param); - diff --git a/sci-libs/libsvm/files/libsvm-3.30-javaMakefile.patch b/sci-libs/libsvm/files/libsvm-3.30-javaMakefile.patch deleted file mode 100644 index a134ca1a44b1..000000000000 --- a/sci-libs/libsvm/files/libsvm-3.30-javaMakefile.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://bugs.gentoo.org/936550 - ---- a/java/Makefile -+++ b/java/Makefile -@@ -4,8 +4,6 @@ FILES = libsvm/svm.class libsvm/svm_model.class libsvm/svm_node.class \ - libsvm/svm_print_interface.class \ - svm_train.class svm_predict.class svm_toy.class svm_scale.class - --#JAVAC = jikes --JAVAC_FLAGS = -target 1.7 -source 1.7 - JAVAC = javac - # JAVAC_FLAGS = - export CLASSPATH := .:$(CLASSPATH) diff --git a/sci-libs/libsvm/files/libsvm-3.30-makefile.patch b/sci-libs/libsvm/files/libsvm-3.30-makefile.patch deleted file mode 100644 index 6f8266d5cb02..000000000000 --- a/sci-libs/libsvm/files/libsvm-3.30-makefile.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/Makefile b/Makefile -index 76fd929..a454f56 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,9 +1,10 @@ --CXX ?= g++ --CFLAGS = -Wall -Wconversion -O3 -fPIC -+CFLAGS ?= -Wall -Wconversion -+CXXFLAGS ?= $(CFLAGS) - SHVER = 3 - OS = $(shell uname) -+PICFLAGS ?= -fPIC - --all: svm-train svm-predict svm-scale -+all: svm-train svm-predict svm-scale lib - - lib: svm.o - if [ "$(OS)" = "Darwin" ]; then \ -@@ -11,15 +12,16 @@ lib: svm.o - else \ - SHARED_LIB_FLAG="-shared -Wl,-soname,libsvm.so.$(SHVER)"; \ - fi; \ -- $(CXX) $${SHARED_LIB_FLAG} svm.o -o libsvm.so.$(SHVER) -+ $(CXX) $(LDFLAGS) $${SHARED_LIB_FLAG} svm.o -o libsvm.so.$(SHVER) $(OPENMP_LIBS) ; \ -+ ln -s libsvm.so.$(SHVER) libsvm.so - --svm-predict: svm-predict.c svm.o -- $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm --svm-train: svm-train.c svm.o -- $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm --svm-scale: svm-scale.c -- $(CXX) $(CFLAGS) svm-scale.c -o svm-scale -+svm-predict: svm-predict.o lib -+ $(CXX) $(LDFLAGS) $< -o $@ $(LIBS) -L. -lsvm -lm -+svm-train: svm-train.o lib -+ $(CXX) $(LDFLAGS) $< -o $@ $(LIBS) -L. -lsvm -lm -+svm-scale: svm-scale.o -+ $(CXX) $(LDFLAGS) $< -o $@ $(LIBS) - svm.o: svm.cpp svm.h -- $(CXX) $(CFLAGS) -c svm.cpp -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(PICFLAGS) $(OPENMP_CFLAGS) -c svm.cpp -o $@ - clean: -- rm -f *~ svm.o svm-train svm-predict svm-scale libsvm.so.$(SHVER) -+ rm -f *~ svm.o svm-train svm-predict svm-scale libsvm.so.$(SHVER) libsvm.so diff --git a/sci-libs/libsvm/files/libsvm-3.37-javaMakefile.patch b/sci-libs/libsvm/files/libsvm-3.37-javaMakefile.patch deleted file mode 100644 index ddf2b88e733c..000000000000 --- a/sci-libs/libsvm/files/libsvm-3.37-javaMakefile.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/java/Makefile b/java/Makefile -index 558c3ea..840bd08 100644 ---- a/java/Makefile -+++ b/java/Makefile -@@ -4,10 +4,7 @@ FILES = libsvm/svm.class libsvm/svm_model.class libsvm/svm_node.class \ - libsvm/svm_print_interface.class \ - svm_train.class svm_predict.class svm_toy.class svm_scale.class - --#JAVAC = jikes --JAVAC_FLAGS = --release 11 - JAVAC = javac --# JAVAC_FLAGS = - export CLASSPATH := .:$(CLASSPATH) - - all: $(FILES) diff --git a/sci-libs/libsvm/files/libsvm-3.37-makefile.patch b/sci-libs/libsvm/files/libsvm-3.37-makefile.patch deleted file mode 100644 index 4830d487da43..000000000000 --- a/sci-libs/libsvm/files/libsvm-3.37-makefile.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/Makefile b/Makefile -index 1bc5d4e..4d55228 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,28 +1,33 @@ - CXX ?= g++ --CFLAGS = -Wall -Wconversion -O3 -fPIC -+CFLAGS ?= -Wall -Wconversion -+CXXFLAGS ?= $(CFLAGS) -+CFLAGS += -fPIC -+CXXFLAGS += -fPIC -+ - SHVER = 4 - OS = $(shell uname) - ifeq ($(OS),Darwin) -- SHARED_LIB_FLAG = -dynamiclib -Wl,-install_name,libsvm.so.$(SHVER) -+ SHARED_LIB_FLAG = -dynamiclib -Wl,-install_name,libsvm.so.$(SHVER) -fPIC - else -- SHARED_LIB_FLAG = -shared -Wl,-soname,libsvm.so.$(SHVER) -+ SHARED_LIB_FLAG = -shared -Wl,-soname,libsvm.so.$(SHVER) -fPIC - endif - - # Uncomment the following lines to enable parallelization with OpenMP - # CFLAGS += -fopenmp - # SHARED_LIB_FLAG += -fopenmp - --all: svm-train svm-predict svm-scale -+all: svm-train svm-predict svm-scale lib - - lib: svm.o -- $(CXX) $(SHARED_LIB_FLAG) svm.o -o libsvm.so.$(SHVER) -+ $(CXX) $(LDFLAGS) $(SHARED_LIB_FLAG) svm.o -o libsvm.so.$(SHVER) -+ ln -s libsvm.so.$(SHVER) libsvm.so - svm-predict: svm-predict.c svm.o -- $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm -+ $(CXX) $(CFLAGS) $(LDFLAGS) svm-predict.c svm.o -o svm-predict -lm - svm-train: svm-train.c svm.o -- $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm -+ $(CXX) $(CFLAGS) $(LDFLAGS) svm-train.c svm.o -o svm-train -lm - svm-scale: svm-scale.c -- $(CXX) $(CFLAGS) svm-scale.c -o svm-scale -+ $(CXX) $(CFLAGS) $(LDFLAGS) svm-scale.c -o svm-scale - svm.o: svm.cpp svm.h -- $(CXX) $(CFLAGS) -c svm.cpp -+ $(CXX) $(CXXFLAGS) -c svm.cpp - clean: - rm -f *~ svm.o svm-train svm-predict svm-scale libsvm.so.$(SHVER) diff --git a/sci-libs/libsvm/libsvm-3.30.ebuild b/sci-libs/libsvm/libsvm-3.30.ebuild deleted file mode 100644 index ca44fbaf8818..000000000000 --- a/sci-libs/libsvm/libsvm-3.30.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit java-pkg-opt-2 python-r1 toolchain-funcs - -DESCRIPTION="Library for Support Vector Machines" -HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/libsvm/" -SRC_URI="https://www.csie.ntu.edu.tw/~cjlin/libsvm/${PN}-${PV/0}.tar.gz" -S="${WORKDIR}/${PN}-${PV/0}" - -LICENSE="BSD" -SLOT="0/2" -KEYWORDS="amd64 ~ppc ppc64 ~x86" -IUSE="java openmp python tools" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -DEPEND=" - java? ( >=virtual/jdk-1.8:* ) - python? ( ${PYTHON_DEPS} ) -" -RDEPEND=" - java? ( >=virtual/jre-1.8:* ) - python? ( ${PYTHON_DEPS} ) - tools? ( sci-visualization/gnuplot ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.25-openmp.patch - "${FILESDIR}"/${PN}-3.30-makefile.patch - "${FILESDIR}"/${PN}-3.30-javaMakefile.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - java-pkg_clean - - sed -i -e "s@\.\./@${EPREFIX}/usr/bin/@g" tools/*.py \ - || die "Failed to fix paths in python files" - sed -i -e "s|./grid.py|${EPREFIX}/usr/bin/svm-grid|g" tools/*.py \ - || die "Failed to fix paths for svm-grid" - sed -i -e 's/grid.py/svm-grid/g' tools/grid.py \ - || die "Failed to rename grid.py to svm-grid" -} - -src_configure() { - use java && export JAVAC_FLAGS="$(java-pkg_javac-args)" - if use openmp; then - export OPENMP_CFLAGS="-fopenmp -DOPENMP" - export OPENMP_LIBS="-fopenmp" - fi - - tc-export CXX CC -} - -src_compile() { - default - use java && emake -C java -} - -src_install() { - dobin svm-train svm-predict svm-scale - dolib.so *.so* - doheader svm.h - - DOCS=( README ) - - if use tools; then - local t - for t in tools/*.py; do - python_foreach_impl python_newscript ${t} svm-$(basename ${t} .py) - done - - mv tools/README{,.tools} || die - DOCS+=( tools/README.tools ) - - docinto examples - dodoc heart_scale - dodoc -r svm-toy - docompress -x /usr/share/doc/${PF}/examples - fi - - if use python ; then - installation() { - touch python/__init__.py || die - python_moduleinto libsvm - python_domodule python/*.py - } - python_foreach_impl installation - - mv python/README{,.python} || die - DOCS+=( python/README.python ) - fi - - HTML_DOCS=( FAQ.html ) - if use java; then - java-pkg_dojar java/libsvm.jar - HTML_DOCS+=( java/test_applet.html ) - fi - - einstalldocs -} diff --git a/sci-libs/libsvm/libsvm-3.37.ebuild b/sci-libs/libsvm/libsvm-3.37.ebuild deleted file mode 100644 index 96964ff72bb1..000000000000 --- a/sci-libs/libsvm/libsvm-3.37.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit java-pkg-opt-2 python-r1 toolchain-funcs - -DESCRIPTION="Library for Support Vector Machines" -HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/libsvm/" -SRC_URI="https://www.csie.ntu.edu.tw/~cjlin/libsvm/${PN}-${PV/0}.tar.gz" -S="${WORKDIR}/${PN}-${PV/0}" - -LICENSE="BSD" -SLOT="0/2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="openmp python tools" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -DEPEND=" - java? ( >=virtual/jdk-1.8:* ) - python? ( ${PYTHON_DEPS} ) -" -RDEPEND=" - java? ( >=virtual/jre-1.8:* ) - python? ( ${PYTHON_DEPS} ) - tools? ( sci-visualization/gnuplot ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.37-makefile.patch - "${FILESDIR}"/${PN}-3.37-javaMakefile.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - java-pkg-opt-2_src_prepare - java-pkg_clean java - - sed -i -e "s@\.\./@${EPREFIX}/usr/bin/@g" tools/*.py \ - || die "Failed to fix paths in python files" - sed -i -e "s|./grid.py|${EPREFIX}/usr/bin/svm-grid|g" tools/*.py \ - || die "Failed to fix paths for svm-grid" - sed -i -e 's/grid.py/svm-grid/g' tools/grid.py \ - || die "Failed to rename grid.py to svm-grid" -} - -src_configure() { - use java && export JAVAC_FLAGS="-source $(java-pkg_get-source) -target $(java-pkg_get-target)" - if use openmp; then - export OPENMP_CFLAGS="-fopenmp -DOPENMP" - export OPENMP_LIBS="-fopenmp" - fi - - tc-export CXX CC -} - -src_compile() { - default - use java && emake -C java -} - -src_install() { - dobin svm-train svm-predict svm-scale - dolib.so *.so* - doheader svm.h - - DOCS=( README ) - - if use tools; then - local t - for t in tools/*.py; do - python_foreach_impl python_newscript ${t} svm-$(basename ${t} .py) - done - - mv tools/README{,.tools} || die - DOCS+=( tools/README.tools ) - - docinto examples - dodoc heart_scale - dodoc -r svm-toy - docompress -x /usr/share/doc/${PF}/examples - fi - - if use python ; then - installation() { - touch python/__init__.py || die - python_moduleinto libsvm - python_domodule python/*.py - } - python_foreach_impl installation - - mv python/README{,.python} || die - DOCS+=( python/README.python ) - fi - - HTML_DOCS=( FAQ.html ) - if use java; then - java-pkg_dojar java/libsvm.jar - fi - - einstalldocs -} diff --git a/sci-libs/libsvm/metadata.xml b/sci-libs/libsvm/metadata.xml deleted file mode 100644 index 0ebc02970a4e..000000000000 --- a/sci-libs/libsvm/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The LIBSVM library is used to calculate Support Vector Machine - optimizations with a great variety of options. It includes - one-class, two-class, multiclass, regression-mode, and probablistic - output functionality. It is primarily of interest to machine-learning - researchers and artificial intelligence application developers. - </longdescription> - <use> - <flag name="tools">Install python based tool scripts for data selection and visualization with <pkg>sci-visualization/gnuplot</pkg></flag> - </use> -</pkgmetadata> diff --git a/sci-libs/libticables2/Manifest b/sci-libs/libticables2/Manifest deleted file mode 100644 index 3cd4eed5e440..000000000000 --- a/sci-libs/libticables2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libticables2-1.3.5.tar.bz2 187416 BLAKE2B aea17b04783ff09a0f36fff60938c6f954f832b33dceec427e11b29b16e442921370b3cb43cb7c8d70dad854e3e9894a1d52378fed3cf232f38d69757725ad41 SHA512 171abdf41f496891c62da17a2b84d929ac32021b0f2abc0c37ed73ec93806d4a14df37a8ffbe2b0c172ff3461aa6c639fc1ba23aafb19e024b99448dd66c63bd diff --git a/sci-libs/libticables2/libticables2-1.3.5-r1.ebuild b/sci-libs/libticables2/libticables2-1.3.5-r1.ebuild deleted file mode 100644 index 9f5b42fb4f7e..000000000000 --- a/sci-libs/libticables2/libticables2-1.3.5-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library to handle different link cables for TI calculators" -HOMEPAGE="http://lpg.ticalc.org/prj_tilp/" -SRC_URI="https://downloads.sourceforge.net/tilp/tilp2-linux/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug doc nls static-libs usb" - -RDEPEND=" - dev-libs/glib:2 - usb? ( virtual/libusb:1 ) - nls? ( virtual/libintl ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --disable-rpath - $(use_enable static-libs static) - $(use_enable debug logging) - $(use_enable nls) - $(use_enable usb libusb) - $(use_enable usb libusb10) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - use doc && HTML_DOCS+=( docs/html/. ) - default - find "${D}" -type f -name '*.la' -delete || die -} - -pkg_postinst() { - elog "Please read README in ${EROOT}/usr/share/doc/${PF}" - elog "if you encounter any problem with a link cable" -} diff --git a/sci-libs/libticables2/metadata.xml b/sci-libs/libticables2/metadata.xml deleted file mode 100644 index f0cd6364ab60..000000000000 --- a/sci-libs/libticables2/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - This library provides functions to use Texas Instruments link cables - for TI calculators. It currently supports all cables on i386, - including the USB one. Supported cables may vary depending on your - architecture. - </longdescription> - <upstream> - <remote-id type="sourceforge">tilp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libticalcs2/Manifest b/sci-libs/libticalcs2/Manifest deleted file mode 100644 index d8b8166215ca..000000000000 --- a/sci-libs/libticalcs2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libticalcs2-1.1.9.tar.bz2 269963 BLAKE2B 9cebc63647afe5b7e45b44f4e6a48902b9ae551d38eeb4bb2112a84988355bb7beafb27192b90c597b9613f8cb2dfb67f2b2eeb2e270b1d3fdd620f8f8d0c2cf SHA512 a55fa92df787929397f4ed3e8f922355f71c7883459ceb98fbb8d39d18f06441147188aaabf7a67083d70549443e439744e68527742e2b7b5d3d2838cc41b4da diff --git a/sci-libs/libticalcs2/files/0001-libticalcs-fix-erroneous-bashism-in-configure-script.patch b/sci-libs/libticalcs2/files/0001-libticalcs-fix-erroneous-bashism-in-configure-script.patch deleted file mode 100644 index 7cf0f173af34..000000000000 --- a/sci-libs/libticalcs2/files/0001-libticalcs-fix-erroneous-bashism-in-configure-script.patch +++ /dev/null @@ -1,39 +0,0 @@ -From e27900a6b30f35b1a586b171603047fec3f39990 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Fri, 29 Mar 2024 01:48:47 -0400 -Subject: [PATCH] libticalcs: fix erroneous bashism in configure script - -configure scripts are POSIX /bin/sh scripts and cannot have -bash-specific syntax. The `test xxx == yyy` construct with double equals -is a bash-specific alias for single equals. It does exactly the same -thing as single equals -- it provides no additional functionality, no -behavior changes, it is *exactly* the same but with an additional -alternate spelling. In exchange for doing nothing, it breaks muscle -memory when writing POSIX sh scripts and tricks developers into writing -the wrong thing. - -It should never be used under any circumstances. Ideally it would be -removed altogether from GNU bash. - -Bug: https://bugs.gentoo.org/723452 -Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> ---- - libticalcs/trunk/configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libticalcs/trunk/configure.ac b/libticalcs/trunk/configure.ac -index 3ec257ed..42588f9f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -180,7 +180,7 @@ esac - AC_ARG_VAR([CXX_FOR_BUILD], [C++ compiler for programs to be run on the build system]) - AC_ARG_VAR([CXXFLAGS_FOR_BUILD], [C++ compiler flags for CXX_FOR_BUILD]) - AC_MSG_CHECKING([for the host compiler]) --if test "x$build" == "x$host" ; then -+if test "x$build" = "x$host" ; then - # Not cross-compiling. - CXX_FOR_BUILD=$CXX - CXXFLAGS_FOR_BUILD=$CXXFLAGS --- -2.43.2 - diff --git a/sci-libs/libticalcs2/libticalcs2-1.1.9-r1.ebuild b/sci-libs/libticalcs2/libticalcs2-1.1.9-r1.ebuild deleted file mode 100644 index c241b5cadd9c..000000000000 --- a/sci-libs/libticalcs2/libticalcs2-1.1.9-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="Library for communication with TI calculators" -HOMEPAGE="http://lpg.ticalc.org/prj_tilp/" -SRC_URI="https://downloads.sourceforge.net/tilp/tilp2-linux/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc nls static-libs" - -RDEPEND=" - dev-libs/glib:2 - >=sci-libs/libticables2-1.3.3 - >=sci-libs/libticonv-1.1.3 - >=sci-libs/libtifiles2-1.1.5 - nls? ( virtual/libintl )" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt ) - -PATCHES=( - # https://github.com/debrouxl/tilibs/pull/87 - "${FILESDIR}"/0001-libticalcs-fix-erroneous-bashism-in-configure-script.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927586 - filter-lto - - econf \ - --disable-rpath \ - $(use_enable static-libs static) \ - $(use_enable nls) -} - -src_install() { - use doc && HTML_DOCS+=( docs/html/. ) - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/libticalcs2/metadata.xml b/sci-libs/libticalcs2/metadata.xml deleted file mode 100644 index 5f90a83db0f2..000000000000 --- a/sci-libs/libticalcs2/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The libticalcs provides a set of functions to communicate with Texas - Instruments calculators. It implements the TI protocol for each type - of calculator, independently of the link cable used to establish the - link. - All graphing calculators from Texas Instruments are supported - </longdescription> - <upstream> - <remote-id type="sourceforge">tilp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libticonv/Manifest b/sci-libs/libticonv/Manifest deleted file mode 100644 index 25a7d26591ed..000000000000 --- a/sci-libs/libticonv/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libticonv-1.1.5.tar.bz2 86036 BLAKE2B 494494f59c8fbdad183c2e7d4b66f3313ce1b968b5898b31da9bc3d54f73aafbe93ce676928dd9b986fa5eaafe12ad333e9dc0da2e3abf94bddfeebf481727e2 SHA512 ea589344a656c5c7d28ed45e8da36bf7b746b7a82d77a257ddd305e2ebdc34f0ae14a6090e991f47ef7ad37cdc8d7182181c705fb0814e671ef764ca2a6dc2bf diff --git a/sci-libs/libticonv/libticonv-1.1.5-r1.ebuild b/sci-libs/libticonv/libticonv-1.1.5-r1.ebuild deleted file mode 100644 index 14561b4c4057..000000000000 --- a/sci-libs/libticonv/libticonv-1.1.5-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Charset conversion library for TI calculators" -HOMEPAGE="http://lpg.ticalc.org/prj_tilp/" -SRC_URI="https://downloads.sourceforge.net/tilp/tilp2-linux/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc iconv static-libs" - -DEPEND="dev-libs/glib:2" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_enable iconv) -} - -src_install() { - if use doc; then - HTML_DOCS=( docs/html/. ) - DOCS+=( docs/charsets ) - fi - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/libticonv/metadata.xml b/sci-libs/libticonv/metadata.xml deleted file mode 100644 index 1e91e243d44a..000000000000 --- a/sci-libs/libticonv/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The libticonv package is a library which handles the various TI - charsets and conversion to/from UTF-8/16 through a set of functions - which constitutes a common API. - </longdescription> - <upstream> - <remote-id type="sourceforge">tilp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libtifiles2/Manifest b/sci-libs/libtifiles2/Manifest deleted file mode 100644 index 87c03e569953..000000000000 --- a/sci-libs/libtifiles2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libtifiles2-1.1.7.tar.bz2 122454 BLAKE2B 1ae51ccde4a5a9127b015b6fa5ad4d446e56b473330a3d220c6a6b7cb333161e9e9d80cae7ac8985beb0e844ce21ffdc4713847d69986b6d7f5506a5a6b1545f SHA512 e2ef4de0ce8c78f0da4098ec618a7194f9b94a028f9cb54a0ea1c29c00028d7cf144a067d8aaf8010ad094378b6426d05621d530cfbfa05f793f6c1ed41fcaef diff --git a/sci-libs/libtifiles2/libtifiles2-1.1.7-r1.ebuild b/sci-libs/libtifiles2/libtifiles2-1.1.7-r1.ebuild deleted file mode 100644 index 6359b0284ace..000000000000 --- a/sci-libs/libtifiles2/libtifiles2-1.1.7-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library for TI calculator files" -HOMEPAGE="http://lpg.ticalc.org/prj_tilp/" -SRC_URI="https://downloads.sourceforge.net/tilp/tilp2-linux/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc nls static-libs" - -RDEPEND=" - app-arch/libarchive:= - dev-libs/glib:2 - >=sci-libs/libticables2-1.3.3 - >=sci-libs/libticonv-1.1.3 - nls? ( virtual/libintl ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --disable-rpath \ - $(use_enable static-libs static) \ - $(use_enable nls) -} - -src_install() { - use doc && local HTML_DOCS=( docs/html/. ) - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/libtifiles2/metadata.xml b/sci-libs/libtifiles2/metadata.xml deleted file mode 100644 index c863e3e1a5dd..000000000000 --- a/sci-libs/libtifiles2/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The libtifiles is a library providing support for operations on Texas - Instruments calculators files. All formats for all calculators are - supported read/write ; the library is also able to manipulate the - group files, which means it is able to group and ungroup variables - into such group files. - </longdescription> - <upstream> - <remote-id type="sourceforge">tilp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/libxc/Manifest b/sci-libs/libxc/Manifest deleted file mode 100644 index 227967bcf438..000000000000 --- a/sci-libs/libxc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libxc-5.1.7.tar.gz 46172191 BLAKE2B e18acd864a5de7c93ce5499b79f60db473851ac6df35461bf0f13d16321fd2f68949a21b060aeed9c220a546c9aae614357f9815379356c9c9356555f4acc10a SHA512 ccb535e9d9427bdc9b2d05fae21995c92ae08efb64d51adaae44efc018bd9e5f7807d3a8ab073bb279968284e67bde80bba8a90d95145a484b396784ae072974 diff --git a/sci-libs/libxc/libxc-5.1.7.ebuild b/sci-libs/libxc/libxc-5.1.7.ebuild deleted file mode 100644 index dc49c7177051..000000000000 --- a/sci-libs/libxc/libxc-5.1.7.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools fortran-2 - -DESCRIPTION="A library of exchange-correlation functionals for use in DFT" -HOMEPAGE="https://octopus-code.org/wiki/Libxc" -SRC_URI="https://gitlab.com/libxc/libxc/-/archive/${PV}/${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="fortran test" -RESTRICT="!test? ( test )" - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - econf \ - --enable-shared \ - $(use_enable fortran) -} - -src_install() { - default - - dodoc ChangeLog.md - - # no static archives - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/libxc/metadata.xml b/sci-libs/libxc/metadata.xml deleted file mode 100644 index 9d192f5a7ea9..000000000000 --- a/sci-libs/libxc/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>Hloupy.Honza@centrum.cz</email> - <name>Honza Macháček</name> - </maintainer> - <longdescription lang="en"> - Libxc is a library of exchange-correlation functionals for density-functional theory. - The aim is to provide a portable, well tested and reliable set of exchange and correlation - functionals that can be used by all the ETSF codes and also other codes. - - In Libxc you can find different types of functionals: LDA, GGA, hybrids, and mGGA (experimental). - These functionals depend on local information, in the sense that the value of the potential - at a given point depends only on the values of the density -- and the gradient of the density - and the kinetic energy density, for the GGA and mGGA cases. - - It can calculate the functional itself and its derivative; for some functionals, - higher-order derivatives are available. - - Libxc is written in C and has Fortran bindings. It is released under the LGPL license (v. 3.0). - Contributions are welcome. - </longdescription> - <upstream> - <doc>http://octopus-code.org/wiki/Libxc:manual</doc> - </upstream> -</pkgmetadata> diff --git a/sci-libs/linbox/Manifest b/sci-libs/linbox/Manifest deleted file mode 100644 index 3a19ae41b97c..000000000000 --- a/sci-libs/linbox/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST linbox-1.7.1.tar.gz 2305073 BLAKE2B 056453681e5f9102ed2974fa36df7ce97a86aef1d961da3fb50829fc212caf0ecb927e3f069f8c01c6e94682a237743a984f1a39ee83019f1b158071d0617396 SHA512 f13f607c4e7c4b6eb569d03007b96bc6ab4d57f520cfa557fda71c62eec43e23c24260c7495dbed9c39ddff18674c22eb72e43cff43fe7d0396f848f19df7595 diff --git a/sci-libs/linbox/linbox-1.7.1-r1.ebuild b/sci-libs/linbox/linbox-1.7.1-r1.ebuild deleted file mode 100644 index 82a2c3b1e246..000000000000 --- a/sci-libs/linbox/linbox-1.7.1-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C++ template library for integer and finite-field linear algebra" -HOMEPAGE="https://linalg.org/" -SRC_URI="https://github.com/linbox-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - -# I think only macros/libtool.m4 (and COPYING) is GPL-2+; the source -# headers all say LGPL-2.1 -LICENSE="GPL-2+ LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86 ~x64-macos" -IUSE="doc opencl openmp" - -BDEPEND="doc? ( app-text/doxygen )" - -# The project README says that gmp, givaro, and blas/lapack are required -# transitively via fflas-ffpack, but that's not true. The build system -# checks for them, and `git grep` shows that they're used directly. -DEPEND="dev-libs/gmp[cxx(+)] - =sci-libs/givaro-4.2* - =sci-libs/fflas-ffpack-2.5* - virtual/cblas - virtual/lapack - opencl? ( virtual/opencl ) - dev-libs/ntl:= - sci-libs/iml - dev-libs/mpfr:= - sci-mathematics/flint:=" - -# Use mathjax to render inline latex rather than requiring a working latex -# installation to generate bitmaps. -RDEPEND="${DEPEND} - doc? ( >=dev-libs/mathjax-3 ) -" - -# The --enable-openmp flag has been removed upstream, but we don't want -# openmp support to disappear after the package has been compiled with -# it, so we retain the USE flag and the toolchain check. -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - - if use doc; then - # Avoid the need for a working LaTeX installation. MathJax does - # slow down the browser a bit but it also renders much more - # nicely than the latex-generated bitmaps would. - echo " - USE_MATHJAX = YES - MATHJAX_VERSION = MathJax_3 - MATHJAX_RELPATH = \"${EPREFIX}/usr/share/mathjax\" - MATHJAX_EXTENSIONS = ams - " >> doc/Doxyfile.mod || die - fi - -} - -src_configure() { - # - # The --with-all flag includes, - # - # --with-givaro: used for finite fields, integer, etc. (required) - # --with-fflas-ffpack: small field dense linear algebra (required) - # --with-ntl: used for finite field, polynomial arithmetic (optional) - # --with-iml: used for fast integer/rational linear algebra (optional) - # --with-mpfr: not sure, doesn't seem to be used? (optional) - # --with-flint: used in algorithms/matrix-blas3 once (optional) - # --with-fplll: an fplll interface not directly used (optional) - # --with-doxygen: needed with --enable-doc to build them (optional) - # - # Some of these could be behind USE flags, but the ./configure output - # says that they're "not yet mandatory," which makes me think we might - # be overcomplicating things to make them optional right now. - # - econf \ - --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --with-all="${EPREFIX}"/usr \ - --without-fplll \ - --without-archnative \ - $(use_enable doc) \ - $(use_with opencl ocl) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - if use doc; then - # These files are used for incremental doxygen builds but aren't - # part of the final output. Check on - # - # https://github.com/linbox-team/linbox/issues/252 - # - # periodically to see if this is pointless. - find "${ED}/usr/share/doc/${PF}" -type f -name '*.md5' -delete || die - find "${ED}/usr/share/doc/${PF}" -type f -name '*.map' -delete || die - fi -} diff --git a/sci-libs/linbox/linbox-1.7.1.ebuild b/sci-libs/linbox/linbox-1.7.1.ebuild deleted file mode 100644 index 6660790c35be..000000000000 --- a/sci-libs/linbox/linbox-1.7.1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C++ template library for integer and finite-field linear algebra" -HOMEPAGE="https://linalg.org/" -SRC_URI="https://github.com/linbox-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - -# I think only macros/libtool.m4 (and COPYING) is GPL-2+; the source -# headers all say LGPL-2.1 -LICENSE="GPL-2+ LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86 ~x64-macos" -IUSE="doc opencl openmp" - -BDEPEND="doc? ( app-text/doxygen )" - -# The project README says that gmp, givaro, and blas/lapack are required -# transitively via fflas-ffpack, but that's not true. The build system -# checks for them, and `git grep` shows that they're used directly. -DEPEND="dev-libs/gmp[cxx(+)] - =sci-libs/givaro-4.2* - =sci-libs/fflas-ffpack-2.5* - virtual/cblas - virtual/lapack - opencl? ( virtual/opencl ) - dev-libs/ntl:= - sci-libs/iml - dev-libs/mpfr:= - sci-mathematics/flint" - -# Use mathjax to render inline latex rather than requiring a working latex -# installation to generate bitmaps. -RDEPEND="${DEPEND} - doc? ( >=dev-libs/mathjax-3 ) -" - -# The --enable-openmp flag has been removed upstream, but we don't want -# openmp support to disappear after the package has been compiled with -# it, so we retain the USE flag and the toolchain check. -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - - if use doc; then - # Avoid the need for a working LaTeX installation. MathJax does - # slow down the browser a bit but it also renders much more - # nicely than the latex-generated bitmaps would. - echo " - USE_MATHJAX = YES - MATHJAX_VERSION = MathJax_3 - MATHJAX_RELPATH = \"${EPREFIX}/usr/share/mathjax\" - MATHJAX_EXTENSIONS = ams - " >> doc/Doxyfile.mod || die - fi - -} - -src_configure() { - # - # The --with-all flag includes, - # - # --with-givaro: used for finite fields, integer, etc. (required) - # --with-fflas-ffpack: small field dense linear algebra (required) - # --with-ntl: used for finite field, polynomial arithmetic (optional) - # --with-iml: used for fast integer/rational linear algebra (optional) - # --with-mpfr: not sure, doesn't seem to be used? (optional) - # --with-flint: used in algorithms/matrix-blas3 once (optional) - # --with-fplll: an fplll interface not directly used (optional) - # --with-doxygen: needed with --enable-doc to build them (optional) - # - # Some of these could be behind USE flags, but the ./configure output - # says that they're "not yet mandatory," which makes me think we might - # be overcomplicating things to make them optional right now. - # - econf \ - --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --with-all="${EPREFIX}"/usr \ - --without-fplll \ - --without-archnative \ - $(use_enable doc) \ - $(use_with opencl ocl) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - if use doc; then - # These files are used for incremental doxygen builds but aren't - # part of the final output. Check on - # - # https://github.com/linbox-team/linbox/issues/252 - # - # periodically to see if this is pointless. - find "${ED}/usr/share/doc/${PF}" -type f -name '*.md5' -delete || die - find "${ED}/usr/share/doc/${PF}" -type f -name '*.map' -delete || die - fi -} diff --git a/sci-libs/linbox/metadata.xml b/sci-libs/linbox/metadata.xml deleted file mode 100644 index db695272dc66..000000000000 --- a/sci-libs/linbox/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <longdescription lang="en"> - LinBox is a C++ template library for exact, high-performance - linear algebra computation with dense, sparse, and structured - matrices over the integers and over finite fields. LinBox relies - on closely aligned libraries fflas-ffpack (exact dense matrix - linear algebra kernels), and Givaro (finite fields, integers, and - polynomials). - </longdescription> - - <upstream> - <remote-id type="github">linbox-team/linbox</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/linux-gpib-modules/Manifest b/sci-libs/linux-gpib-modules/Manifest deleted file mode 100644 index fd0d88128b66..000000000000 --- a/sci-libs/linux-gpib-modules/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST linux-gpib-4.3.6.tar.gz 1433121 BLAKE2B 64e2b19106d0531df990b1338f82a71707e54f448d652f6379eb9cd71feb84637090ed8fdfb0264248aa6879d5b9a1dc50e75c21a2c22a31397120eea5903e98 SHA512 a8005c71bfddb854ecbe4df0a81530e44378150242508b10df58c61d039c6d329020407608e31f1ef360de0c83169e76b793c032256e732d229bfd2da4cbaa35 -DIST linux-gpib-4.3.7.tar.gz 1309937 BLAKE2B 22808daa8bc3bbb9c93dc94b0186327ec1f40d72842b00a4d8907d03e769ce378544de5a02b4b597f94a7928c265bcc21055134a14ff8855a0380a83eaa14258 SHA512 a0783cf54f37132b6f608f555d453be3c1da693e4bddff9e87b40c0ba034a44ac640c87f96d187cf6f98501177f09fec04e7380512bcbb7fc8d0d4652b3be7ad diff --git a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.4-depmod.patch b/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.4-depmod.patch deleted file mode 100644 index e858b974324c..000000000000 --- a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.4-depmod.patch +++ /dev/null @@ -1,21 +0,0 @@ -Depmod fails here since we're still in DESTDIR and the actual target path may -not exist... - - -diff -ruN linux-gpib-kernel-4.3.4.orig/Makefile linux-gpib-kernel-4.3.4/Makefile ---- linux-gpib-kernel-4.3.4.orig/Makefile 2020-12-29 10:42:34.000000000 +0100 -+++ linux-gpib-kernel-4.3.4/Makefile 2022-08-02 12:21:38.097344102 +0200 -@@ -20,13 +20,9 @@ - M="$(GPIB_SRCDIR)/drivers/gpib" \ - GPIB_TOP_DIR=$(GPIB_SRCDIR) - --#We run depmod explicitly because the depmod.sh script run --#by modules_install fails on Debian due to it failing to find --#the System.map file. - install: - $(MAKE) -C $(LINUX_SRCDIR) V=$(VERBOSE) modules_install\ - M="$(GPIB_SRCDIR)/drivers/gpib" \ - GPIB_TOP_DIR=$(GPIB_SRCDIR) \ - INSTALL_MOD_DIR=gpib -- /sbin/depmod -A - diff --git a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.7-depmod.patch b/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.7-depmod.patch deleted file mode 100644 index 34ae11eea6c7..000000000000 --- a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.7-depmod.patch +++ /dev/null @@ -1,22 +0,0 @@ -Depmod fails here since we're still in DESTDIR and the actual target path may -not exist... - - -diff --git a/Makefile b/Makefile -index 356bba54..8f5b4b63 100644 ---- a/Makefile -+++ b/Makefile -@@ -27,13 +27,9 @@ clean: - M="$(GPIB_SRCDIR)/drivers/gpib" \ - GPIB_TOP_DIR=$(GPIB_SRCDIR) - --#We run depmod explicitly because the depmod.sh script run --#by modules_install fails on Debian due to it failing to find --#the System.map file. - install: - $(MAKE) -C $(LINUX_SRCDIR) V=$(VERBOSE) modules_install\ - M="$(GPIB_SRCDIR)/drivers/gpib" \ - GPIB_TOP_DIR=$(GPIB_SRCDIR) \ - INSTALL_MOD_DIR=gpib -- /sbin/depmod -A - diff --git a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-9999-depmod.patch b/sci-libs/linux-gpib-modules/files/linux-gpib-modules-9999-depmod.patch deleted file mode 100644 index 34ae11eea6c7..000000000000 --- a/sci-libs/linux-gpib-modules/files/linux-gpib-modules-9999-depmod.patch +++ /dev/null @@ -1,22 +0,0 @@ -Depmod fails here since we're still in DESTDIR and the actual target path may -not exist... - - -diff --git a/Makefile b/Makefile -index 356bba54..8f5b4b63 100644 ---- a/Makefile -+++ b/Makefile -@@ -27,13 +27,9 @@ clean: - M="$(GPIB_SRCDIR)/drivers/gpib" \ - GPIB_TOP_DIR=$(GPIB_SRCDIR) - --#We run depmod explicitly because the depmod.sh script run --#by modules_install fails on Debian due to it failing to find --#the System.map file. - install: - $(MAKE) -C $(LINUX_SRCDIR) V=$(VERBOSE) modules_install\ - M="$(GPIB_SRCDIR)/drivers/gpib" \ - GPIB_TOP_DIR=$(GPIB_SRCDIR) \ - INSTALL_MOD_DIR=gpib -- /sbin/depmod -A - diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.6.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.6.ebuild deleted file mode 100644 index 57a1b4268b53..000000000000 --- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.6.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-mod-r1 - -DESCRIPTION="Kernel modules for GPIB (IEEE 488.2) hardware" -HOMEPAGE="https://linux-gpib.sourceforge.io/" -SRC_URI="https://downloads.sourceforge.net/linux-gpib/linux-gpib-${PV}.tar.gz" -S="${WORKDIR}/linux-gpib-kernel-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~x86" -IUSE="debug" - -COMMONDEPEND="" -RDEPEND="${COMMONDEPEND} - acct-group/gpib -" -DEPEND="${COMMONDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - # don't fix debian bugs if they break gentoo - "${FILESDIR}/${PN}-4.3.4-depmod.patch" -) - -MODULES_KERNEL_MIN=2.6.8 - -src_unpack() { - default - unpack "${WORKDIR}/linux-gpib-${PV}/linux-gpib-kernel-${PV}.tar.gz" -} - -src_configure() { - MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" ) - use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' ) -} - -src_compile() { - # The individual modules don't have separate targets so we can't use - # modlist here. - emake "${MODULES_MAKEARGS[@]}" -} - -src_install() { - emake \ - "${MODULES_MAKEARGS[@]}" \ - DESTDIR="${ED}" \ - INSTALL_MOD_PATH="${ED}" \ - docdir="${ED}/usr/share/doc/${PF}/html" \ - install - - modules_post_process - - dodoc ChangeLog AUTHORS README* NEWS - einstalldocs -} diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.7.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.7.ebuild deleted file mode 100644 index 234a67e42e62..000000000000 --- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.7.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-mod-r1 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/linux-gpib/git" - S="${WORKDIR}/${P}/linux-gpib-kernel" -else - SRC_URI="https://downloads.sourceforge.net/linux-gpib/linux-gpib-${PV}.tar.gz" - S="${WORKDIR}/linux-gpib-kernel-${PV}" - KEYWORDS="amd64 ~arm ~x86" -fi - -DESCRIPTION="Kernel modules for GPIB (IEEE 488.2) hardware" -HOMEPAGE="https://linux-gpib.sourceforge.io/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug" - -RDEPEND=" - acct-group/gpib -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - # don't fix debian bugs if they break gentoo - "${FILESDIR}/${PN}-4.3.7-depmod.patch" -) - -MODULES_KERNEL_MIN=4.0 - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - else - default - unpack "${WORKDIR}/linux-gpib-${PV}/linux-gpib-kernel-${PV}.tar.gz" - fi -} - -src_configure() { - MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" ) - use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' ) -} - -src_compile() { - # The individual modules don't have separate targets so we can't use - # modlist here. - emake "${MODULES_MAKEARGS[@]}" -} - -src_install() { - emake \ - "${MODULES_MAKEARGS[@]}" \ - DESTDIR="${ED}" \ - INSTALL_MOD_PATH="${ED}" \ - docdir="${ED}/usr/share/doc/${PF}/html" \ - install - - modules_post_process - - dodoc AUTHORS README* NEWS - [[ ${PV} != 9999 ]] && dodoc ChangeLog - einstalldocs -} diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild deleted file mode 100644 index a0a9ebb62f2e..000000000000 --- a/sci-libs/linux-gpib-modules/linux-gpib-modules-9999.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-mod-r1 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/linux-gpib/git" - S="${WORKDIR}/${P}/linux-gpib-kernel" -else - SRC_URI="https://downloads.sourceforge.net/linux-gpib/linux-gpib-${PV}.tar.gz" - S="${WORKDIR}/linux-gpib-kernel-${PV}" - KEYWORDS="~amd64 ~arm ~x86" -fi - -DESCRIPTION="Kernel modules for GPIB (IEEE 488.2) hardware" -HOMEPAGE="https://linux-gpib.sourceforge.io/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug" - -RDEPEND=" - acct-group/gpib -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - # don't fix debian bugs if they break gentoo - "${FILESDIR}/${PN}-9999-depmod.patch" -) - -MODULES_KERNEL_MIN=4.0 - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - else - default - unpack "${WORKDIR}/linux-gpib-${PV}/linux-gpib-kernel-${PV}.tar.gz" - fi -} - -src_configure() { - MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" ) - use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' ) -} - -src_compile() { - # The individual modules don't have separate targets so we can't use - # modlist here. - emake "${MODULES_MAKEARGS[@]}" -} - -src_install() { - emake \ - "${MODULES_MAKEARGS[@]}" \ - DESTDIR="${ED}" \ - INSTALL_MOD_PATH="${ED}" \ - docdir="${ED}/usr/share/doc/${PF}/html" \ - install - - modules_post_process - - dodoc AUTHORS README* NEWS - [[ ${PV} != 9999 ]] && dodoc ChangeLog - einstalldocs -} diff --git a/sci-libs/linux-gpib-modules/metadata.xml b/sci-libs/linux-gpib-modules/metadata.xml deleted file mode 100644 index 9f59724a8233..000000000000 --- a/sci-libs/linux-gpib-modules/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>dilfridge@gentoo.org</email> - <name>Andreas K. Huettel</name> - </maintainer> - <maintainer type="project"> - <email>sci-electronics@gentoo.org</email> - <name>Gentoo Electronics Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">linux-gpib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/linux-gpib/Manifest b/sci-libs/linux-gpib/Manifest deleted file mode 100644 index ca4203a52594..000000000000 --- a/sci-libs/linux-gpib/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST gpib_firmware-2008-08-10.tar.gz 173004 BLAKE2B 05fcde09de5246b86004c263c733d64316511bdb0b84dfbd9b94cb78e2909c0d191ff21ee0d77e7f0947e9231bd4cd62d6348e8f9beefd6d201b473732ff23d2 SHA512 f2a0ee3316b75ac36ed88568e45ca4c69935a6d10783c65582003ab39686f2a69d3002901866065f4f5efa9fdd4c779e038d1d7ce24bba266a619c164d5ac10d -DIST linux-gpib-4.3.6.tar.gz 1433121 BLAKE2B 64e2b19106d0531df990b1338f82a71707e54f448d652f6379eb9cd71feb84637090ed8fdfb0264248aa6879d5b9a1dc50e75c21a2c22a31397120eea5903e98 SHA512 a8005c71bfddb854ecbe4df0a81530e44378150242508b10df58c61d039c6d329020407608e31f1ef360de0c83169e76b793c032256e732d229bfd2da4cbaa35 -DIST linux-gpib-4.3.7.tar.gz 1309937 BLAKE2B 22808daa8bc3bbb9c93dc94b0186327ec1f40d72842b00a4d8907d03e769ce378544de5a02b4b597f94a7928c265bcc21055134a14ff8855a0380a83eaa14258 SHA512 a0783cf54f37132b6f608f555d453be3c1da693e4bddff9e87b40c0ba034a44ac640c87f96d187cf6f98501177f09fec04e7380512bcbb7fc8d0d4652b3be7ad diff --git a/sci-libs/linux-gpib/files/linux-gpib-4.3.0-perl.patch b/sci-libs/linux-gpib/files/linux-gpib-4.3.0-perl.patch deleted file mode 100644 index b969435cd9c1..000000000000 --- a/sci-libs/linux-gpib/files/linux-gpib-4.3.0-perl.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -ruN linux-gpib-user-4.3.0.orig/language/Makefile.am linux-gpib-user-4.3.0/language/Makefile.am ---- linux-gpib-user-4.3.0.orig/language/Makefile.am 2019-08-23 11:30:12.000000000 +0300 -+++ linux-gpib-user-4.3.0/language/Makefile.am 2020-04-18 16:15:15.558426112 +0300 -@@ -73,4 +73,4 @@ - $(do_subst) < $(srcdir)/perl/Makefile.PL.in >perl/Makefile.PL - - perl/Makefile: perl/Makefile.PL -- -(cd perl && $(PERL) Makefile.PL) -+ -(cd perl && $(PERL) Makefile.PL PREFIX=$(EPREFIX)/usr INSTALLDIRS=vendor INSTALLMAN3DIR='none' DESTDIR="$(DESTDIR)" ) diff --git a/sci-libs/linux-gpib/linux-gpib-4.3.6-r100.ebuild b/sci-libs/linux-gpib/linux-gpib-4.3.6-r100.ebuild deleted file mode 100644 index 93ad5c5b485c..000000000000 --- a/sci-libs/linux-gpib/linux-gpib-4.3.6-r100.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -GUILE_COMPAT=( 2-2 3-0 ) -PYTHON_COMPAT=( python3_{13..14} ) - -inherit readme.gentoo-r1 autotools guile-single perl-functions python-single-r1 udev - -# Check for latest firmware version on bump -FW_PV="2008-08-10" - -DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware" -HOMEPAGE="https://linux-gpib.sourceforge.io/" -SRC_URI="https://downloads.sourceforge.net/linux-gpib/${P}.tar.gz - firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-${FW_PV}.tar.gz ) -" -S="${WORKDIR}/${PN}-user-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~x86" -IUSE="pcmcia static guile perl php python tcl doc firmware" -REQUIRED_USE=" - guile? ( ${GUILE_REQUIRED_USE} ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -COMMONDEPEND=" - sys-libs/readline:= - tcl? ( dev-lang/tcl:0= ) - guile? ( ${GUILE_DEPS} ) - perl? ( dev-lang/perl:= ) - php? ( dev-lang/php:= ) - python? ( ${PYTHON_DEPS} ) - firmware? ( sys-apps/fxload ) -" -RDEPEND="${COMMONDEPEND} - acct-group/gpib - ~sci-libs/linux-gpib-modules-${PV} -" -DEPEND="${COMMONDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/docbook-sgml-utils ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.0-perl.patch -) - -pkg_setup() { - use guile && guile-single_pkg_setup - use perl && perl_set_version - use python && python_setup -} - -src_unpack() { - default - unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz" -} - -src_prepare() { - default - - use guile && guile_bump_sources - - # We have to use --root instead of --prefix for setup.py. - # Otherwise the python files are not installed properly into site-packages. - sed -i -e \ - 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR)/g' \ - language/python/Makefile.am || die - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable static) \ - $(use_enable guile guile-binding) \ - $(use_enable perl perl-binding) \ - $(use_enable php php-binding) \ - $(use_enable python python-binding) \ - $(use_enable tcl tcl-binding) \ - $(use_enable doc documentation) -} - -src_install() { - # PYTHONDONTWRITEBYTECODE=0 is required, otherwise - # installation of the python files is skipped - FIRM_DIR="${EPREFIX}"/usr/share/usb - emake \ - DESTDIR="${ED}" \ - INSTALL_MOD_PATH="${ED}" \ - HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ - UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ - USB_FIRMWARE_DIR=${FIRM_DIR} \ - PYTHONDONTWRITEBYTECODE=0 \ - docdir="/usr/share/doc/${PF}/html" install - - use guile && guile_unstrip_ccache - - if use perl; then - einfo "Installing perl module" - cd "${S}"/language/perl || die - emake DESTDIR="${ED}" install - perl_fix_packlist - perl_delete_emptybsdir - cd "${S}" || die - fi - - echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules || die - udev_dorules 99-gpib.rules - - dodoc doc/linux-gpib.pdf ChangeLog AUTHORS README* NEWS - - insinto /etc - newins util/templates/gpib.conf gpib.conf - newins util/templates/gpib.conf gpib.conf.example - - if use pcmcia; then - insinto /etc/pcmcia - doins "${S}"/etc/pcmcia/* - fi - - # remove .la files - find "${ED}" -name '*.la' -delete || die - - DOC_CONTENTS=" -As the udev rules were changed and refactored in this release it is -necessary to remove any manually installed pre-4.3.0 gpib udev rules files -in /etc/udev/rules.d/. The files to remove are: -\n - 99-agilent_82357a.rules\n - 99-gpib-generic.rules\n - 99-ni_usb_gpib.rules\n -\n -You need to run the 'gpib_config' utility to setup the driver before -you can use it. In order to do it automatically you can add to your -start script something like this (supposing the appropriate driver -is loaded on the startup): -\n - gpib_config --minor 0 -\n -To give a user access to the computer's gpib board you will have to add -them to the group 'gpib' or, you could change the permissions on the device -files /dev/gpib[0-15] to something you like better, using 'chmod' -\n -Edit /etc/gpib.conf to match your interface board, and any devices you wish -to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for -more information. -\n -" - - if use pcmcia; then - DOC_CONTENTS+=' -For PCMCIA cards:\n -All files needed for a PCMCIA board were copied to /etc/pcmcia. -You may wish to edit the options passed to the gpib_config call in the -/etc/pcmcia/linux-gpib-pcmcia script. -You may need to send a SIGHUP signal to the cardmgr daemon to force it -to reload the files in /etc/pcmcia \(alternatively you could use your -pcmcia init.d script to restart the cardmgr, or you could just reboot\). -The driver module will be loaded as needed by the cardmgr. - -' - fi - - if use firmware; then - DOC_CONTENTS+=' -For Agilent \(HP\) 82341C and 82341D cards: -The firmware for these boards is uploaded by passing the appropriate -firmware file from /usr/share/linux-gpib/hp_82341 directory to -gpib_config using the -I or --init-data command line option. Example:\n -gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin -' - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sci-libs/linux-gpib/linux-gpib-4.3.6-r200.ebuild b/sci-libs/linux-gpib/linux-gpib-4.3.6-r200.ebuild deleted file mode 100644 index d9c764fda9e4..000000000000 --- a/sci-libs/linux-gpib/linux-gpib-4.3.6-r200.ebuild +++ /dev/null @@ -1,290 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -GUILE_COMPAT=( 2-2 3-0 ) -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -DISTUTILS_USE_PEP517=setuptools -MODULES_OPTIONAL_IUSE=+modules - -inherit autotools distutils-r1 guile-single linux-mod-r1 -inherit perl-functions readme.gentoo-r1 udev - -# Check for latest firmware version on bump -FW_PV="2008-08-10" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/linux-gpib/git" - S="${WORKDIR}/${P}/${PN}-user" -else - SRC_URI="https://downloads.sourceforge.net/linux-gpib/${P}.tar.gz" - S="${WORKDIR}/${PN}-user-${PV}" - KEYWORDS="~amd64 ~arm ~x86" -fi - -DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware" -HOMEPAGE="https://linux-gpib.sourceforge.io/" -SRC_URI+=" - firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-${FW_PV}.tar.gz ) -" - -LICENSE="GPL-2" -SLOT="0" -IUSE="guile pcmcia perl php python static tcl doc firmware" -REQUIRED_USE=" - guile? ( ${GUILE_REQUIRED_USE} ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -COMMONDEPEND=" - sys-libs/readline:= - tcl? ( dev-lang/tcl:0= ) - guile? ( ${GUILE_DEPS} ) - perl? ( dev-lang/perl:= ) - php? ( dev-lang/php:= ) - firmware? ( sys-apps/fxload ) -" -RDEPEND="${COMMONDEPEND} - acct-group/gpib - python? ( ${PYTHON_DEPS} ) - !sci-libs/linux-gpib-modules -" -DEPEND="${COMMONDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/docbook-sgml-utils[jadetex] ) - python? ( ${DISTUTILS_DEPS} ${PYTHON_DEPS} ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.0-perl.patch -) - -pkg_setup() { - if use modules; then - linux-mod-r1_pkg_setup - if kernel_is -ge 6 13 0; then - eerror "The GPIB drivers have been merged upstream into kernel" - eerror "version 6.13.0 and up. Please enable CONFIG_GPIB for" - eerror "your kernel and disable the \"modules\" USE flag." - die "\"modules\" USE flag not supported for this kernel." - fi - else - CONFIG_CHECK="~GPIB" - linux-info_pkg_setup - fi - - use guile && guile-single_pkg_setup - use perl && perl_set_version - use python && python_setup -} - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - else - default - unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz" - if use modules; then - unpack "${WORKDIR}/${P}/${PN}-kernel-${PV}.tar.gz" - mv "${WORKDIR}/${PN}-kernel-${PV}" "${WORKDIR}/${PN}-kernel" || die - fi - fi -} - -src_prepare() { - default - - use guile && guile_bump_sources - - # We have to use --root instead of --prefix for setup.py. - # Otherwise the python files are not installed properly into site-packages. - sed -i -e \ - 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR)/g' \ - language/python/Makefile.am || die - - eautoreconf - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_prepare - popd >/dev/null || die - fi -} - -src_configure() { - myeconfargs=( - $(use_enable static) - $(use_enable guile guile-binding) - $(use_enable perl perl-binding) - $(use_enable php php-binding) - $(use_enable python python-binding) - $(use_enable tcl tcl-binding) - $(use_enable doc documentation) - --disable-python-binding - ) - - econf "${myeconfargs[@]}" - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_configure - popd >/dev/null || die - fi - - if use modules; then - MODULES_MAKEARGS+=( LINUX_SRCDIR="${KV_OUT_DIR}" ) - use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' ) - fi -} - -src_compile() { - default - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_compile - popd >/dev/null || die - fi - - if use modules; then - local modlist=( - "agilent_82350b=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/agilent_82350b" - "agilent_82357a=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/agilent_82357a" - "cb7210=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/cb7210" - "cec_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/cec" - "fmh_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/fmh_gpib" - "gpib_bitbang=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/gpio" - "hp82335=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/hp_82335" - "hp_82341=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/hp_82341" - "ines_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/ines" - "lpvo_usb_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/lpvo_usb_gpib" - "nec7210=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/nec7210" - "ni_usb_gpib=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/ni_usb" - "gpib_common=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/sys" - "tms9914=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/tms9914" - "tnt4882=gpib:${S}/../${PN}-kernel:${S}/../${PN}-kernel/drivers/gpib/tnt4882" - ) - linux-mod-r1_src_compile - fi -} - -src_install() { - # PYTHONDONTWRITEBYTECODE=0 is required, otherwise - # installation of the python files is skipped - FIRM_DIR="${EPREFIX}"/usr/share/usb - emake \ - DESTDIR="${ED}" \ - INSTALL_MOD_PATH="${ED}" \ - HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ - UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ - USB_FIRMWARE_DIR=${FIRM_DIR} \ - PYTHONDONTWRITEBYTECODE=0 \ - docdir="/usr/share/doc/${PF}/html" install - - use modules && linux-mod-r1_src_install - - use guile && guile_unstrip_ccache - - if use perl; then - einfo "Installing perl module" - cd "${S}"/language/perl || die - emake DESTDIR="${ED}" install - perl_fix_packlist - perl_delete_emptybsdir - cd "${S}" || die - fi - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_install - popd >/dev/null || die - fi - - echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules || die - udev_dorules 99-gpib.rules - - dodoc AUTHORS README* NEWS - if [[ ${PV} == 9999 ]]; then - dodoc ../ChangeLog - else - dodoc doc/linux-gpib.pdf ChangeLog - fi - - insinto /etc - newins util/templates/gpib.conf gpib.conf - newins util/templates/gpib.conf gpib.conf.example - - if use pcmcia; then - insinto /etc/pcmcia - doins "${S}"/etc/pcmcia/* - fi - - # remove .la files - find "${ED}" -name '*.la' -delete || die - - DOC_CONTENTS=" -As the udev rules were changed and refactored in this release it is -necessary to remove any manually installed pre-4.3.0 gpib udev rules files -in /etc/udev/rules.d/. The files to remove are: -\n - 99-agilent_82357a.rules\n - 99-gpib-generic.rules\n - 99-ni_usb_gpib.rules\n -\n -You need to run the 'gpib_config' utility to setup the driver before -you can use it. In order to do it automatically you can add to your -start script something like this (supposing the appropriate driver -is loaded on the startup): -\n - gpib_config --minor 0 -\n -To give a user access to the computer's gpib board you will have to add -them to the group 'gpib' or, you could change the permissions on the device -files /dev/gpib[0-15] to something you like better, using 'chmod' -\n -Edit /etc/gpib.conf to match your interface board, and any devices you wish -to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for -more information. -\n -" - - if use pcmcia; then - DOC_CONTENTS+=' -For PCMCIA cards:\n -All files needed for a PCMCIA board were copied to /etc/pcmcia. -You may wish to edit the options passed to the gpib_config call in the -/etc/pcmcia/linux-gpib-pcmcia script. -You may need to send a SIGHUP signal to the cardmgr daemon to force it -to reload the files in /etc/pcmcia \(alternatively you could use your -pcmcia init.d script to restart the cardmgr, or you could just reboot\). -The driver module will be loaded as needed by the cardmgr. - -' - fi - - if use firmware; then - DOC_CONTENTS+=' -For Agilent \(HP\) 82341C and 82341D cards: -The firmware for these boards is uploaded by passing the appropriate -firmware file from /usr/share/linux-gpib/hp_82341 directory to -gpib_config using the -I or --init-data command line option. Example:\n -gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin -' - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - use modules && linux-mod-r1_pkg_postinst - readme.gentoo_print_elog - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sci-libs/linux-gpib/linux-gpib-4.3.7.ebuild b/sci-libs/linux-gpib/linux-gpib-4.3.7.ebuild deleted file mode 100644 index be9a03cd7aff..000000000000 --- a/sci-libs/linux-gpib/linux-gpib-4.3.7.ebuild +++ /dev/null @@ -1,258 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -GUILE_COMPAT=( 2-2 3-0 ) -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -DISTUTILS_USE_PEP517=setuptools - -inherit linux-info readme.gentoo-r1 autotools guile-single perl-functions python-single-r1 udev - -# Check for latest firmware version on bump -FW_PV="2008-08-10" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/linux-gpib/git" - S="${WORKDIR}/${P}/${PN}-user" -else - SRC_URI="https://downloads.sourceforge.net/linux-gpib/${P}.tar.gz" - S="${WORKDIR}/${PN}-user-${PV}" - KEYWORDS="amd64 ~arm ~x86" -fi - -DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware" -HOMEPAGE="https://linux-gpib.sourceforge.io/" -SRC_URI+=" - firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-${FW_PV}.tar.gz ) -" -S="${WORKDIR}/${PN}-user-${PV}" - -LICENSE="GPL-2" -SLOT="0" - -IUSE="pcmcia static guile perl php python tcl doc firmware +modules" - -REQUIRED_USE=" - guile? ( ${GUILE_REQUIRED_USE} ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -COMMONDEPEND=" - sys-libs/readline:= - tcl? ( dev-lang/tcl:0= ) - guile? ( ${GUILE_DEPS} ) - perl? ( dev-lang/perl:= ) - php? ( dev-lang/php:= ) - python? ( ${PYTHON_DEPS} ) - firmware? ( sys-apps/fxload ) -" -RDEPEND="${COMMONDEPEND} - acct-group/gpib - modules? ( ~sci-libs/linux-gpib-modules-${PV} ) -" -DEPEND="${COMMONDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/docbook-sgml-utils[jadetex] ) - python? ( ${DISTUTILS_DEPS} ${PYTHON_DEPS} ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.0-perl.patch -) - -pkg_setup() { - if use modules; then - linux-info_pkg_setup - if kernel_is -ge 6 13 0; then - eerror "The GPIB drivers have been merged upstream into kernel" - eerror "version 6.13.0 and up. Please enable CONFIG_GPIB for" - eerror "your kernel and disable the \"modules\" USE flag." - die "\"modules\" USE flag not supported for this kernel." - fi - else - CONFIG_CHECK="~GPIB" - linux-info_pkg_setup - fi - - use guile && guile-single_pkg_setup - use perl && perl_set_version - use python && python_setup -} - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - else - default - unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz" - fi -} - -src_prepare() { - default - - use guile && guile_bump_sources - - # We have to use --root instead of --prefix for setup.py. - # Otherwise the python files are not installed properly into site-packages. - sed -i -e \ - 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR)/g' \ - language/python/Makefile.am || die - - eautoreconf - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_prepare - popd >/dev/null || die - fi -} - -src_configure() { - myeconfargs=( - $(use_enable static) - $(use_enable guile guile-binding) - $(use_enable perl perl-binding) - $(use_enable php php-binding) - $(use_enable python python-binding) - $(use_enable tcl tcl-binding) - $(use_enable doc documentation) - --disable-python-binding - ) - - econf "${myeconfargs[@]}" - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_configure - popd >/dev/null || die - fi -} - -src_compile() { - default - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_compile - popd >/dev/null || die - fi -} - -src_install() { - # PYTHONDONTWRITEBYTECODE=0 is required, otherwise - # installation of the python files is skipped - FIRM_DIR="${EPREFIX}"/usr/share/usb - emake \ - DESTDIR="${ED}" \ - INSTALL_MOD_PATH="${ED}" \ - HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ - UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ - USB_FIRMWARE_DIR=${FIRM_DIR} \ - PYTHONDONTWRITEBYTECODE=0 \ - docdir="/usr/share/doc/${PF}/html" install - - use guile && guile_unstrip_ccache - - if use perl; then - einfo "Installing perl module" - cd "${S}"/language/perl || die - emake DESTDIR="${ED}" install - perl_fix_packlist - perl_delete_emptybsdir - cd "${S}" || die - fi - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_install - popd >/dev/null || die - fi - - echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules || die - udev_dorules 99-gpib.rules - - dodoc AUTHORS README* NEWS - if [[ ${PV} == 9999 ]]; then - dodoc ../ChangeLog - else - dodoc doc/linux-gpib.pdf ChangeLog - fi - - insinto /etc - newins util/templates/gpib.conf gpib.conf - newins util/templates/gpib.conf gpib.conf.example - - if use pcmcia; then - insinto /etc/pcmcia - doins "${S}"/etc/pcmcia/* - fi - - # remove .la files - find "${ED}" -name '*.la' -delete || die - - DOC_CONTENTS=" -As the udev rules were changed and refactored in this release it is -necessary to remove any manually installed pre-4.3.0 gpib udev rules files -in /etc/udev/rules.d/. The files to remove are: -\n - 99-agilent_82357a.rules\n - 99-gpib-generic.rules\n - 99-ni_usb_gpib.rules\n -\n -You need to run the 'gpib_config' utility to setup the driver before -you can use it. In order to do it automatically you can add to your -start script something like this (supposing the appropriate driver -is loaded on the startup): -\n - gpib_config --minor 0 -\n -To give a user access to the computer's gpib board you will have to add -them to the group 'gpib' or, you could change the permissions on the device -files /dev/gpib[0-15] to something you like better, using 'chmod' -\n -Edit /etc/gpib.conf to match your interface board, and any devices you wish -to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for -more information. -\n -" - - if use pcmcia; then - DOC_CONTENTS+=' -For PCMCIA cards:\n -All files needed for a PCMCIA board were copied to /etc/pcmcia. -You may wish to edit the options passed to the gpib_config call in the -/etc/pcmcia/linux-gpib-pcmcia script. -You may need to send a SIGHUP signal to the cardmgr daemon to force it -to reload the files in /etc/pcmcia \(alternatively you could use your -pcmcia init.d script to restart the cardmgr, or you could just reboot\). -The driver module will be loaded as needed by the cardmgr. - -' - fi - - if use firmware; then - DOC_CONTENTS+=' -For Agilent \(HP\) 82341C and 82341D cards: -The firmware for these boards is uploaded by passing the appropriate -firmware file from /usr/share/linux-gpib/hp_82341 directory to -gpib_config using the -I or --init-data command line option. Example:\n -gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin -' - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sci-libs/linux-gpib/linux-gpib-9999.ebuild b/sci-libs/linux-gpib/linux-gpib-9999.ebuild deleted file mode 100644 index d4f94d8b4f03..000000000000 --- a/sci-libs/linux-gpib/linux-gpib-9999.ebuild +++ /dev/null @@ -1,258 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -GUILE_COMPAT=( 2-2 3-0 ) -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -DISTUTILS_USE_PEP517=setuptools - -inherit linux-info readme.gentoo-r1 autotools guile-single perl-functions python-single-r1 udev - -# Check for latest firmware version on bump -FW_PV="2008-08-10" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/linux-gpib/git" - S="${WORKDIR}/${P}/${PN}-user" -else - SRC_URI="https://downloads.sourceforge.net/linux-gpib/${P}.tar.gz" - S="${WORKDIR}/${PN}-user-${PV}" - KEYWORDS="~amd64 ~arm ~x86" -fi - -DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware" -HOMEPAGE="https://linux-gpib.sourceforge.io/" -SRC_URI+=" - firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-${FW_PV}.tar.gz ) -" -S="${WORKDIR}/${PN}-user-${PV}" - -LICENSE="GPL-2" -SLOT="0" - -IUSE="pcmcia static guile perl php python tcl doc firmware +modules" - -REQUIRED_USE=" - guile? ( ${GUILE_REQUIRED_USE} ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -COMMONDEPEND=" - sys-libs/readline:= - tcl? ( dev-lang/tcl:0= ) - guile? ( ${GUILE_DEPS} ) - perl? ( dev-lang/perl:= ) - php? ( dev-lang/php:= ) - python? ( ${PYTHON_DEPS} ) - firmware? ( sys-apps/fxload ) -" -RDEPEND="${COMMONDEPEND} - acct-group/gpib - modules? ( ~sci-libs/linux-gpib-modules-${PV} ) -" -DEPEND="${COMMONDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/docbook-sgml-utils[jadetex] ) - python? ( ${DISTUTILS_DEPS} ${PYTHON_DEPS} ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.0-perl.patch -) - -pkg_setup() { - if use modules; then - linux-info_pkg_setup - if kernel_is -ge 6 13 0; then - eerror "The GPIB drivers have been merged upstream into kernel" - eerror "version 6.13.0 and up. Please enable CONFIG_GPIB for" - eerror "your kernel and disable the \"modules\" USE flag." - die "\"modules\" USE flag not supported for this kernel." - fi - else - CONFIG_CHECK="~GPIB" - linux-info_pkg_setup - fi - - use guile && guile-single_pkg_setup - use perl && perl_set_version - use python && python_setup -} - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - else - default - unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz" - fi -} - -src_prepare() { - default - - use guile && guile_bump_sources - - # We have to use --root instead of --prefix for setup.py. - # Otherwise the python files are not installed properly into site-packages. - sed -i -e \ - 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR)/g' \ - language/python/Makefile.am || die - - eautoreconf - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_prepare - popd >/dev/null || die - fi -} - -src_configure() { - myeconfargs=( - $(use_enable static) - $(use_enable guile guile-binding) - $(use_enable perl perl-binding) - $(use_enable php php-binding) - $(use_enable python python-binding) - $(use_enable tcl tcl-binding) - $(use_enable doc documentation) - --disable-python-binding - ) - - econf "${myeconfargs[@]}" - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_configure - popd >/dev/null || die - fi -} - -src_compile() { - default - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_compile - popd >/dev/null || die - fi -} - -src_install() { - # PYTHONDONTWRITEBYTECODE=0 is required, otherwise - # installation of the python files is skipped - FIRM_DIR="${EPREFIX}"/usr/share/usb - emake \ - DESTDIR="${ED}" \ - INSTALL_MOD_PATH="${ED}" \ - HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ - UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ - USB_FIRMWARE_DIR=${FIRM_DIR} \ - PYTHONDONTWRITEBYTECODE=0 \ - docdir="/usr/share/doc/${PF}/html" install - - use guile && guile_unstrip_ccache - - if use perl; then - einfo "Installing perl module" - cd "${S}"/language/perl || die - emake DESTDIR="${ED}" install - perl_fix_packlist - perl_delete_emptybsdir - cd "${S}" || die - fi - - if use python; then - pushd language/python >/dev/null || die - distutils-r1_src_install - popd >/dev/null || die - fi - - echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules || die - udev_dorules 99-gpib.rules - - dodoc AUTHORS README* NEWS - if [[ ${PV} == 9999 ]]; then - dodoc ../ChangeLog - else - dodoc doc/linux-gpib.pdf ChangeLog - fi - - insinto /etc - newins util/templates/gpib.conf gpib.conf - newins util/templates/gpib.conf gpib.conf.example - - if use pcmcia; then - insinto /etc/pcmcia - doins "${S}"/etc/pcmcia/* - fi - - # remove .la files - find "${ED}" -name '*.la' -delete || die - - DOC_CONTENTS=" -As the udev rules were changed and refactored in this release it is -necessary to remove any manually installed pre-4.3.0 gpib udev rules files -in /etc/udev/rules.d/. The files to remove are: -\n - 99-agilent_82357a.rules\n - 99-gpib-generic.rules\n - 99-ni_usb_gpib.rules\n -\n -You need to run the 'gpib_config' utility to setup the driver before -you can use it. In order to do it automatically you can add to your -start script something like this (supposing the appropriate driver -is loaded on the startup): -\n - gpib_config --minor 0 -\n -To give a user access to the computer's gpib board you will have to add -them to the group 'gpib' or, you could change the permissions on the device -files /dev/gpib[0-15] to something you like better, using 'chmod' -\n -Edit /etc/gpib.conf to match your interface board, and any devices you wish -to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for -more information. -\n -" - - if use pcmcia; then - DOC_CONTENTS+=' -For PCMCIA cards:\n -All files needed for a PCMCIA board were copied to /etc/pcmcia. -You may wish to edit the options passed to the gpib_config call in the -/etc/pcmcia/linux-gpib-pcmcia script. -You may need to send a SIGHUP signal to the cardmgr daemon to force it -to reload the files in /etc/pcmcia \(alternatively you could use your -pcmcia init.d script to restart the cardmgr, or you could just reboot\). -The driver module will be loaded as needed by the cardmgr. - -' - fi - - if use firmware; then - DOC_CONTENTS+=' -For Agilent \(HP\) 82341C and 82341D cards: -The firmware for these boards is uploaded by passing the appropriate -firmware file from /usr/share/linux-gpib/hp_82341 directory to -gpib_config using the -I or --init-data command line option. Example:\n -gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin -' - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sci-libs/linux-gpib/metadata.xml b/sci-libs/linux-gpib/metadata.xml deleted file mode 100644 index 27e81f251aac..000000000000 --- a/sci-libs/linux-gpib/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>dilfridge@gentoo.org</email> - <name>Andreas K. Huettel</name> - </maintainer> - <maintainer type="project"> - <email>sci-electronics@gentoo.org</email> - <name>Gentoo Electronics Project</name> - </maintainer> - <use> - <flag name="firmware">Install firmware</flag> - </use> - <upstream> - <remote-id type="sourceforge">linux-gpib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/lis/Manifest b/sci-libs/lis/Manifest deleted file mode 100644 index a9d864afb242..000000000000 --- a/sci-libs/lis/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST lis-1.6.5.tar.gz 3130045 BLAKE2B 34627d7e310000a2b3acbbc5f11bd163b682224e42dc521adea318a69587e663e59c8296806f6271e8c39062a16bd6c3c24cda5b183bec41f2aba1be09f77a47 SHA512 0cd2fc445c6464490f01def99960f33bbde53b45b453e289edbc9f31b7a20f00d70538bd3feb03324b56ddbc5993d8ba3bfbc8a0574809be08a854c05c097f13 -DIST lis-2.1.3.zip 4002188 BLAKE2B 2249b05c15f3a13db02b240f4b517a004926a8cebb8072cfff74d9ad588b5d47190249c099b5b68b7031f3a9c3614f983cb3e8a27d59a252e9fc53d52ffad6c8 SHA512 5aa873d7ed928c816da6b7da4246c41fa3b3810e97bec1a0e8c914abdd2ef940134ab25a3f044b4dd206e81e8a9f7dab2eb0b631d75e1f52528e5de29b3f7028 diff --git a/sci-libs/lis/files/lis-1.6.2-autotools.patch b/sci-libs/lis/files/lis-1.6.2-autotools.patch deleted file mode 100644 index d7e1fa2ad9e9..000000000000 --- a/sci-libs/lis/files/lis-1.6.2-autotools.patch +++ /dev/null @@ -1,378 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -372,26 +372,6 @@ - done - AC_MSG_CHECKING([for C compiler vendor]) - AC_MSG_RESULT($[ax_cv_]_AC_LANG_ABBREV[_compiler_vendor]) -- case $ax_cv_c_compiler_vendor in -- dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host $CFLAGS" ;; -- gnu) CFLAGS="-O3 -fomit-frame-pointer $CFLAGS" ;; -- intel) CFLAGS="-ansi_alias $CFLAGS" ;; -- portland) CFLAGS="-O3 -B -fastsse $CFLAGS" ;; -- pathscale) CFLAGS="-O3 $CFLAGS" ;; -- ibm) CFLAGS="-O3 -qansialias -w -qarch=auto -qtune=auto $CFLAGS" -- AR="ar -X any" -- ;; -- sun) case `(uname -m) 2>/dev/null` in -- "i86pc") CFLAGS="-xtarget=native -xO5 -dalign $CFLAGS" -- LDFLAGS="-xtarget=native -xO5" -- ;; -- *) CFLAGS="-xtarget=native64 -xO5 -dalign $CFLAGS" -- LDFLAGS="-xtarget=native64 -xO5" -- ;; -- esac -- ;; -- hp) CFLAGS="+Oall +Optrs_ansi +DSnative $CFLAGS" ;; -- esac - - AC_DEFUN([_AX_PROG_FC_V_OUTPUT], - [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) -@@ -538,6 +518,10 @@ - AC_LANG_PUSH(Fortran 77) - fflags_save="$FFLAGS" - AC_PROG_F77([ifort ifc efc xlf95_r xlf90_r xlf_r xlf95 xlf90 xlf ftn frt pgf95 pgf90 pathf95 pathf90 epcf90 f95 fort lf95 gfortran f90 g77]) -+ -+ AC_F77_LIBRARY_LDFLAGS -+ AC_F77_DUMMY_MAIN -+ - FFLAGS="$fflags_save" - if test "$TARGET" = ""; then - if test "$enable_mpi" = "yes"; then -@@ -582,29 +566,6 @@ - AC_MSG_CHECKING([for Fortran compiler vendor]) - AC_MSG_RESULT($[ax_cv_]_AC_LANG_ABBREV[_compiler_vendor]) - AC_LANG_POP(Fortran 77) -- case $ax_cv_f77_compiler_vendor in -- gnu) FFLAGS="-O3 -fomit-frame-pointer $FFLAGS" -- FCFLAGS="-O3 -fomit-frame-pointer $FCFLAGS" ;; -- intel) FFLAGS="-fpp $FFLAGS" -- FCFLAGS="-fpp $FCFLAGS" -- LDFLAGS="-Vaxlib" -- FCLDFLAGS="-nofor_main" ;; -- portland) FFLAGS="-O3 -fastsse -Mpreprocess $FFLAGS" -- FCFLAGS="-O3 -fastsse -Mpreprocess $FCFLAGS" -- FCLDFLAGS="-Mnomain" ;; -- pathscale) FFLAGS="-O3 $FFLAGS" ;; -- ibm) FFLAGS="-O3 -qsuffix=cpp=F -qfixed=72 -w -qarch=auto -qtune=auto $FFLAGS" -- FCFLAGS="-O3 -qsuffix=cpp=F90 -w -qarch=auto -qtune=auto $FCFLAGS" ;; -- sun) case `(uname -m) 2>/dev/null` in -- "i86pc") FFLAGS="-fpp -xtarget=native -xO5 -dalign $FFLAGS" -- FCFLAGS="-fpp -xtarget=native -xO5 -dalign $FCFLAGS" -- FCLDFLAGS="-xO5" ;; -- *) FFLAGS="-fpp -xtarget=native64 -xO5 -dalign $FFLAGS" -- FCFLAGS="-fpp -xtarget=native64 -xO5 -dalign $FCFLAGS" -- FCLDFLAGS="-xO5" ;; -- esac -- ;; -- esac - - if test x$ax_cv_c_compiler_vendor = x$ax_cv_f77_compiler_vendor; then - CLIBS="" ---- a/src/array/Makefile.am -+++ b/src/array/Makefile.am -@@ -1,16 +1,5 @@ - noinst_LTLIBRARIES = libarray.la - libarray_la_SOURCES = lis_array.c - --AM_CFLAGS = -I$(top_srcdir)/include $(ILIBS) -+AM_CPPFLAGS = -I$(top_srcdir)/include $(ILIBS) - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/esolver/Makefile.am -+++ b/src/esolver/Makefile.am -@@ -10,16 +10,5 @@ - lis_esolver_rqi.c \ - lis_esolver_si.c - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/fortran/amg/Makefile.am -+++ b/src/fortran/amg/Makefile.am -@@ -25,25 +25,6 @@ - - CLEANFILES = *.mod - AM_CPPFLAGS = -I$(top_srcdir)/include --FCCOMPILE = $(FC) $(AMDEFS) $(AM_FCFLAGS) $(FCFLAGS) --LTFCCOMPILE = $(LIBTOOL) --mode=compile $(FC) $(AMDEFS) $(AM_FCFLAGS) $(FCFLAGS) --FCLD = $(FC) --FCLINK = $(LIBTOOL) --mode=link $(FCLD) $(AM_LDFLAGS) $(LDFLAGS) -o $@ --PPFCCOMPILE = $(FC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS) --LTPPFCCOMPILE = $(LIBTOOL) --mode=compile $(FC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FCFLAGS) $(FCFLAGS) --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) - - .NOTPARALLEL: - .NO_PARALLEL: ---- a/src/fortran/Makefile.am -+++ b/src/fortran/Makefile.am -@@ -12,14 +12,3 @@ - - AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -23,7 +23,7 @@ - liblis@LIBSUFFIX@_la_LIBADD += fortran/libfortran.la - else - if ENABLE_FORTRAN -- liblis@LIBSUFFIX@_la_LIBADD += fortran/libfortran.la -+ liblis@LIBSUFFIX@_la_LIBADD += fortran/libfortran.la $(FLIBS) - endif - endif - liblis@LIBSUFFIX@_la_SOURCES = ---- a/src/matrix/Makefile.am -+++ b/src/matrix/Makefile.am -@@ -17,16 +17,5 @@ - lis_matrix_rco.c \ - lis_matrix_vbr.c - --AM_CFLAGS = -I$(top_srcdir)/include $(ILIBS) -+AM_CPPFLAGS = -I$(top_srcdir)/include $(ILIBS) - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/matvec/Makefile.am -+++ b/src/matvec/Makefile.am -@@ -13,16 +13,5 @@ - lis_matvec_vbr.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/precision/Makefile.am -+++ b/src/precision/Makefile.am -@@ -4,16 +4,5 @@ - lis_precision_vec.c - - --AM_CFLAGS = -I$(top_srcdir)/include $(MPFLAG) -+AM_CPPFLAGS = -I$(top_srcdir)/include $(MPFLAG) - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/precon/Makefile.am -+++ b/src/precon/Makefile.am -@@ -12,16 +12,5 @@ - lis_precon_ssor.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/solver/Makefile.am -+++ b/src/solver/Makefile.am -@@ -17,16 +17,5 @@ - lis_solver_sor.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/system/Makefile.am -+++ b/src/system/Makefile.am -@@ -13,16 +13,5 @@ - mt19937ar.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/src/vector/Makefile.am -+++ b/src/vector/Makefile.am -@@ -4,16 +4,5 @@ - lis_vector_opv.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) ---- a/test/Makefile.am -+++ b/test/Makefile.am -@@ -5,21 +5,22 @@ - - EXTRA_DIST = defs test.sh testmat.mtx testmat2.mtx - --testdir = ${prefix}/share/examples/lis -+testdir = $(prefix)/share/lis/examples - - test_DATA = testmat.mtx testmat2.mtx - - test_SCRIPTS = defs test.sh - --test_PROGRAMS = etest1 etest2 etest3 etest4 etest5 etest6 etest7 spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 test1 test2 test2b test3 test3b test4 test5 test6 test7 -+check_PROGRAMS = etest1 etest2 etest3 etest4 etest5 etest6 etest7 spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 test1 test2 test2b test3 test3b test4 test5 test6 test7 - if ENABLE_FORTRAN -- test_PROGRAMS += etest1f etest4f test1f test4f test7f -+ check_PROGRAMS += etest1f etest4f test1f test4f test7f -+ LDADD += $(FLIBS) - endif - if ENABLE_F90 -- test_PROGRAMS += test2f test6f -+ check_PROGRAMS += test2f test6f - if ENABLE_SAAMG - if ENABLE_MPI -- test_PROGRAMS += test8f -+ check_PROGRAMS += test8f - endif - endif - endif -@@ -60,40 +61,13 @@ - test8f_SOURCES = test8f.F90 - endif - --bin_PROGRAMS = esolve hpcg_kernel hpcg_spmvtest lsolve spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 -+noinst_PROGRAMS = esolve hpcg_kernel hpcg_spmvtest lsolve spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 - - esolve_SOURCES = etest5.c - hpcg_kernel_SOURCES = test3b.c - hpcg_spmvtest_SOURCES = spmvtest3b.c - lsolve_SOURCES = test1.c - --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -- --if ENABLE_SAAMG -- LINK = $(LIBTOOL) --mode=link $(FC) \ -- $(AM_LDFLAGS) $(LDFLAGS) $(FCLDFLAGS) -o $@ $(LIBS) $(CLIBS) -- F77LINK = $(LIBTOOL) --mode=link $(FC) \ -- $(AM_LDFLAGS) $(LDFLAGS) -o $@ $(LIBS) $(CLIBS) --else --if ENABLE_FORTRAN -- LINK = $(LIBTOOL) --mode=link $(FC) \ -- $(AM_LDFLAGS) $(LDFLAGS) $(FCLDFLAGS) -o $@ $(LIBS) $(CLIBS) -- F77LINK = $(LIBTOOL) --mode=link $(F77) \ -- $(AM_LDFLAGS) $(LDFLAGS) -o $@ $(LIBS) $(CLIBS) --else -- LINK = $(LIBTOOL) --mode=link $(CC) $(AM_LDFLAGS) $(LDFLAGS) -o $@ $(LIBS) --endif --endif -- - CLEANFILES = *.il - - diff --git a/sci-libs/lis/files/lis-2.1.3-autotools.patch b/sci-libs/lis/files/lis-2.1.3-autotools.patch deleted file mode 100644 index c9020cc98fef..000000000000 --- a/sci-libs/lis/files/lis-2.1.3-autotools.patch +++ /dev/null @@ -1,431 +0,0 @@ -From 81a98c67bd4e0653d719c76acd8f40d99b307d3e Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 31 Mar 2024 14:50:03 -0400 -Subject: [PATCH] Import undocumented patch: lis-1.6.2-autotools.patch - ---- - configure.ac | 47 ++++--------------------------------- - src/Makefile.am | 2 +- - src/array/Makefile.am | 13 +--------- - src/esolver/Makefile.am | 13 +--------- - src/fortran/Makefile.am | 11 --------- - src/fortran/amg/Makefile.am | 19 --------------- - src/matrix/Makefile.am | 13 +--------- - src/matvec/Makefile.am | 13 +--------- - src/precision/Makefile.am | 13 +--------- - src/precon/Makefile.am | 13 +--------- - src/solver/Makefile.am | 13 +--------- - src/system/Makefile.am | 13 +--------- - src/vector/Makefile.am | 13 +--------- - test/Makefile.am | 39 +++++------------------------- - 14 files changed, 20 insertions(+), 215 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 02f226d..b887b13 100755 ---- a/configure.ac -+++ b/configure.ac -@@ -500,26 +500,6 @@ if test "$TARGET" = ""; then - done - AC_MSG_CHECKING([for C compiler vendor]) - AC_MSG_RESULT($[ax_cv_]_AC_LANG_ABBREV[_compiler_vendor]) -- case $ax_cv_c_compiler_vendor in -- dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host $CFLAGS" ;; -- gnu) CFLAGS="-O3 -fomit-frame-pointer $CFLAGS" ;; -- intel) CFLAGS="-ansi_alias $CFLAGS" ;; -- portland) CFLAGS="-O3 -B -fastsse $CFLAGS" ;; -- pathscale) CFLAGS="-O3 $CFLAGS" ;; -- ibm) CFLAGS="-O3 -qansialias -w -qarch=auto -qtune=auto $CFLAGS" -- AR="ar -X any" -- ;; -- sun) case `(uname -m) 2>/dev/null` in -- "i86pc") CFLAGS="-xtarget=native -xO5 -dalign $CFLAGS" -- LDFLAGS="-xtarget=native -xO5" -- ;; -- *) CFLAGS="-xtarget=native64 -xO5 -dalign $CFLAGS" -- LDFLAGS="-xtarget=native64 -xO5" -- ;; -- esac -- ;; -- hp) CFLAGS="+Oall +Optrs_ansi +DSnative $CFLAGS" ;; -- esac - - AC_DEFUN([_AX_PROG_FC_V_OUTPUT], - [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) -@@ -666,6 +646,10 @@ if test "$enable_fortran" = "yes" || test "$enable_f90" = "yes" || test "$enable - AC_LANG_PUSH(Fortran 77) - fflags_save="$FFLAGS" - AC_PROG_F77([ifort ifc efc xlf95_r xlf90_r xlf_r xlf95 xlf90 xlf ftn frt pgf95 pgf90 pathf95 pathf90 epcf90 f95 fort lf95 gfortran f90 g77]) -+ -+ AC_F77_LIBRARY_LDFLAGS -+ AC_F77_DUMMY_MAIN -+ - FFLAGS="$fflags_save" - if test "$TARGET" = ""; then - if test "$enable_mpi" = "yes"; then -@@ -710,29 +694,6 @@ if test "$TARGET" = ""; then - AC_MSG_CHECKING([for Fortran compiler vendor]) - AC_MSG_RESULT($[ax_cv_]_AC_LANG_ABBREV[_compiler_vendor]) - AC_LANG_POP(Fortran 77) -- case $ax_cv_f77_compiler_vendor in -- gnu) FFLAGS="-O3 -fomit-frame-pointer $FFLAGS" -- FCFLAGS="-O3 -fomit-frame-pointer $FCFLAGS" ;; -- intel) FFLAGS="-fpp $FFLAGS" -- FCFLAGS="-fpp $FCFLAGS" -- LDFLAGS="-Vaxlib" -- FCLDFLAGS="-nofor_main" ;; -- portland) FFLAGS="-O3 -fastsse -Mpreprocess $FFLAGS" -- FCFLAGS="-O3 -fastsse -Mpreprocess $FCFLAGS" -- FCLDFLAGS="-Mnomain" ;; -- pathscale) FFLAGS="-O3 $FFLAGS" ;; -- ibm) FFLAGS="-O3 -qsuffix=cpp=F -qfixed=72 -w -qarch=auto -qtune=auto $FFLAGS" -- FCFLAGS="-O3 -qsuffix=cpp=F90 -w -qarch=auto -qtune=auto $FCFLAGS" ;; -- sun) case `(uname -m) 2>/dev/null` in -- "i86pc") FFLAGS="-fpp -xtarget=native -xO5 -dalign $FFLAGS" -- FCFLAGS="-fpp -xtarget=native -xO5 -dalign $FCFLAGS" -- FCLDFLAGS="-xO5" ;; -- *) FFLAGS="-fpp -xtarget=native64 -xO5 -dalign $FFLAGS" -- FCFLAGS="-fpp -xtarget=native64 -xO5 -dalign $FCFLAGS" -- FCLDFLAGS="-xO5" ;; -- esac -- ;; -- esac - - if test x$ax_cv_c_compiler_vendor = x$ax_cv_f77_compiler_vendor; then - CLIBS="" -diff --git a/src/Makefile.am b/src/Makefile.am -index 2af648b..3080b78 100755 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -23,7 +23,7 @@ if ENABLE_SAAMG - liblis@LIBSUFFIX@_la_LIBADD += fortran/libfortran.la - else - if ENABLE_FORTRAN -- liblis@LIBSUFFIX@_la_LIBADD += fortran/libfortran.la -+ liblis@LIBSUFFIX@_la_LIBADD += fortran/libfortran.la $(FLIBS) - endif - endif - liblis@LIBSUFFIX@_la_SOURCES = -diff --git a/src/array/Makefile.am b/src/array/Makefile.am -index 2f42d3c..66c9a1e 100755 ---- a/src/array/Makefile.am -+++ b/src/array/Makefile.am -@@ -1,16 +1,5 @@ - noinst_LTLIBRARIES = libarray.la - libarray_la_SOURCES = lis_array.c - --AM_CFLAGS = -I$(top_srcdir)/include $(ILIBS) -+AM_CPPFLAGS = -I$(top_srcdir)/include $(ILIBS) - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/esolver/Makefile.am b/src/esolver/Makefile.am -index 5cdc9bc..d5e77a0 100755 ---- a/src/esolver/Makefile.am -+++ b/src/esolver/Makefile.am -@@ -8,16 +8,5 @@ lis_esolver_pi.c \ - lis_esolver_rqi.c \ - lis_esolver_si.c - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/fortran/Makefile.am b/src/fortran/Makefile.am -index 107c82e..fe06650 100755 ---- a/src/fortran/Makefile.am -+++ b/src/fortran/Makefile.am -@@ -12,14 +12,3 @@ lisf_vector.c - - AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/fortran/amg/Makefile.am b/src/fortran/amg/Makefile.am -index 798e3b0..83219c8 100755 ---- a/src/fortran/amg/Makefile.am -+++ b/src/fortran/amg/Makefile.am -@@ -25,25 +25,6 @@ endif - - CLEANFILES = *.mod - AM_CPPFLAGS = -I$(top_srcdir)/include --FCCOMPILE = $(FC) $(AMDEFS) $(AM_FCFLAGS) $(FCFLAGS) --LTFCCOMPILE = $(LIBTOOL) --mode=compile $(FC) $(AMDEFS) $(AM_FCFLAGS) $(FCFLAGS) --FCLD = $(FC) --FCLINK = $(LIBTOOL) --mode=link $(FCLD) $(AM_LDFLAGS) $(LDFLAGS) -o $@ --PPFCCOMPILE = $(FC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS) --LTPPFCCOMPILE = $(LIBTOOL) --mode=compile $(FC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FCFLAGS) $(FCFLAGS) --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) - - .NOTPARALLEL: - .NO_PARALLEL: -diff --git a/src/matrix/Makefile.am b/src/matrix/Makefile.am -index 2bb2497..ab831ee 100755 ---- a/src/matrix/Makefile.am -+++ b/src/matrix/Makefile.am -@@ -17,16 +17,5 @@ lis_matrix_ops.c \ - lis_matrix_rco.c \ - lis_matrix_vbr.c - --AM_CFLAGS = -I$(top_srcdir)/include $(ILIBS) -+AM_CPPFLAGS = -I$(top_srcdir)/include $(ILIBS) - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/matvec/Makefile.am b/src/matvec/Makefile.am -index e23008c..2015116 100755 ---- a/src/matvec/Makefile.am -+++ b/src/matvec/Makefile.am -@@ -13,16 +13,5 @@ lis_matvec_msr.c \ - lis_matvec_vbr.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/precision/Makefile.am b/src/precision/Makefile.am -index af9bd47..a94183d 100755 ---- a/src/precision/Makefile.am -+++ b/src/precision/Makefile.am -@@ -4,16 +4,5 @@ lis_precision_matvec.c \ - lis_precision_vec.c - - --AM_CFLAGS = -I$(top_srcdir)/include $(MPFLAG) -+AM_CPPFLAGS = -I$(top_srcdir)/include $(MPFLAG) - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/precon/Makefile.am b/src/precon/Makefile.am -index 3039cfa..14f025a 100755 ---- a/src/precon/Makefile.am -+++ b/src/precon/Makefile.am -@@ -12,16 +12,5 @@ lis_precon_sainv.c \ - lis_precon_ssor.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/solver/Makefile.am b/src/solver/Makefile.am -index f5c2d3d..d7ca4c3 100755 ---- a/src/solver/Makefile.am -+++ b/src/solver/Makefile.am -@@ -17,16 +17,5 @@ lis_solver_qmr.c \ - lis_solver_sor.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/system/Makefile.am b/src/system/Makefile.am -index 97c84f3..f495ef9 100755 ---- a/src/system/Makefile.am -+++ b/src/system/Makefile.am -@@ -13,16 +13,5 @@ lis_time.c \ - mt19937ar.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/vector/Makefile.am b/src/vector/Makefile.am -index 4c9e2e2..848adc2 100755 ---- a/src/vector/Makefile.am -+++ b/src/vector/Makefile.am -@@ -4,16 +4,5 @@ lis_vector_ops.c \ - lis_vector_opv.c - - --AM_CFLAGS = -I$(top_srcdir)/include -+AM_CPPFLAGS = -I$(top_srcdir)/include - CLEANFILES = *.il -- --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -diff --git a/test/Makefile.am b/test/Makefile.am -index 1a3e25a..3bc26fb 100755 ---- a/test/Makefile.am -+++ b/test/Makefile.am -@@ -5,21 +5,21 @@ AM_LDFLAGS = $(AMDEFS) - - EXTRA_DIST = defs test.sh testmat.mtx testmat2.mtx testmat3.mtx testmat4.mtx testmat0.mtx testvec0.mtx - --testdir = ${prefix}/share/examples/lis -+testdir = ${prefix}/share/lis/examples - - test_DATA = testmat.mtx testmat2.mtx testmat3.mtx testmat4.mtx testmat0.mtx testvec0.mtx - - test_SCRIPTS = defs test.sh - --test_PROGRAMS = etest1 etest2 etest3 etest4 etest5 etest5b etest6 etest7 getest1 getest5 getest5b spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 test1 test2 test2b test3 test3b test3c test4 test5 test6 test7 -+check_PROGRAMS = etest1 etest2 etest3 etest4 etest5 etest5b etest6 etest7 getest1 getest5 getest5b spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 test1 test2 test2b test3 test3b test3c test4 test5 test6 test7 - if ENABLE_FORTRAN -- test_PROGRAMS += etest1f etest4f test1f test4f test7f -+ check_PROGRAMS += etest1f etest4f test1f test4f test7f - endif - if ENABLE_F90 -- test_PROGRAMS += test2f test6f -+ check_PROGRAMS += test2f test6f - if ENABLE_SAAMG - if ENABLE_MPI -- test_PROGRAMS += test8f -+ check_PROGRAMS += test8f - endif - endif - endif -@@ -65,7 +65,7 @@ if ENABLE_F90 - test8f_SOURCES = test8f.F90 - endif - --bin_PROGRAMS = esolve esolver gesolve gesolver hpcg_kernel hpcg_spmvtest lsolve spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 -+noinst_PROGRAMS = esolve esolver gesolve gesolver hpcg_kernel hpcg_spmvtest lsolve spmvtest1 spmvtest2 spmvtest2b spmvtest3 spmvtest3b spmvtest4 spmvtest5 - - lsolve_SOURCES = test1.c - esolve_SOURCES = etest5.c -@@ -75,33 +75,6 @@ gesolver_SOURCES = getest5b.c - hpcg_kernel_SOURCES = test3b.c - hpcg_spmvtest_SOURCES = spmvtest3b.c - --PPF77COMPILE = $(F77) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) --LTPPF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_FFLAGS) $(FFLAGS) --COMPILE = $(CC) $(AMDEFS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(AMDEFS) $(DEFS) \ -- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -- --if ENABLE_SAAMG -- LINK = $(LIBTOOL) --mode=link $(FC) \ -- $(AM_LDFLAGS) $(LDFLAGS) $(FCLDFLAGS) -o $@ $(LIBS) $(CLIBS) -- F77LINK = $(LIBTOOL) --mode=link $(FC) \ -- $(AM_LDFLAGS) $(LDFLAGS) -o $@ $(LIBS) $(CLIBS) --else --if ENABLE_FORTRAN -- LINK = $(LIBTOOL) --mode=link $(FC) \ -- $(AM_LDFLAGS) $(LDFLAGS) $(FCLDFLAGS) -o $@ $(LIBS) $(CLIBS) -- F77LINK = $(LIBTOOL) --mode=link $(F77) \ -- $(AM_LDFLAGS) $(LDFLAGS) -o $@ $(LIBS) $(CLIBS) --else -- LINK = $(LIBTOOL) --mode=link $(CC) $(AM_LDFLAGS) $(LDFLAGS) -o $@ $(LIBS) --endif --endif -- - CLEANFILES = *.il - - --- -2.43.2 - diff --git a/sci-libs/lis/lis-1.6.5-r1.ebuild b/sci-libs/lis/lis-1.6.5-r1.ebuild deleted file mode 100644 index 459d49a69487..000000000000 --- a/sci-libs/lis/lis-1.6.5-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Library of Iterative Solvers for Linear Systems" -HOMEPAGE="https://www.ssisc.org/lis/index.en.html" -SRC_URI="https://www.ssisc.org/lis/dl/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse2 doc fortran mpi openmp quad saamg static-libs" - -RDEPEND="mpi? ( virtual/mpi )" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-1.6.2-autotools.patch ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp && FORTRAN_NEED_OPENMP=1 - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927587 - # https://github.com/anishida/lis/issues/37 - filter-lto - - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable fortran) \ - $(use_enable openmp omp) \ - $(use_enable quad) \ - $(use_enable "cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4)" fma) \ - $(use_enable cpu_flags_x86_sse2 sse2) \ - $(use_enable saamg) \ - $(use_enable mpi) -} - -src_install() { - use doc && DOCS+=( doc/*.pdf ) - default - - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -} diff --git a/sci-libs/lis/lis-2.1.3.ebuild b/sci-libs/lis/lis-2.1.3.ebuild deleted file mode 100644 index 514af3ecc5c5..000000000000 --- a/sci-libs/lis/lis-2.1.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Library of Iterative Solvers for Linear Systems" -HOMEPAGE="https://www.ssisc.org/lis/index.en.html" -SRC_URI="https://www.ssisc.org/lis/dl/${P}.zip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse2 doc fortran mpi openmp quad saamg static-libs" - -RDEPEND="mpi? ( virtual/mpi )" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -PATCHES=( "${FILESDIR}"/${PN}-2.1.3-autotools.patch ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp && FORTRAN_NEED_OPENMP=1 - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927587 - # https://github.com/anishida/lis/issues/37 - filter-lto - - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable fortran) \ - $(use_enable openmp omp) \ - $(use_enable quad) \ - $(use_enable "cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4)" fma) \ - $(use_enable cpu_flags_x86_sse2 sse2) \ - $(use_enable saamg) \ - $(use_enable mpi) -} - -src_install() { - use doc && DOCS+=( doc/*.pdf ) - default - - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -} diff --git a/sci-libs/lis/metadata.xml b/sci-libs/lis/metadata.xml deleted file mode 100644 index adc6d0de7bdc..000000000000 --- a/sci-libs/lis/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Lis, a Library of Iterative Solvers for linear systems, is a - scalable parallel library for solving systems of linear equations - and standard eigenvalue problems with real sparse matrices using - iterative methods. - </longdescription> - <use> - <flag name="saamg">Build the Smoothed Aggregation Algebraic MultiGrid preconditioner</flag> - <flag name="quad">Enable quadruple precision operations</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/lmfit/Manifest b/sci-libs/lmfit/Manifest deleted file mode 100644 index 19a3cc374bc9..000000000000 --- a/sci-libs/lmfit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST lmfit-9.0.tar.gz 36686 BLAKE2B 34d77a9101dcea1387df09e58cf8b69e51b1961ba8f1f73ac070abcc4c6ddbf1a1cd1f4bf2568942442f0c4c3815288959259c16e505ad1a91a4db2a2753bed6 SHA512 523d18c75498f5586c55e6dfcab8d1005aaef61d60e8d482814ced4f90bcd14d72c53ee71ed1991651d38845cce67e3da756fab9500431d6f435fa5ad998c2b1 diff --git a/sci-libs/lmfit/files/lmfit-9.0-cmake.patch b/sci-libs/lmfit/files/lmfit-9.0-cmake.patch deleted file mode 100644 index 0c3270052cb6..000000000000 --- a/sci-libs/lmfit/files/lmfit-9.0-cmake.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -52,9 +52,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) - set(destination ${CMAKE_INSTALL_PREFIX}) - configure_file("lmfit.pc.in" "lmfit.pc" @ONLY) - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/lmfit.pc" -- DESTINATION "${destination}/lib/pkgconfig/") -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/") - - include(CTest) -+include(GNUInstallDirs) - - add_subdirectory(lib) - add_subdirectory(demo) ---- a/lib/CMakeLists.txt -+++ b/lib/CMakeLists.txt -@@ -19,13 +19,13 @@ link_libm(${lib}) - - install( - TARGETS ${lib} -- LIBRARY DESTINATION ${destination}/lib -- RUNTIME DESTINATION ${destination}/lib -- ARCHIVE DESTINATION ${destination}/lib -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/lib -+ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}/lib -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/lib - COMPONENT Libraries) - install( - FILES ${inc_files} -- DESTINATION ${destination}/include -+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/include - COMPONENT Headers) - - if(WIN32) ---- a/man/CMakeLists.txt -+++ b/man/CMakeLists.txt -@@ -15,11 +15,11 @@ function(one_page pname section) - ) - install( - FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.${section} -- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man${section}" -+ DESTINATION "${CMAKE_INSTALL_MANDIR}/man${section}" - ) - install( - FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.html -- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/lmfit/html" -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/html" - ) - endfunction() - diff --git a/sci-libs/lmfit/lmfit-9.0-r1.ebuild b/sci-libs/lmfit/lmfit-9.0-r1.ebuild deleted file mode 100644 index 7b5a1669b02e..000000000000 --- a/sci-libs/lmfit/lmfit-9.0-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_P="${PN}-v${PV}" -DESCRIPTION="library for Levenberg-Marquardt least-squares minimization and curve fitting" -HOMEPAGE="https://jugit.fz-juelich.de/mlz/lmfit" -SRC_URI="https://jugit.fz-juelich.de/mlz/lmfit/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD-2" -SLOT="0/9" -KEYWORDS="amd64 arm arm64 ~riscv ~x86" - -PATCHES=( - "${FILESDIR}"/${P}-cmake.patch -) diff --git a/sci-libs/lmfit/metadata.xml b/sci-libs/lmfit/metadata.xml deleted file mode 100644 index 8db92b6d42e4..000000000000 --- a/sci-libs/lmfit/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">lmfit</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/lrslib/Manifest b/sci-libs/lrslib/Manifest deleted file mode 100644 index 3c5ad748cda7..000000000000 --- a/sci-libs/lrslib/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST lrslib-071b.tar.gz 466789 BLAKE2B 57a8abd9d203b1cdc62d6848afa77aa6912d9d720a0dedfbe72ca602ad8ba36d13160f7da7d719e3fa140ba2cb6432d20590ae9ea9b1f66bc2e24c393d9fe1bd SHA512 feafc5726e66c977e917f0b59ae950cdb98dbd84639885b487930aab2a89a7f067a3f39c381acc3eae7206b91255e1befa5551488d8816afc0f8054d801eb539 -DIST lrslib-073.tar.gz 4566562 BLAKE2B b3906b29d8b35452319af1d81184f3e49f9c74cdc8fadfdb7e0bd13797acecc0f21d0b375fbe7c00ff585bb51c0571003c131af8d732929ebb1d4ca3dc0d23ea SHA512 8966ed12f7dd9f178949bf51c64e75e4850bda5b77be1c6e525f77baef1bc0f5fbee69b09f6a4ee858532831a4c4ae4461eb598e635fae7aaa8d02bf145140b9 diff --git a/sci-libs/lrslib/files/lrslib-071b-makefile-cflags.patch b/sci-libs/lrslib/files/lrslib-071b-makefile-cflags.patch deleted file mode 100644 index 1cc8303f616a..000000000000 --- a/sci-libs/lrslib/files/lrslib-071b-makefile-cflags.patch +++ /dev/null @@ -1,100 +0,0 @@ -From 8a99af08a479c413d54c1a8def7479c778e55703 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sat, 23 Oct 2021 07:53:22 -0400 -Subject: [PATCH 2/2] makefile: replace remaining "-O3" with $(CFLAGS). - -Some time in the past, $CFLAGS was inserted into most of the build -rules, and defaulted to "-O3 -Wall" if the user does not override -that. However a few lingering "-O3" and "-O3 -Wall" remain hard- -coded in the makefile. Here we fix that. ---- - makefile | 48 ++++++++++++++++++++++++------------------------ - 1 file changed, 24 insertions(+), 24 deletions(-) - -diff --git a/makefile b/makefile -index fd8a613..c14b93e 100644 ---- a/makefile -+++ b/makefile -@@ -64,12 +64,12 @@ MPLRSOBJ64=lrslong1-mplrs.o lrslib1-mplrs.o lrslibgmp-mplrs.o lrsgmp-mplrs.o lrs - - lrs: ${LRSOBJ} - $(CC) ${CFLAGS} -DMA ${BITS} -L${LIBDIR} $(LDFLAGS) -o lrs ${LRSOBJ} -lgmp -- $(CC) -O3 hvref.c $(LDFLAGS) -o hvref -+ $(CC) $(CFLAGS) hvref.c $(LDFLAGS) -o hvref - ln -s -f lrs redund - - lrsmp: ${LRSOBJMP} - $(CC) ${CFLAGS} -DMA ${BITS} $(LDFLAGS) -o lrsmp ${LRSOBJMP} -- $(CC) -O3 hvref.c $(LDFLAGS) -o hvref -+ $(CC) $(CFLAGS) hvref.c $(LDFLAGS) -o hvref - ln -s -f lrs redund - - lrs64: ${LRSOBJ64} -@@ -157,8 +157,8 @@ singlemplrs: mplrsgmp mplrs1 mplrs2 - - flint: lrs.c lrslib.c lrslib.h lrsgmp.c lrsgmp.h - @test -d ${INCLUDEDIR}/flint || { echo ${INCLUDEDIR}/flint not found; exit 1; } -- $(CC) -O3 -DFLINT -I/usr/local/include/flint lrs.c lrslib.c lrsgmp.c lrsdriver.c -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lflint $(LDFLAGS) -o lrsflint -lgmp --# $(CC) -O3 -DFLINT -I${INCLUDEDIR} -I${INCLUDEDIR}/flint lrs.c lrsdriver.c lrslib.c lrsgmp.c -L${LIBDIR} -lflint -o lrsflint -lgmp -+ $(CC) $(CFLAGS) -DFLINT -I/usr/local/include/flint lrs.c lrslib.c lrsgmp.c lrsdriver.c -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lflint $(LDFLAGS) -o lrsflint -lgmp -+# $(CC) $(CFLAGS) -DFLINT -I${INCLUDEDIR} -I${INCLUDEDIR}/flint lrs.c lrsdriver.c lrslib.c lrsgmp.c -L${LIBDIR} -lflint -o lrsflint -lgmp - - mplrsflint: mplrs.c mplrs.h lrslib.c lrslib.h lrsgmp.c lrsgmp.h lrsdriver.c lrsdriver.h - ${mpicxx} ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DFLINT -I${INCLUDEDIR}/flint -DPLRS $(LDFLAGS) -o mplrsflint mplrs.c lrsdriver.c lrslib.c lrsgmp.c -L${LIBDIR} -lflint -lgmp -@@ -176,33 +176,33 @@ single: lrs.c lrslong.c lrslong.h lrslib.c lrslib.h lrsgmp.c lrsgmp.h lrsdriver - ln -s -f lrs2 redund2 - - allmp: lrs.c lrslib.c lrslib.h lrsmp.c lrsmp.h lrsdriver.h lrsdriver.c -- $(CC) -Wall -O3 $(LDFLAGS) -o lrs lrs.c lrslib.c lrsdriver.c lrsmp.c -- $(CC) -Wall -O3 -DSAFE -DLRSLONG $(LDFLAGS) -o lrs1 lrs.c lrslib.c lrsdriver.c lrslong.c -- $(CC) -Wall -O3 -DSAFE -DLRSLONG ${BITS} $(LDFLAGS) -o lrs2 lrs.c lrslib.c lrsdriver.c lrslong.c -- $(CC) -O3 -DLRS_QUIET $(LDFLAGS) -o lrsnash lrsnash.c lrsnashlib.c lrslib.c lrsdriver.c lrsmp.c -static -- $(CC) -O3 $(LDFLAGS) -o setnash setupnash.c lrslib.c lrsdriver.c lrsmp.c -- $(CC) -O3 $(LDFLAGS) -o setnash2 setupnash2.c lrslib.c lrsdriver.c lrsmp.c -- $(CC) -O3 $(LDFLAGS) -o 2nash 2nash.c -+ $(CC) -Wall $(CFLAGS) $(LDFLAGS) -o lrs lrs.c lrslib.c lrsdriver.c lrsmp.c -+ $(CC) -Wall $(CFLAGS) -DSAFE -DLRSLONG $(LDFLAGS) -o lrs1 lrs.c lrslib.c lrsdriver.c lrslong.c -+ $(CC) -Wall $(CFLAGS) -DSAFE -DLRSLONG ${BITS} $(LDFLAGS) -o lrs2 lrs.c lrslib.c lrsdriver.c lrslong.c -+ $(CC) $(CFLAGS) -DLRS_QUIET $(LDFLAGS) -o lrsnash lrsnash.c lrsnashlib.c lrslib.c lrsdriver.c lrsmp.c -static -+ $(CC) $(CFLAGS) $(LDFLAGS) -o setnash setupnash.c lrslib.c lrsdriver.c lrsmp.c -+ $(CC) $(CFLAGS) $(LDFLAGS) -o setnash2 setupnash2.c lrslib.c lrsdriver.c lrsmp.c -+ $(CC) $(CFLAGS) $(LDFLAGS) -o 2nash 2nash.c - - demo: lpdemo1.c lrslib.c lrsdriver.c lrslib.h lrsgmp.c lrsgmp.h -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo1 lpdemo1.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo lpdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo2 lpdemo2.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o vedemo vedemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o chdemo chdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo1 lpdemo1.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo lpdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo2 lpdemo2.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o vedemo vedemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o chdemo chdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP - - lrsnash: lrsnash.c nashdemo.c lrsnashlib.c lrslib.c lrsnashlib.h lrslib.h lrsgmp.c lrsgmp.h lrslong.h lrsdriver.h lrsdriver.c -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnashgmp lrsnash.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash1 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash2 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE ${BITS} -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o nashdemo nashdemo.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o 2nash 2nash.c -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnashgmp lrsnash.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash1 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash2 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE ${BITS} -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o nashdemo nashdemo.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o 2nash 2nash.c - cp lrsnashgmp lrsnash - - fel: fel.c lrslib.h lrslib.c lrsgmp.h lrsgmp.c lrslong.c -- $(CC) -O3 -Wall -DGMP -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrsgmp.c -L${LIBDIR} -lgmp $(LDFLAGS) -o felgmp -- $(CC) -O3 -Wall -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE $(LDFLAGS) -o fel1 -- $(CC) -O3 -Wall -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE ${BITS} $(LDFLAGS) -o fel2 -+ $(CC) $(CFLAGS) -DGMP -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrsgmp.c -L${LIBDIR} -lgmp $(LDFLAGS) -o felgmp -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE $(LDFLAGS) -o fel1 -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE ${BITS} $(LDFLAGS) -o fel2 - - ###################################################################### - # From here on the author is David Bremner <bremner@unb.ca> to whom you should turn for help --- -2.32.0 - diff --git a/sci-libs/lrslib/files/lrslib-071b-makefile-ldflags.patch b/sci-libs/lrslib/files/lrslib-071b-makefile-ldflags.patch deleted file mode 100644 index c8c9bc1e8206..000000000000 --- a/sci-libs/lrslib/files/lrslib-071b-makefile-ldflags.patch +++ /dev/null @@ -1,184 +0,0 @@ -From f9a97514196eb35de1cdae1c1fc622c8aff5fb04 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sat, 23 Oct 2021 07:37:57 -0400 -Subject: [PATCH 1/2] makefile: add $(LDFLAGS) to commands that induce linkage. - -Like the more-familiar CFLAGS, there is a standard variable called -LDFLAGS that should be used while linking libraries and executables. -The default compilation rules for POSIX make include it, - - https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html - -This commit adds LDFLAGS to the custom makefile commands that link -either an executable or a shared library. ---- - makefile | 80 ++++++++++++++++++++++++++++---------------------------- - 1 file changed, 40 insertions(+), 40 deletions(-) - -diff --git a/makefile b/makefile -index 32e6b52..fd8a613 100644 ---- a/makefile -+++ b/makefile -@@ -63,17 +63,17 @@ LRSOBJ64=lrs64.o lrslong1.o lrslib1.o lrslibgmp.o lrsgmp.o lrsdriver.o - MPLRSOBJ64=lrslong1-mplrs.o lrslib1-mplrs.o lrslibgmp-mplrs.o lrsgmp-mplrs.o lrsdriver-mplrs.o mplrs64.o - - lrs: ${LRSOBJ} -- $(CC) ${CFLAGS} -DMA ${BITS} -L${LIBDIR} -o lrs ${LRSOBJ} -lgmp -- $(CC) -O3 hvref.c -o hvref -+ $(CC) ${CFLAGS} -DMA ${BITS} -L${LIBDIR} $(LDFLAGS) -o lrs ${LRSOBJ} -lgmp -+ $(CC) -O3 hvref.c $(LDFLAGS) -o hvref - ln -s -f lrs redund - - lrsmp: ${LRSOBJMP} -- $(CC) ${CFLAGS} -DMA ${BITS} -o lrsmp ${LRSOBJMP} -- $(CC) -O3 hvref.c -o hvref -+ $(CC) ${CFLAGS} -DMA ${BITS} $(LDFLAGS) -o lrsmp ${LRSOBJMP} -+ $(CC) -O3 hvref.c $(LDFLAGS) -o hvref - ln -s -f lrs redund - - lrs64: ${LRSOBJ64} -- $(CC) ${CFLAGS} -DMA -L${LIBDIR} -o lrs ${LRSOBJ64} -lgmp -+ $(CC) ${CFLAGS} -DMA -L${LIBDIR} $(LDFLAGS) -o lrs ${LRSOBJ64} -lgmp - - lrs.o: lrs.c - $(CC) ${CFLAGS} -DMA ${BITS} -c -o lrs.o lrs.c -@@ -106,7 +106,7 @@ lrsmp.o: lrsmp.c lrsmp.h - $(CC) ${CFLAGS} -DMA -DMP -c -o lrsmp.o lrsmp.c - - checkpred: checkpred.c lrsgmp.h lrsgmp.c -- $(CC) $(CFLAGS) -DGMP -lgmp -o checkpred checkpred.c lrsgmp.c -+ $(CC) $(CFLAGS) -DGMP -lgmp $(LDFLAGS) -o checkpred checkpred.c lrsgmp.c - - lrslong1-mplrs.o: lrslong.c lrslong.h - $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -DMA -DSAFE -DLRSLONG -DPLRS -c -o lrslong1-mplrs.o lrslong.c -@@ -136,73 +136,73 @@ mplrs64.o: mplrs.c mplrs.h lrslib.h lrsgmp.h - $(mpicxx) ${CFLAGS} -I${INCLUDEDIR} -DMA -DPLRS -DTIMES -DSIGNALS -D_WITH_GETLINE -c -o mplrs64.o mplrs.c - - mplrs: ${MPLRSOBJ} mplrsgmp -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DMA ${BITS} -L${LIBDIR} -o mplrs ${MPLRSOBJ} -lgmp -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DMA ${BITS} -L${LIBDIR} $(LDFLAGS) -o mplrs ${MPLRSOBJ} -lgmp - - mplrs64: ${MPLRSOBJ64} mplrsgmp -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DMA -L${LIBDIR} -o mplrs ${MPLRSOBJ64} -lgmp -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DMA -L${LIBDIR} $(LDFLAGS) -o mplrs ${MPLRSOBJ64} -lgmp - - mplrsgmp: mplrs.c mplrs.h lrslib.c lrslib.h lrsgmp.c lrsgmp.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DGMP -I${INCLUDEDIR} mplrs.c lrslib.c lrsgmp.c lrsdriver.c -L${LIBDIR} -o mplrsgmp -lgmp -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DGMP -I${INCLUDEDIR} mplrs.c lrslib.c lrsgmp.c lrsdriver.c -L${LIBDIR} $(LDFLAGS) -o mplrsgmp -lgmp - - mplrs1: mplrs.c mplrs.h lrslib.c lrslib.h lrslong.c lrslong.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DLRSLONG mplrs.c lrslib.c lrslong.c lrsdriver.c -o mplrs1 -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DLRSLONG mplrs.c lrslib.c lrslong.c lrsdriver.c $(LDFLAGS) -o mplrs1 - - mplrs2: mplrs.c mplrs.h lrslib.c lrslib.h lrslong.c lrslong.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DSAFE -DLRSLONG ${BITS} mplrs.c lrslib.c lrslong.c lrsdriver.c -o mplrs2 -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS -DSAFE -DLRSLONG ${BITS} mplrs.c lrslib.c lrslong.c lrsdriver.c $(LDFLAGS) -o mplrs2 - - mplrsmp: mplrs.c mplrs.h lrslib.c lrslib.h lrsmp.c lrsmp.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DMP -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS mplrs.c lrslib.c lrsmp.c lrsdriver.c -o mplrsmp -+ $(mpicxx) ${CFLAGS} -DMP -DTIMES -DSIGNALS -D_WITH_GETLINE -DPLRS mplrs.c lrslib.c lrsmp.c lrsdriver.c $(LDFLAGS) -o mplrsmp - - singlemplrs: mplrsgmp mplrs1 mplrs2 - - flint: lrs.c lrslib.c lrslib.h lrsgmp.c lrsgmp.h - @test -d ${INCLUDEDIR}/flint || { echo ${INCLUDEDIR}/flint not found; exit 1; } -- $(CC) -O3 -DFLINT -I/usr/local/include/flint lrs.c lrslib.c lrsgmp.c lrsdriver.c -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lflint -o lrsflint -lgmp -+ $(CC) -O3 -DFLINT -I/usr/local/include/flint lrs.c lrslib.c lrsgmp.c lrsdriver.c -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lflint $(LDFLAGS) -o lrsflint -lgmp - # $(CC) -O3 -DFLINT -I${INCLUDEDIR} -I${INCLUDEDIR}/flint lrs.c lrsdriver.c lrslib.c lrsgmp.c -L${LIBDIR} -lflint -o lrsflint -lgmp - - mplrsflint: mplrs.c mplrs.h lrslib.c lrslib.h lrsgmp.c lrsgmp.h lrsdriver.c lrsdriver.h -- ${mpicxx} ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DFLINT -I${INCLUDEDIR}/flint -DPLRS -o mplrsflint mplrs.c lrsdriver.c lrslib.c lrsgmp.c -L${LIBDIR} -lflint -lgmp -+ ${mpicxx} ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DFLINT -I${INCLUDEDIR}/flint -DPLRS $(LDFLAGS) -o mplrsflint mplrs.c lrsdriver.c lrslib.c lrsgmp.c -L${LIBDIR} -lflint -lgmp - - #comment out lines with ${BITS} if __int128 not supported by your C compiler - - lrsgmp: lrs.c lrslib.c lrslib.h lrsgmp.c lrsgmp.h lrsdriver.h lrsdriver.c -- $(CC) ${CFLAGS} -DGMP -I${INCLUDEDIR} -o lrsgmp lrs.c lrslib.c lrsgmp.c lrsdriver.c -L${LIBDIR} -lgmp -+ $(CC) ${CFLAGS} -DGMP -I${INCLUDEDIR} $(LDFLAGS) -o lrsgmp lrs.c lrslib.c lrsgmp.c lrsdriver.c -L${LIBDIR} -lgmp - ln -s -f lrsgmp redundgmp - - single: lrs.c lrslong.c lrslong.h lrslib.c lrslib.h lrsgmp.c lrsgmp.h lrsdriver.h lrsdriver.c -- $(CC) ${CFLAGS} -DSAFE -DLRSLONG -o lrs1 lrs.c lrslib.c lrslong.c lrsdriver.c -- $(CC) ${CFLAGS} ${BITS} -DSAFE -DLRSLONG -o lrs2 lrs.c lrslib.c lrslong.c lrsdriver.c -+ $(CC) ${CFLAGS} -DSAFE -DLRSLONG $(LDFLAGS) -o lrs1 lrs.c lrslib.c lrslong.c lrsdriver.c -+ $(CC) ${CFLAGS} ${BITS} -DSAFE -DLRSLONG $(LDFLAGS) -o lrs2 lrs.c lrslib.c lrslong.c lrsdriver.c - ln -s -f lrs1 redund1 - ln -s -f lrs2 redund2 - - allmp: lrs.c lrslib.c lrslib.h lrsmp.c lrsmp.h lrsdriver.h lrsdriver.c -- $(CC) -Wall -O3 -o lrs lrs.c lrslib.c lrsdriver.c lrsmp.c -- $(CC) -Wall -O3 -DSAFE -DLRSLONG -o lrs1 lrs.c lrslib.c lrsdriver.c lrslong.c -- $(CC) -Wall -O3 -DSAFE -DLRSLONG ${BITS} -o lrs2 lrs.c lrslib.c lrsdriver.c lrslong.c -- $(CC) -O3 -DLRS_QUIET -o lrsnash lrsnash.c lrsnashlib.c lrslib.c lrsdriver.c lrsmp.c -static -- $(CC) -O3 -o setnash setupnash.c lrslib.c lrsdriver.c lrsmp.c -- $(CC) -O3 -o setnash2 setupnash2.c lrslib.c lrsdriver.c lrsmp.c -- $(CC) -O3 -o 2nash 2nash.c -+ $(CC) -Wall -O3 $(LDFLAGS) -o lrs lrs.c lrslib.c lrsdriver.c lrsmp.c -+ $(CC) -Wall -O3 -DSAFE -DLRSLONG $(LDFLAGS) -o lrs1 lrs.c lrslib.c lrsdriver.c lrslong.c -+ $(CC) -Wall -O3 -DSAFE -DLRSLONG ${BITS} $(LDFLAGS) -o lrs2 lrs.c lrslib.c lrsdriver.c lrslong.c -+ $(CC) -O3 -DLRS_QUIET $(LDFLAGS) -o lrsnash lrsnash.c lrsnashlib.c lrslib.c lrsdriver.c lrsmp.c -static -+ $(CC) -O3 $(LDFLAGS) -o setnash setupnash.c lrslib.c lrsdriver.c lrsmp.c -+ $(CC) -O3 $(LDFLAGS) -o setnash2 setupnash2.c lrslib.c lrsdriver.c lrsmp.c -+ $(CC) -O3 $(LDFLAGS) -o 2nash 2nash.c - - demo: lpdemo1.c lrslib.c lrsdriver.c lrslib.h lrsgmp.c lrsgmp.h -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o lpdemo1 lpdemo1.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o lpdemo lpdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o lpdemo2 lpdemo2.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o vedemo vedemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o chdemo chdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo1 lpdemo1.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo lpdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo2 lpdemo2.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o vedemo vedemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o chdemo chdemo.c lrslib.c lrsdriver.c lrsgmp.c -lgmp -DGMP - - lrsnash: lrsnash.c nashdemo.c lrsnashlib.c lrslib.c lrsnashlib.h lrslib.h lrsgmp.c lrsgmp.h lrslong.h lrsdriver.h lrsdriver.c -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o lrsnashgmp lrsnash.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o lrsnash1 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o lrsnash2 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE ${BITS} -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o nashdemo nashdemo.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -- $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} -o 2nash 2nash.c -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnashgmp lrsnash.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash1 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash2 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE ${BITS} -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o nashdemo nashdemo.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP -+ $(CC) -O3 -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o 2nash 2nash.c - cp lrsnashgmp lrsnash - - fel: fel.c lrslib.h lrslib.c lrsgmp.h lrsgmp.c lrslong.c -- $(CC) -O3 -Wall -DGMP -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrsgmp.c -L${LIBDIR} -lgmp -o felgmp -- $(CC) -O3 -Wall -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE -o fel1 -- $(CC) -O3 -Wall -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE ${BITS} -o fel2 -+ $(CC) -O3 -Wall -DGMP -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrsgmp.c -L${LIBDIR} -lgmp $(LDFLAGS) -o felgmp -+ $(CC) -O3 -Wall -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE $(LDFLAGS) -o fel1 -+ $(CC) -O3 -Wall -I${INCLUDEDIR} fel.c lrslib.c lrsdriver.c lrslong.c -L${LIBDIR} -DLRSLONG -DSAFE ${BITS} $(LDFLAGS) -o fel2 - - ###################################################################### - # From here on the author is David Bremner <bremner@unb.ca> to whom you should turn for help -@@ -228,7 +228,7 @@ SHLIBBIN=lrs-shared lrsnash-shared - # Building (linking) the shared library, and relevant symlinks. - - ${SHLIB}: ${SHLIBOBJ} -- $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp -+ $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) $(LDFLAGS) -o $@ ${SHLIBOBJ} -lgmp - - ${SONAME}: ${SHLIB} - ln -sf ${SHLIB} ${SONAME} -@@ -241,11 +241,11 @@ ${SHLINK}: ${SONAME} - all-shared: ${SHLIBBIN} - - lrs-shared: ${SHLINK} lrs-shared.o -- $(CC) $^ -o $@ -L . -llrs -+ $(CC) $^ $(LDFLAGS) -o $@ -L . -llrs - - - lrsnash-shared: ${SHLINK} lrsnash.c -- $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp -+ $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} $(LDFLAGS) -o $@ -L . -llrs -lgmp - - # driver object files - --- -2.32.0 - diff --git a/sci-libs/lrslib/files/lrslib-073-cflags-ldflags.patch b/sci-libs/lrslib/files/lrslib-073-cflags-ldflags.patch deleted file mode 100644 index d4d04f0f00c4..000000000000 --- a/sci-libs/lrslib/files/lrslib-073-cflags-ldflags.patch +++ /dev/null @@ -1,169 +0,0 @@ -diff --git a/makefile b/makefile -index 8142044..1c26969 100755 ---- a/makefile -+++ b/makefile -@@ -35,7 +35,7 @@ LRSOBJ2=lrslib2.o lrslong2.o - - #legacy lrs and mplrs - #CFLAGS = -g -Wall -I ${ARITH} --CFLAGS = -O3 -Wall -I ${ARITH} -+CFLAGS += -I ${ARITH} - - #use this if you want only output file contain data between begin/end lines - #CFLAGS = -O3 -Wall -I ${ARITH} -DLRS_QUIET -@@ -89,14 +89,14 @@ MPLRSOBJ=lrslong1-mplrs.o lrslib1-mplrs.o lrslibgmp-mplrs.o lrsgmp-mplrs.o lrsdr - MPLRSOBJ64=lrslong1-mplrs.o lrslib1-mplrs.o lrslibgmp-mplrs.o lrsgmp-mplrs.o lrsdriver-mplrs.o mplrs64.o - - lrs: ${LRSOBJ} ${LRSOBJ2} -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DMA ${BITS} -L${LIBDIR} -o lrs ${LRSOBJ} ${LRSOBJ2} ${MINI} ${GMP} -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DMA ${BITS} -L${LIBDIR} $(LDFLAGS) -o lrs ${LRSOBJ} ${LRSOBJ2} ${MINI} ${GMP} - ln -s -f lrs redund - ln -s -f lrs minrep - ln -s -f lrs fel - - lrsMP: ${LRSOBJMP} -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DMA ${BITS} -o lrsMP ${LRSOBJMP} -- $(CC) -O3 hvref.c -o hvref -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DMA ${BITS} $(LDFLAGS) -o lrsMP ${LRSOBJMP} -+ $(CC) $(CFLAGS) hvref.c $(LDFLAGS) -o hvref - ln -s -f lrs redund - - lrs.o: lrs.c -@@ -126,10 +126,10 @@ lrsmp.o: ${ARITH}lrsmp.c ${ARITH}lrsmp.h - $(CC) ${CFLAGS} -DMA -DMP -c -o lrsmp.o ${ARITH}lrsmp.c - - inedel: inedel.c ${ARITH}lrsgmp.h ${ARITH}lrsgmp.c -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -DGMP -o inedel inedel.c ${ARITH}lrsgmp.c -lgmp -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -DGMP $(LDFLAGS) -o inedel inedel.c ${ARITH}lrsgmp.c -lgmp - - polyv: polyv.c ${ARITH}lrsgmp.h ${ARITH}lrsgmp.c -- $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} -DGMP -o polyv polyv.c ${ARITH}lrsgmp.c -lgmp -+ $(CC) $(CFLAGS) -I${INCLUDEDIR} -L${LIBDIR} -DGMP $(LDFLAGS) -o polyv polyv.c ${ARITH}lrsgmp.c -lgmp - - lrslong1-mplrs.o: ${ARITH}lrslong.c ${ARITH}lrslong.h - $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -DMA -DSAFE -DLRSLONG -DMPLRS -c -o lrslong1-mplrs.o ${ARITH}lrslong.c -@@ -159,67 +159,67 @@ mplrs64.o: mplrs.c mplrs.h lrslib.h ${ARITH}lrsgmp.h - $(mpicxx) ${CFLAGS} -I${INCLUDEDIR} ${GMP} -DMA -DMPLRS -DTIMES -DSIGNALS -D_WITH_GETLINE -c -o mplrs64.o mplrs.c - - mplrs: ${MPLRSOBJ} ${MPLRSOBJ2} -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DMA ${BITS} -L${LIBDIR} -o mplrs ${MPLRSOBJ} ${MPLRSOBJ2} ${MINI} ${GMP} -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DMA ${BITS} -L${LIBDIR} $(LDFLAGS) -o mplrs ${MPLRSOBJ} ${MPLRSOBJ2} ${MINI} ${GMP} - - mplrs64: ${MPLRSOBJ64} mplrsgmp -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DMA -L${LIBDIR} -o mplrs ${MPLRSOBJ64} -lgmp -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DMA -L${LIBDIR} $(LDFLAGS) -o mplrs ${MPLRSOBJ64} -lgmp - - mplrsgmp: mplrs.c mplrs.h lrslib.c lrslib.h ${ARITH}lrsgmp.c ${ARITH}lrsgmp.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DGMP -I${INCLUDEDIR} mplrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L${LIBDIR} -o mplrsgmp -lgmp -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DGMP -I${INCLUDEDIR} mplrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L${LIBDIR} $(LDFLAGS) -o mplrsgmp -lgmp - - mplrs1: mplrs.c mplrs.h lrslib.c lrslib.h ${ARITH}lrslong.c ${ARITH}lrslong.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DSAFE -DLRSLONG mplrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -o mplrs1 -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DSAFE -DLRSLONG mplrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c $(LDFLAGS) -o mplrs1 - - mplrs2: mplrs.c mplrs.h lrslib.c lrslib.h ${ARITH}lrslong.c ${ARITH}lrslong.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DSAFE -DLRSLONG ${BITS} mplrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -o mplrs2 -+ $(mpicxx) ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS -DSAFE -DLRSLONG ${BITS} mplrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c $(LDFLAGS) -o mplrs2 - - mplrsmp: mplrs.c mplrs.h lrslib.c lrslib.h ${ARITH}lrsmp.c ${ARITH}lrsmp.h lrsdriver.h lrsdriver.c -- $(mpicxx) ${CFLAGS} -DMP -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS mplrs.c lrslib.c ${ARITH}lrsmp.c lrsdriver.c -o mplrsmp -+ $(mpicxx) ${CFLAGS} -DMP -DTIMES -DSIGNALS -D_WITH_GETLINE -DMPLRS mplrs.c lrslib.c ${ARITH}lrsmp.c lrsdriver.c $(LDFLAGS) -o mplrsmp - - singlemplrs: mplrs1 mplrs2 - - flint: lrs.c lrslib.c lrslib.h ${ARITH}lrsgmp.c ${ARITH}lrsgmp.h - @test -d ${INCLUDEDIR}/flint || { echo ${INCLUDEDIR}/flint not found; exit 1; } -- $(CC) -O3 -DFLINT ${PLRSFLAGS} -I/usr/local/include/flint lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lflint -o lrsflint -lgmp -+ $(CC) $(CFLAGS) -DFLINT ${PLRSFLAGS} -I/usr/local/include/flint lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lflint $(LDFLAGS) -o lrsflint -lgmp - - mplrsflint: mplrs.c mplrs.h lrslib.c lrslib.h ${ARITH}lrsgmp.c ${ARITH}lrsgmp.h lrsdriver.c lrsdriver.h -- ${mpicxx} ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DFLINT -I${INCLUDEDIR}/flint -DMPLRS -o mplrsflint mplrs.c lrsdriver.c lrslib.c ${ARITH}lrsgmp.c -L${LIBDIR} -lflint -lgmp -+ ${mpicxx} ${CFLAGS} -DTIMES -DSIGNALS -D_WITH_GETLINE -DFLINT -I${INCLUDEDIR}/flint -DMPLRS $(LDFLAGS) -o mplrsflint mplrs.c lrsdriver.c lrslib.c ${ARITH}lrsgmp.c -L${LIBDIR} -lflint -lgmp - - lrsgmp: lrs.c lrslib.c lrslib.h ${ARITH}lrsgmp.c ${ARITH}lrsgmp.h lrsdriver.h lrsdriver.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} -I${INCLUDEDIR} -o lrsgmp lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L${LIBDIR} ${MINI} ${GMP} -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -I${INCLUDEDIR} $(LDFLAGS) -o lrsgmp lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L${LIBDIR} ${MINI} ${GMP} - - single: lrs.c ${ARITH}lrslong.c ${ARITH}lrslong.h lrslib.c lrslib.h ${ARITH}lrsgmp.c ${ARITH}lrsgmp.h lrsdriver.h lrsdriver.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DSAFE -DLRSLONG -o lrs1 lrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} ${BITS} -DSAFE -DLRSLONG -o lrs2 lrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DMP -o lrsmp lrs.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DGMP -I${INCLUDEDIR} -o lrsgmp lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L${LIBDIR} -lgmp -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DMGMP -DGMP -I${INCLUDEDIR} -o lrsmgmp lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c ${ARITH}mini-gmp.c -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DSAFE -DLRSLONG $(LDFLAGS) -o lrs1 lrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -+ $(CC) ${CFLAGS} ${PLRSFLAGS} ${BITS} -DSAFE -DLRSLONG $(LDFLAGS) -o lrs2 lrs.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DMP $(LDFLAGS) -o lrsmp lrs.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DGMP -I${INCLUDEDIR} $(LDFLAGS) -o lrsgmp lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c -L${LIBDIR} -lgmp -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DMGMP -DGMP -I${INCLUDEDIR} $(LDFLAGS) -o lrsmgmp lrs.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c ${ARITH}mini-gmp.c - - allmp: lrs.c lrslib.c lrslib.h ${ARITH}lrsmp.c ${ARITH}lrsmp.h lrsdriver.h lrsdriver.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DMP -o lrsmp lrs.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DSAFE -DLRSLONG -o lrs1 lrs.c lrslib.c lrsdriver.c ${ARITH}lrslong.c -- $(CC) ${CFLAGS} ${PLRSFLAGS} -DSAFE -DLRSLONG ${BITS} -o lrs2 lrs.c lrslib.c lrsdriver.c ${ARITH}lrslong.c -- $(CC) ${CFLAGS} -DMP -DLRS_QUIET -o lrsnash lrsnash.c lrsnashlib.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -- $(CC) ${CFLAGS} -DMP -o setupnash setupnash.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -- $(CC) ${CFLAGS} -DMP -o setupnash2 setupnash2.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -- $(CC) ${CFLAGS} -o 2nash 2nash.c -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DMP $(LDFLAGS) -o lrsmp lrs.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DSAFE -DLRSLONG $(LDFLAGS) -o lrs1 lrs.c lrslib.c lrsdriver.c ${ARITH}lrslong.c -+ $(CC) ${CFLAGS} ${PLRSFLAGS} -DSAFE -DLRSLONG ${BITS} $(LDFLAGS) -o lrs2 lrs.c lrslib.c lrsdriver.c ${ARITH}lrslong.c -+ $(CC) ${CFLAGS} -DMP -DLRS_QUIET $(LDFLAGS) -o lrsnash lrsnash.c lrsnashlib.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -+ $(CC) ${CFLAGS} -DMP $(LDFLAGS) -o setupnash setupnash.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -+ $(CC) ${CFLAGS} -DMP $(LDFLAGS) -o setupnash2 setupnash2.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -+ $(CC) ${CFLAGS} $(LDFLAGS) -o 2nash 2nash.c - - demo: lpdemo1.c lrslib.c lrsdriver.c lrslib.h ${ARITH}lrsgmp.c ${ARITH}lrsgmp.h -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o lpdemo1 lpdemo1.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o lpdemo lpdemo.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o lpdemo2 lpdemo2.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o vedemo vedemo.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o chdemo chdemo.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo1 lpdemo1.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo lpdemo.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lpdemo2 lpdemo2.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o vedemo vedemo.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o chdemo chdemo.c lrslib.c lrsdriver.c ${ARITH}lrsgmp.c -lgmp -DGMP - - lrsnash: lrsnash.c nashdemo.c lrsnashlib.c lrslib.c lrsnashlib.h lrslib.h ${ARITH}lrsgmp.c ${ARITH}lrsgmp.h ${ARITH}lrslong.h lrsdriver.h lrsdriver.c -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o lrsnashgmp lrsnash.c lrsnashlib.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c ${MINI} ${GMP} -- $(CC) ${CFLAGS} -DNASH -I${INCLUDEDIR} -L${LIBDIR} -o lrsnash1 lrsnash.c lrsnashlib.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -DLRSLONG -DSAFE -- -- $(CC) ${CFLAGS} -DNASH -I${INCLUDEDIR} -L${LIBDIR} -o lrsnash2 lrsnash.c lrsnashlib.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -DLRSLONG -DSAFE ${BITS} -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o nashdemo nashdemo.c lrsnashlib.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c ${MINI} ${GMP} -- $(CC) ${CFLAGS} -DMP -o setupnash setupnash.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -- $(CC) ${CFLAGS} -DMP -o setupnash2 setupnash2.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -- $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} -o 2nash 2nash.c -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnashgmp lrsnash.c lrsnashlib.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c ${MINI} ${GMP} -+ $(CC) ${CFLAGS} -DNASH -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash1 lrsnash.c lrsnashlib.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -DLRSLONG -DSAFE -+ -+ $(CC) ${CFLAGS} -DNASH -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o lrsnash2 lrsnash.c lrsnashlib.c lrslib.c ${ARITH}lrslong.c lrsdriver.c -DLRSLONG -DSAFE ${BITS} -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o nashdemo nashdemo.c lrsnashlib.c lrslib.c ${ARITH}lrsgmp.c lrsdriver.c ${MINI} ${GMP} -+ $(CC) ${CFLAGS} -DMP $(LDFLAGS) -o setupnash setupnash.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -+ $(CC) ${CFLAGS} -DMP $(LDFLAGS) -o setupnash2 setupnash2.c lrslib.c lrsdriver.c ${ARITH}lrsmp.c -+ $(CC) ${CFLAGS} -I${INCLUDEDIR} -L${LIBDIR} $(LDFLAGS) -o 2nash 2nash.c - cp lrsnashgmp lrsnash - - ###################################################################### -@@ -246,7 +246,7 @@ SHLIBBIN=lrs-shared lrsnash-shared - # Building (linking) the shared library, and relevant symlinks. - - ${SHLIB}: ${SHLIBOBJ} -- $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp -+ $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) $(LDFLAGS) -o $@ ${SHLIBOBJ} -lgmp - - ${SONAME}: ${SHLIB} - ln -sf ${SHLIB} ${SONAME} -@@ -259,11 +259,11 @@ ${SHLINK}: ${SONAME} - all-shared: ${SHLIBBIN} - - lrs-shared: ${SHLINK} lrs-shared.o -- $(CC) $^ -o $@ -L . -llrs -+ $(CC) $^ $(LDFLAGS) -o $@ -L . -llrs - - - lrsnash-shared: ${SHLINK} lrsnash.c -- $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp -+ $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} $(LDFLAGS) -o $@ -L . -llrs -lgmp - - # driver object files - diff --git a/sci-libs/lrslib/lrslib-071b-r1.ebuild b/sci-libs/lrslib/lrslib-071b-r1.ebuild deleted file mode 100644 index cbac2b327e67..000000000000 --- a/sci-libs/lrslib/lrslib-071b-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Reverse-search algorithm for vertex enumeration problems" -HOMEPAGE="http://cgm.cs.mcgill.ca/~avis/C/lrs.html" -SRC_URI="http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/${P}.tar.gz" - -# COPYING is GPL-2, but e.g. lrslib.h says "or ... any later version." -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm ~riscv" -IUSE="gmp mpi" - -BDEPEND="" -RDEPEND=" - gmp? ( - dev-libs/gmp:0= - mpi? ( virtual/mpi ) - )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-makefile-ldflags.patch" - "${FILESDIR}/${P}-makefile-cflags.patch" -) - -src_prepare() { - default - tc-export CC - - # The "makefile" sort-of supports CFLAGS as of lrslib-071b, but - # "-O3" is still included verbatim in many targets. Likewise, a - # LIBDIR variable exists but "lib" remains hard-coded in the install - # targets. - sed -e "s,/usr/local,${EPREFIX}/usr,g" \ - -e "s,/lib,/$(get_libdir),g" \ - -i makefile || die -} - -src_compile() { - if use gmp ; then - emake - emake all-shared - use mpi && emake mplrs - else - emake allmp - fi -} - -src_install() { - emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install-common - if use gmp; then - emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install - use mpi && dobin mplrs - fi - dodoc README -} diff --git a/sci-libs/lrslib/lrslib-073.ebuild b/sci-libs/lrslib/lrslib-073.ebuild deleted file mode 100644 index 5bb3f05ee7c9..000000000000 --- a/sci-libs/lrslib/lrslib-073.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Reverse-search algorithm for vertex enumeration problems" -HOMEPAGE="https://cgm.cs.mcgill.ca/~avis/C/lrs.html" -SRC_URI="https://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/${P}.tar.gz" - -# COPYING is GPL-2, but e.g. lrslib.h says "or ... any later version." -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm ~riscv" -IUSE="gmp mpi" - -RDEPEND=" - gmp? ( - dev-libs/gmp:0= - mpi? ( virtual/mpi ) - )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-cflags-ldflags.patch" -) - -src_prepare() { - default - tc-export CC - - # A LIBDIR variable exists in the makefile but "lib" remains - # hard-coded in the install targets. - sed -e "s,/usr/local,${EPREFIX}/usr,g" \ - -e "s,/lib,/$(get_libdir),g" \ - -i makefile || die -} - -src_compile() { - if use gmp ; then - emake - emake all-shared - use mpi && emake mplrs - else - emake allmp - fi -} - -src_install() { - emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install-common - if use gmp; then - emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install - use mpi && dobin mplrs - fi - dodoc README -} - -src_test() { - bins=() - - if use gmp; then - bins+=( "./lrs" ) - use mpi && bins+=( "mpirun ./mplrs" ) - fi - - for b in "${bins[@]}"; do - for f in cube mp5; do - # There are other ine/ext pairs in the tarball, but only - # these two are at the top level and are obviously H/V - # counterparts. - - echo "Testing example ${f} under ${b}..." - # Convert this H-repr to a V-repr, keeping only the list of - # vertices (which are indented by one space). We also sort - # the output because it's only consistent up to a - # permutation. - ${b} "${f}.ine" \ - | grep '^ ' \ - | sort \ - > "${T}/actual.txt" \ - || die - - # The expected output is contained in the "ext" counterpart, - # which we have to sort for the same reason we sorted the - # actual output. - grep '^ ' \ - "${f}.ext" \ - | sort \ - > "${T}/expected.txt" \ - || die - - cmp "${T}/actual.txt" "${T}/expected.txt" \ - || die "test case ${f} under ${b} failed" - done - done -} diff --git a/sci-libs/lrslib/metadata.xml b/sci-libs/lrslib/metadata.xml deleted file mode 100644 index 151b168de63a..000000000000 --- a/sci-libs/lrslib/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription>lrslib is a self-contained ANSI C implementation as a callable library of the - reverse search algorithm for vertex enumeration/convex hull problems and comes with a choice of - three arithmetic packages. Input file formats are compatible with Komei Fukuda's cdd package. All - computations are done exactly in either multiple precision or fixed integer arithmetic. Output is - not stored in memory, so even problems with very large output sizes can sometimes be - solved.</longdescription> -</pkgmetadata> diff --git a/sci-libs/m4ri/Manifest b/sci-libs/m4ri/Manifest deleted file mode 100644 index 16910dfe6762..000000000000 --- a/sci-libs/m4ri/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST m4ri-20250128.tar.gz 530551 BLAKE2B c740e40f3cbcf3f5a9f269fd6a923e8206942b78582c21fe77831a9978d41215801a50749111b91c70433bf4a5da69d2d05da3d66c06ef7546111b83f8696be1 SHA512 698876c6250a61ec482bb36b56ef35226e1f2e08363511c2aa7de2ff066bc0cf13698c866e44ccef2aae05de44f46dda54a2f6012ebdc26032014d5176bef482 -DIST release-20240729.tar.gz 178851 BLAKE2B 7a8bee1417da56d561add3b2e7d79f005f03ebf825a150a105d14caeb64b75ba4e30658b616a03cedc49d4e5c1b1a70393c6d5c6231bb1ba35abf20aaf93fb2e SHA512 afd74b0f9a1e3f16b313dca9a73fde85bd08aa431f0ad7064f09600434f27d6cabddc117cf99396dc8d83d245f81b7ed4185e305caad56dad79ecfefc11cf817 diff --git a/sci-libs/m4ri/files/m4ri-20240729-pkgconfig.patch b/sci-libs/m4ri/files/m4ri-20240729-pkgconfig.patch deleted file mode 100644 index 469b08e6dadb..000000000000 --- a/sci-libs/m4ri/files/m4ri-20240729-pkgconfig.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 132130a5e74dac9beeb42333a551d76714190f40 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Mon, 20 Jan 2025 23:11:30 -0500 -Subject: [PATCH] m4ri.pc.in: various compiler/linker flag improvements - - 1. libpng moved from Requires to Requires.private. Programs using m4ri - don't need to pass -lpng unless they are statically linking. - - 2. Move $OPENMP_CFLAGS to Libs.private. This belongs in Libs.private - (rather than Libs) for the same reason -lpng does, but it also does - NOT belong in Cflags, because we don't want to accidentally enable - OpenMP at compile time in every project that uses m4ri. ---- - m4ri.pc.in | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/m4ri.pc.in b/m4ri.pc.in -index 0257aa6..ff1b3ce 100644 ---- a/m4ri.pc.in -+++ b/m4ri.pc.in -@@ -6,6 +6,7 @@ includedir=@includedir@ - Name: M4RI - Description: Dense linear algebra over GF(2). - Version: @PACKAGE_VERSION@ --Requires: @M4RI_USE_PNG_PC@ -+Requires.private: @M4RI_USE_PNG_PC@ - Libs: -L${libdir} -lm4ri @RAW_LIBPNG@ @LIBM@ @LIBPNG_LIBADD@ --Cflags: -I${includedir} @SIMD_CFLAGS@ @OPENMP_CFLAGS@ @LIBPNG_CFLAGS@ -+Libs.private: @OPENMP_CFLAGS@ -+Cflags: -I${includedir} @LIBPNG_CFLAGS@ --- -2.45.2 - diff --git a/sci-libs/m4ri/m4ri-20240729.ebuild b/sci-libs/m4ri/m4ri-20240729.ebuild deleted file mode 100644 index 1ef6e6fb8028..000000000000 --- a/sci-libs/m4ri/m4ri-20240729.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic toolchain-funcs - -DESCRIPTION="Method of four russian for inversion (M4RI)" -HOMEPAGE="https://github.com/malb/m4ri" -SRC_URI="https://github.com/malb/${PN}/archive/refs/tags/release-${PV}.tar.gz" - -S="${WORKDIR}/${PN}-release-${PV}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ppc64 ~riscv ~x86 ~x64-macos" -IUSE="debug openmp cpu_flags_x86_sse2 png" - -BDEPEND="virtual/pkgconfig" -DEPEND="png? ( media-libs/libpng:= )" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${P}-pkgconfig.patch" ) - -# NEWS and ChangeLog are empty as of 2025-01-20. -DOCS=( AUTHORS README.md ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # when using openmp and -O0 the testsuite fails - # https://github.com/cschwan/sage-on-gentoo/issues/475 - # Still current as of 20200115 - use openmp && replace-flags -O0 -O1 - - econf \ - $(use_enable debug) \ - $(use_enable openmp) \ - $(use_enable png) \ - $(use_enable cpu_flags_x86_sse2 sse2) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/m4ri/m4ri-20250128-r1.ebuild b/sci-libs/m4ri/m4ri-20250128-r1.ebuild deleted file mode 100644 index a71006d68a4f..000000000000 --- a/sci-libs/m4ri/m4ri-20250128-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Method of four russian for inversion (M4RI)" -HOMEPAGE="https://github.com/malb/m4ri" -SRC_URI="https://github.com/malb/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0/1" # libm4ri.so major version -KEYWORDS="~amd64 ~ppc64 ~riscv ~x86 ~x64-macos" -IUSE="debug openmp cpu_flags_x86_sse2 png" - -BDEPEND="virtual/pkgconfig" -DEPEND="png? ( media-libs/libpng:= )" -RDEPEND="${DEPEND}" - -# NEWS and ChangeLog are empty as of 2025-06-02. -DOCS=( AUTHORS README.md ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # when using openmp and -O0 the testsuite fails - # https://github.com/cschwan/sage-on-gentoo/issues/475 - # Still current as of 20200115 - use openmp && replace-flags -O0 -O1 - - econf \ - $(use_enable debug) \ - $(use_enable openmp) \ - $(use_enable png) \ - $(use_enable cpu_flags_x86_sse2 sse2) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/m4ri/metadata.xml b/sci-libs/m4ri/metadata.xml deleted file mode 100644 index b31730792145..000000000000 --- a/sci-libs/m4ri/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <longdescription> - M4RI is a library for fast arithmetic with dense matrices over - F2. The name M4RI comes from the first implemented algorithm: The - "Method of the Four Russians" inversion algorithm published by - Gregory Bard. This algorithm in turn is named after the 'Method of - the Four Russians' multiplication algorithm which is probably - better referred to as Kronrod's method. - </longdescription> - - <upstream> - <remote-id type="github">malb/m4ri</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/m4rie/Manifest b/sci-libs/m4rie/Manifest deleted file mode 100644 index e89aa5d7365e..000000000000 --- a/sci-libs/m4rie/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST m4rie-20250128.tar.gz 442587 BLAKE2B b320c74dca7129929699ee03d93e722bb360a6497cd578a8890d49e6d056d9a5888dcd6eb09ada4f45f42145f831fdfa37c53fcb3fd3047f5e60a5a921f65811 SHA512 1d41c907ffed5d455f238283c5f2f6038ab92c1c3083e1b988ee0db531a99a626dc0c8dfdb8144b5239c6f5a263863006bc38359fdf6fd8d0ab3025df0474224 -DIST release-20250103.tar.gz 167745 BLAKE2B b4f76e51ef9561ce7fc10c0fc0f50c8ebff1c65c9e4c51d0f120db48a9b4b4417057c2bb919b6a4d1ba23f68179c59e2a5d97063063654723f210a5d10d0e5ce SHA512 8fd80fa265d234101ee56f464a59ce5aaf0f3c600e70ee9495ec490d06b758e0073a084474ad72d79d8ade5ac4421c53ed6b12cbaaaeda96287d94137c8c61b1 diff --git a/sci-libs/m4rie/files/m4rie-20250103-pkgconfig-r1.patch b/sci-libs/m4rie/files/m4rie-20250103-pkgconfig-r1.patch deleted file mode 100644 index 191a90c982fc..000000000000 --- a/sci-libs/m4rie/files/m4rie-20250103-pkgconfig-r1.patch +++ /dev/null @@ -1,40 +0,0 @@ -From e399e88566a0a96ec8d0ee010052a987c5d83e0f Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Mon, 20 Jan 2025 22:55:08 -0500 -Subject: [PATCH] m4rie.pc.in: improve compiler/linker flag handling - - 1. List m4ri in Requires. This will automatically add -lm4ri during - linking. - - 2. Move $OPENMP_CFLAGS to Libs.private. Consumers of m4rie do not - need to enable OpenMP at compile time to avoid problems, only at - link time, and only when statically linking. In particular we want - to _avoid_ enabling OpenMP by "accident" in a larger project that - makes use of m4rie. - - 3. Drop $M4RI_CFLAGS. There's just... no reason to add these here. - In theory if M4RI had some important -D flags, they would go here, - but at the moment it's just adding a bunch of -msse and -fopenmp - stuff that we do not necessarily want to use when compiling - consumers of m4rie. ---- - m4rie.pc.in | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/m4rie.pc.in b/m4rie.pc.in -index e716441..57436ef 100644 ---- a/m4rie.pc.in -+++ b/m4rie.pc.in -@@ -6,5 +6,7 @@ includedir=@includedir@ - Name: M4RIE - Description: Dense linear algebra over GF(2^e). - Version: @PACKAGE_VERSION@ --Libs: -L${libdir} -lm4rie -lm4ri -lm --Cflags: -I${includedir} @M4RI_CFLAGS@ @OPENMP_CFLAGS@ -+Requires: m4ri >= 20240729 -+Libs: -L${libdir} -lm4rie -lm -+Libs.private: @OPENMP_CFLAGS@ -+Cflags: -I${includedir} --- -2.45.2 - diff --git a/sci-libs/m4rie/m4rie-20250103-r1.ebuild b/sci-libs/m4rie/m4rie-20250103-r1.ebuild deleted file mode 100644 index 28d78c3df331..000000000000 --- a/sci-libs/m4rie/m4rie-20250103-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Fast dense matrix arithmetic over GF(2^e) for 2 <= e <= 16" -HOMEPAGE="https://github.com/malb/m4rie" -SRC_URI="https://github.com/malb/${PN}/archive/refs/tags/release-${PV}.tar.gz" - -S="${WORKDIR}/${PN}-release-${PV}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86 ~x64-macos" -IUSE="debug" - -DEPEND=">=sci-libs/m4ri-20240729" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${P}-pkgconfig-r1.patch" ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # m4rie doesn't actually have any openmp code. The configure flag - # stems from a mistaken belief that it needs to be there to use the - # openmp code in m4ri. - econf \ - --disable-openmp \ - $(use_enable debug) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/m4rie/m4rie-20250103-r2.ebuild b/sci-libs/m4rie/m4rie-20250103-r2.ebuild deleted file mode 100644 index 6ef05418b0b2..000000000000 --- a/sci-libs/m4rie/m4rie-20250103-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Fast dense matrix arithmetic over GF(2^e) for 2 <= e <= 16" -HOMEPAGE="https://github.com/malb/m4rie" -SRC_URI="https://github.com/malb/${PN}/archive/refs/tags/release-${PV}.tar.gz" - -S="${WORKDIR}/${PN}-release-${PV}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86 ~x64-macos" -IUSE="debug" - -DEPEND=">sci-libs/m4ri-20240729:=" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${P}-pkgconfig-r1.patch" ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # m4rie doesn't actually have any openmp code. The configure flag - # stems from a mistaken belief that it needs to be there to use the - # openmp code in m4ri. - econf \ - --disable-openmp \ - $(use_enable debug) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/m4rie/m4rie-20250128.ebuild b/sci-libs/m4rie/m4rie-20250128.ebuild deleted file mode 100644 index 97b97608acbf..000000000000 --- a/sci-libs/m4rie/m4rie-20250128.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Fast dense matrix arithmetic over GF(2^e) for 2 <= e <= 16" -HOMEPAGE="https://github.com/malb/m4rie" -SRC_URI="https://github.com/malb/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86 ~x64-macos" -IUSE="debug" - -DEPEND=">=sci-libs/m4ri-20240729-r0:=" -RDEPEND="${DEPEND}" - -src_configure() { - econf $(use_enable debug) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/m4rie/metadata.xml b/sci-libs/m4rie/metadata.xml deleted file mode 100644 index 37eece3977cd..000000000000 --- a/sci-libs/m4rie/metadata.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <longdescription> - M4RIE is a library for fast arithmetic with dense matrices over - GF(2^e) for "e" between 2 and 16, inclusive. The name stems from - the fact that it relies heavily on M4RI. - </longdescription> - - <upstream> - <remote-id type="github">malb/m4rie</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest deleted file mode 100644 index f4b443b9a797..000000000000 --- a/sci-libs/mathgl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mathgl-8.0.3.tar.gz 242167802 BLAKE2B f01d18c905757caa1c9f0678aa64b911e8aa9e653e0c4009c77011b7dd21a25d255712978e926ecaf2ea09a6790f40770ef4b518d4e82fe3c2202116e9816c63 SHA512 825fd0e3ec1d4bf11ca55387031082d2346517f3d2b4697ab68b57fd600bed4cbfba87547fde5a49630bdaa45d8e5f4638ff496154cecbf50a2360604a6f6652 diff --git a/sci-libs/mathgl/files/mathgl-8.0.3-libharu2.4.patch b/sci-libs/mathgl/files/mathgl-8.0.3-libharu2.4.patch deleted file mode 100644 index f63c483a9937..000000000000 --- a/sci-libs/mathgl/files/mathgl-8.0.3-libharu2.4.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 915d03eda5597d7f5597c5eae5635e62a639935a Mon Sep 17 00:00:00 2001 -From: Orion Poplawski <orion@nwra.com> -Date: Fri, 7 Oct 2022 00:53:02 +0000 -Subject: [PATCH] Support for libharu 2.4 - -https://sourceforge.net/p/mathgl/bugs/48/ -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - src/prc.cpp | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/src/prc.cpp b/src/prc.cpp -index 7b4966a..b35fa70 100644 ---- a/src/prc.cpp -+++ b/src/prc.cpp -@@ -36,6 +36,7 @@ - #include <hpdf.h>
- #include <hpdf_u3d.h>
- #include <hpdf_annotation.h>
-+#include <hpdf_version.h>
- #endif // MGL_HAVE_PDF
-
-
-@@ -959,8 +960,12 @@ void MGL_EXPORT mgl_write_prc(HMGL gr, const char *fname,const char* /*descr*/, - HPDF_U3D_SetDefault3DView(u3d, "DefaultView");
-
- // Create annotation
-- annot = HPDF_Page_Create3DAnnot (page, rect, u3d );
--// annot = HPDF_Page_Create3DAnnot (page, rect, 0, 0, u3d, 0 ); for the new version ???
-+ annot
-+#if HPDF_VERSION_ID >= 20400
-+ = HPDF_Page_Create3DAnnot (page, rect, HPDF_FALSE, HPDF_FALSE, u3d, NULL);
-+#else
-+ = HPDF_Page_Create3DAnnot (page, rect, u3d );
-+#endif
-
- // Enable toolbar
- HPDF_Dict action = (HPDF_Dict)HPDF_Dict_GetItem (annot, "3DA", HPDF_OCLASS_DICT);
--- -2.51.0 - diff --git a/sci-libs/mathgl/files/mathgl-8.0.3-sandbox-violation.patch b/sci-libs/mathgl/files/mathgl-8.0.3-sandbox-violation.patch deleted file mode 100644 index 0924b7e2b6e5..000000000000 --- a/sci-libs/mathgl/files/mathgl-8.0.3-sandbox-violation.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 1757c4f09728b8025fb6a04ebd9f45522d590d94 Mon Sep 17 00:00:00 2001 -From: Pacho Ramos <pacho@gentoo.org> -Date: Sat, 23 Nov 2024 14:04:23 +0000 -Subject: [PATCH] Prevent sandbox violation - -disable update-mime-database, update-desktop-database - -Bug: https://bugs.gentoo.org/808713 -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - udav/CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/udav/CMakeLists.txt b/udav/CMakeLists.txt -index 393bca2..c4ef21f 100644 ---- a/udav/CMakeLists.txt -+++ b/udav/CMakeLists.txt -@@ -45,12 +45,12 @@ install( - ) - install(FILES udav.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps/) - install(FILES udav_ru.qm DESTINATION ${CMAKE_INSTALL_PREFIX}/share/udav/) --find_program(findupddb update-desktop-database) -+find_program(findupddb true) - if(findupddb) - install(FILES udav.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/) - install(CODE "execute_process(COMMAND \"${findupddb}\" \"${CMAKE_INSTALL_PREFIX}/share/applications\")") - endif(findupddb) --find_program(findupmdb update-mime-database) -+find_program(findupmdb true) - if(findupmdb) - install(FILES ${CMAKE_BINARY_DIR}/udav/mgl.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/mime/packages/) - install(CODE "execute_process(COMMAND \"${findupmdb}\" \"${CMAKE_INSTALL_PREFIX}/share/mime\")") --- -2.51.0 - diff --git a/sci-libs/mathgl/mathgl-8.0.3.ebuild b/sci-libs/mathgl/mathgl-8.0.3.ebuild deleted file mode 100644 index 079cb92bf8d4..000000000000 --- a/sci-libs/mathgl/mathgl-8.0.3.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.2-gtk3" -inherit cmake wxwidgets xdg - -DESCRIPTION="Math Graphics Library" -HOMEPAGE="https://mathgl.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0/7.5.0" -KEYWORDS="~amd64 ~x86" -IUSE="doc fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl openmp pdf - png qt6 threads wxwidgets zlib" - -LANGS="ru" -for l in ${LANGS}; do - IUSE+=" l10n_${l}" -done -unset l - -REQUIRED_USE=" - mpi? ( hdf5 ) - openmp? ( !threads ) - png? ( zlib ) - pdf? ( png )" - -RDEPEND=" - virtual/opengl - fltk? ( x11-libs/fltk:1= ) - gif? ( media-libs/giflib:= ) - glut? ( media-libs/freeglut ) - gsl? ( >=sci-libs/gsl-2:= ) - hdf? ( sci-libs/hdf ) - hdf5? ( >=sci-libs/hdf5-1.8:=[mpi=] ) - jpeg? ( media-libs/libjpeg-turbo:= ) - octave? ( >=sci-mathematics/octave-3.4.0:= ) - openmp? ( sys-cluster/openmpi ) - pdf? ( media-libs/libharu:= ) - png? ( media-libs/libpng:= ) - qt6? ( - dev-qt/qt5compat:6 - dev-qt/qtbase:6[gui,opengl,widgets] - ) - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}=[X] ) - zlib? ( virtual/zlib:= )" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( - app-text/texi2html - virtual/texi2dvi - ) - octave? ( dev-lang/swig )" - -PATCHES=( - "${FILESDIR}"/${P}-libharu2.4.patch # from Fedora, rebased for 8.0.3 - "${FILESDIR}"/${P}-sandbox-violation.patch # bug 808713 -) - -pkg_setup() { - use mpi && export CC=mpicc CXX=mpicxx -} - -src_configure() { - use wxwidgets && setup-wxwidgets unicode - - local mycmakeargs=( - # No clue about this option: - # option(enable-mgl2 "Use names 'libmgl2-*' instead of 'libmgl-*'") - -DMathGL_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" - -Denable-all-docs=$(usex doc) - -Denable-fltk=$(usex fltk) - -Denable-gif=$(usex gif) - -Denable-glut=$(usex glut) - -Denable-gsl=$(usex gsl) - -Denable-hdf4=$(usex hdf) - -Denable-hdf5=$(usex hdf5) - -Denable-jpeg=$(usex jpeg) - -Denable-mpi=$(usex mpi) - -Denable-octave=$(usex octave) - -Denable-opengl=$(usex opengl) - -Denable-openmp=$(usex openmp) - -Denable-pdf=$(usex pdf) - -Denable-png=$(usex png) - -Denable-qt4=OFF - -Denable-qt5=OFF - -Denable-qt6=$(usex qt6) - -Denable-qt6asqt=$(usex qt6) - -Denable-json-sample=OFF # claims WebEngine, but just does not build w/o WebKit - -Denable-pthread=$(usex threads) - -Denable-pthr-widget=$(usex threads) - -Denable-python=OFF - -Denable-wx=$(usex wxwidgets) - -Denable-zlib=$(usex zlib) - ) - use hdf && mycmakeargs+=( -DHDF4_INCLUDE_DIR="${EPREFIX}/usr/include" ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc README* *.txt AUTHORS - rm "${ED}"/usr/$(get_libdir)/*.a || die - if use qt6 ; then - local lang - insinto /usr/share/udav - for lang in ${LANGS} ; do - use l10n_${lang} && doins udav/udav_${lang}.qm - done - fi - if use octave ; then - insinto /usr/share/${PN}/octave - doins "${CMAKE_BUILD_DIR}"/lang/${PN}.tar.gz - fi -} - -pkg_postinst() { - if use octave; then - octave <<-EOF - pkg install ${EROOT}/usr/share/${PN}/octave/${PN}.tar.gz - EOF - fi - xdg_pkg_postinst -} - -pkg_prerm() { - if use octave; then - octave <<-EOF - pkg uninstall ${PN} - EOF - fi -} diff --git a/sci-libs/mathgl/metadata.xml b/sci-libs/mathgl/metadata.xml deleted file mode 100644 index 57914f65fe06..000000000000 --- a/sci-libs/mathgl/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - MathGL is a library for: - * making high-quality scientific graphics - * the fast data plotting and data processing of large data arrays - * working in window and console modes and for easy embedding into other programs - </longdescription> - <use> - <flag name="hdf">Add support for the Hierarchical Data Format v.4 <pkg>sci-libs/hdf</pkg></flag> - <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> - </use> - <upstream> - <remote-id type="sourceforge">mathgl</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest deleted file mode 100644 index 6015323ff792..000000000000 --- a/sci-libs/matio/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST matio-1.5.23.tar.gz 10115808 BLAKE2B a461cd8a0057db2bf1bc0249f4e9c3a0b901bc19fc274c7b9c38d3376b86d556bcfd997a32d5eb7d03b911f7a265c35ee337d98daccea5549d4e16d16f67932b SHA512 e125278dcb25695affb7c576d0e2a86c0eff4225aa866b81536c9e4d7b2aea2c554f5389e96d534a8b559f5554b6cbecff4b44fe8915173cd64b2da6d1dc2629 -DIST matio-1.5.28.tar.gz 10128014 BLAKE2B 40bfa7086328daa27624f41474a28b70182cff0b8ed0afda3f610793b09acbe94c43ab90ee173890a8604165004cae9c694e0e6d84045880f40ae6d367275f47 SHA512 d80490b88054a291c577087776fd7d30be7c44ccb81ff8f702f53d48e0995e84344023e339430ca2b12bd797e253e23343d89b99e92c0f3baf00b1f55bda6f53 diff --git a/sci-libs/matio/matio-1.5.23.ebuild b/sci-libs/matio/matio-1.5.23.ebuild deleted file mode 100644 index eec0803dabd6..000000000000 --- a/sci-libs/matio/matio-1.5.23.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit libtool multiprocessing - -DESCRIPTION="Library for reading and writing matlab files" -HOMEPAGE="https://sourceforge.net/projects/matio/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/11" # subslot = soname version -KEYWORDS="amd64 ~arm64 ~x86" -IUSE="doc examples hdf5 sparse" - -RDEPEND=" - virtual/zlib:= - hdf5? ( sci-libs/hdf5:= )" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -src_prepare() { - default - elibtoolize -} - -src_configure() { - econf \ - $(use_enable hdf5 mat73) \ - $(use_enable sparse extended-sparse) -} - -src_compile() { - default - use doc && emake -C documentation pdf -} - -src_test() { - emake -Onone check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" -} - -src_install() { - default - use doc && dodoc documentation/matio_user_guide.pdf - - if use examples; then - docinto examples - dodoc test/test*.c - insinto /usr/share/${PN} - doins share/test* - fi - - # no static archives - find "${ED}" -name "*.la" -delete || die -} diff --git a/sci-libs/matio/matio-1.5.28.ebuild b/sci-libs/matio/matio-1.5.28.ebuild deleted file mode 100644 index 8d9051ddfbe2..000000000000 --- a/sci-libs/matio/matio-1.5.28.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit libtool multiprocessing - -DESCRIPTION="Library for reading and writing matlab files" -HOMEPAGE="https://sourceforge.net/projects/matio/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/13" # subslot = soname version -KEYWORDS="amd64 ~arm64 ~x86" -IUSE="doc examples hdf5 sparse" - -RDEPEND=" - virtual/zlib:= - hdf5? ( sci-libs/hdf5:= )" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -src_prepare() { - default - elibtoolize -} - -src_configure() { - econf \ - $(use_enable hdf5 mat73) \ - $(use_enable sparse extended-sparse) -} - -src_compile() { - default - use doc && emake -C documentation pdf -} - -src_test() { - emake -Onone check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" -} - -src_install() { - default - use doc && dodoc documentation/matio_user_guide.pdf - - if use examples; then - docinto examples - dodoc test/test*.c - insinto /usr/share/${PN} - doins share/test* - fi - - # no static archives - find "${ED}" -name "*.la" -delete || die -} diff --git a/sci-libs/matio/metadata.xml b/sci-libs/matio/metadata.xml deleted file mode 100644 index 486761421827..000000000000 --- a/sci-libs/matio/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - matio is an ISO C library (with a limited Fortran 90 interface) for - reading and writing Matlab MAT files. - </longdescription> - <use> - <flag name="sparse">Extend formats for sparse matrix (not matlab)</flag> - </use> - <upstream> - <remote-id type="sourceforge">matio</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/mc/Manifest b/sci-libs/mc/Manifest deleted file mode 100644 index 3ad551acefcb..000000000000 --- a/sci-libs/mc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mc-1.5.tar.gz 18140539 BLAKE2B a58277b6755a43c0f9a9d67789c2fe28858580babfd4251d5d9223fffec43ead47d3dab9cda3c739309b9f18bc7bf558d7974a5189194a4bc92f72e857d81f1a SHA512 6db79c677b1a326ea50c78a07b8cc088eb5e23e9d8821a3a3802017e9e8d4011307ba024d3354dc24cb31d822da2023a150787a137b7806f6344b0834e7f194b diff --git a/sci-libs/mc/files/1.4-doc.patch b/sci-libs/mc/files/1.4-doc.patch deleted file mode 100644 index f57777b8a419..000000000000 --- a/sci-libs/mc/files/1.4-doc.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am -index da96a19..afdf06d 100644 ---- a/doc/doxygen/Makefile.am -+++ b/doc/doxygen/Makefile.am -@@ -29,13 +29,11 @@ - ## Author: Michael Holst - ## ########################################################################### - --docdir = @prefix@/doc/mc -- - doc_DATA = mc_doc - - mc_doc: - $(doxygen_path) $(top_srcdir)/doc/doxygen/mc.dox - - install-docDATA: -- mkdir -p $(docdir) -- cp -r ../api $(docdir)/ -+ mkdir -p $(DESTDIR)/@docdir@ -+ cp -r ../api $(DESTDIR)/@docdir@/ diff --git a/sci-libs/mc/files/1.4-multilib.patch b/sci-libs/mc/files/1.4-multilib.patch deleted file mode 100644 index 427cb94f2c8b..000000000000 --- a/sci-libs/mc/files/1.4-multilib.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am -index d5b8d47..132824b 100644 ---- a/src/aaa_lib/Makefile.am -+++ b/src/aaa_lib/Makefile.am -@@ -47,10 +47,9 @@ NAM_LIBS = ../nam/libnam.la - DYN_LIBS = ../dyn/libdyn.la - PDE_LIBS = ../pde/libpde.la - --libdir = ${prefix}/lib - lib_LTLIBRARIES = libmc.la - - libmc_la_SOURCES = --libmc_la_LIBADD = ${BASE_LIBS} ${BAM_LIBS} ${WHB_LIBS} ${APRX_LIBS} ${GEM_LIBS} ${MCSH_LIBS} ${NAM_LIBS} ${DYN_LIBS} ${PDE_LIBS} -+libmc_la_LIBADD = ${BASE_LIBS} ${BAM_LIBS} ${WHB_LIBS} ${APRX_LIBS} ${GEM_LIBS} ${MCSH_LIBS} ${NAM_LIBS} ${DYN_LIBS} ${PDE_LIBS} -lmaloc -lpunc -lumfpack -lamd -lsuperlu - libmc_la_LDFLAGS = -version-info ${FETK_VERSION} - diff --git a/sci-libs/mc/files/1.4-overflow.patch b/sci-libs/mc/files/1.4-overflow.patch deleted file mode 100644 index 78610b0f2210..000000000000 --- a/sci-libs/mc/files/1.4-overflow.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/gem/gemdisp.c b/src/gem/gemdisp.c -index 01f277f..96d5851 100644 ---- a/src/gem/gemdisp.c -+++ b/src/gem/gemdisp.c -@@ -1631,7 +1631,7 @@ VPUBLIC void Gem_writeDX(Gem *thee, Vio *sock, - VPUBLIC void Gem_writeTEC(Gem *thee, Vio *sock, - int fldKey, double *defX[MAXV]) - { -- char str1[10], str2[10]; -+ char str1[16], str2[16]; - int i, j, vec, dim, dimII, dimVV, numVV, numSS; - VV *vx; - SS *sm; diff --git a/sci-libs/mc/files/1.4-superlu.patch b/sci-libs/mc/files/1.4-superlu.patch deleted file mode 100644 index cc3ce0a24740..000000000000 --- a/sci-libs/mc/files/1.4-superlu.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/src/bam/zslu.c b/src/bam/zslu.c -index 973b911..d82c7fd 100644 ---- a/src/bam/zslu.c -+++ b/src/bam/zslu.c -@@ -401,6 +401,7 @@ VPUBLIC int Zslu_factor(Zslu *thee) - SCformat *Lstore; - SuperMatrix *BB; - superlu_options_t *oopts; -+ SuperLUStat_t stat; - - VASSERT( thee != VNULL ); - -@@ -444,7 +445,7 @@ VPUBLIC int Zslu_factor(Zslu *thee) - Lstore->nnz + Ustore->nnz - thee->n); - printf("L\\U MB %.3f\ttotal MB needed %.3f\texpansions %d\n", - mem_usage.for_lu/1e6, mem_usage.total_needed/1e6, -- mem_usage.expansions); -+ stat.expansions); - fflush(stdout); - - } else if ( info > 0 && thee->lwork == -1 ) { diff --git a/sci-libs/mc/files/mc-1.5-missing-decl.patch b/sci-libs/mc/files/mc-1.5-missing-decl.patch deleted file mode 100644 index 8c4b72af6e7a..000000000000 --- a/sci-libs/mc/files/mc-1.5-missing-decl.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix missing function declaration, so package could build with modern compilers -https://bugs.gentoo.org/886457 ---- a/src/aprx/estim.c -+++ b/src/aprx/estim.c -@@ -41,6 +41,8 @@ - Bvec *u, Bvec *ud, Bvec *r); - VEXTERNC void Aprx_estFaceBump(Aprx *thee, int color, - Bvec *u, Bvec *ud, Bvec *r); -+VPUBLIC int Aprx_markRefineDorfler (Aprx *thee, double percentToRefine, -+ int color); - - /* - * *************************************************************************** diff --git a/sci-libs/mc/files/mc-1.5-unbundle.patch b/sci-libs/mc/files/mc-1.5-unbundle.patch deleted file mode 100644 index 5a9a97241980..000000000000 --- a/sci-libs/mc/files/mc-1.5-unbundle.patch +++ /dev/null @@ -1,58 +0,0 @@ - configure.ac | 38 ++++++-------------------------------- - 1 files changed, 6 insertions(+), 32 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 6198ac0..4b1b169 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -191,44 +191,18 @@ dnl # ----------------------- - dnl # HANDLE THE BLAS LIBRARY - dnl # ----------------------- - blas_lib=""; --AC_MSG_CHECKING([whether your environment defines FETK_BLAS_LIBRARY]) --if test -n "${FETK_BLAS_LIBRARY}"; then -- AC_MSG_RESULT([yes]) -- blas_lib_path="-L${FETK_BLAS_LIBRARY} "; --else -- AC_MSG_RESULT([no]) -- blas_lib_path="-L${FETK_LIBRARY} "; --fi --LDFLAGS_SAVE=${LDFLAGS}; --LDFLAGS=${blas_lib_path}; --blas_use=""; --AC_CHECK_LIB(blas,dscal_, -- [blas_use="yes";blas_lib="${blas_lib_path}-lblas";AC_DEFINE(HAVE_BLAS)], -- [blas_use="";blas_lib=""], -- [${blas_lib_path}-lblas ${vf2c_lib}]) --LDFLAGS=${LDFLAGS_SAVE}; -+blas_lib_path=""; -+PKG_CHECK_MODULES([BLAS], [blas]) -+blas_lib="${BLAS_LIBS}"; - AC_SUBST(blas_lib) - - dnl # ------------------------- - dnl # HANDLE THE LAPACK LIBRARY - dnl # ------------------------- - lapack_lib=""; --AC_MSG_CHECKING([whether your environment defines FETK_LAPACK_LIBRARY]) --if test -n "${FETK_LAPACK_LIBRARY}"; then -- AC_MSG_RESULT([yes]) -- lapack_lib_path="-L${FETK_LAPACK_LIBRARY} "; --else -- AC_MSG_RESULT([no]) -- lapack_lib_path="-L${FETK_LIBRARY} "; --fi --LDFLAGS_SAVE=${LDFLAGS}; --LDFLAGS=${lapack_lib_path}; --lapack_use=""; --AC_CHECK_LIB(lapack,dsysv_, -- [lapack_use="yes";lapack_lib="${lapack_lib_path}-llapack";AC_DEFINE(HAVE_LAPACK)], -- [lapack_use="";lapack_lib=""], -- [${lapack_lib_path}-llapack ${blas_lib} ${vf2c_lib}]) --LDFLAGS=${LDFLAGS_SAVE}; -+lapack_lib_path=""; -+PKG_CHECK_MODULES([LAPACK], [lapack]) -+lapack_lib="${LAPACK_LIBS}" - AC_SUBST(lapack_lib) - - dnl # -------------------------- diff --git a/sci-libs/mc/mc-1.5-r1.ebuild b/sci-libs/mc/mc-1.5-r1.ebuild deleted file mode 100644 index a0f6862d133a..000000000000 --- a/sci-libs/mc/mc-1.5-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools fortran-2 - -DESCRIPTION="2D/3D AFEM code for nonlinear geometric PDE" -HOMEPAGE="http://fetk.org/codes/mc/index.html" -SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" -S="${WORKDIR}"/${PN} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="debug doc" - -RDEPEND=" - dev-libs/maloc - media-libs/sg - sci-libs/amd - sci-libs/gamer - sci-libs/punc - <sci-libs/superlu-5 - sci-libs/umfpack - virtual/blas - virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( - media-gfx/graphviz - app-text/doxygen - )" - -PATCHES=( - "${FILESDIR}"/1.4-superlu.patch - "${FILESDIR}"/1.4-overflow.patch - "${FILESDIR}"/1.4-multilib.patch - "${FILESDIR}"/1.4-doc.patch - "${FILESDIR}"/${P}-unbundle.patch - "${FILESDIR}"/${P}-missing-decl.patch -) - -src_prepare() { - sed \ - -e 's:AMD_order:amd_order:g' \ - -e 's:UMFPACK_numeric:umfpack_di_numeric:g' \ - -e 's:buildg_:matvec_:g' \ - -i configure.ac || die - - default - eautoreconf -} - -src_configure() { - export FETK_INCLUDE="${ESYSROOT}"/usr/include - export FETK_LIBRARY="${ESYSROOT}"/usr/$(get_libdir) - - export FETK_MPI_LIBRARY="${FETK_LIBRARY}" - export FETK_VF2C_LIBRARY="${FETK_LIBRARY}" - export FETK_BLAS_LIBRARY="${FETK_LIBRARY}" - export FETK_LAPACK_LIBRARY="${FETK_LIBRARY}" - export FETK_AMD_LIBRARY="${FETK_LIBRARY}" - export FETK_UMFPACK_LIBRARY="${FETK_LIBRARY}" - export FETK_SUPERLU_LIBRARY="${FETK_LIBRARY}" - export FETK_ARPACK_LIBRARY="${FETK_LIBRARY}" - export FETK_CGCODE_LIBRARY="${FETK_LIBRARY}" - export FETK_PMG_LIBRARY="${FETK_LIBRARY}" - - econf \ - --disable-static \ - --disable-triplet \ - --with-doxygen=$(usex doc "${BROOT}"/usr/bin/doxygen '') \ - --with-dot=$(usex doc "${BROOT}"/usr/bin/dot '') \ - $(use_enable debug vdebug) -} - -src_install() { - default - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/mc/metadata.xml b/sci-libs/mc/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/sci-libs/mc/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/med/Manifest b/sci-libs/med/Manifest deleted file mode 100644 index 6920992c4cf5..000000000000 --- a/sci-libs/med/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST med-4.1.1.tar.gz 50506725 BLAKE2B fb9bc3239c18c53fa42c5dd1101559746e8d38db2a3cb5fb47d1bf0cb578facc4ab95409af8524f5c20251848842cc1a331f6a816ce0754e9a6c95f507174ed1 SHA512 8917e7ecfe30e1259b0927c8e1c3d6efd86ed2386813f6d90217bd95589199478e587f0815031ab65cacf7901a30b77a6307414f9073caffe6e7f013e710d768 -DIST med-5.0.0.gh.tar.gz 47357864 BLAKE2B c09aef4a7b2f503eda8d06dcae33ba5a7483a1c4fde6d25d3c17595f30d037c9b704ee211d298898fa62874e597373891dac482d31b6ca04649c0973e608c7bd SHA512 6ebb06bf403dbe32512a42179a42de3da6f264034fcc143fcb2b780c5d564527656d3ef28ebf25d7bde93a9d2a44df0d10a09d60e6f4720ba9d25719a4e30d37 diff --git a/sci-libs/med/files/med-4.1.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch b/sci-libs/med/files/med-4.1.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch deleted file mode 100644 index e066385def8f..000000000000 --- a/sci-libs/med/files/med-4.1.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch +++ /dev/null @@ -1,26 +0,0 @@ -From ccc372d4fa95ea2e083505ec5c536a48c49dd151 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Wed, 25 Nov 2020 21:08:46 +0100 -Subject: [PATCH] [Gentoo-specific] Adjust install path for build dir - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - tools/mdump/CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tools/mdump/CMakeLists.txt b/tools/mdump/CMakeLists.txt -index 991b5af..dd2018a 100644 ---- a/tools/mdump/CMakeLists.txt -+++ b/tools/mdump/CMakeLists.txt -@@ -44,6 +44,6 @@ CONFIGURE_FILE(xmdump3.in ${PROJECT_BINARY_DIR}/xmdump3 @ONLY) - CONFIGURE_FILE(xmdump4.in ${PROJECT_BINARY_DIR}/xmdump4 @ONLY) - - INSTALL(PROGRAMS ${PROJECT_BINARY_DIR}/xmdump2 ${PROJECT_BINARY_DIR}/xmdump3 ${PROJECT_BINARY_DIR}/xmdump4 DESTINATION bin) --INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink mdump4 mdump WORKING_DIRECTORY ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)") --INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink xmdump4 xmdump WORKING_DIRECTORY ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)") -+INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink mdump4 mdump WORKING_DIRECTORY \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/bin\")") -+INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink xmdump4 xmdump WORKING_DIRECTORY \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/bin\")") - --- -2.29.2 - diff --git a/sci-libs/med/files/med-4.1.0-0002-Re-add-option-for-building-Fortran-library.patch b/sci-libs/med/files/med-4.1.0-0002-Re-add-option-for-building-Fortran-library.patch deleted file mode 100644 index b5c3364b799e..000000000000 --- a/sci-libs/med/files/med-4.1.0-0002-Re-add-option-for-building-Fortran-library.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 3c8eb1ca6be13f185f20ee726f91f31d717947d2 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Sat, 28 Nov 2020 21:52:29 +0100 -Subject: [PATCH] Re-add option for building Fortran library - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - CMakeLists.txt | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 2262275..7cb014c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -6,12 +6,15 @@ PROJECT(MEDFile C CXX) - ## See http://www.cmake.org/Bug/view.php?id=10227 - #ENABLE_LANGUAGE(Fortran OPTIONAL) - --INCLUDE(CheckLanguage) --CHECK_LANGUAGE(Fortran) --IF(CMAKE_Fortran_COMPILER) -- ENABLE_LANGUAGE(Fortran) --ELSE() -- MESSAGE(STATUS "No Fortran support") -+OPTION (MEDFILE_BUILD_FORTRAN "Build MED-file fortran library" ON) -+IF (MEDFILE_BUILD_FORTRAN) -+ INCLUDE(CheckLanguage) -+ CHECK_LANGUAGE(Fortran) -+ IF(CMAKE_Fortran_COMPILER) -+ ENABLE_LANGUAGE(Fortran) -+ ELSE() -+ MESSAGE(STATUS "No Fortran support") -+ ENDIF() - ENDIF() - - ## Version number --- -2.29.2 - diff --git a/sci-libs/med/files/med-4.1.0-0003-build-against-hdf5-1.14.patch b/sci-libs/med/files/med-4.1.0-0003-build-against-hdf5-1.14.patch deleted file mode 100644 index 8a95866b7b0a..000000000000 --- a/sci-libs/med/files/med-4.1.0-0003-build-against-hdf5-1.14.patch +++ /dev/null @@ -1,117 +0,0 @@ -From 5c9c1ce9911290283d39e16b1ed4c1d4ea5a5678 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Tue, 24 Aug 2021 08:32:13 +0200 -Subject: [PATCH] build against hdf5-1.12 - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- - config/cmake_files/medMacros.cmake | 4 ++-- - src/ci/MEDfileCompatibility.c | 2 +- - src/hdfi/_MEDfileCreate.c | 2 +- - src/hdfi/_MEDfileOpen.c | 2 +- - src/hdfi/_MEDmemFileOpen.c | 2 +- - src/hdfi/_MEDparFileCreate.c | 2 +- - src/hdfi/_MEDparFileOpen.c | 2 +- - 7 files changed, 8 insertions(+), 8 deletions(-) - -diff --git a/config/cmake_files/medMacros.cmake b/config/cmake_files/medMacros.cmake -index 957c59b..d73c7af 100644 ---- a/config/cmake_files/medMacros.cmake -+++ b/config/cmake_files/medMacros.cmake -@@ -447,13 +447,13 @@ MACRO(MED_FIND_HDF5) - ## - ## Requires 1.10.x version - ## -- IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 10 OR NOT HDF_VERSION_RELEASE_REF GREATER 1) -+ IF(HDF5_VERSION VERSION_LESS 1.10.2) - MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only versions >= 1.10.2 are supported.") - ENDIF() - ## - ## - -- ADD_DEFINITIONS(-DH5_USE_16_API) -+ ADD_DEFINITIONS(-DH5_USE_18_API -DH5_USE_16_API) - IF(WIN32 AND MEDFILE_BUILD_SHARED_LIBS) - ADD_DEFINITIONS(-D_HDF5USEDLL_ -DH5_BUILT_AS_DYNAMIC_LIB=1) - ENDIF() -diff --git a/src/ci/MEDfileCompatibility.c b/src/ci/MEDfileCompatibility.c -index 1d6cabf..43b5b50 100644 ---- a/src/ci/MEDfileCompatibility.c -+++ b/src/ci/MEDfileCompatibility.c -@@ -113,7 +113,7 @@ MEDfileCompatibility(const char* const filename, - #if MED_NUM_MAJEUR != 4 - #error "Don't forget to update the test version here when you change the major version of the library !" - #endif --#if H5_VERS_MINOR > 10 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to check the compatibility version of the library, depending on the internal hdf model choice !" - #error "Cf. _MEDfileCreate ..." - #endif -diff --git a/src/hdfi/_MEDfileCreate.c b/src/hdfi/_MEDfileCreate.c -index 4bc9551..b670c92 100644 ---- a/src/hdfi/_MEDfileCreate.c -+++ b/src/hdfi/_MEDfileCreate.c -@@ -159,7 +159,7 @@ med_idt _MEDfileCreate(const char * const filename, const med_access_mode access - * En HDF5-1.10.0p1 cela n'a aucun effet ! - * Un test autoconf permet de fixer un intervalle de version HDF à MED. - */ --#if H5_VERS_MINOR > 10 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - -diff --git a/src/hdfi/_MEDfileOpen.c b/src/hdfi/_MEDfileOpen.c -index 8ace00e..ebd875b 100644 ---- a/src/hdfi/_MEDfileOpen.c -+++ b/src/hdfi/_MEDfileOpen.c -@@ -72,7 +72,7 @@ med_idt _MEDfileOpen(const char * const filename,const med_access_mode accessmod - - • The creation order tracking property, H5P_CRT_ORDER_TRACKED, has been set in the group creation property list (see H5Pset_link_creation_order). - */ --#if H5_VERS_MINOR > 10 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - /* L'avantage de bloquer le modèle interne HDF5 -diff --git a/src/hdfi/_MEDmemFileOpen.c b/src/hdfi/_MEDmemFileOpen.c -index ae92ba7..4a929ff 100644 ---- a/src/hdfi/_MEDmemFileOpen.c -+++ b/src/hdfi/_MEDmemFileOpen.c -@@ -434,7 +434,7 @@ med_idt _MEDmemFileOpen(const char * const filename, med_memfile * const memfile - goto ERROR; - } - --#if H5_VERS_MINOR > 10 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18) ) { -diff --git a/src/hdfi/_MEDparFileCreate.c b/src/hdfi/_MEDparFileCreate.c -index f0b77be..b7d1b78 100644 ---- a/src/hdfi/_MEDparFileCreate.c -+++ b/src/hdfi/_MEDparFileCreate.c -@@ -64,7 +64,7 @@ med_idt _MEDparFileCreate(const char * const filename, const med_access_mode acc - * En HDF5-1.10.0p1 cela n'a aucun effet ! - * Un test autoconf permet de fixer un intervalle de version HDF à MED. - */ --#if H5_VERS_MINOR > 10 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - -diff --git a/src/hdfi/_MEDparFileOpen.c b/src/hdfi/_MEDparFileOpen.c -index 0a9700d..4933692 100644 ---- a/src/hdfi/_MEDparFileOpen.c -+++ b/src/hdfi/_MEDparFileOpen.c -@@ -55,7 +55,7 @@ med_idt _MEDparFileOpen(const char * const filename,const med_access_mode access - MED_ERR_(_fid,MED_ERR_INIT,MED_ERR_PROPERTY,MED_ERR_PARALLEL_MSG); - goto ERROR; - } --#if H5_VERS_MINOR > 10 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18 ) ) { --- -2.32.0 - diff --git a/sci-libs/med/files/med-5.0.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch b/sci-libs/med/files/med-5.0.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch deleted file mode 100644 index 6e46dde1e48d..000000000000 --- a/sci-libs/med/files/med-5.0.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tools/mdump/CMakeLists.txt b/tools/mdump/CMakeLists.txt ---- a/tools/mdump/CMakeLists.txt -+++ b/tools/mdump/CMakeLists.txt -@@ -48,6 +48,6 @@ - INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E copy mdump4.exe mdump.exe WORKING_DIRECTORY ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)") - INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E copy xmdump4 xmdump WORKING_DIRECTORY ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)") - ELSE(WIN32) -- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink mdump4 mdump WORKING_DIRECTORY ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)") -- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink xmdump4 xmdump WORKING_DIRECTORY ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)") -+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink mdump4 mdump WORKING_DIRECTORY \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/bin\")") -+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink xmdump4 xmdump WORKING_DIRECTORY \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/bin\")") - ENDIF(WIN32) - diff --git a/sci-libs/med/files/med-5.0.0-hdf5-1.14.patch b/sci-libs/med/files/med-5.0.0-hdf5-1.14.patch deleted file mode 100644 index 29902063e3d4..000000000000 --- a/sci-libs/med/files/med-5.0.0-hdf5-1.14.patch +++ /dev/null @@ -1,117 +0,0 @@ -diff -rupN --no-dereference med-5.0.0/config/cmake_files/medMacros.cmake med-5.0.0-new/config/cmake_files/medMacros.cmake ---- med-5.0.0/config/cmake_files/medMacros.cmake 2025-01-24 00:28:04.460898497 +0100 -+++ med-5.0.0-new/config/cmake_files/medMacros.cmake 2025-01-24 00:28:04.857640862 +0100 -@@ -447,7 +447,7 @@ MACRO(MED_FIND_HDF5) - ## - ## Requires 1.12.x version - ## -- IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 12 OR NOT HDF_VERSION_RELEASE_REF GREATER 0) -+ IF (HDF5_VERSION VERSION_LESS 1.12.1) - MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only versions >= 1.12.1 are supported.") - ENDIF() - ## -diff -rupN --no-dereference med-5.0.0/src/ci/MEDfileCompatibility.c med-5.0.0-new/src/ci/MEDfileCompatibility.c ---- med-5.0.0/src/ci/MEDfileCompatibility.c 2023-06-05 14:14:44.000000000 +0200 -+++ med-5.0.0-new/src/ci/MEDfileCompatibility.c 2025-01-24 00:28:04.858068408 +0100 -@@ -116,7 +116,7 @@ MEDfileCompatibility(const char* const f - #if MED_NUM_MAJEUR != 5 - #error "Don't forget to update the test version here when you change the major version of the library !" - #endif --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to check the compatibility version of the library, depending on the internal hdf model choice !" - #error "Cf. _MEDfileCreate ..." - #endif -diff -rupN --no-dereference med-5.0.0/src/hdfi/_MEDfileCreate.c med-5.0.0-new/src/hdfi/_MEDfileCreate.c ---- med-5.0.0/src/hdfi/_MEDfileCreate.c 2023-06-05 14:14:45.000000000 +0200 -+++ med-5.0.0-new/src/hdfi/_MEDfileCreate.c 2025-01-24 00:28:04.858334666 +0100 -@@ -189,7 +189,7 @@ med_idt _MEDfileCreate(const char * cons - * Cette ligne est censée obliger HDF à ne pas utiliser un modèle interne différent de 1.10.z - * Un test autoconf permet de fixer un intervalle de version HDF à MED. - */ --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - -diff -rupN --no-dereference med-5.0.0/src/hdfi/_MEDfileOpen.c med-5.0.0-new/src/hdfi/_MEDfileOpen.c ---- med-5.0.0/src/hdfi/_MEDfileOpen.c 2023-06-05 14:14:45.000000000 +0200 -+++ med-5.0.0-new/src/hdfi/_MEDfileOpen.c 2025-01-24 00:28:04.858574380 +0100 -@@ -113,7 +113,7 @@ med_idt _MEDfileOpen(const char * const - has been set in the group creation property list (see H5Pset_link_creation_order). - */ - --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - /* L'avantage de bloquer le modèle interne HDF5 -diff -rupN --no-dereference med-5.0.0/src/hdfi/_MEDfileOpenForImport.c med-5.0.0-new/src/hdfi/_MEDfileOpenForImport.c ---- med-5.0.0/src/hdfi/_MEDfileOpenForImport.c 2023-06-05 14:14:45.000000000 +0200 -+++ med-5.0.0-new/src/hdfi/_MEDfileOpenForImport.c 2025-01-24 00:28:04.858834390 +0100 -@@ -53,7 +53,7 @@ med_idt _MEDfileOpenForImport(const cha - } - - --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - /* L'avantage de bloquer le modèle interne HDF5 -diff -rupN --no-dereference med-5.0.0/src/hdfi/_MEDmemFileOpen.c med-5.0.0-new/src/hdfi/_MEDmemFileOpen.c ---- med-5.0.0/src/hdfi/_MEDmemFileOpen.c 2023-06-05 14:14:45.000000000 +0200 -+++ med-5.0.0-new/src/hdfi/_MEDmemFileOpen.c 2025-01-24 00:28:04.859128966 +0100 -@@ -439,7 +439,7 @@ med_idt _MEDmemFileOpen(const char * con - goto ERROR; - } - --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_V112, H5F_LIBVER_V112 ) ) { -@@ -506,7 +506,7 @@ med_idt _MEDmemFileOpen(const char * con - goto ERROR; - } - _fversionMM = 100*_fmajor+10*_fminor; --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - if ( _fversionMM < 500 ) { /*100*MED_NUM_MAJEUR+10*MED_NUM_MINEUR*/ -diff -rupN --no-dereference med-5.0.0/src/hdfi/_MEDparFileCreate.c med-5.0.0-new/src/hdfi/_MEDparFileCreate.c ---- med-5.0.0/src/hdfi/_MEDparFileCreate.c 2023-06-05 14:14:45.000000000 +0200 -+++ med-5.0.0-new/src/hdfi/_MEDparFileCreate.c 2025-01-24 00:28:04.859422685 +0100 -@@ -64,7 +64,7 @@ med_idt _MEDparFileCreate(const char * c - * En HDF5-1.10.0p1 cela n'a aucun effet ! - * Un test autoconf permet de fixer un intervalle de version HDF à MED. - */ --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - -diff -rupN --no-dereference med-5.0.0/src/hdfi/_MEDparFileOpen.c med-5.0.0-new/src/hdfi/_MEDparFileOpen.c ---- med-5.0.0/src/hdfi/_MEDparFileOpen.c 2023-06-05 14:14:45.000000000 +0200 -+++ med-5.0.0-new/src/hdfi/_MEDparFileOpen.c 2025-01-24 00:28:04.859632596 +0100 -@@ -86,7 +86,7 @@ med_idt _MEDparFileOpen(const char * con - } - _fversionMM = 100*_fmajor+10*_fminor; - --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - if ( _fversionMM < 500 ) { /*100*MED_NUM_MAJEUR+10*MED_NUM_MINEUR*/ -diff -rupN --no-dereference med-5.0.0/src/misc/MEDversionedApi3C.c med-5.0.0-new/src/misc/MEDversionedApi3C.c ---- med-5.0.0/src/misc/MEDversionedApi3C.c 2023-06-05 14:14:45.000000000 +0200 -+++ med-5.0.0-new/src/misc/MEDversionedApi3C.c 2025-01-24 00:28:04.859890990 +0100 -@@ -114,7 +114,7 @@ MedFuncType _MEDversionedApi3( const cha - /* (_fversionMM <= (100*MED_NUM_MAJEUR+10*MED_NUM_MINEUR) ) */ - /* ) { */ - --#if H5_VERS_MINOR > 12 -+#if H5_VERS_MINOR > 14 - #error "Don't forget to change the compatibility version of the library !" - #endif - diff --git a/sci-libs/med/med-4.1.1-r4.ebuild b/sci-libs/med/med-4.1.1-r4.ebuild deleted file mode 100644 index 3d73d1fa6ba1..000000000000 --- a/sci-libs/med/med-4.1.1-r4.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit cmake flag-o-matic fortran-2 optfeature - -DESCRIPTION="Library to store and exchange meshed data or computation results" -HOMEPAGE="https://www.salome-platform.org/user-section/about/med" -SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz" -S="${WORKDIR}/${P}_SRC" -LICENSE="LGPL-3" - -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc fortran mpi test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !sci-libs/libmed - >=sci-libs/hdf5-1.10.2:=[fortran?,mpi(+)?] - mpi? ( virtual/mpi[fortran?] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-4.1.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch" - "${FILESDIR}/${PN}-4.1.0-0002-Re-add-option-for-building-Fortran-library.patch" - "${FILESDIR}/${PN}-4.1.0-0003-build-against-hdf5-1.14.patch" -) - -DOCS=( AUTHORS ChangeLog NEWS README README.CMAKE TODO ) - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - sed -e 's/med-fichier/med/' -i CMakeLists.txt || die "fix paths failed" - sed -e 's|doc/med-${MED_STR_VERSION}|doc/'${PF}'/html|' \ - -i CMakeLists.txt || die "fix doc path failed" - - # bug #862900, already reported upstream. CHECK on updates! - filter-lto - - cmake_src_prepare -} - -src_configure() { - # bug #943874 - append-cflags -std=gnu17 - - local mycmakeargs=( - # as indicated in the CMakeLists.txt, the shipped documentation is generated by a custom doxygen, - # so let's avoid rebuilding it because it will be different - -DMEDFILE_BUILD_DOC=OFF - -DMEDFILE_BUILD_FORTRAN=$(usex fortran) - -DMEDFILE_BUILD_PYTHON=OFF - -DMEDFILE_BUILD_SHARED_LIBS=ON - -DMEDFILE_BUILD_STATIC_LIBS=OFF - -DMEDFILE_BUILD_TESTS=$(usex test) - -DMEDFILE_INSTALL_DOC=$(usex doc) - -DMEDFILE_USE_MPI=$(usex mpi) - -DMEDFILE_USE_UNICODE=ON - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # we don't need old 2.3.6 include files - rm -r "${ED}"/usr/include/2.3.6 || die "failed to delete obsolete include dir" - - # Prevent test executables being installed - if use test; then - rm -r "${ED}"/usr/bin/testc || die "failed to delete C test executables" - if use fortran; then - rm -r "${ED}"/usr/bin/testf || die "failed to delete fortran test executables" - fi - fi -} - -src_test() { - # override parallel mode only for tests - local myctestargs=( "-j 1" ) - cmake_src_test -} - -pkg_postinst() { - optfeature "xmdump scripts support" dev-lang/tk -} diff --git a/sci-libs/med/med-5.0.0.ebuild b/sci-libs/med/med-5.0.0.ebuild deleted file mode 100644 index 73482f908e6d..000000000000 --- a/sci-libs/med/med-5.0.0.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran - -inherit cmake flag-o-matic fortran-2 optfeature - -DESCRIPTION="Library to store and exchange meshed data or computation results" -HOMEPAGE=" - https://www.salome-platform.org/?page_id=2768 - https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/med-file.html -" -# The original url blocks curl https://files.salome-platform.org/Salome/medfile/${P}.tar.bz2 -# so we use the arch git mirror. It has the exact same files. The version 5.0.0 also does -# not exist as a tag in the linked github repo..., since med-files is a submodule of med. -SRC_URI="https://github.com/chennes/med/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" -LICENSE="LGPL-3" - -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc fortran mpi test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=sci-libs/hdf5-1.12.1:=[fortran?,mpi(+)?] - mpi? ( virtual/mpi[fortran?] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-5.0.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch" - "${FILESDIR}/${PN}-4.1.0-0002-Re-add-option-for-building-Fortran-library.patch" - # https://src.fedoraproject.org/rpms/med/raw/rawhide/f/hdf5-1.14.patch - "${FILESDIR}/${PN}-5.0.0-hdf5-1.14.patch" -) - -DOCS=( AUTHORS ChangeLog NEWS README README.CMAKE TODO ) - -src_prepare() { - if use test; then - # test10 only works with med 4.1.1, so we let MED detect the version itself - # instead of hardcoding it to 5.0.0 - sed -i -e 's/MEDfileVersionOpen(filename,MODE_ACCES,MED_MAJOR_NUM,MED_MINOR_NUM,MED_RELEASE_NUM)/MEDfileOpen(filename,MODE_ACCES)/g' tests/c/test10*.c || die "could not patch test10" - fi - # gentoo package is called med, while the original is called med-fichier (med files) - sed -e 's/med-fichier/med/' -i CMakeLists.txt || die "fix paths failed" - sed -e 's|doc/med-${MED_STR_VERSION}|doc/'${PF}'/html|' \ - -i CMakeLists.txt || die "fix doc path failed" - - # bug #862900, already reported upstream. CHECK on updates! - use fortran && filter-lto - - cmake_src_prepare -} - -src_configure() { - # bug #943874 - append-cflags -std=gnu17 - - local mycmakeargs=( - # as indicated in the CMakeLists.txt, the shipped documentation is generated by a custom doxygen, - # so let's avoid rebuilding it because it will be different - -DMEDFILE_BUILD_DOC=OFF - -DMEDFILE_BUILD_FORTRAN=$(usex fortran) - -DMEDFILE_BUILD_PYTHON=OFF - -DMEDFILE_BUILD_SHARED_LIBS=ON - -DMEDFILE_BUILD_STATIC_LIBS=OFF - -DMEDFILE_BUILD_TESTS=$(usex test) - -DMEDFILE_INSTALL_DOC=$(usex doc) - -DMEDFILE_USE_MPI=$(usex mpi) - -DMEDFILE_USE_UNICODE=ON - ) - cmake_src_configure -} - -src_test() { - # override parallel mode only for tests - cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - # we don't need old 2.3.6 include files - rm -r "${ED}"/usr/include/2.3.6 || die "failed to delete obsolete include dir" - - # Prevent test executables being installed - if use test; then - rm -r "${ED}"/usr/bin/testc || die "failed to delete C test executables" - if use fortran; then - rm -r "${ED}"/usr/bin/testf || die "failed to delete fortran test executables" - fi - fi -} - -pkg_postinst() { - optfeature "xmdump scripts support" dev-lang/tk -} diff --git a/sci-libs/med/metadata.xml b/sci-libs/med/metadata.xml deleted file mode 100644 index ecde5bbeb77b..000000000000 --- a/sci-libs/med/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>waebbl-gentoo@posteo.net</email> - <name>Bernd Waibel</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <description>Gentoo Science Project</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">SalomePlatform/med</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/metadata.xml b/sci-libs/metadata.xml deleted file mode 100644 index 883490ed5ecb..000000000000 --- a/sci-libs/metadata.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription lang="en"> - The sci-libs category contains various science-related libraries. - </longdescription> - <longdescription lang="de"> - Die Kategorie sci-libs enthält wissenschaftlich genutzte Bibliotheken. - </longdescription> - <longdescription lang="es"> - La categoría sci-libs contiene librerías relacionadas con la ciencia. - </longdescription> - <longdescription lang="ja"> - sci-libsカテゴリーには様々な科学関連のライブラリが含まれています。 - </longdescription> - <longdescription lang="nl"> - De sci-libs categorie bevat wetenschappelijke bibliotheken. - </longdescription> - <longdescription lang="vi"> - Nhóm sci-libs chứa các thư viện dùng trong khoa học. - </longdescription> - <longdescription lang="it"> - La categoria sci-libs contiene librerie scientifiche. - </longdescription> - <longdescription lang="pt"> - A categoria sci-libs contém várias bibliotecas relacionadas com - ciência. - </longdescription> - <longdescription lang="pl"> - Kategoria sci-libs zawiera biblioteki związane z programami naukowymi. - </longdescription> -</catmetadata> diff --git a/sci-libs/metis/Manifest b/sci-libs/metis/Manifest deleted file mode 100644 index c9a17a772929..000000000000 --- a/sci-libs/metis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST metis-5.2.1.tar.gz 4838377 BLAKE2B 7f2bb3b4dce71cd05e25d042095c311f814d5d197b1a6ae19994b6bcbb7d948d3a96210cbce5633f39d7bb8ad7cc3f8f4977c6465ec8591934aac00ea9637c94 SHA512 69127b7a777f9ba14cf399a7122000af9d6094a5f44be600a28384cfc0495c024fb0c6eab37c4473a5763ec1077cd9f30d9bcbb3c952462f6c9ead31c6b9e790 diff --git a/sci-libs/metis/files/metis-5.2.1-add-gklib-as-required.patch b/sci-libs/metis/files/metis-5.2.1-add-gklib-as-required.patch deleted file mode 100644 index 5fedf17b8051..000000000000 --- a/sci-libs/metis/files/metis-5.2.1-add-gklib-as-required.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/libmetis/CMakeLists.txt b/libmetis/CMakeLists.txt -index fc6cec6..758835f 100644 ---- a/libmetis/CMakeLists.txt -+++ b/libmetis/CMakeLists.txt -@@ -7,6 +7,10 @@ file(GLOB metis_sources *.c) - # Build libmetis. - add_library(metis ${METIS_LIBRARY_TYPE} ${metis_sources}) - -+if(SHARED) -+ target_link_libraries(metis GKlib) -+endif() -+ - if(METIS_INSTALL) - install(TARGETS metis - LIBRARY DESTINATION lib diff --git a/sci-libs/metis/files/metis-5.2.1-cmake4.patch b/sci-libs/metis/files/metis-5.2.1-cmake4.patch deleted file mode 100644 index 4ff6d4f38e92..000000000000 --- a/sci-libs/metis/files/metis-5.2.1-cmake4.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 350931887dfc00c2e3cb7551c5abf30e0297126a Mon Sep 17 00:00:00 2001 -From: George Karypis <karypis@umn.edu> -Date: Fri, 4 Jul 2025 14:44:10 -0500 -Subject: [PATCH] updated the minimum CMAKE version - ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a15d19a..ef34603 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8) -+cmake_minimum_required(VERSION 3.10) - project(METIS C) - - set(SHARED FALSE CACHE BOOL "build a shared library") diff --git a/sci-libs/metis/files/metis-5.2.1-multilib.patch b/sci-libs/metis/files/metis-5.2.1-multilib.patch deleted file mode 100644 index fc26f7556f12..000000000000 --- a/sci-libs/metis/files/metis-5.2.1-multilib.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/libmetis/CMakeLists.txt b/libmetis/CMakeLists.txt -index fc6cec6..e10a1a1 100644 ---- a/libmetis/CMakeLists.txt -+++ b/libmetis/CMakeLists.txt -@@ -6,10 +6,11 @@ file(GLOB metis_sources *.c) - - # Build libmetis. - add_library(metis ${METIS_LIBRARY_TYPE} ${metis_sources}) -+set_target_properties(metis PROPERTIES SOVERSION 0) - - if(METIS_INSTALL) - install(TARGETS metis -- LIBRARY DESTINATION lib -- RUNTIME DESTINATION lib -- ARCHIVE DESTINATION lib) -+ LIBRARY DESTINATION lib${LIB_SUFFIX} -+ RUNTIME DESTINATION lib${LIB_SUFFIX} -+ ARCHIVE DESTINATION lib${LIB_SUFFIX}) - endif() diff --git a/sci-libs/metis/files/metis-5.2.1-respect-user-flags.patch b/sci-libs/metis/files/metis-5.2.1-respect-user-flags.patch deleted file mode 100644 index acdf17df5090..000000000000 --- a/sci-libs/metis/files/metis-5.2.1-respect-user-flags.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/conf/gkbuild.cmake b/conf/gkbuild.cmake -index 0e70a8e..d005f84 100644 ---- a/conf/gkbuild.cmake -+++ b/conf/gkbuild.cmake -@@ -29,16 +29,7 @@ endif(CYGWIN) - if(CMAKE_COMPILER_IS_GNUCC) - # GCC opts. - set(GK_COPTIONS "${GK_COPTIONS} -std=c99 -fno-strict-aliasing") --if(VALGRIND) -- set(GK_COPTIONS "${GK_COPTIONS} -march=x86-64 -mtune=generic") --else() -- set(GK_COPTIONS "${GK_COPTIONS} -march=native") --endif(VALGRIND) -- if(NOT MINGW) -- set(GK_COPTIONS "${GK_COPTIONS} -fPIC") -- endif(NOT MINGW) --# GCC warnings. -- set(GK_COPTIONS "${GK_COPTIONS} -Werror -Wall -pedantic -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-label") -+ - elseif(${CMAKE_C_COMPILER_ID} MATCHES "Sun") - # Sun insists on -xc99. - set(GK_COPTIONS "${GK_COPTIONS} -xc99") -@@ -65,24 +56,10 @@ if(OPENMP) - endif(OPENMP) - - --# Add various definitions. --if(GDB) -- set(GK_COPTS "${GK_COPTS} -g") -- set(GK_COPTIONS "${GK_COPTIONS} -Werror") --else() -- set(GK_COPTS "-O3") --endif(GDB) -- -- - if(DEBUG) -- set(GK_COPTS "-Og") - set(GK_COPTIONS "${GK_COPTIONS} -DDEBUG") - endif(DEBUG) - --if(GPROF) -- set(GK_COPTS "-pg") --endif(GPROF) -- - if(NOT ASSERT) - set(GK_COPTIONS "${GK_COPTIONS} -DNDEBUG") - endif(NOT ASSERT) diff --git a/sci-libs/metis/metadata.xml b/sci-libs/metis/metadata.xml deleted file mode 100644 index 3daf0ce6b84d..000000000000 --- a/sci-libs/metis/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - METIS is a set of serial programs for partitioning graphs, - partitioning finite element meshes, and producing fill reducing - orderings for sparse matrices. The algorithms implemented in METIS are - based on the multilevel recursive-bisection, multilevel k-way, and - multi-constraint partitioning schemes. - </longdescription> - <use> - <flag name="double-precision">Use double- rather than single-precision floating-point representation</flag> - <flag name="int64">Use 64- rather than 32-bit integer representation (needed for > 2^31 vertices)</flag> - </use> - <upstream> - <remote-id type="github">KarypisLab/METIS</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/metis/metis-5.2.1-r2.ebuild b/sci-libs/metis/metis-5.2.1-r2.ebuild deleted file mode 100644 index 01bc88a6dcbc..000000000000 --- a/sci-libs/metis/metis-5.2.1-r2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Package for unstructured serial graph partitioning" -HOMEPAGE="https://github.com/KarypisLab/METIS" -SRC_URI="https://github.com/KarypisLab/METIS/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/METIS-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="double-precision examples int64 openmp" - -PATCHES=( - "${FILESDIR}"/${P}-multilib.patch - "${FILESDIR}"/${P}-respect-user-flags.patch - # https://github.com/KarypisLab/METIS/pull/52 Bug 905822 - "${FILESDIR}"/${P}-add-gklib-as-required.patch - "${FILESDIR}"/${P}-cmake4.patch # bug 957609 -) - -DEPEND="sci-libs/gklib" -RDEPEND="${DEPEND}" - -src_prepare() { - local idxwidth realwidth - - if use int64; then - idxwidth="#define IDXTYPEWIDTH 64" - else - idxwidth="#define IDXTYPEWIDTH 32" - fi - - if use double-precision; then - realwidth="#define REALTYPEWIDTH 64" - else - realwidth="#define REALTYPEWIDTH 32" - fi - - cmake_src_prepare - - # From Makefile - mkdir -p build/xinclude || die - echo ${idxwidth} > build/xinclude/metis.h || die - echo ${realwidth} >> build/xinclude/metis.h || die - cat include/metis.h >> build/xinclude/metis.h || die - cp include/CMakeLists.txt build/xinclude || die -} - -src_configure() { - local mycmakeargs=( - -DSHARED=yes - -DOPENMP=$(usex openmp) - ) - cmake_src_configure -} - -src_test() { - cd graphs || die - local PATH="${BUILD_DIR}"/programs/:${PATH} - - ndmetis mdual.graph || die - mpmetis metis.mesh 2 || die - gpmetis test.mgraph 4 || die - gpmetis copter2.graph 4 || die - graphchk 4elt.graph || die -} - -src_install() { - cmake_src_install - dodoc manual/manual.pdf - if use examples; then - docinto examples - dodoc -r programs graphs - fi - - cat >> "${T}"/metis.pc <<- EOF || die - prefix=${EPREFIX}/usr - exec_prefix=\${prefix} - libdir=\${exec_prefix}/$(get_libdir) - includedir=\${prefix}/include - - Name: METIS - Description: Software for partioning unstructured graphes and meshes - Version: ${PV} - Cflags: -I\${includedir} - Libs: -L\${libdir} -lmetis -lGKlib - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins "${T}"/metis.pc -} diff --git a/sci-libs/miopen/Manifest b/sci-libs/miopen/Manifest deleted file mode 100644 index 5c93494c5bb4..000000000000 --- a/sci-libs/miopen/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST MIOpen-6.3.3.tar.gz 104157223 BLAKE2B 10b793594ed47397dd695ada4da1ba93935c78512c27291449df20fc7760aad2b224eaa50d3526453e7b4451828769937c66069a11f6f6fb6a636a16c6f90957 SHA512 9749d04d9a6b92ba19b3534966feb4ed21eaca3fd4a20aaec050bcf725091a8706044136f836ed20e08e7ec3b4074e1f99a08b51b4cbe449aedb7f86eb5cc87f -DIST MIOpen-6.4.3.tar.gz 108253603 BLAKE2B efeb974ab0d304a97171a2fb3497d754fdebd5d071f1e3a4fb6cf1fea2f4206686cf60905910979929b9b79e7bf99e2aaa73c433ad97c9bd480591f3fdf5485a SHA512 d3426595fb5395de225cd5c17819c2ac53e09db33f8aaf48022ab77047345c62dbaec0b3c704d24e937eb66f42011d69ac8a2dc8d8720608d635b19048dcda27 -DIST MIOpen-7.0.2.tar.gz 110490323 BLAKE2B 552eb69878f0b517b1251887a1c37c0e9224df38c2f2ad779d3882510c3c2fec745867e32d78207ec90e814d4c87c637709b8184690b178d37bea660774c0a5f SHA512 f4ef92b0836f419066c2829517df3552d551ad1acfc8a81b9a80b8c291bf334a3fb0067ab593710281cacc010bf812d2b482b252453d21284a7fcb3a58755fe0 -DIST MIOpen-7.1.0.tar.gz 110587160 BLAKE2B 6ee5eda4d3527e493d768d8aa7f320c77b120895a49f6a4700b06c3ef6983f45d43a96ed41fb8c6ace8fba81cc4a998437e6fdf354e6ddea645e34c14c3370c4 SHA512 bf52a7b88e5dabe818575ec5c503e534ee07defbc5bce479c935c4bf3605d07e4021253ccde8648fa1f5d10c24f56182b9b0307676658db6c7c3c933ddfe622e -DIST miopen-7.2.0.tar.gz 113891497 BLAKE2B 5b08ba1725531d88aa6c816f0cf5825723e40eeae36afef89d1f46fe3d488e6b38d5b81dbad8868b69acd3110cfe16e35161bd7cc6e56f8df9bbc6c32946928e SHA512 7a63f6829f0394fa5c472d00e62716def9085b6b771e3ac72551105d556238ef99fe3377fdb91ccda7f85d3366884cf85064368966d7fa74660533de5a1f22aa diff --git a/sci-libs/miopen/files/miopen-6.1.1-build-all-tests.patch b/sci-libs/miopen/files/miopen-6.1.1-build-all-tests.patch deleted file mode 100644 index 49ec1ccbff3b..000000000000 --- a/sci-libs/miopen/files/miopen-6.1.1-build-all-tests.patch +++ /dev/null @@ -1,13 +0,0 @@ -Normally, MIOpen compiles tests during test phase instead of "compile". -This patch allows to build testing executables during compile phase. ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -330,7 +330,7 @@ endfunction() - separate_arguments(MIOPEN_TEST_FLAGS_ARGS NATIVE_COMMAND ${MIOPEN_TEST_FLAGS}) - - function(add_test_executable TEST_NAME) -- add_executable (${TEST_NAME} EXCLUDE_FROM_ALL ${ARGN}) -+ add_executable (${TEST_NAME} ${ARGN}) - if(WIN32) - target_compile_definitions(${TEST_NAME} PRIVATE NOMINMAX) - endif() diff --git a/sci-libs/miopen/files/miopen-6.1.1-fix-libcxx.patch b/sci-libs/miopen/files/miopen-6.1.1-fix-libcxx.patch deleted file mode 100644 index 0ce842d1470a..000000000000 --- a/sci-libs/miopen/files/miopen-6.1.1-fix-libcxx.patch +++ /dev/null @@ -1,246 +0,0 @@ ---- a/cmake/EnableCompilerWarnings.cmake -+++ b/cmake/EnableCompilerWarnings.cmake -@@ -70,6 +70,7 @@ set(__clang_cxx_compile_options - -Wno-unused-command-line-argument - -Wno-weak-vtables - -Wno-covered-switch-default -+ -Wno-switch-default - -Wno-unused-result - -Wno-unsafe-buffer-usage - -Wno-deprecated-declarations ---- a/src/include/miopen/bfloat16.hpp -+++ b/src/include/miopen/bfloat16.hpp -@@ -28,6 +28,7 @@ - #include <boost/operators.hpp> - #include <iostream> - #include <miopen/config.h> -+#include <miopen/libcxx_compat.hpp> - - class bfloat16 : boost::totally_ordered<bfloat16, boost::arithmetic<bfloat16>> - { -@@ -152,7 +153,7 @@ private: - std::uint16_t data_; - }; - --namespace std { -+NAMESPACE_STD_BEGIN - template <> - class numeric_limits<bfloat16> - { -@@ -173,5 +174,5 @@ public: - return bfloat16::generate(0x0001); // 0x0.02p-126 - } - }; --} // namespace std -+NAMESPACE_STD_END - #endif ---- /dev/null -+++ b/src/include/miopen/libcxx_compat.hpp -@@ -0,0 +1,44 @@ -+/******************************************************************************* -+ * -+ * MIT License -+ * -+ * Copyright (c) 2024 Advanced Micro Devices, Inc. -+ * -+ * Permission is hereby granted, free of charge, to any person obtaining a copy -+ * of this software and associated documentation files (the "Software"), to deal -+ * in the Software without restriction, including without limitation the rights -+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+ * copies of the Software, and to permit persons to whom the Software is -+ * furnished to do so, subject to the following conditions: -+ * -+ * The above copyright notice and this permission notice shall be included in all -+ * copies or substantial portions of the Software. -+ * -+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -+ * SOFTWARE. -+ * -+ *******************************************************************************/ -+#ifndef LIBCXX_COMPAT_HPP_ -+#define LIBCXX_COMPAT_HPP_ -+ -+// Definitions for libc++ compatibility -+#ifdef __has_include -+#if __has_include (<__config>) -+#include <__config> -+#endif -+#endif -+ -+#ifdef _LIBCPP_VERSION -+#define NAMESPACE_STD_BEGIN _LIBCPP_BEGIN_NAMESPACE_STD -+#define NAMESPACE_STD_END _LIBCPP_END_NAMESPACE_STD -+#else -+#define NAMESPACE_STD_BEGIN namespace std { -+#define NAMESPACE_STD_END } -+#endif -+ -+#endif ---- a/src/kernels/hip_float8.hpp -+++ b/src/kernels/hip_float8.hpp -@@ -26,6 +26,7 @@ - #pragma once - - #include "miopen_cstdint.hpp" -+#include "libcxx_compat.hpp" - - #ifndef MIOPEN_ENABLE_F8_DEVICE_CODE - #define MIOPEN_ENABLE_F8_DEVICE_CODE 0 -@@ -590,7 +591,7 @@ public: - // from the precompiled header. - #else - // NOLINTBEGIN(cert-dcl58-cpp) --namespace std { -+NAMESPACE_STD_BEGIN - inline bool isfinite(miopen_f8::hip_f8<miopen_f8::hip_f8_type::fp8> x) // NOLINT - { - return !(x.is_inf() || x.is_nan()); -@@ -611,12 +612,12 @@ inline bool isnan(miopen_f8::hip_f8<miopen_f8::hip_f8_type::bf8> x) // NOLINT - return x.is_nan(); - } - --} // namespace std -+NAMESPACE_STD_END - // NOLINTEND(cert-dcl58-cpp) - #endif - - // NOLINTBEGIN(cert-dcl58-cpp) --namespace std { -+NAMESPACE_STD_BEGIN - - template <typename T> - class numeric_limits; -@@ -633,7 +634,7 @@ class numeric_limits<miopen_f8::hip_f8<miopen_f8::hip_f8_type::bf8>> - { - }; - --} // namespace std -+NAMESPACE_STD_END - // NOLINTEND(cert-dcl58-cpp) - - template <miopen_f8::hip_f8_type T> ---- /dev/null -+++ b/src/kernels/libcxx_compat.hpp -@@ -0,0 +1,41 @@ -+/******************************************************************************* -+ * -+ * MIT License -+ * -+ * Copyright (c) 2024 Advanced Micro Devices, Inc. -+ * -+ * Permission is hereby granted, free of charge, to any person obtaining a copy -+ * of this software and associated documentation files (the "Software"), to deal -+ * in the Software without restriction, including without limitation the rights -+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+ * copies of the Software, and to permit persons to whom the Software is -+ * furnished to do so, subject to the following conditions: -+ * -+ * The above copyright notice and this permission notice shall be included in all -+ * copies or substantial portions of the Software. -+ * -+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -+ * SOFTWARE. -+ * -+ *******************************************************************************/ -+#pragma once -+ -+// Definitions for libc++ compatibility -+#ifdef __has_include -+#if __has_include (<__config>) -+#include <__config> -+#endif -+#endif -+ -+#ifdef _LIBCPP_VERSION -+#define NAMESPACE_STD_BEGIN _LIBCPP_BEGIN_NAMESPACE_STD -+#define NAMESPACE_STD_END _LIBCPP_END_NAMESPACE_STD -+#else -+#define NAMESPACE_STD_BEGIN namespace std { -+#define NAMESPACE_STD_END } -+#endif ---- a/src/kernels/miopen_limits.hpp -+++ b/src/kernels/miopen_limits.hpp -@@ -33,8 +33,9 @@ - - #define MIOPEN_ENABLE_F8_DEVICE_CODE 1 - #include "hip_float8.hpp" -+#include "libcxx_compat.hpp" - --namespace std { -+NAMESPACE_STD_BEGIN - - template <typename T> - class numeric_limits; -@@ -91,7 +92,7 @@ public: - }; - #endif - --} // namespace std -+NAMESPACE_STD_END - - #else - ---- a/src/kernels/miopen_type_traits.hpp -+++ b/src/kernels/miopen_type_traits.hpp -@@ -26,8 +26,9 @@ - #pragma once - - #ifdef MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS -+#include "libcxx_compat.hpp" - --namespace std { -+NAMESPACE_STD_BEGIN - - template <class T> - struct remove_reference -@@ -140,7 +141,7 @@ struct conditional<false, X, Y> - template <bool predicate, typename X, typename Y> - using conditional_t = typename conditional<predicate, X, Y>::type; - --} // namespace std -+NAMESPACE_STD_END - #else - - #include <type_traits> // std::remove_reference, std::remove_cv, is_pointer ---- a/src/kernels/miopen_utility.hpp -+++ b/src/kernels/miopen_utility.hpp -@@ -28,8 +28,9 @@ - #ifdef MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS - - #include "miopen_type_traits.hpp" // std::remove_reference -+#include "libcxx_compat.hpp" - --namespace std { -+NAMESPACE_STD_BEGIN - - template <typename T> - constexpr T&& forward(typename remove_reference<T>::type& t_) noexcept -@@ -43,7 +44,7 @@ constexpr T&& forward(typename remove_reference<T>::type&& t_) noexcept - return static_cast<T&&>(t_); - } - --} // namespace std -+NAMESPACE_STD_END - - #else - ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -481,6 +481,7 @@ if( MIOPEN_BACKEND MATCHES "OpenCL" OR MIOPEN_BACKEND STREQUAL "HIPOC" OR MIOPEN - kernels/gpr_alloc.inc - kernels/hip_atomic.hpp - kernels/hip_f8_impl.hpp -+ kernels/libcxx_compat.hpp - kernels/hip_float8.hpp - kernels/inst_wrappers.inc - kernels/miopen_cstdint.hpp diff --git a/sci-libs/miopen/files/miopen-6.3.0-conditional-ck-components.patch b/sci-libs/miopen/files/miopen-6.3.0-conditional-ck-components.patch deleted file mode 100644 index b4332d5a1ca6..000000000000 --- a/sci-libs/miopen/files/miopen-6.3.0-conditional-ck-components.patch +++ /dev/null @@ -1,46 +0,0 @@ -composable_kernel does not build some functions/targets depending on GPU. -Upstream bug: https://github.com/ROCm/composable_kernel/issues/1646 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -847,10 +847,6 @@ target_include_directories(MIOpen PUBLIC - $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/include> - ) - --if(MIOPEN_USE_COMPOSABLEKERNEL) --set(MIOPEN_CK_LINK_FLAGS composable_kernel::device_other_operations composable_kernel::device_gemm_operations composable_kernel::device_conv_operations composable_kernel::device_reduction_operations composable_kernel::device_mha_operations hip::host) --endif() -- - if(WIN32) - # Refer to https://en.cppreference.com/w/cpp/language/types for details. - target_compile_options(MIOpen PRIVATE $<BUILD_INTERFACE:$<$<CXX_COMPILER_ID:Clang>:-U__LP64__>>) ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -327,7 +327,27 @@ add_compile_definitions($<$<COMPILE_LANGUAGE:CXX>:HIP_COMPILER_FLAGS=${HIP_COMPI - # HIP - if( MIOPEN_BACKEND STREQUAL "HIP" OR MIOPEN_BACKEND STREQUAL "HIPOC" OR MIOPEN_BACKEND STREQUAL "HIPNOGPU") - if(MIOPEN_USE_COMPOSABLEKERNEL) -- find_package(composable_kernel 1.0.0 COMPONENTS device_other_operations device_gemm_operations device_conv_operations device_reduction_operations device_mha_operations) -+ set(MIOPEN_CK_LINK_FLAGS hip::host) -+ set(COMPONENTS_LIST device_other_operations device_gemm_operations device_conv_operations device_reduction_operations device_mha_operations) -+ foreach(component IN LISTS COMPONENTS_LIST) -+ find_package(composable_kernel 1.0.0 COMPONENTS ${component} QUIET) -+ if(TARGET composable_kernel::${component}) -+ list(APPEND MIOPEN_CK_LINK_FLAGS "composable_kernel::${component}") -+ else() -+ message(WARNING "CK component '${component}' not found.") -+ endif() -+ endforeach() -+ if(AMDGPU_TARGETS MATCHES "gfx94" OR AMDGPU_TARGETS MATCHES "gfx90a") -+ add_definitions(-DMIOPEN_USE_CK_MHA_OPS=1) -+ else() -+ add_definitions(-DMIOPEN_USE_CK_MHA_OPS=0) -+ endif() -+ if(AMDGPU_TARGETS MATCHES "gfx9") -+ add_definitions(-DMIOPEN_USE_CK_XDL_OPS=1) -+ else() -+ add_definitions(-DMIOPEN_USE_CK_XDL_OPS=0) -+ endif() -+ - endif() - if( MIOPEN_BACKEND STREQUAL "HIPNOGPU") - set(MIOPEN_MODE_NOGPU 1) diff --git a/sci-libs/miopen/files/miopen-6.3.0-isnan-include.patch b/sci-libs/miopen/files/miopen-6.3.0-isnan-include.patch deleted file mode 100644 index c7672e96a117..000000000000 --- a/sci-libs/miopen/files/miopen-6.3.0-isnan-include.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/driver/reducecalculation_driver.hpp -+++ b/driver/reducecalculation_driver.hpp -@@ -34,6 +34,7 @@ - #include <algorithm> - #include <cfloat> - #include <cstdlib> -+#include <cmath> - #include <memory> - #include <miopen/miopen.h> - #include <miopen/tensor.hpp> -@@ -77,7 +78,7 @@ int32_t mloReduceCalculationForwardRunHost(miopenTensorDescriptor_t inputDesc, - for(size_t i = 0; i < reduce_size; ++i) - { - Tcheck val = static_cast<Tcheck>(input[input_idx]); -- if(nanPropagation && isnan(val)) -+ if(nanPropagation && std::isnan(val)) - { - val = 0.0f; - } diff --git a/sci-libs/miopen/metadata.xml b/sci-libs/miopen/metadata.xml deleted file mode 100644 index f525851dc89a..000000000000 --- a/sci-libs/miopen/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="composable-kernel">Use <pkg>sci-libs/composable-kernel</pkg> for GEMM-like and reduction-like operators</flag> - <flag name="hipblaslt">Use <pkg>sci-libs/hipBLASLt</pkg> for some non-batched and strided batched problems</flag> - <flag name="rocblas">Build with <pkg>sci-libs/rocBLAS</pkg> support</flag> - <flag name="roctracer">Build with <pkg>dev-util/roctracer</pkg> support</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/miopen/miopen-6.3.3.ebuild b/sci-libs/miopen/miopen-6.3.3.ebuild deleted file mode 100644 index c8ade5eed8c2..000000000000 --- a/sci-libs/miopen/miopen-6.3.3.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -LLVM_COMPAT=( 19 ) - -inherit cmake flag-o-matic llvm-r1 rocm - -DESCRIPTION="AMD's Machine Intelligence Library" -HOMEPAGE="https://github.com/ROCm/MIOpen" -SRC_URI="https://github.com/ROCm/MIOpen/archive/rocm-${PV}.tar.gz -> MIOpen-${PV}.tar.gz" -S="${WORKDIR}/MIOpen-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="composable-kernel debug hipblaslt rocblas roctracer test" - -# tests can freeze machine depending on gpu/kernel -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - >=dev-db/sqlite-3.17 - sci-libs/rocRAND:${SLOT}[${ROCM_USEDEP}] - >=dev-libs/boost-1.72 - dev-cpp/nlohmann_json - dev-cpp/frugally-deep - - composable-kernel? ( sci-libs/composable-kernel:${SLOT}[${ROCM_USEDEP}] ) - hipblaslt? ( - sci-libs/hipBLAS:${SLOT}[${ROCM_USEDEP}] - sci-libs/hipBLASLt:${SLOT} - ) - rocblas? ( sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] ) - roctracer? ( dev-util/roctracer:${SLOT}[${ROCM_USEDEP}] ) -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - >=dev-libs/half-1.12.0-r1 - dev-build/rocm-cmake - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-build-all-tests.patch - "${FILESDIR}"/${PN}-6.1.1-fix-libcxx.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-ck-components.patch - "${FILESDIR}"/${PN}-6.3.0-isnan-include.patch -) - -src_prepare() { - cmake_src_prepare - - # complementary replacements for conditional-ck-components patch - find src -name '*mha*.cpp' -type f | while IFS= read -r file; do - sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_MHA_OPS/g" "$file" || die - done - - sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_XDL_OPS/g" \ - src/mlo_dir_conv.cpp \ - src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp \ - src/solver/conv_ck_igemm_fwd_bias_activ_fused.cpp || die - find src -name '*xdl*.cpp' -type f | while IFS= read -r file; do - sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_XDL_OPS/g" "$file" || die - done - - sed -e '/MIOPEN_TIDY_ERRORS ALL/d' \ - -e 's/FLAGS_RELEASE} -s/FLAGS_RELEASE}/g' \ - -i CMakeLists.txt || die - - sed -e "/add_test/s:--build \${CMAKE_CURRENT_BINARY_DIR}:--build ${BUILD_DIR}:" \ - -i test/CMakeLists.txt || die - - sed -e "s:\${PROJECT_BINARY_DIR}/miopen/include:\${PROJECT_BINARY_DIR}/include:" \ - -i src/CMakeLists.txt || die -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DMIOPEN_BACKEND=HIP - -DBoost_USE_STATIC_LIBS=OFF - -DMIOPEN_USE_MLIR=OFF - -DMIOPEN_USE_ROCTRACER=$(usex roctracer ON OFF) - -DMIOPEN_USE_ROCBLAS=$(usex rocblas ON OFF) - -DMIOPEN_USE_HIPBLASLT=$(usex hipblaslt ON OFF) - -DMIOPEN_USE_COMPOSABLEKERNEL=$(usex composable-kernel ON OFF) - -DBUILD_TESTING=$(usex test ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DMIOPEN_HIP_COMPILER="${ESYSROOT}/usr/bin/hipcc" - -DMIOPEN_AMDGCN_ASSEMBLER="$(get_llvm_prefix)/bin/clang" - -DHIP_OC_COMPILER="$(get_llvm_prefix)/bin/clang" - ) - - if use test; then - mycmakeargs+=( - -DMIOPEN_TEST_ALL=ON - -DMIOPEN_TEST_GDB=OFF - ) - # needed by rocminfo - addpredict /dev/random - check_amdgpu - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib MIOPEN_SYSTEM_DB_PATH="${BUILD_DIR}"/share/miopen/db/ cmake_src_test -j1 -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/miopen/miopen-6.4.3-r1.ebuild b/sci-libs/miopen/miopen-6.4.3-r1.ebuild deleted file mode 100644 index 440bdc4a876d..000000000000 --- a/sci-libs/miopen/miopen-6.4.3-r1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -LLVM_COMPAT=( 20 ) - -inherit cmake flag-o-matic llvm-r1 rocm - -DESCRIPTION="AMD's Machine Intelligence Library" -HOMEPAGE="https://github.com/ROCm/MIOpen" -SRC_URI="https://github.com/ROCm/MIOpen/archive/rocm-${PV}.tar.gz -> MIOpen-${PV}.tar.gz" -S="${WORKDIR}/MIOpen-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="composable-kernel debug hipblaslt rocblas roctracer test" - -# tests can freeze machine depending on gpu/kernel -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-db/sqlite:3 - app-arch/bzip2 - sci-libs/rocRAND:${SLOT} - dev-libs/boost:= - dev-libs/rocm-comgr:${SLOT} - - composable-kernel? ( sci-libs/composable-kernel:${SLOT} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - rocblas? ( sci-libs/rocBLAS:${SLOT} ) - roctracer? ( dev-util/roctracer:${SLOT} ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/nlohmann_json - >=dev-libs/half-1.12.0-r1 - test? ( dev-cpp/gtest ) - - amdgpu_targets_gfx908? ( dev-cpp/frugally-deep ) - amdgpu_targets_gfx940? ( dev-cpp/frugally-deep ) - amdgpu_targets_gfx941? ( dev-cpp/frugally-deep ) - amdgpu_targets_gfx942? ( dev-cpp/frugally-deep ) -" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-build-all-tests.patch - "${FILESDIR}"/${PN}-6.3.0-conditional-ck-components.patch -) - -src_prepare() { - cmake_src_prepare - - # complementary replacements for conditional-ck-components patch - find src -name '*mha*.cpp' -type f | while IFS= read -r file; do - sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_MHA_OPS/g" "$file" || die - done - - sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_XDL_OPS/g" \ - src/mlo_dir_conv.cpp \ - src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp \ - src/solver/conv_ck_igemm_fwd_bias_activ_fused.cpp || die - find src -name '*xdl*.cpp' -type f | while IFS= read -r file; do - sed -i "s/MIOPEN_USE_COMPOSABLEKERNEL/MIOPEN_USE_CK_XDL_OPS/g" "$file" || die - done - - sed -e '/MIOPEN_TIDY_ERRORS ALL/d' \ - -e 's/FLAGS_RELEASE} -s/FLAGS_RELEASE}/g' \ - -i CMakeLists.txt || die - - sed -e "/add_test/s:--build \${CMAKE_CURRENT_BINARY_DIR}:--build ${BUILD_DIR}:" \ - -i test/CMakeLists.txt || die - - sed -e "s:\${PROJECT_BINARY_DIR}/miopen/include:\${PROJECT_BINARY_DIR}/include:" \ - -i src/CMakeLists.txt || die -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local use_ai_tuning=OFF - if use amdgpu_targets_gfx908 || use amdgpu_targets_gfx940 || use amdgpu_targets_gfx941 \ - || use amdgpu_targets_gfx942; then - use_ai_tuning=ON - fi - - # Too many warnings - append-cxxflags -Wno-switch-default - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DMIOPEN_BACKEND=HIP - -DBoost_USE_STATIC_LIBS=OFF - -DMIOPEN_USE_MLIR=OFF - -DMIOPEN_USE_ROCTRACER=$(usex roctracer ON OFF) - -DMIOPEN_USE_ROCBLAS=$(usex rocblas ON OFF) - -DMIOPEN_USE_HIPBLASLT=$(usex hipblaslt ON OFF) - -DMIOPEN_USE_COMPOSABLEKERNEL=$(usex composable-kernel ON OFF) - -DBUILD_TESTING=$(usex test ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DMIOPEN_HIP_COMPILER="${ESYSROOT}/usr/bin/hipcc" - -DMIOPEN_AMDGCN_ASSEMBLER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_OFFLOADBUNDLER_BIN="$(get_llvm_prefix)/bin/clang-offload-bundler" - -DHIP_OC_COMPILER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_ENABLE_AI_KERNEL_TUNING=${use_ai_tuning} - -DMIOPEN_ENABLE_AI_IMMED_MODE_FALLBACK=${use_ai_tuning} - ) - - if use test; then - mycmakeargs+=( - -DMIOPEN_TEST_ALL=ON - -DMIOPEN_TEST_GDB=OFF - ) - # needed by rocminfo - addpredict /dev/random - check_amdgpu - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib MIOPEN_SYSTEM_DB_PATH="${BUILD_DIR}"/share/miopen/db/ cmake_src_test -j1 -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/miopen/miopen-7.0.2.ebuild b/sci-libs/miopen/miopen-7.0.2.ebuild deleted file mode 100644 index 06668ec3628a..000000000000 --- a/sci-libs/miopen/miopen-7.0.2.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -LLVM_COMPAT=( 20 ) - -inherit cmake flag-o-matic llvm-r1 rocm - -DESCRIPTION="AMD's Machine Intelligence Library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/miopen" -SRC_URI="https://github.com/ROCm/MIOpen/archive/rocm-${PV}.tar.gz -> MIOpen-${PV}.tar.gz" -S="${WORKDIR}/MIOpen-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="composable-kernel debug hipblaslt rocblas roctracer test" - -REQUIRED_USE=" - ${ROCM_REQUIRED_USE} - composable-kernel? ( - || ( amdgpu_targets_gfx908 amdgpu_targets_gfx90a amdgpu_targets_gfx942 amdgpu_targets_gfx950 ) - ) -" - -# tests can freeze machine depending on gpu/kernel -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-db/sqlite:3 - app-arch/bzip2 - sci-libs/rocRAND:${SLOT} - dev-libs/boost:= - dev-libs/rocm-comgr:${SLOT} - - composable-kernel? ( sci-libs/composable-kernel:${SLOT} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - rocblas? ( sci-libs/rocBLAS:${SLOT} ) - roctracer? ( dev-util/roctracer:${SLOT} ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/nlohmann_json - >=dev-libs/half-1.12.0-r1 - test? ( dev-cpp/gtest ) - - amdgpu_targets_gfx908? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx940? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx941? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx942? ( =dev-cpp/frugally-deep-0.15* ) -" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-build-all-tests.patch -) - -src_prepare() { - cmake_src_prepare - - sed -e '/MIOPEN_TIDY_ERRORS ALL/d' \ - -e 's/FLAGS_RELEASE} -s/FLAGS_RELEASE}/g' \ - -i CMakeLists.txt || die - - sed -e "/add_test/s:--build \${CMAKE_CURRENT_BINARY_DIR}:--build ${BUILD_DIR}:" \ - -i test/CMakeLists.txt || die -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local use_ai_tuning=OFF - if use amdgpu_targets_gfx908 || use amdgpu_targets_gfx940 || use amdgpu_targets_gfx941 \ - || use amdgpu_targets_gfx942; then - use_ai_tuning=ON - fi - - # Too many warnings - append-cxxflags -Wno-thread-safety-analysis - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DMIOPEN_BACKEND=HIP - -DBoost_USE_STATIC_LIBS=OFF - -DMIOPEN_USE_MLIR=OFF - -DMIOPEN_USE_ROCTRACER=$(usex roctracer ON OFF) - -DMIOPEN_USE_ROCBLAS=$(usex rocblas ON OFF) - -DMIOPEN_USE_HIPBLASLT=$(usex hipblaslt ON OFF) - -DMIOPEN_USE_COMPOSABLEKERNEL=$(usex composable-kernel ON OFF) - -DBUILD_TESTING=$(usex test ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DMIOPEN_HIP_COMPILER="${ESYSROOT}/usr/bin/hipcc" - -DMIOPEN_AMDGCN_ASSEMBLER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_OFFLOADBUNDLER_BIN="$(get_llvm_prefix)/bin/clang-offload-bundler" - -DHIP_OC_COMPILER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_ENABLE_AI_KERNEL_TUNING=${use_ai_tuning} - -DMIOPEN_ENABLE_AI_IMMED_MODE_FALLBACK=${use_ai_tuning} - ) - - if use test; then - mycmakeargs+=( - -DMIOPEN_TEST_ALL=ON - -DMIOPEN_TEST_GDB=OFF - ) - # needed by rocminfo - addpredict /dev/random - check_amdgpu - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib MIOPEN_SYSTEM_DB_PATH="${BUILD_DIR}"/share/miopen/db/ cmake_src_test -j1 -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/miopen/miopen-7.1.0-r1.ebuild b/sci-libs/miopen/miopen-7.1.0-r1.ebuild deleted file mode 100644 index 6ec6f233467c..000000000000 --- a/sci-libs/miopen/miopen-7.1.0-r1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -LLVM_COMPAT=( 20 ) - -inherit cmake flag-o-matic llvm-r1 rocm - -DESCRIPTION="AMD's Machine Intelligence Library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/miopen" -SRC_URI="https://github.com/ROCm/MIOpen/archive/rocm-${PV}.tar.gz -> MIOpen-${PV}.tar.gz" -S="${WORKDIR}/MIOpen-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="composable-kernel debug +hipblaslt +rocblas roctracer test" - -REQUIRED_USE=" - ${ROCM_REQUIRED_USE} - composable-kernel? ( - || ( amdgpu_targets_gfx908 amdgpu_targets_gfx90a amdgpu_targets_gfx942 amdgpu_targets_gfx950 ) - ) -" - -# tests can freeze machine depending on gpu/kernel -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-db/sqlite:3 - app-arch/bzip2 - sci-libs/rocRAND:${SLOT} - dev-libs/boost:= - dev-libs/rocm-comgr:${SLOT} - - composable-kernel? ( sci-libs/composable-kernel:${SLOT} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - rocblas? ( sci-libs/rocBLAS:${SLOT} ) - roctracer? ( dev-util/roctracer:${SLOT} ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/nlohmann_json - >=dev-libs/half-1.12.0-r1 - test? ( dev-cpp/gtest ) - - amdgpu_targets_gfx908? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx940? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx941? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx942? ( =dev-cpp/frugally-deep-0.15* ) -" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-build-all-tests.patch -) - -src_prepare() { - cmake_src_prepare - - sed -e '/MIOPEN_TIDY_ERRORS ALL/d' \ - -e 's/FLAGS_RELEASE} -s/FLAGS_RELEASE}/g' \ - -i CMakeLists.txt || die - - sed -e "/add_test/s:--build \${CMAKE_CURRENT_BINARY_DIR}:--build ${BUILD_DIR}:" \ - -i test/CMakeLists.txt || die -} - -src_configure() { - rocm_use_hipcc - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local use_ai_tuning=OFF - if use amdgpu_targets_gfx908 || use amdgpu_targets_gfx940 || use amdgpu_targets_gfx941 \ - || use amdgpu_targets_gfx942; then - use_ai_tuning=ON - fi - - # Too many warnings - append-cxxflags -Wno-thread-safety-analysis - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DMIOPEN_BACKEND=HIP - -DBoost_USE_STATIC_LIBS=OFF - -DMIOPEN_USE_MLIR=OFF - -DMIOPEN_USE_ROCTRACER=$(usex roctracer ON OFF) - -DMIOPEN_USE_ROCBLAS=$(usex rocblas ON OFF) - -DMIOPEN_USE_HIPBLASLT=$(usex hipblaslt ON OFF) - -DMIOPEN_USE_COMPOSABLEKERNEL=$(usex composable-kernel ON OFF) - -DBUILD_TESTING=$(usex test ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DMIOPEN_HIP_COMPILER="${ESYSROOT}/usr/bin/hipcc" - -DMIOPEN_AMDGCN_ASSEMBLER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_OFFLOADBUNDLER_BIN="$(get_llvm_prefix)/bin/clang-offload-bundler" - -DHIP_OC_COMPILER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_ENABLE_AI_KERNEL_TUNING=${use_ai_tuning} - -DMIOPEN_ENABLE_AI_IMMED_MODE_FALLBACK=${use_ai_tuning} - ) - - if use test; then - mycmakeargs+=( - -DMIOPEN_TEST_ALL=ON - -DMIOPEN_TEST_GDB=OFF - ) - # needed by rocminfo - addpredict /dev/random - check_amdgpu - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib MIOPEN_SYSTEM_DB_PATH="${BUILD_DIR}"/share/miopen/db/ cmake_src_test -j1 -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/miopen/miopen-7.2.0.ebuild b/sci-libs/miopen/miopen-7.2.0.ebuild deleted file mode 100644 index 13a654e6851e..000000000000 --- a/sci-libs/miopen/miopen-7.2.0.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -LLVM_COMPAT=( 22 ) - -inherit cmake flag-o-matic llvm-r2 rocm - -DESCRIPTION="AMD's Machine Intelligence Library" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/miopen" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/miopen.tar.gz -> miopen-${PV}.tar.gz" -S="${WORKDIR}/miopen" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="composable-kernel debug +hipblaslt +rocblas roctracer test" - -REQUIRED_USE=" - ${ROCM_REQUIRED_USE} - composable-kernel? ( - || ( amdgpu_targets_gfx908 amdgpu_targets_gfx90a amdgpu_targets_gfx942 amdgpu_targets_gfx950 ) - ) -" - -# tests can freeze machine depending on gpu/kernel -RESTRICT="test" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-db/sqlite:3 - app-arch/bzip2 - sci-libs/rocRAND:${SLOT} - dev-libs/boost:= - dev-libs/rocm-comgr:${SLOT} - - composable-kernel? ( sci-libs/composable-kernel:${SLOT} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - rocblas? ( sci-libs/rocBLAS:${SLOT} ) - roctracer? ( dev-util/roctracer:${SLOT} ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/nlohmann_json - >=dev-libs/half-1.12.0-r1 - test? ( dev-cpp/gtest ) - - amdgpu_targets_gfx908? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx940? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx941? ( =dev-cpp/frugally-deep-0.15* ) - amdgpu_targets_gfx942? ( =dev-cpp/frugally-deep-0.15* ) -" - -BDEPEND=" - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-build-all-tests.patch -) - -src_prepare() { - cmake_src_prepare - - sed -e '/MIOPEN_TIDY_ERRORS ALL/d' \ - -e 's/FLAGS_RELEASE} -s/FLAGS_RELEASE}/g' \ - -i CMakeLists.txt || die - - sed -e "/add_test/s:--build \${CMAKE_CURRENT_BINARY_DIR}:--build ${BUILD_DIR}:" \ - -i test/CMakeLists.txt || die -} - -src_configure() { - rocm_use_clang - - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local use_ai_tuning=OFF - if use amdgpu_targets_gfx908 || use amdgpu_targets_gfx940 || use amdgpu_targets_gfx941 \ - || use amdgpu_targets_gfx942; then - use_ai_tuning=ON - fi - - # Too many warnings - append-cxxflags -Wno-thread-safety-analysis - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DMIOPEN_BACKEND=HIP - -DBoost_USE_STATIC_LIBS=OFF - -DMIOPEN_USE_MLIR=OFF - -DMIOPEN_USE_ROCTRACER=$(usex roctracer ON OFF) - -DMIOPEN_USE_ROCBLAS=$(usex rocblas ON OFF) - -DMIOPEN_USE_HIPBLASLT=$(usex hipblaslt ON OFF) - -DMIOPEN_USE_COMPOSABLEKERNEL=$(usex composable-kernel ON OFF) - -DBUILD_TESTING=$(usex test ON OFF) - -DROCM_SYMLINK_LIBS=OFF - -DMIOPEN_HIP_COMPILER="${ESYSROOT}/usr/bin/hipcc" - -DMIOPEN_AMDGCN_ASSEMBLER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_OFFLOADBUNDLER_BIN="$(get_llvm_prefix)/bin/clang-offload-bundler" - -DHIP_OC_COMPILER="$(get_llvm_prefix)/bin/clang" - -DMIOPEN_ENABLE_AI_KERNEL_TUNING=${use_ai_tuning} - -DMIOPEN_ENABLE_AI_IMMED_MODE_FALLBACK=${use_ai_tuning} - ) - - if use test; then - mycmakeargs+=( - -DMIOPEN_TEST_ALL=ON - -DMIOPEN_TEST_GDB=OFF - ) - # needed by rocminfo - addpredict /dev/random - check_amdgpu - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}"/lib MIOPEN_SYSTEM_DB_PATH="${BUILD_DIR}"/share/miopen/db/ cmake_src_test -j1 -} - -src_install() { - cmake_src_install -} diff --git a/sci-libs/mkl/Manifest b/sci-libs/mkl/Manifest deleted file mode 100644 index 180e63ff6272..000000000000 --- a/sci-libs/mkl/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST intel-oneapi-mkl-classic-include-2025.3-2025.3.1-8_amd64.deb 662304 BLAKE2B fb73e665fe312ff1844fe1c5da0dbbf0cd0aa1c77e5641774ebafb9a5400d189924a6a1d81821c324e0b3d22f9405666996c5d3c0728e83c5646af5646396ed0 SHA512 3c4f14c9ce7913d861e03b133c7211e9da898b43fa2c443c679fe7e9fceb24d0c6cdf11b16abebc1dcad80d521eb344139238e0bd9408fac12d44918c5e340af -DIST intel-oneapi-mkl-classic-include-2026.0-2026.0.0-908_amd64.deb 658936 BLAKE2B ff1eb9b1968db28202e35d365ccb08e0be36d955b7078649aa378c12644bff2f37832aacc624cf9d72e53cf039f16f8d592527356fff30341c5f58d8843bf171 SHA512 862a92b9369b0dba3a49ddf0ac6145e7aec5070661a3f4c3738ace5a2ddc96633ebbdca6828363bf6b6a7c90df2cd070aede490a2d02c2cef7f43be069f4b592 -DIST intel-oneapi-mkl-core-2025.3-2025.3.1-8_amd64.deb 110248038 BLAKE2B 91b4a6a5229cc8d6f50813a33870551668822bea81f7534ef5728be95b0671d80dbfbe80e888c47075e2375c27c243dd6feeb144f13544d5cd8faf0a9efee945 SHA512 532641762cd66e9ed3d4c800914923eb87e862513ddd4c858bd01015af99396f892ef6a671f5f0c22b08273bc1e157067b65dead57ea66c5b705be1d4324bf33 -DIST intel-oneapi-mkl-core-2026.0-2026.0.0-908_amd64.deb 126175878 BLAKE2B 15616fb4aad2f3efc16634e5712b84b2410d3b5e7274e9f4587365ea616e7ad9d5b18d1814bcb8a04d1ac384750942c4822681d7159d2ed1b8fa94695719544c SHA512 672c74387bd1f1ee9a4e751609f822b735add6d64cb6ce855ffbc75cb8c98b807f915e895c019835be84af5f528db349f5c456f8b87a6b545c4bd44523a7fee6 -DIST intel-oneapi-mkl-core-devel-2025.3-2025.3.1-8_amd64.deb 106340390 BLAKE2B 33ee1d621660633721caa309430af6de929cc8e90e8ab2e48cface1f57dc7b0d3a0a265977db2922100d03299cb6ba0e278ec9c44fbaee18cd16ae421fad0d2c SHA512 cb775cc2f9a70aca4c54f761086aa64d55622745c4da8d652cb870bfed832e613ff40b83f23be797725c78b7640392f5820bf1b56a51df21ffcc568cb68a8e2f -DIST intel-oneapi-mkl-core-devel-2026.0-2026.0.0-908_amd64.deb 122268962 BLAKE2B 0fa87ee983d3ec32b74f9f1f73a66d5b5ee6f4b746da4a6472440cb19694d020ae8c796e7b1b6c27872dadd780c289a6b9454324310c84a161eded3e9d92bb21 SHA512 1a650c9a0645704a914a17a021e2a927a1b832ba12c7398bbbb1f44d86960872a549bdc9ff243de9814a6e61223cb38cfbce82f114192f5f9c9ebf97d9b70b13 diff --git a/sci-libs/mkl/metadata.xml b/sci-libs/mkl/metadata.xml deleted file mode 100644 index 9a51923ade8c..000000000000 --- a/sci-libs/mkl/metadata.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <longdescription lang="en"> - The Intel(R) Math Kernel Library is a mathematical library mostly - optimized for Intel processors (also works on AMDs). It contains BLAS - and LAPACK implementations, Fast Fourier Transforms, a vector math - library, and random number generators. It also has multiprocessor - capacities. The package is installed as binary and has a restrictive - license. Please see license terms and home page for proper use. - </longdescription> - <use> - <flag name="eselect-ldso"> - Enable BLAS/LAPACK runtime switching. - </flag> - <flag name="gnu-openmp"> - Install versions with GNU OpenMP (libgomp) support. - </flag> - <flag name="llvm-openmp"> - Install versions with LLVM OpenMP (libomp) support. - </flag> - <flag name="tbb"> - Install versions with TBB threading support. - </flag> - </use> -</pkgmetadata> diff --git a/sci-libs/mkl/mkl-2025.3.1.8.ebuild b/sci-libs/mkl/mkl-2025.3.1.8.ebuild deleted file mode 100644 index 465f2c9391c7..000000000000 --- a/sci-libs/mkl/mkl-2025.3.1.8.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit unpacker - -PN_VER=$(ver_cut 1-2) -MY_PV=$(ver_cut 1-3)-$(ver_cut 4) -DESCRIPTION="Intel Math Kernel Library" -HOMEPAGE="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html" -# Upstream packages are a mess -- and most of them are literally empty. -SRC_URI=" - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-core-${PN_VER}-${MY_PV}_amd64.deb - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-core-devel-${PN_VER}-${MY_PV}_amd64.deb - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-classic-include-${PN_VER}-${MY_PV}_amd64.deb -" -S="${WORKDIR}" - -LICENSE="ISSL" -SLOT="0" -KEYWORDS="~amd64" -IUSE="eselect-ldso examples gnu-openmp llvm-openmp static-libs tbb" -RESTRICT="strip" - -RDEPEND=" - eselect-ldso? ( - app-eselect/eselect-blas - app-eselect/eselect-lapack - ) - gnu-openmp? ( sys-devel/gcc:*[openmp] ) - llvm-openmp? ( llvm-runtimes/openmp ) - tbb? ( dev-cpp/tbb ) -" -# bug #801460 -BDEPEND=" - app-arch/xz-utils[extra-filters(+)] - eselect-ldso? ( - app-eselect/eselect-blas - app-eselect/eselect-lapack - ) -" - -QA_PREBUILT="*" -QA_TEXTRELS="*" -QA_SONAME="*" - -src_install() { - local libdir=$(get_libdir) - local libroot=opt/intel/oneapi/mkl/${PN_VER}/lib - - if ! use static-libs; then - rm -v "${libroot}"/{*.a,pkgconfig/*-static-*.pc} || die - fi - if ! use examples; then - rm -rv "opt/intel/oneapi/mkl/${PN_VER}"/share/{mkl/benchmarks,doc/mkl/examples} || die - fi - if ! use gnu-openmp; then - rm -v "${libroot}"/{*_gnu_thread.*,pkgconfig/*-gomp.pc} || die - fi - if use llvm-openmp; then - # Replace Intel OpenMP with LLVM OpenMP. We could just install - # "openmp.pc" for that, but we don't want random packages - # to start depending on it. - sed -e '/Requires: openmp/d' \ - -e '/Libs:/s:$: -lomp:' \ - -i "${libroot}"/pkgconfig/*iomp.pc || die - # Install a "libiomp5.so" symlink to make the magical lookup - # in mkl_rt.so happy too. - ln -s "../../../../../../usr/$(get_libdir)/libomp.so" \ - "${libroot}"/libiomp5.so || die - else - rm -v "${libroot}"/{*_intel_thread.*,pkgconfig/*-iomp.pc} || die - fi - if ! use tbb; then - rm -v "${libroot}"/{*_tbb_thread.*,pkgconfig/*-tbb.pc} || die - fi - - # Symlink pkgconfig and cmake files - pushd "${libroot}/pkgconfig" >/dev/null || die - for file in *.pc; do - dosym "../../../${libroot}/pkgconfig/${file}" \ - "/usr/${libdir}/pkgconfig/${file}" - done - popd >/dev/null || die - pushd "${libroot}/cmake/mkl" >/dev/null || die - for file in *.cmake; do - dosym "../../../../${libroot}/cmake/mkl/${file}" \ - "/usr/${libdir}/cmake/mkl/${file}" - done - popd >/dev/null || die - - # Move everything over to the image directory - mv "${S}/"* "${ED}" || die - - # Create convenience symlink that does not include the version number - dosym "${PN_VER}" /opt/intel/oneapi/mkl/latest - - if use eselect-ldso; then - local lib=../../../../${libroot}/libmkl_rt.so - dodir "/usr/${libdir}"/{blas,lapack}/mkl - dosym "${lib}" "/usr/${libdir}/blas/mkl/libblas.so" - dosym "${lib}" "/usr/${libdir}/blas/mkl/libblas.so.3" - dosym "${lib}" "/usr/${libdir}/blas/mkl/libcblas.so" - dosym "${lib}" "/usr/${libdir}/blas/mkl/libcblas.so.3" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapack.so" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapack.so.3" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapacke.so" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapacke.so.3" - fi - - # https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2025-1/dynamic-select-the-interface-and-threading-layer.html - local default_threading_layer - if use llvm-openmp; then - default_threading_layer=INTEL - elif use gnu-openmp; then - default_threading_layer=GNU - elif use tbb; then - default_threading_layer=TBB - else - default_threading_layer=SEQUENTIAL - fi - - newenvd - "70intel-mkl" <<-_EOF_ - MKLROOT="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}" - PATH="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}/bin" - # we need to duplicate it in ROOTPATH for Portage to respect... - ROOTPATH="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}/bin" - LDPATH="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}/lib" - # respect USE flags for defaults - MKL_THREADING_LAYER=${default_threading_layer} - _EOF_ -} - -pkg_postinst() { - use eselect-ldso || return - - local libdir=$(get_libdir) me="mkl" - - # check blas - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." - else - elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi - - # check lapack - eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me} - local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) - if [[ ${current_lapack} == "${me}" || -z ${current_lapack} ]]; then - eselect lapack set ${libdir} ${me} - elog "Current eselect: LAPACK ($libdir) -> [${current_blas}]." - else - elog "Current eselect: LAPACK ($libdir) -> [${current_blas}]." - elog "To use lapack [${me}] implementation, you have to issue (as root):" - elog "\t eselect lapack set ${libdir} ${me}" - fi -} - -pkg_postrm() { - use eselect-ldso || return - - eselect blas validate - eselect lapack validate -} diff --git a/sci-libs/mkl/mkl-2026.0.0.908.ebuild b/sci-libs/mkl/mkl-2026.0.0.908.ebuild deleted file mode 100644 index 3abec0981c71..000000000000 --- a/sci-libs/mkl/mkl-2026.0.0.908.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit unpacker - -# You can find the version suffix in: -# https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages.bz2 - -PN_VER=$(ver_cut 1-2) -MY_PV=$(ver_cut 1-3)-$(ver_cut 4) -DESCRIPTION="Intel Math Kernel Library" -HOMEPAGE="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html" -# Upstream packages are a mess -- and most of them are literally empty. -SRC_URI=" - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-core-${PN_VER}-${MY_PV}_amd64.deb - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-core-devel-${PN_VER}-${MY_PV}_amd64.deb - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-classic-include-${PN_VER}-${MY_PV}_amd64.deb -" -S="${WORKDIR}" - -LICENSE="ISSL" -SLOT="0/3" -KEYWORDS="~amd64" -IUSE="eselect-ldso examples gnu-openmp llvm-openmp static-libs tbb" -RESTRICT="strip" - -RDEPEND=" - eselect-ldso? ( - app-eselect/eselect-blas - app-eselect/eselect-lapack - ) - gnu-openmp? ( sys-devel/gcc:*[openmp] ) - llvm-openmp? ( llvm-runtimes/openmp ) - tbb? ( dev-cpp/tbb ) -" -# bug #801460 -BDEPEND=" - app-arch/xz-utils[extra-filters(+)] - eselect-ldso? ( - app-eselect/eselect-blas - app-eselect/eselect-lapack - ) -" - -QA_PREBUILT="*" -QA_TEXTRELS="*" -QA_SONAME="*" - -src_install() { - local libdir=$(get_libdir) - local libroot=opt/intel/oneapi/mkl/${PN_VER}/lib - - if ! use static-libs; then - rm -v "${libroot}"/{*.a,pkgconfig/*-static-*.pc} || die - fi - if ! use examples; then - rm -rv "opt/intel/oneapi/mkl/${PN_VER}"/share/{mkl/benchmarks,doc/mkl/examples} || die - fi - if ! use gnu-openmp; then - rm -v "${libroot}"/{*_gnu_thread.*,pkgconfig/*-gomp.pc} || die - fi - if use llvm-openmp; then - # Replace Intel OpenMP with LLVM OpenMP. We could just install - # "openmp.pc" for that, but we don't want random packages - # to start depending on it. - sed -e '/Requires: openmp/d' \ - -e '/Libs:/s:$: -lomp:' \ - -i "${libroot}"/pkgconfig/*iomp.pc || die - # Install a "libiomp5.so" symlink to make the magical lookup - # in mkl_rt.so happy too. - ln -s "../../../../../../usr/$(get_libdir)/libomp.so" \ - "${libroot}"/libiomp5.so || die - else - rm -v "${libroot}"/{*_intel_thread.*,pkgconfig/*-iomp.pc} || die - fi - if ! use tbb; then - rm -v "${libroot}"/{*_tbb_thread.*,pkgconfig/*-tbb.pc} || die - fi - - # Symlink pkgconfig and cmake files - pushd "${libroot}/pkgconfig" >/dev/null || die - for file in *.pc; do - dosym "../../../${libroot}/pkgconfig/${file}" \ - "/usr/${libdir}/pkgconfig/${file}" - done - popd >/dev/null || die - pushd "${libroot}/cmake/mkl" >/dev/null || die - for file in *.cmake; do - dosym "../../../../${libroot}/cmake/mkl/${file}" \ - "/usr/${libdir}/cmake/mkl/${file}" - done - popd >/dev/null || die - - # Move everything over to the image directory - mv "${S}/"* "${ED}" || die - - # Create convenience symlink that does not include the version number - dosym "${PN_VER}" /opt/intel/oneapi/mkl/latest - - if use eselect-ldso; then - local lib=../../../../${libroot}/libmkl_rt.so - dodir "/usr/${libdir}"/{blas,lapack}/mkl - dosym "${lib}" "/usr/${libdir}/blas/mkl/libblas.so" - dosym "${lib}" "/usr/${libdir}/blas/mkl/libblas.so.3" - dosym "${lib}" "/usr/${libdir}/blas/mkl/libcblas.so" - dosym "${lib}" "/usr/${libdir}/blas/mkl/libcblas.so.3" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapack.so" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapack.so.3" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapacke.so" - dosym "${lib}" "/usr/${libdir}/lapack/mkl/liblapacke.so.3" - fi - - # https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2025-1/dynamic-select-the-interface-and-threading-layer.html - local default_threading_layer - if use llvm-openmp; then - default_threading_layer=INTEL - elif use gnu-openmp; then - default_threading_layer=GNU - elif use tbb; then - default_threading_layer=TBB - else - default_threading_layer=SEQUENTIAL - fi - - newenvd - "70intel-mkl" <<-_EOF_ - MKLROOT="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}" - PATH="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}/bin" - # we need to duplicate it in ROOTPATH for Portage to respect... - ROOTPATH="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}/bin" - LDPATH="${EPREFIX}/opt/intel/oneapi/mkl/${PN_VER}/lib" - # respect USE flags for defaults - MKL_THREADING_LAYER=${default_threading_layer} - _EOF_ -} - -pkg_postinst() { - use eselect-ldso || return - - local libdir=$(get_libdir) me="mkl" - - # check blas - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." - else - elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi - - # check lapack - eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me} - local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) - if [[ ${current_lapack} == "${me}" || -z ${current_lapack} ]]; then - eselect lapack set ${libdir} ${me} - elog "Current eselect: LAPACK ($libdir) -> [${current_blas}]." - else - elog "Current eselect: LAPACK ($libdir) -> [${current_blas}]." - elog "To use lapack [${me}] implementation, you have to issue (as root):" - elog "\t eselect lapack set ${libdir} ${me}" - fi -} - -pkg_postrm() { - use eselect-ldso || return - - eselect blas validate - eselect lapack validate -} diff --git a/sci-libs/mpfi/Manifest b/sci-libs/mpfi/Manifest deleted file mode 100644 index 990cd40240ae..000000000000 --- a/sci-libs/mpfi/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mpfi-1.5.4_p20220401.tar.xz 370932 BLAKE2B 9ca070b7cb1ad50cd73869a209681a2272e9a1a2cb6458f9c5c339caec43bd6b11e73c49e261fbcfa4f1d1bf682a317253cb17a79d3b75fd1b8bb36c85fd97bb SHA512 a9bcbbb74946b305ab1470db3f32647fc984504ef1c31d4ba4f21d6c66e7193b88666c3cc3ac1382a02750e127cc71424496e8feab393e8cb282b54fc4aa48f6 diff --git a/sci-libs/mpfi/files/mpfi-1.5.4-fix-tests.patch b/sci-libs/mpfi/files/mpfi-1.5.4-fix-tests.patch deleted file mode 100644 index 994752e0e61e..000000000000 --- a/sci-libs/mpfi/files/mpfi-1.5.4-fix-tests.patch +++ /dev/null @@ -1,300 +0,0 @@ -From acf9b404b603808763384bcdf6ccb4f1e43d9e9f Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Thu, 12 Sep 2024 15:40:12 -0400 -Subject: [PATCH 1/3] tests/texp10.c: skip check_data tests... - -...because the data file isn't in the tarball. ---- - tests/texp10.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/tests/texp10.c b/tests/texp10.c -index 03f112b..d0478c5 100644 ---- a/tests/texp10.c -+++ b/tests/texp10.c -@@ -34,7 +34,6 @@ main (int argc, char **argv) - mpfi_fun_init_II (&i_exp10, mpfi_exp10, mpfr_exp10); - test_start (); - -- check_data (&i_exp10, "exp10.dat"); - check_random (&i_exp10, 2, 512, 10); - - test_end (); --- -2.46.0 - -From 4116d242e7af999bce6cf6f1f525cda353469bd6 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Thu, 12 Sep 2024 15:41:16 -0400 -Subject: [PATCH 2/3] tests/{trec_sqrt.c,rec_sqrt.dat}: fix as many tests as - possible - -The mpfi_rec_sqrt() function isn't tested at all, because this doesn't -even compile. First we switch a "I" to a "II" to indicate that it's a -two-argument function (an in value and an out value). Then, the random -tests actually pass! But most of the check_data() examples don't, and -who can say why. I've simply deleted the ones that don't pass? Now "by -construction," everything passes. ---- - tests/rec_sqrt.dat | 19 ------------------- - tests/trec_sqrt.c | 2 +- - 2 files changed, 1 insertion(+), 20 deletions(-) - -diff --git a/tests/rec_sqrt.dat b/tests/rec_sqrt.dat -index fb7e69e..45c8488 100644 ---- a/tests/rec_sqrt.dat -+++ b/tests/rec_sqrt.dat -@@ -6,26 +6,7 @@ - 0 53 nan nan 53 nan nan - 0 53 nan nan 53 nan -inf - 0 53 nan nan 53 -7 nan --0 53 -inf nan 53 nan -0 --0 53 nan +inf 53 +0 nan --0 53 +1 nan 53 nan +1 --0 53 nan +0 53 +inf nan - 0 53 nan nan 53 -inf -inf - 0 53 nan nan 53 -inf -7 --0 53 nan -0 53 -inf -0 --0 53 nan -0 53 -inf -0 --0 53 nan +3 53 -inf +9 --0 53 nan +inf 53 -inf +inf --0 53 +inf +inf 53 +0 -0 --0 53 +0.25 +inf 53 +0 +16 - 0 53 +0 +inf 53 +0 +inf --0 53 +0 +0.25 53 +16 +inf --0 53 +inf +inf 53 +inf +inf - --# regular values --0 53 +0.25 +0.5 -- 53 +4 +16 --1 53 +0.5 +0xb.504f333f9de68p-1 -- 53 +2 +4 --2 53 +0x9.3cd3a2c8198ep-1 +0xb.504f333f9de68p-1 -- 53 +2 +3 -diff --git a/tests/trec_sqrt.c b/tests/trec_sqrt.c -index 8ca276f..a507697 100644 ---- a/tests/trec_sqrt.c -+++ b/tests/trec_sqrt.c -@@ -31,7 +31,7 @@ main (int argc, char **argv) - { - struct mpfi_function_t i_rec_sqrt; - -- mpfi_fun_init_I (&i_rec_sqrt, mpfr_rec_sqrt, mpfr_rec_sqrt); -+ mpfi_fun_init_II (&i_rec_sqrt, mpfi_rec_sqrt, mpfr_rec_sqrt); - test_start (); - - check_data (&i_rec_sqrt, "rec_sqrt.dat"); --- -2.46.0 - -From 533cb95f8a4aa8a59e780093b92e0cf530ebae60 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Thu, 12 Sep 2024 15:43:55 -0400 -Subject: [PATCH 3/3] tests: fixup mpfi_div_ext() tests - -Again this function was not tested at all, because there was a type -mismatch in the test file, and if you fixed that then it segfaulted -because the type_iiii.c implementation was never finished. I've tried -to hack it together, and to my surprise, it mostly works. The examples -that don't have been deleted without trying to explain them. ---- - tests/div_ext.dat | 45 --------------------------------------------- - tests/mpfi-tests.h | 3 +-- - tests/tdiv_ext.c | 4 ++-- - tests/type_ii.c | 26 ++++++++++++++++++-------- - tests/type_iiii.c | 8 ++++---- - 5 files changed, 25 insertions(+), 61 deletions(-) - -diff --git a/tests/div_ext.dat b/tests/div_ext.dat -index d832390..6fa097b 100644 ---- a/tests/div_ext.dat -+++ b/tests/div_ext.dat -@@ -33,51 +33,6 @@ - 0 53 nan nan 53 nan nan 53 nan -7 53 +inf +inf - 0 53 nan nan 53 nan nan 53 nan +1 53 nan -0 - --2 53 -inf -2 53 +0 +inf 53 -inf -6 53 -inf +3 --2 53 -inf -2 53 +3 +inf 53 -inf -6 53 -2 +3 --2 53 -inf -0 53 +3 +inf 53 -inf -6 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 -inf -6 53 -inf +inf -- --2 53 -inf -2 53 +0 +inf 53 -24 -6 53 -inf +3 --2 53 -inf -2 53 +3 +inf 53 -24 -6 53 -2 +3 --2 53 -inf -0 53 +3 +inf 53 -24 -6 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 -24 -6 53 -inf +inf -- --1 53 -inf +inf 53 nan nan 53 -inf -0 53 -inf +3 --1 53 -inf +inf 53 nan nan 53 -inf -0 53 -2 +3 --1 53 -inf +inf 53 nan nan 53 -inf -0 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 -inf -0 53 -inf +inf -- --1 53 -inf +inf 53 nan nan 53 -24 -0 53 -inf +3 --1 53 -inf +inf 53 nan nan 53 -24 -0 53 -2 +3 --1 53 -inf +inf 53 nan nan 53 -24 -0 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 -24 -0 53 -inf +inf -- --1 53 -inf +inf 53 nan nan 53 -24 +6 53 -inf +3 --1 53 -inf +inf 53 nan nan 53 -24 +6 53 -2 +3 --1 53 -inf +inf 53 nan nan 53 -24 +6 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 -24 +6 53 -inf +inf -- --1 53 -inf +inf 53 nan nan 53 +0 +6 53 -inf +3 --1 53 -inf +inf 53 nan nan 53 +0 +6 53 -2 +3 --1 53 -inf +inf 53 nan nan 53 +0 +6 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 +0 +6 53 -inf +inf -- --1 53 -inf +inf 53 nan nan 53 +0 +inf 53 -inf +3 --1 53 -inf +inf 53 nan nan 53 +0 +inf 53 -2 +3 --1 53 -inf +inf 53 nan nan 53 +0 +inf 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 +0 +inf 53 -inf +inf -- --2 53 -inf -0 53 +2 +inf 53 +6 +24 53 -inf +3 --2 53 -inf -3 53 +2 +inf 53 +6 +24 53 -2 +3 --2 53 -inf -3 53 +0 +inf 53 +6 +24 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 +6 +24 53 -inf +inf -- --2 53 -inf -0 53 +2 +inf 53 +6 +inf 53 -inf +3 --2 53 -inf -3 53 +2 +inf 53 +6 +inf 53 -2 +3 --2 53 -inf -3 53 +0 +inf 53 +6 +inf 53 -2 +inf --1 53 -inf +inf 53 nan nan 53 +6 +inf 53 -inf +inf -- - # above values to be put at the proper place - # regular values - # 0 53 -0x1p-1 -0x187p-256 53 -0.375 -0x10187p-256 53 -0.125 0x1p-240 -diff --git a/tests/mpfi-tests.h b/tests/mpfi-tests.h -index 908f5b1..82b2c41 100644 ---- a/tests/mpfi-tests.h -+++ b/tests/mpfi-tests.h -@@ -57,8 +57,7 @@ typedef int (*IZ_fun) (mpfi_t, mpz_srcptr); - typedef int (*IQ_fun) (mpfi_t, mpq_srcptr); - typedef int (*IR_fun) (mpfi_t, mpfr_srcptr); - typedef int (*III_fun) (mpfi_t, mpfi_srcptr, mpfi_srcptr); --/*typedef int (*IIII_fun)(mpfi_t, mpfi_t, mpfi_srcptr, mpfi_srcptr);*/ --typedef int (*IIII_fun)(mpfi_t, mpfi_srcptr, mpfi_srcptr, mpfi_srcptr); -+typedef int (*IIII_fun)(mpfi_t, mpfi_t, mpfi_srcptr, mpfi_srcptr); - typedef int (*IIU_fun) (mpfi_t, mpfi_srcptr, unsigned long); - typedef int (*IIS_fun) (mpfi_t, mpfi_srcptr, long); - typedef int (*IID_fun) (mpfi_t, mpfi_srcptr, double); -diff --git a/tests/tdiv_ext.c b/tests/tdiv_ext.c -index 8f12562..d3d3d93 100644 ---- a/tests/tdiv_ext.c -+++ b/tests/tdiv_ext.c -@@ -27,12 +27,12 @@ int - main (int argc, char **argv) - { - struct mpfi_function_t i_div_ext; -- mpfi_fun_init_IIII (&i_div_ext, mpfi_div_ext, mpfr_div); -+ mpfi_fun_init_IIII (&i_div_ext, mpfi_div_ext, (RRRR_fun)NULL); - - test_start (); - - check_data (&i_div_ext, "div_ext.dat"); -- check_random (&i_div_ext, 2, 1000, 10); -+ /*check_random (&i_div_ext, 2, 1000, 10);*/ - - test_end (); - mpfi_fun_clear (&i_div_ext); -diff --git a/tests/type_ii.c b/tests/type_ii.c -index 6f7bb17..752fba4 100644 ---- a/tests/type_ii.c -+++ b/tests/type_ii.c -@@ -52,13 +52,17 @@ check_with_different_prec (mpfi_function_ptr function, mpfr_prec_t prec) - - /* rename operands for better readability */ - int type_II = MPFI_FUN_TYPE (*function) == II; -+ int type_III = MPFI_FUN_TYPE (*function) == III; -+ int type_IIII = MPFI_FUN_TYPE (*function) == IIII; - II_fun f_II = MPFI_FUN_GET (*function, II); - III_fun f_III = MPFI_FUN_GET (*function, III); -+ IIII_fun f_IIII = MPFI_FUN_GET (*function, IIII); - mpfi_ptr got = MPFI_FUN_ARG (*function, 0, mpfi); - int expected_inex = MPFI_FUN_ARG (*function, 1, i); - mpfi_ptr expected = MPFI_FUN_ARG (*function, 2, mpfi); - mpfi_ptr op1 = MPFI_FUN_ARG (*function, 3, mpfi); - mpfi_ptr op2 = type_II ? NULL : MPFI_FUN_ARG (*function, 4, mpfi); -+ mpfi_ptr op3 = (type_II || type_III) ? NULL : MPFI_FUN_ARG (*function, 5, mpfi); - - - mpfr_init2 (x, prec); -@@ -66,24 +70,30 @@ check_with_different_prec (mpfi_function_ptr function, mpfr_prec_t prec) - - if (type_II) - f_II (got, op1); -- else -+ else if (type_III) - f_III (got, op1, op2); -+ else -+ f_IIII(got, op1, op2, op3); - - if (!MPFI_LEFT_IS_INEXACT (expected_inex)) { - mpfr_set (x, &(expected->left), MPFI_RNDD); - if (!same_mpfr_value (x, &(got->left))) { - printf ("Error at precision = %lu (line %lu).\n", - (unsigned long)prec, test_line_number); -- if (type_II) { -- printf ("op = "); -- mpfi_out_str (stdout, 16, 0, op1); -- } -- else { -- printf ("op1 = "); -- mpfi_out_str (stdout, 16, 0, op1); -+ -+ printf ("op = "); -+ mpfi_out_str (stdout, 16, 0, op1); -+ -+ if (type_III) { - printf ("\nop2 = "); - mpfi_out_str (stdout, 16, 0, op2); - } -+ -+ if (type_IIII) { -+ printf ("\nop3 = "); -+ mpfi_out_str (stdout, 16, 0, op3); -+ } -+ - printf ("\nleft endpoint: got = "); - mpfr_out_str (stdout, 2, 0, &(got->left), MPFI_RNDD); - printf ("\n expected = "); -diff --git a/tests/type_iiii.c b/tests/type_iiii.c -index f88ae78..991ddf0 100644 ---- a/tests/type_iiii.c -+++ b/tests/type_iiii.c -@@ -78,7 +78,7 @@ check_line_iiii (mpfi_function_ptr function) - mpfi_out_str (stdout, 16, 0, op1); - printf ("\nop2 = "); - mpfi_out_str (stdout, 16, 0, op2); -- printf ("\ngot = "); -+ printf ("\nop3 = "); - mpfi_out_str (stdout, 16, 0, op3); - printf ("\ngot = "); - mpfi_out_str (stdout, 16, 0, got); -@@ -110,7 +110,7 @@ check_line_iiii (mpfi_function_ptr function) - mpfi_out_str (stdout, 16, 0, op1); - printf ("\nop2 = "); - mpfi_out_str (stdout, 16, 0, op2); -- printf ("\ngot = "); -+ printf ("\nop3 = "); - mpfi_out_str (stdout, 16, 0, op3); - printf ("\ngot = "); - mpfi_out_str (stdout, 16, 0, got); -@@ -135,7 +135,7 @@ check_line_iiii (mpfi_function_ptr function) - mpfi_out_str (stdout, 16, 0, op1); - printf ("\nop2 = "); - mpfi_out_str (stdout, 16, 0, op2); -- printf ("\ngot = "); -+ printf ("\nop3 = "); - mpfi_out_str (stdout, 16, 0, op3); - printf ("\ngot = "); - mpfi_out_str (stdout, 16, 0, got); -@@ -160,7 +160,7 @@ check_line_iiii (mpfi_function_ptr function) - mpfi_out_str (stdout, 16, 0, op1); - printf ("\nop2 = "); - mpfi_out_str (stdout, 16, 0, op2); -- printf ("\ngot = "); -+ printf ("\nop3 = "); - mpfi_out_str (stdout, 16, 0, op3); - printf ("\ngot = "); - mpfi_out_str (stdout, 16, 0, got); --- -2.46.0 - diff --git a/sci-libs/mpfi/metadata.xml b/sci-libs/mpfi/metadata.xml deleted file mode 100644 index a183ec619741..000000000000 --- a/sci-libs/mpfi/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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"> - MPFI is intended to be a portable library written in C for arbitrary - precision interval arithmetic with intervals represented using MPFR - reliable floating-point numbers. It is based on the GNU MP library - and on the MPFR library. The purpose of an arbitrary precision - interval arithmetic is on the one hand to get guaranteed results, - thanks to interval computation, and on the other hand to obtain - accurate results, thanks to multiple precision arithmetic. The MPFI - library is built upon MPFR in order to benefit from the correct - roundings provided by MPFR. Further advantages of using MPFR are its - portability and compliance with the IEEE 754 standard for - floating-point arithmetic. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/mpfi/mpfi-1.5.4_p20220401.ebuild b/sci-libs/mpfi/mpfi-1.5.4_p20220401.ebuild deleted file mode 100644 index 386f46d2a177..000000000000 --- a/sci-libs/mpfi/mpfi-1.5.4_p20220401.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Multiple precision interval arithmetic library based on MPFR" -HOMEPAGE="https://perso.ens-lyon.fr/nathalie.revol/software.html https://gitlab.inria.fr/mpfi/mpfi" -SRC_URI=" https://perso.ens-lyon.fr/nathalie.revol/softwares/${PN}-1.5.4.tar.xz -> ${P}.tar.xz" -S="${WORKDIR}/${PN}-1.5.4" -# COPYING is GPL-3, COPYING.LESSER is LGPL-3, source file headers -# are LGPL-2.1+ -LICENSE="GPL-3 LGPL-3 LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -DEPEND=" - dev-libs/gmp:0= - dev-libs/mpfr:0=" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-1.5.4-fix-tests.patch" ) - -src_configure() { - econf --disable-static -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/mumps/Manifest b/sci-libs/mumps/Manifest deleted file mode 100644 index 222fe61900a1..000000000000 --- a/sci-libs/mumps/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST MUMPS_5.3.5.tar.gz 3940501 BLAKE2B f1767483bb23744a2c5ed11b0823c5b023377d5212abbe29a177cce5b5e51e6f2f391d7caa17022646e36c9e4b4fb4af80b03ac6cf8e89f37502ed960138bbbe SHA512 6e3bb081f38af8540ada7b4fb54c6e766739c854e2a3dd253e3e012eee05dae30064b1b4a8d7493f10691725aba4cc9e80544b0fe5b71670cb0b2726ccfc4439 diff --git a/sci-libs/mumps/metadata.xml b/sci-libs/mumps/metadata.xml deleted file mode 100644 index 48fbdcfacfa6..000000000000 --- a/sci-libs/mumps/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> - MUltifrontal Massively Parallel sparse direct Solver implements a - direct solver for large sparse linear systems, with a particular - focus on symmetric positive definite matrices. It can operate on - distributed matrices e.g. over a cluster. It has Fortran and C - interfaces, and can interface with ordering tools such - as Scotch or Metis. -</longdescription> -<use> - <flag name="metis">Enable matrix ordering with METIS - (<pkg>sci-libs/metis</pkg>, <pkg>sci-libs/parmetis</pkg>)</flag> - <flag name="scotch">Enable matrix ordering with <pkg>sci-libs/scotch</pkg></flag> -</use> -</pkgmetadata> diff --git a/sci-libs/mumps/mumps-5.3.5-r1.ebuild b/sci-libs/mumps/mumps-5.3.5-r1.ebuild deleted file mode 100644 index eaa1a821f052..000000000000 --- a/sci-libs/mumps/mumps-5.3.5-r1.ebuild +++ /dev/null @@ -1,219 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fortran-2 flag-o-matic multilib toolchain-funcs - -MYP=MUMPS_${PV} - -DESCRIPTION="MUltifrontal Massively Parallel sparse direct matrix Solver" -HOMEPAGE="https://mumps-solver.org/" -SRC_URI="https://mumps-solver.org/${MYP}.tar.gz" -S="${WORKDIR}/${MYP}" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~loong ~riscv ~x86" -IUSE="doc examples metis mpi +scotch static-libs" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - virtual/blas - metis? ( - >=sci-libs/metis-5 - mpi? ( >=sci-libs/parmetis-4 ) - ) - mpi? ( sci-libs/scalapack ) - !mpi? ( virtual/lapack ) - scotch? ( >=sci-libs/scotch-6.0.1:=[mpi=] ) -" -DEPEND="${RDEPEND}" - -_get_version_component_count() { - local cnt=( $(ver_rs 1- ' ') ) - echo ${#cnt[@]} || die -} - -static_to_shared() { - local libstatic=${1} - shift - local libname=$(basename ${libstatic%.a}) - local soname=${libname}$(get_libname $(ver_cut 1-2)) - local libdir=$(dirname ${libstatic}) - - einfo "Making ${soname} from ${libstatic}" - if [[ ${CHOST} == *-darwin* ]] ; then - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ - -Wl,-all_load -Wl,${libstatic} \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - else - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - - if [[ $(_get_version_component_count) -ge 1 ]] ; then - ln -s ${soname} ${libdir}/${libname}$(get_libname $(ver_cut 1)) || die - fi - - ln -s ${soname} ${libdir}/${libname}$(get_libname) || die - fi -} - -src_prepare() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862903 - # - # There is an upstream mailing list but it seems to be broken. I *think*, - # because it's all in French. I tried and failed to report the bug. - # - # Do not trust with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - # workaround for gcc10 (bug #743442) - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - sed -e "s;^\(CC\s*=\).*;\1$(tc-getCC);" \ - -e "s;^\(FC\s*=\).*;\1$(tc-getFC);" \ - -e "s;^\(FL\s*=\).*;\1$(tc-getFC);" \ - -e "s;^\(AR\s*=\).*;\1$(tc-getAR) cr ;" \ - -e "s;^\(RANLIB\s*=\).*;\1$(tc-getRANLIB);" \ - -e "s;^\(LIBBLAS\s*=\).*;\1$($(tc-getPKG_CONFIG) --libs blas);" \ - -e "s;^\(INCPAR\s*=\).*;\1;" \ - -e 's;^\(LIBPAR\s*=\).*;\1$(SCALAP);' \ - -e "s;^\(OPTF\s*=\).*;\1${FFLAGS} -DALLOW_NON_INIT \$(PIC);" \ - -e "s;^\(OPTC\s*=\).*;\1${CFLAGS} \$(PIC);" \ - -e "s;^\(OPTL\s*=\).*;\1${LDFLAGS};" \ - Make.inc/Makefile.inc.generic > Makefile.inc || die - # fixed a missing copy of libseq to libdir - - default -} - -src_configure() { - # We abuse LIBADD here to work around the fact that MUMPS is criminally - # underlinked. - LIBADD="$($(tc-getPKG_CONFIG) --libs blas) -Llib -lpord" - local ord="-Dpord" - - if use metis && use mpi; then - sed -i \ - -e "s;#\s*\(LMETIS\s*=\).*;\1$($(tc-getPKG_CONFIG) --libs parmetis);" \ - -e "s;#\s*\(IMETIS\s*=\).*;\1$($(tc-getPKG_CONFIG) --cflags parmetis);" \ - Makefile.inc || die - LIBADD="${LIBADD} $($(tc-getPKG_CONFIG) --libs parmetis)" - ord="${ord} -Dparmetis" - elif use metis; then - sed -i \ - -e "s;#\s*\(LMETIS\s*=\).*;\1$($(tc-getPKG_CONFIG) --libs metis);" \ - -e "s;#\s*\(IMETIS\s*=\).*;\1$($(tc-getPKG_CONFIG) --cflags metis);" \ - Makefile.inc || die - LIBADD="${LIBADD} $($(tc-getPKG_CONFIG) --libs metis)" - ord="${ord} -Dmetis" - fi - if use scotch && use mpi; then - sed -i \ - -e "s;#\s*\(LSCOTCH\s*=\).*;\1-lptesmumps -lptscotch -lptscotcherr;" \ - -e "s;#\s*\(ISCOTCH\s*=\).*;\1-I${ESYSROOT}/usr/include/scotch;" \ - Makefile.inc || die - LIBADD="${LIBADD} -lptesmumps -lptscotch -lptscotcherr" - ord="${ord} -Dptscotch" - elif use scotch; then - sed -i \ - -e "s;#\s*\(LSCOTCH\s*=\).*;\1-lesmumps -lscotch -lscotcherr;" \ - -e "s;#\s*\(ISCOTCH\s*=\).*;\1-I${ESYSROOT}/usr/include/scotch;" \ - Makefile.inc || die - LIBADD="${LIBADD} -lesmumps -lscotch -lscotcherr" - ord="${ord} -Dscotch" - fi - if use mpi; then - sed -i \ - -e "s;^\(CC\s*=\).*;\1mpicc;" \ - -e "s;^\(FC\s*=\).*;\1mpif90;" \ - -e "s;^\(FL\s*=\).*;\1mpif90;" \ - -e "s;^\(SCALAP\s*=\).*;\1$($(tc-getPKG_CONFIG) --libs scalapack);" \ - Makefile.inc || die - export LINK=mpif90 - LIBADD="${LIBADD} $($(tc-getPKG_CONFIG) --libs scalapack)" - else - sed -i \ - -e 's;-Llibseq;-L$(topdir)/libseq;' \ - -e 's;PAR);SEQ);g' \ - -e "s;^\(SCALAP\s*=\).*;\1;" \ - -e 's;^LIBSEQNEEDED =;LIBSEQNEEDED = libseqneeded;g' \ - Makefile.inc || die - LIBADD="${LIBADD} $($(tc-getPKG_CONFIG) --libs lapack)" - export LINK="$(tc-getFC)" - fi - sed -i -e "s;^\s*\(ORDERINGSF\s*=\).*;\1 ${ord};" Makefile.inc || die -} - -src_compile() { - # Workaround #462602 - export FAKEROOTKEY=1 - - # Use "-j1" to avoid a spurious race condition - emake -j1 alllib PIC="-fPIC" - if ! use mpi; then - #$(tc-getAR) crs lib/libmumps_common.a libseq/*.o || die - LIBADD+=" -Llibseq -lmpiseq" - static_to_shared libseq/libmpiseq.a - fi - - static_to_shared lib/libpord.a ${LIBADD} - static_to_shared lib/libmumps_common.a ${LIBADD} - - local i - for i in c d s z; do - static_to_shared lib/lib${i}mumps.a -Llib -lmumps_common ${LIBADD} - done - - if use static-libs; then - emake clean - emake alllib - fi -} - -src_test() { - emake all - - local dotest - if use mpi; then - dotest="mpirun -np 2" - else - export LD_LIBRARY_PATH="${S}/libseq:${LD_LIBRARY_PATH}" - fi - - cd examples - ${dotest} ./ssimpletest < input_simpletest_real || die - ${dotest} ./dsimpletest < input_simpletest_real || die - ${dotest} ./csimpletest < input_simpletest_cmplx || die - ${dotest} ./zsimpletest < input_simpletest_cmplx || die - einfo "The solutions should be close to (1,2,3,4,5)" - ${dotest} ./c_example || die - einfo "The solution should be close to (1,2)" - emake clean -} - -src_install() { - dolib.so lib/lib*$(get_libname)* - use static-libs && dolib.a lib/lib*.a - insinto /usr - - doins -r include - if ! use mpi; then - dolib.so libseq/lib*$(get_libname)* - insinto /usr/include/mpiseq - doins libseq/*.h - use static-libs && dolib.a libseq/libmpiseq.a - fi - - dodoc README ChangeLog VERSION - use doc && dodoc doc/*.pdf - if use examples; then - dodoc -r examples - fi -} diff --git a/sci-libs/nanoflann/Manifest b/sci-libs/nanoflann/Manifest deleted file mode 100644 index 92a1b16e7acf..000000000000 --- a/sci-libs/nanoflann/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST nanoflann-1.7.1.tar.gz 522904 BLAKE2B 3e6e50225d97ce926481a0148c66458245b04e5d0632d42569e6a6edfb6cd097c3b467535de7de11907a0a848bf971a6aa18f0b4b5920f0a680b67c0ce490319 SHA512 258b2145f2972f6e6cbfa524dfada15f6d66fd53ab81cd55924f159c6c05eb55c56426039bded0357ea707c34df3ca04fa4875a42baeecb5e6b5f4a57feac808 diff --git a/sci-libs/nanoflann/metadata.xml b/sci-libs/nanoflann/metadata.xml deleted file mode 100644 index 8380ce09585e..000000000000 --- a/sci-libs/nanoflann/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - nanoflann is a C++ header-only library for building KD-Trees, - mostly optimized for 2D or 3D point clouds. This library is a fork - (and a subset) of the <pkg>sci-libs/flann</pkg> library. - </longdescription> - <upstream> - <remote-id type="github">jlblancoc/nanoflann</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/nanoflann/nanoflann-1.7.1.ebuild b/sci-libs/nanoflann/nanoflann-1.7.1.ebuild deleted file mode 100644 index f3a8c055e7d4..000000000000 --- a/sci-libs/nanoflann/nanoflann-1.7.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees" -HOMEPAGE="https://github.com/jlblancoc/nanoflann" - -if [[ ${PV} = *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jlblancoc/nanoflann.git" -else - SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-cpp/eigen:=" -DEPEND="${RDEPEND}" - -src_configure() { - local mycmakeargs=( - -DNANOFLANN_BUILD_EXAMPLES=$(usex examples) - -DNANOFLANN_BUILD_TESTS=$(usex test) - ) - cmake_src_configure -} diff --git a/sci-libs/nanoflann/nanoflann-9999.ebuild b/sci-libs/nanoflann/nanoflann-9999.ebuild deleted file mode 100644 index f3a8c055e7d4..000000000000 --- a/sci-libs/nanoflann/nanoflann-9999.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees" -HOMEPAGE="https://github.com/jlblancoc/nanoflann" - -if [[ ${PV} = *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jlblancoc/nanoflann.git" -else - SRC_URI="https://github.com/jlblancoc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-cpp/eigen:=" -DEPEND="${RDEPEND}" - -src_configure() { - local mycmakeargs=( - -DNANOFLANN_BUILD_EXAMPLES=$(usex examples) - -DNANOFLANN_BUILD_TESTS=$(usex test) - ) - cmake_src_configure -} diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest deleted file mode 100644 index fe245292f7f8..000000000000 --- a/sci-libs/netcdf-cxx/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8 SHA512 347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643 -DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501 SHA512 404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22 -DIST netcdf-cxx4-4.3.1.tar.gz 598335 BLAKE2B e8272d9bd74cf9b814303a5b208be20228149533a9cc78cc1ef460f2cfb0086c7187afba325ab9a7b3d071e0fb9160d3b057e3bee68b679d9f504ccfecb016d8 SHA512 f5d9d26fb9f57430d0d681a9c7396bb0f03ed6446ac6fed51058dcc43690c02565da3f729f98b268b0bd923ca8b5b3cfa8340aca6a4f18f512c0c320ea20703f diff --git a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.3.1-slibtool.patch b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.3.1-slibtool.patch deleted file mode 100644 index 72db4dbd2c76..000000000000 --- a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.3.1-slibtool.patch +++ /dev/null @@ -1,42 +0,0 @@ -https://github.com/Unidata/netcdf-cxx4/pull/103 -https://bugs.gentoo.org/778200 - -From: orbea <orbea@riseup.net> -Date: Thu, 25 Mar 2021 12:24:57 -0700 -Subject: [PATCH 1/2] cxx4: Move -lnetcdf to LIBADD so its used. - ---- a/cxx4/Makefile.am -+++ b/cxx4/Makefile.am -@@ -3,15 +3,13 @@ - - # This file builds the new C++-4 interface. - --# Point pre-preprocessor to netcdf-4 directory (libsrc4). --LDADD = $(top_builddir)/cxx4/libnetcdf_c++4.la -lnetcdf -- - # This is our output library. - lib_LTLIBRARIES = libnetcdf_c++4.la - - # For rules updating the version info, see - # http://www.gnu.org/s/libtool/manual/html_node/Updating-version-info.html - libnetcdf_c__4_la_LDFLAGS = -version-info 2:0:1 -no-undefined -+libnetcdf_c__4_la_LIBADD = -lnetcdf - - # These headers will be installed in the users header directory. - include_HEADERS = netcdf ncAtt.h ncCheck.h ncDim.h ncException.h \ - -From a6dd5eb862d9a845b8458591b957b07c527e0d20 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Thu, 25 Mar 2021 12:25:33 -0700 -Subject: [PATCH 2/2] plugins: Add a missing -lhdf5 linker flag. - ---- a/plugins/Makefile.am -+++ b/plugins/Makefile.am -@@ -20,6 +20,7 @@ lib_LTLIBRARIES = libh5bzip2.la - - libh5bzip2_la_SOURCES = ${HDF5PLUGINSRC} - libh5bzip2_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -+libh5bzip2_la_LIBADD = -lhdf5 - - libmisc_la_SOURCES = H5Zmisc.c H5Zutil.c h5misc.h - libmisc_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -rpath ${abs_builddir} diff --git a/sci-libs/netcdf-cxx/metadata.xml b/sci-libs/netcdf-cxx/metadata.xml deleted file mode 100644 index 040a4543b31b..000000000000 --- a/sci-libs/netcdf-cxx/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - NetCDF (network Common Data Form) is an interface for scientific - data access and a freely-distributed software library that provides an - implementation of the interface. The netCDF library also defines a - machine-independent format for representing scientific data. - Together, the interface, library, and format support the creation, - access, and sharing of scientific data. - This is the C++ library which links to the C library. - </longdescription> - <upstream> - <remote-id type="github">Unidata/netcdf-cxx4</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild deleted file mode 100644 index 576b7337ce2f..000000000000 --- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="C++ library for netCDF" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz" - -LICENSE="UCAR-Unidata" -SLOT="3" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="examples" - -RDEPEND=">=sci-libs/netcdf-4.2:0=" -DEPEND="${RDEPEND}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --disable-static -} - -src_install() { - default - - if use examples ; then - docinto examples - dodoc -r examples - fi -} diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild deleted file mode 100644 index dc2ef3bdc6c5..000000000000 --- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit libtool - -MYP=${PN}4-${PV} -DESCRIPTION="C++ library for netCDF" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://downloads.unidata.ucar.edu/netcdf-cxx/${PV}/${PN}4-${PV}.tar.gz" - -LICENSE="UCAR-Unidata" -SLOT="0/1" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="examples" -# 6 out of 9 fail, reported upstream -#RESTRICT="test" - -RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}" - -PATCHES=( - "${FILESDIR}"/${P}-slibtool.patch -) - -src_prepare() { - default - elibtoolize -} - -src_install() { - default - use examples && dodoc -r examples - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild deleted file mode 100644 index a83b1dd26d68..000000000000 --- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit libtool - -MYP=${PN}4-${PV} -DESCRIPTION="C++ library for netCDF" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="UCAR-Unidata" -SLOT="0/1" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="examples" -# 6 out of 9 fail, reported upstream -RESTRICT="test" - -RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}" - -PATCHES=( - "${FILESDIR}"/${P}-slibtool.patch -) - -src_prepare() { - default - elibtoolize -} - -src_configure() { - econf --disable-static -} - -src_install() { - default - use examples && dodoc -r examples - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/netcdf-fortran/Manifest b/sci-libs/netcdf-fortran/Manifest deleted file mode 100644 index deb89c507b91..000000000000 --- a/sci-libs/netcdf-fortran/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST netcdf-fortran-4.5.4.tar.gz 2011867 BLAKE2B bc98522be63c705193a22ce877c41abdc064a05afab2186891d8a0bbe9da8f0ba3f7eae6610e8b4e006b26ad8e3ea5fd8d57349054949a38f3a2fd9dfefb85c5 SHA512 a704f6483f2c8b8bf2353615a3e4b784294bd790588cfc13193c617e776e330edb17fa16da69e1a0b6c767308992321e01399ba2067c32f6ae6b3cb9ff72c3ee -DIST netcdf-fortran-4.5.4.upstream.tar.gz 1085665 BLAKE2B 616fba5a8dfa69c4a48df72222cbc2adf24dadcbda01d95e97b64a23a76038dd75988b481eb3d73e6ae5d20c011c5dc23cf2e0f3a3ae020a12742fe93644de2c SHA512 a03a9a57476983096cdc610405869696c6c0345039da9f386e345932bf439f49aa012501d31f4ab0100688211a3abfc7487a8413cf9a0b3907dc1f8ee50d8000 -DIST netcdf-fortran-4.6.1.tar.gz 1112270 BLAKE2B 88c7550a1426fb82068dec3183d14ac0aa85eb4657cffaca7f141bfa2caa0e48ef1f395a504f06fca29ffb511b20182d6d0d71ab951b93f985a580352da3fe52 SHA512 4fb8ed0581df9157733f1331de60dc4e06274320a942db97dbc9020653ed4677bf26e84e5968ee6e5f8fc179e2db02898f339820e5b257ce8a94a5bcdc670587 diff --git a/sci-libs/netcdf-fortran/metadata.xml b/sci-libs/netcdf-fortran/metadata.xml deleted file mode 100644 index 4e7a4a8023f1..000000000000 --- a/sci-libs/netcdf-fortran/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - NetCDF (network Common Data Form) is an interface for scientific - data access and a freely-distributed software library that provides an - implementation of the interface. The netCDF library also defines a - machine-independent format for representing scientific data. - Together, the interface, library, and format support the creation, - access, and sharing of scientific data. - This is the FORTRAN 77 and 90 library on top of the C library. - </longdescription> - <upstream> - <remote-id type="github">Unidata/netcdf-fortran</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild deleted file mode 100644 index 237ab757c2fd..000000000000 --- a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_STANDARD="77 90" - -inherit flag-o-matic fortran-2 - -DESCRIPTION="Scientific library and interface for array oriented data access" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -# TODO: drop .upstream suffix on next bump -SRC_URI="https://downloads.unidata.ucar.edu/netcdf-fortran/${PV}/${P}.tar.gz -> ${P}.upstream.tar.gz" - -LICENSE="UCAR-Unidata" -SLOT="0/7" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples static-libs" - -RDEPEND="sci-libs/netcdf" -DEPEND=" - ${RDEPEND} - dev-lang/cfortran -" -BDEPEND="doc? ( app-text/doxygen )" - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927588 - # https://github.com/Unidata/netcdf-fortran/issues/437 - filter-lto - - econf \ - --disable-valgrind \ - --with-temp-large="${T}" \ - --disable-dot \ - $(use_enable doc doxygen) \ - $(use_enable static-libs static) -} - -src_install() { - default - use examples && dodoc -r examples - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild deleted file mode 100644 index dadbefd9b439..000000000000 --- a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_STANDARD="77 90" - -inherit autotools flag-o-matic fortran-2 - -DESCRIPTION="Scientific library and interface for array oriented data access" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://github.com/Unidata/netcdf-fortran/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="UCAR-Unidata" -SLOT="0/7" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples static-libs" - -RDEPEND="sci-libs/netcdf" -DEPEND="${RDEPEND} - dev-lang/cfortran" -BDEPEND="doc? ( app-text/doxygen )" - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927588 - # https://github.com/Unidata/netcdf-fortran/issues/437 - filter-lto - - econf \ - --disable-valgrind \ - --with-temp-large="${T}" \ - --disable-dot \ - $(use_enable doc doxygen) \ - $(use_enable static-libs static) -} - -src_install() { - default - use examples && dodoc -r examples - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild deleted file mode 100644 index 192e3a55f4ba..000000000000 --- a/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_STANDARD="77 90" - -inherit cmake flag-o-matic fortran-2 - -DESCRIPTION="Scientific library and interface for array oriented data access" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://downloads.unidata.ucar.edu/netcdf-fortran/${PV}/${P}.tar.gz" - -LICENSE="UCAR-Unidata" -SLOT="0/7" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples test zstd" -RESTRICT="!test? ( test )" - -RDEPEND="sci-libs/netcdf" -DEPEND=" - ${RDEPEND} - dev-lang/cfortran -" -BDEPEND="doc? ( app-text/doxygen[dot] )" - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/927588 - # https://github.com/Unidata/netcdf-fortran/issues/437 - filter-lto - - local mycmakeargs=( - -DDISABLE_ZSTANDARD_PLUGIN=$(usex !zstd) - -DBUILD_EXAMPLES=$(usex examples) - -DENABLE_DOXYGEN=$(usex doc) - -DENABLE_PARALLEL_TESTS=$(usex test) - -DENABLE_TESTS=$(usex test) - - # "Take lots of time and disk." per CMakeLists.txt - #-DLARGE_FILE_TESTS="${T}" - - -DTEST_WITH_VALGRIND=OFF - ) - - cmake_src_configure -} diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest deleted file mode 100644 index 4030e082d4ee..000000000000 --- a/sci-libs/netcdf/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST netcdf-c-4.9.2.tar.gz 7142536 BLAKE2B b24135070d2f1f0b53fe738f8839039547eceba16d36905bb8cd7be983ce0c1127b7b01ae37dbde50087aa82fd56f00fab9bfa75c7d94fd4478031bb8a6da247 SHA512 7a96bcf673d5a9e1537d660aaf085a1dfaefc7dfb0fc96358462d92e7bbfe541184583681797e6a54d11b8588504b7d8a9b0b9bd850eecd02ed73aa2eb5ffa0d -DIST netcdf-c-4.9.3.tar.gz 13236715 BLAKE2B 1c3d029ca82ec320f41b96a44c85a369599fa62081869af5380286c02d0924c631d9a7c8dad70e556466664f2ee086cfdaec85c57ec594859083ad7acf5883c0 SHA512 5b836591561bada6f04872ac09750a0b2762aa1812d0480c6640a882053a15ac69d34b7f6e7e4b0ee5c0010d87f7eb2dc55bca5c992d7608a3eb14a4b5578d7b diff --git a/sci-libs/netcdf/files/netcdf-4.7.4-big-endian-test.patch b/sci-libs/netcdf/files/netcdf-4.7.4-big-endian-test.patch deleted file mode 100644 index cdc39a6a7729..000000000000 --- a/sci-libs/netcdf/files/netcdf-4.7.4-big-endian-test.patch +++ /dev/null @@ -1,16 +0,0 @@ -Fixes ncdump_tst_netcdf4 test failure on big endian. -https://github.com/Unidata/netcdf-c/issues/1896 -diff --git a/ncdump/tst_special_atts.c b/ncdump/tst_special_atts.c -index 9655b86..e71cb7e 100644 ---- a/ncdump/tst_special_atts.c -+++ b/ncdump/tst_special_atts.c -@@ -145,6 +145,10 @@ main(int argc, char **argv) - /* Set _Storage as compact */ - if (nc_def_var_chunking(ncid, var6id, NC_COMPACT, NULL)) ERR; - if (nc_def_var_chunking(ncid, var7id, NC_COMPACT, NULL)) ERR; -+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ -+ if (nc_def_var_endian(ncid, var6id, NC_ENDIAN_LITTLE)) ERR; -+ if (nc_def_var_endian(ncid, var7id, NC_ENDIAN_LITTLE)) ERR; -+#endif - - if (nc_enddef(ncid)) ERR; diff --git a/sci-libs/netcdf/metadata.xml b/sci-libs/netcdf/metadata.xml deleted file mode 100644 index b2bc02d6aef8..000000000000 --- a/sci-libs/netcdf/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - NetCDF (network Common Data Form) is an interface for scientific - data access and a freely-distributed software library that provides an - implementation of the interface. The netCDF library also defines a - machine-independent format for representing scientific data. - Together, the interface, library, and format support the creation, - access, and sharing of scientific data. - </longdescription> - <use> - <flag name="blosc">Allow using blosc compression via <pkg>dev-libs/c-blosc</pkg></flag> - <flag name="dap">Support for remote data access with the built-in OPeNDAP client</flag> - <flag name="hdf">Build with HDF4 read capability(<pkg>sci-libs/hdf</pkg>, <pkg>sci-libs/hdf5</pkg> and <pkg>virtual/zlib</pkg> required).</flag> - </use> - <upstream> - <remote-id type="github">Unidata/netcdf-c</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/netcdf/netcdf-4.9.2-r1.ebuild b/sci-libs/netcdf/netcdf-4.9.2-r1.ebuild deleted file mode 100644 index caae36bb30c5..000000000000 --- a/sci-libs/netcdf/netcdf-4.9.2-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Scientific library and interface for array oriented data access" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://downloads.unidata.ucar.edu/netcdf-c/${PV}/${PN}-c-${PV}.tar.gz" -S="${WORKDIR}"/${PN}-c-${PV} - -LICENSE="UCAR-Unidata" -# SONAME of libnetcdf.so -SLOT="0/19" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~x86" -IUSE="blosc bzip2 +dap doc examples hdf +hdf5 mpi szip test zstd" -RESTRICT="!test? ( test )" - -# NOTE OPTION(ENABLE_HDF4 "Build netCDF-4 with HDF4 read capability(HDF4, HDF5 and Zlib required)." OFF) -RDEPEND=" - dev-libs/libxml2:= - virtual/zlib:= - blosc? ( dev-libs/c-blosc:= ) - bzip2? ( app-arch/bzip2:= ) - dap? ( net-misc/curl:= ) - hdf? ( - media-libs/libjpeg-turbo:= - sci-libs/hdf:= - sci-libs/hdf5:= - ) - hdf5? ( sci-libs/hdf5:=[hl(+),mpi=,szip=,zlib] ) - zstd? ( app-arch/zstd:= ) -" - -# deflate blosc zstd bz2 -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) -" - -REQUIRED_USE=" - szip? ( hdf5 ) - mpi? ( hdf5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.7.4-big-endian-test.patch -) - -src_configure() { - use mpi && export CC=mpicc - - local mycmakeargs=( - -DCMAKE_POLICY_DEFAULT_CMP0153="OLD" # exec_program - - -DENABLE_DAP_REMOTE_TESTS=OFF - #-DENABLE_HDF4_FILE_TESTS=OFF - -DENABLE_LIBXML2=ON - - -DBUILD_SHARED_LIBS="yes" - -DBUILD_TESTING="$(usex test)" - -DBUILD_UTILITIES="yes" - - -DENABLE_DAP="$(usex dap)" - -DENABLE_DAP2="$(usex dap)" - -DENABLE_DAP4="$(usex dap)" - - -DENABLE_DOXYGEN="$(usex doc)" - -DENABLE_EXAMPLES="$(usex examples)" - -DENABLE_HDF4="$(usex hdf)" - -DENABLE_NETCDF_4="$(usex hdf5)" - -DENABLE_TESTS="$(usex test)" - - -DENABLE_NCZARR="yes" - # NOTE set these via MYCMAKEARGS if need be - # -DENABLE_NCZARR_FILTERS="yes" - # -DENABLE_NCZARR_FILTER_TESTING="yes" - # -DENABLE_NCZARR_ZIP="yes" - - -DCMAKE_DISABLE_FIND_PACKAGE_Blosc="$(usex !blosc)" - -DCMAKE_DISABLE_FIND_PACKAGE_Bz2="$(usex !bzip2)" - -DCMAKE_DISABLE_FIND_PACKAGE_Szip="$(usex !szip)" - -DCMAKE_DISABLE_FIND_PACKAGE_Zstd="$(usex !zstd)" - ) - - cmake_src_configure -} - -src_test() { - if [[ -f "${BUILD_DIR}/nc_test4/run_par_test.sh" ]]; then - sed -e 's/mpiexec/mpiexec --use-hwthread-cpus/g' -i "${BUILD_DIR}/nc_test4/run_par_test.sh" || die - fi - - cmake_src_test -} - -src_install() { - cmake_src_install - - # bug #827188 - sed -i -re "s:${EPREFIX}/usr/$(get_libdir)/lib(dl|m).(so|a);:\1;:g" "${ED}/usr/$(get_libdir)/cmake/netCDF/netCDFTargets.cmake" || die -} diff --git a/sci-libs/netcdf/netcdf-4.9.2.ebuild b/sci-libs/netcdf/netcdf-4.9.2.ebuild deleted file mode 100644 index 4e0e10487733..000000000000 --- a/sci-libs/netcdf/netcdf-4.9.2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Scientific library and interface for array oriented data access" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://downloads.unidata.ucar.edu/netcdf-c/${PV}/${PN}-c-${PV}.tar.gz" -S="${WORKDIR}"/${PN}-c-${PV} - -LICENSE="UCAR-Unidata" -# SONAME of libnetcdf.so -SLOT="0/19" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 -riscv ~x86" -IUSE="+dap doc examples hdf +hdf5 mpi szip test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libxml2 - dap? ( net-misc/curl:= ) - hdf? ( - media-libs/libjpeg-turbo:= - sci-libs/hdf:= - sci-libs/hdf5:= - ) - hdf5? ( sci-libs/hdf5:=[hl(+),mpi=,szip=,zlib] ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) -" - -REQUIRED_USE=" - szip? ( hdf5 ) - mpi? ( hdf5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.7.4-big-endian-test.patch -) - -src_configure() { - use mpi && export CC=mpicc - - local mycmakeargs=( - -DENABLE_DAP_REMOTE_TESTS=OFF - #-DENABLE_HDF4_FILE_TESTS=OFF - -DENABLE_LIBXML2=ON - -DBUILD_UTILITIES=ON - -DENABLE_DAP=$(usex dap) - -DENABLE_DOXYGEN=$(usex doc) - -DENABLE_EXAMPLES=$(usex examples) - -DENABLE_HDF4=$(usex hdf) - -DENABLE_NETCDF_4=$(usex hdf5) - -DENABLE_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - # Still needs -j1 as of 4.9.2, see bug #621486 (fixes in 4.9.1 weren't enough) - cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - # bug #827188 - sed -i -e "s:${EPREFIX}/usr/$(get_libdir)/libdl.so;:dl;:" "${ED}/usr/$(get_libdir)/cmake/netCDF/netCDFTargets.cmake" || die -} diff --git a/sci-libs/netcdf/netcdf-4.9.3-r2.ebuild b/sci-libs/netcdf/netcdf-4.9.3-r2.ebuild deleted file mode 100644 index b5c9d7841e0e..000000000000 --- a/sci-libs/netcdf/netcdf-4.9.3-r2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Scientific library and interface for array oriented data access" -HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -SRC_URI="https://downloads.unidata.ucar.edu/netcdf-c/${PV}/${PN}-c-${PV}.tar.gz" -S="${WORKDIR}"/${PN}-c-${PV} - -LICENSE="UCAR-Unidata" -# SONAME of libnetcdf.so -SLOT="0/22" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~x86" -IUSE="blosc bzip2 +dap doc examples hdf +hdf5 mpi szip test zstd" -RESTRICT="!test? ( test )" - -# NOTE OPTION(ENABLE_HDF4 "Build netCDF-4 with HDF4 read capability(HDF4, HDF5 and Zlib required)." OFF) -# -# extra deps for hdf5 for https://github.com/Unidata/netcdf-c/issues/3198, -# automagic in 4.9.3 :( -RDEPEND=" - dev-libs/libxml2:= - dev-libs/libzip:= - virtual/zlib:= - blosc? ( dev-libs/c-blosc:= ) - bzip2? ( app-arch/bzip2:= ) - dap? ( net-misc/curl:= ) - hdf? ( - media-libs/libjpeg-turbo:= - sci-libs/hdf:= - sci-libs/hdf5:= - ) - hdf5? ( - sci-libs/hdf5:=[hl(+),mpi=,szip=,zlib] - virtual/szip:= - ) - zstd? ( app-arch/zstd:= ) -" - -# deflate blosc zstd bz2 -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) -" - -REQUIRED_USE=" - szip? ( hdf5 ) - mpi? ( hdf5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.7.4-big-endian-test.patch -) - -src_configure() { - use mpi && export CC=mpicc - - local mycmakeargs=( - -DCMAKE_POLICY_DEFAULT_CMP0153="OLD" # exec_program - - -DNETCDF_ENABLE_DAP_REMOTE_TESTS=OFF - #-DNETCDF_ENABLE_HDF4_FILE_TESTS=OFF - -DNETCDF_ENABLE_LIBXML2=ON - - -DBUILD_SHARED_LIBS="yes" - -DBUILD_TESTING="$(usex test)" - -DNETCDF_BUILD_UTILITIES="yes" - - -DNETCDF_ENABLE_DAP="$(usex dap)" - -DNETCDF_ENABLE_DAP2="$(usex dap)" - -DNETCDF_ENABLE_DAP4="$(usex dap)" - - -DNETCDF_ENABLE_DOXYGEN="$(usex doc)" - -DNETCDF_ENABLE_EXAMPLES="$(usex examples)" - -DNETCDF_ENABLE_HDF4="$(usex hdf)" - -DNETCDF_ENABLE_NETCDF_4="$(usex hdf5)" - -DNETCDF_ENABLE_TESTS="$(usex test)" - - -DNETCDF_ENABLE_NCZARR="yes" - # NOTE set these via MYCMAKEARGS if need be - # -DNETCDF_ENABLE_NCZARR_FILTERS="yes" - # -DNETCDF_ENABLE_NCZARR_FILTER_TESTING="yes" - # -DNETCDF_ENABLE_NCZARR_ZIP="yes" - - -DCMAKE_DISABLE_FIND_PACKAGE_Blosc="$(usex !blosc)" - -DCMAKE_DISABLE_FIND_PACKAGE_Bz2="$(usex !bzip2)" - -DCMAKE_DISABLE_FIND_PACKAGE_Szip="$(usex !szip)" - -DCMAKE_DISABLE_FIND_PACKAGE_Zstd="$(usex !zstd)" - ) - - cmake_src_configure -} - -src_test() { - if [[ -f "${BUILD_DIR}/nc_test4/run_par_test.sh" ]]; then - sed -e 's/mpiexec/mpiexec --use-hwthread-cpus/g' -i "${BUILD_DIR}/nc_test4/run_par_test.sh" || die - fi - - cmake_src_test -} - -src_install() { - cmake_src_install - - # bug #827188 - sed -i -re "s:${EPREFIX}/usr/$(get_libdir)/lib(dl|m).(so|a);:\1;:g" \ - "${ED}/usr/$(get_libdir)/cmake/netCDF/netCDFTargets.cmake" || die -} diff --git a/sci-libs/nfft/Manifest b/sci-libs/nfft/Manifest deleted file mode 100644 index 13fcf772f9ed..000000000000 --- a/sci-libs/nfft/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST nfft-3.5.3.tar.gz 5643780 BLAKE2B 7aaa4406250154766377f2e8620690d3f78b48f734f78ded7f611eda8c38fc048d3b38402e7c9f8b219629afe79058b5b2b57e0cf59cd869f0713365381e2ca9 SHA512 062e89bd621cb2f6e348507cf9892e38a92dde10d2d8afbc2642fd4531ae4d65dbc53196831063e015fc65bb589ecc4603d929eb1f498611f392a8270bf11b5d diff --git a/sci-libs/nfft/files/nfft-3.5.3-gcc15.patch b/sci-libs/nfft/files/nfft-3.5.3-gcc15.patch deleted file mode 100644 index 66040ad4ac08..000000000000 --- a/sci-libs/nfft/files/nfft-3.5.3-gcc15.patch +++ /dev/null @@ -1,43 +0,0 @@ -https://bugs.gentoo.org/944858 -https://github.com/NFFT/nfft/pull/146 - ---- a/applications/radon/radon.c.in -+++ b/applications/radon/radon.c.in -@@ -111,7 +111,7 @@ static int linogram_grid(int T, int S, NFFT_R *x, NFFT_R *w) - /** computes the NFFT-based discrete Radon transform of f - * on the grid given by gridfcn() with T angles and R offsets - */ --static int Radon_trafo(int (*gridfcn)(), int T, int S, NFFT_R *f, int NN, NFFT_R *Rf) -+static int Radon_trafo(int (*gridfcn)(int T, int S, NFFT_R *x, NFFT_R *w), int T, int S, NFFT_R *f, int NN, NFFT_R *Rf) - { - int j, k; /**< index for nodes and freqencies */ - NFFT(plan) my_nfft_plan; /**< plan for the nfft-2D */ -@@ -205,7 +205,7 @@ static int Radon_trafo(int (*gridfcn)(), int T, int S, NFFT_R *f, int NN, NFFT_R - */ - int main(int argc, char **argv) - { -- int (*gridfcn)(); /**< grid generating function */ -+ int (*gridfcn)(int T, int S, NFFT_R *x, NFFT_R *w); /**< grid generating function */ - int T, S; /**< number of directions/offsets */ - FILE *fp; - int N; /**< image size */ ---- a/applications/radon/inverse_radon.c.in -+++ b/applications/radon/inverse_radon.c.in -@@ -111,7 +111,7 @@ static int linogram_grid(int T, int S, NFFT_R *x, NFFT_R *w) - * on the grid given by gridfcn() with T angles and R offsets - * by a NFFT-based CG-type algorithm - */ --static int inverse_radon_trafo(int (*gridfcn)(), int T, int S, NFFT_R *Rf, int NN, NFFT_R *f, -+static int inverse_radon_trafo(int (*gridfcn)(int T, int S, NFFT_R *x, NFFT_R *w), int T, int S, NFFT_R *Rf, int NN, NFFT_R *f, - int max_i) - { - int j, k; /**< index for nodes and freqencies */ -@@ -237,7 +237,7 @@ static int inverse_radon_trafo(int (*gridfcn)(), int T, int S, NFFT_R *Rf, int N - */ - int main(int argc, char **argv) - { -- int (*gridfcn)(); /**< grid generating function */ -+ int (*gridfcn)(int T, int S, NFFT_R *x, NFFT_R *w); /**< grid generating function */ - int T, S; /**< number of directions/offsets */ - FILE *fp; - int N; /**< image size */ diff --git a/sci-libs/nfft/files/nfft-3.5.3-rtc.patch b/sci-libs/nfft/files/nfft-3.5.3-rtc.patch deleted file mode 100644 index c1b44e89bd06..000000000000 --- a/sci-libs/nfft/files/nfft-3.5.3-rtc.patch +++ /dev/null @@ -1,21 +0,0 @@ -Remove implicit function declarations incompatible with new GCC. - -This is not UNICOS anyway - ---- a/configure.ac -+++ b/configure.ac -@@ -485,14 +485,6 @@ AC_CHECK_DECLS([nanosleep],[],[],[#include <time.h>]) - AC_CHECK_DECLS([drand48],[],[],[#include <stdlib.h>]) - AC_CHECK_DECLS([srand48],[],[],[#include <stdlib.h>]) - --# Cray UNICOS _rtc() (real-time clock) intrinsic --AC_MSG_CHECKING([for _rtc intrinsic]) --rtc_ok=yes --AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_INTRINSICS_H --#include <intrinsics.h> --#endif]], [[_rtc()]])],[AC_DEFINE(HAVE__RTC,1,[Define if you have the UNICOS _rtc() intrinsic.])],[rtc_ok=no]) --AC_MSG_RESULT($rtc_ok) -- - AC_MSG_CHECKING([whether a cycle counter is available]) - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS -I$srcdir/include" diff --git a/sci-libs/nfft/metadata.xml b/sci-libs/nfft/metadata.xml deleted file mode 100644 index e113b5eceba2..000000000000 --- a/sci-libs/nfft/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">NFFT/nfft</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/nfft/nfft-3.5.3.ebuild b/sci-libs/nfft/nfft-3.5.3.ebuild deleted file mode 100644 index 09111690b637..000000000000 --- a/sci-libs/nfft/nfft-3.5.3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools toolchain-funcs - -DESCRIPTION="library for nonequispaced discrete Fourier transformations" -HOMEPAGE="https://www-user.tu-chemnitz.de/~potts/nfft/" -SRC_URI="https://github.com/NFFT/nfft/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc openmp" - -RDEPEND="sci-libs/fftw:3.0=[threads,openmp?]" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-gcc15.patch" - "${FILESDIR}/${P}-rtc.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --enable-all \ - $(use_enable openmp) -} - -src_install() { - default - - if ! use doc; then - rm -r "${ED}"/usr/share/doc/${P}/html || die - fi - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest deleted file mode 100644 index e19b276b548c..000000000000 --- a/sci-libs/nlopt/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST nlopt-2.10.0.tar.gz 2065021 BLAKE2B dba4446c8603f22048158b9cfabe6afae55372f9034fdc5b8e31c748a1fed294889a2af4a07a9d36e11c4b36e5c016df7c92bb61f9399ef0f1048070fc0f9894 SHA512 7668db6997ba141ee1759f222bad23a7854aa17962470653ddb5824c25100b50f52c462441f0cc12a62e2322ff084c7f7b7fab09471b0acb13a861d7f7575655 -DIST nlopt-2.7.1.tar.gz 2044180 BLAKE2B 6d459f94a26ee6dd7f72c73c48992bd047150aa525bc4ad088c8516127afc5c7843f6fbb6726c2f845271b87934c13e0892a063362ab50df51f92e81979111fb SHA512 e23cb522fc696010574c14b72be85acc0f8ccf0bf208bf2b8789c57d6c5a6e6d419ee10330581518b1c1567018ae909b626ce7761d4fbd5bf112916871e420e2 diff --git a/sci-libs/nlopt/files/nlopt-2.10.0-cxx.patch b/sci-libs/nlopt/files/nlopt-2.10.0-cxx.patch deleted file mode 100644 index 613ba6ff681d..000000000000 --- a/sci-libs/nlopt/files/nlopt-2.10.0-cxx.patch +++ /dev/null @@ -1,172 +0,0 @@ -https://github.com/stevengj/nlopt/commit/a5426ead8d8478c46201c21860e789e47f15c5a3 - -From a5426ead8d8478c46201c21860e789e47f15c5a3 Mon Sep 17 00:00:00 2001 -From: Julien Schueller <schueller@phimeca.com> -Date: Mon, 24 Feb 2025 15:59:52 +0100 -Subject: [PATCH] CMake: Assume working c++ compiler (#597) - ---- - CMakeLists.txt | 19 +++---------------- - src/swig/CMakeLists.txt | 6 +++--- - test/CMakeLists.txt | 38 ++++++++++++++++++-------------------- - 3 files changed, 24 insertions(+), 39 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c0a84de3..39b01441 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -77,8 +77,6 @@ endif () - include (CheckIncludeFiles) - include (CheckFunctionExists) - include (CheckTypeSize) --include (CheckCCompilerFlag) --include (CheckCXXSymbolExists) - include (CheckCSourceCompiles) - - #============================================================================== -@@ -140,20 +138,6 @@ if (WITH_THREADLOCAL AND NOT DEFINED THREADLOCAL) - endforeach() - endif () - -- --if (NLOPT_CXX OR NLOPT_PYTHON OR NLOPT_GUILE OR NLOPT_OCTAVE OR NLOPT_JAVA) -- check_cxx_symbol_exists (__cplusplus ciso646 SYSTEM_HAS_CXX) -- if (SYSTEM_HAS_CXX) -- set (CMAKE_CXX_STANDARD 11) # set the standard to C++11 but do not require it -- -- if (NLOPT_CXX) -- set (CMAKE_CXX_STANDARD_REQUIRED ON) # if we build C++ API, we do need C++11 -- endif () -- else() -- message (FATAL_ERROR "The compiler doesn't support CXX.") -- endif () --endif () -- - #============================================================================== - # CREATE nlopt_config.h - #============================================================================== -@@ -260,6 +244,9 @@ if (M_LIBRARY) - endif () - set_target_properties (${nlopt_lib} PROPERTIES SOVERSION ${SO_MAJOR}) - set_target_properties (${nlopt_lib} PROPERTIES VERSION "${SO_MAJOR}.${SO_MINOR}.${SO_PATCH}") -+if (NLOPT_CXX) -+ target_compile_features (${nlopt_lib} PUBLIC cxx_lambdas) -+endif () - - #============================================================================== - # INCLUDE DIRECTORIES -diff --git a/src/swig/CMakeLists.txt b/src/swig/CMakeLists.txt -index a48b8b3b..e8248e9e 100644 ---- a/src/swig/CMakeLists.txt -+++ b/src/swig/CMakeLists.txt -@@ -21,7 +21,7 @@ endif () - include_directories (${NLOPT_PRIVATE_INCLUDE_DIRS}) - set_source_files_properties (nlopt.i PROPERTIES CPLUSPLUS ON) - --if (Python_NumPy_FOUND) -+if (Python_NumPy_FOUND AND NLOPT_CXX) - - set (SWIG_MODULE_nlopt_python_EXTRA_DEPS nlopt-python.i numpy.i generate-cpp) - -@@ -46,7 +46,7 @@ if (Python_NumPy_FOUND) - endif () - - --if (GUILE_FOUND) -+if (GUILE_FOUND AND NLOPT_CXX) - - set (SWIG_MODULE_nlopt_guile_EXTRA_DEPS nlopt-guile.i generate-cpp) - set (CMAKE_SWIG_FLAGS -scmstub) -@@ -74,7 +74,7 @@ if (GUILE_FOUND) - endif () - - --if (JNI_FOUND AND Java_FOUND AND SWIG_FOUND) -+if (JNI_FOUND AND Java_FOUND AND SWIG_FOUND AND NLOPT_CXX) - - include (UseJava) - -diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt -index f66d2805..0edf5e87 100644 ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -1,28 +1,26 @@ - add_custom_target (tests) - - macro(NLOPT_add_cpp_test test_name) -- add_executable (${test_name} ${test_name}.cxx) -- target_link_libraries (${test_name} ${nlopt_lib}) -- add_dependencies (tests ${test_name}) -- target_include_directories (${test_name} PRIVATE ${NLOPT_PRIVATE_INCLUDE_DIRS}) -- foreach(arg IN ITEMS ${ARGN}) -- add_test (NAME check_${test_name}_${arg} COMMAND ${test_name} ${arg}) -- if (CMAKE_HOST_SYSTEM_NAME MATCHES Windows) -- set_tests_properties (check_${test_name}_${arg} -- PROPERTIES ENVIRONMENT "PATH=${PROJECT_BINARY_DIR}\\${CMAKE_BUILD_TYPE};$ENV{PATH}") # to load dll -- endif () -- endforeach() -+ if (NLOPT_CXX) -+ add_executable (${test_name} ${test_name}.cxx) -+ target_link_libraries (${test_name} ${nlopt_lib}) -+ add_dependencies (tests ${test_name}) -+ target_include_directories (${test_name} PRIVATE ${NLOPT_PRIVATE_INCLUDE_DIRS}) -+ foreach(arg IN ITEMS ${ARGN}) -+ add_test (NAME check_${test_name}_${arg} COMMAND ${test_name} ${arg}) -+ if (CMAKE_HOST_SYSTEM_NAME MATCHES Windows) -+ set_tests_properties (check_${test_name}_${arg} -+ PROPERTIES ENVIRONMENT "PATH=${PROJECT_BINARY_DIR}\\${CMAKE_BUILD_TYPE};$ENV{PATH}") # to load dll -+ endif () -+ endforeach() -+ endif () - endmacro() - - NLOPT_add_cpp_test(t_tutorial 24 25 31 40) - NLOPT_add_cpp_test(cpp_functor 0) - NLOPT_add_cpp_test(t_fbound 0) - NLOPT_add_cpp_test(t_except 1 0) -- - NLOPT_add_cpp_test(t_bounded 0 1 2 3 4 5 6 7 8 19 35 42 43) --if (NOT NLOPT_CXX) -- set_tests_properties (check_t_bounded_8 check_t_bounded_43 PROPERTIES DISABLED TRUE) --endif () - - # have to add timer.c and mt19937ar.c as symbols are declared extern - set (testopt_sources testfuncs.c testfuncs.h testopt.c ${PROJECT_SOURCE_DIR}/src/util/timer.c ${PROJECT_SOURCE_DIR}/src/util/mt19937ar.c) -@@ -67,7 +65,7 @@ foreach (algo_index RANGE 28) # 42 - endforeach () - endforeach () - --if (Python_NumPy_FOUND AND (SWIG_FOUND OR (EXISTS ${PROJECT_SOURCE_DIR}/src/swig/nlopt-python.cpp))) -+if (TARGET nlopt_python) - set (PYINSTALLCHECK_ENVIRONMENT "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/swig" - "PYTHONPATH=$<SHELL_PATH:${PROJECT_BINARY_DIR}/src/swig/python;${PROJECT_BINARY_DIR}/src/swig>" - ) -@@ -85,7 +83,7 @@ endif () - # The binding itself should also compile with more ancient Java versions that - # have already reached their end of life, but it is not worth uglifying the test - # code for them, because people will then cargo-cult the legacy boilerplate. --if (JNI_FOUND AND Java_FOUND AND SWIG_FOUND AND NOT Java_VERSION VERSION_LESS 1.8) -+if (TARGET nlopt_java AND NOT Java_VERSION VERSION_LESS 1.8) - include (UseJava) - add_jar (t_java SOURCES t_java.java INCLUDE_JARS nlopt_jar ENTRY_POINT t_java) - get_property (t_java_jar TARGET t_java PROPERTY JAR_FILE) -@@ -100,15 +98,15 @@ if (JNI_FOUND AND Java_FOUND AND SWIG_FOUND AND NOT Java_VERSION VERSION_LESS 1. - endforeach() - endif () - --if (OCTAVE_FOUND) -+if (TARGET nlopt_optimize) - add_test (NAME test_octave COMMAND ${OCTAVE_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/t_octave.m ${PROJECT_SOURCE_DIR}/src/octave ${PROJECT_BINARY_DIR}/src/octave) - endif () - --if (MATLAB_FOUND) -+if (TARGET nlopt_optimize-mex) - add_test (NAME test_matlab COMMAND ${Matlab_MAIN_PROGRAM} -nodesktop -nosplash -r "addpath('${PROJECT_SOURCE_DIR}/src/octave'); addpath('${PROJECT_BINARY_DIR}/src/octave'); try; run('${CMAKE_CURRENT_SOURCE_DIR}/t_matlab.m'); catch; exit(1); end; quit") - endif () - --if (GUILE_FOUND AND (SWIG_FOUND OR (EXISTS ${PROJECT_SOURCE_DIR}/src/swig/nlopt-guile.cpp))) -+if (TARGET nlopt_guile) - set (GUILECHECK_ENVIRONMENT "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/swig" - "GUILE_LOAD_PATH=$<SHELL_PATH:${PROJECT_BINARY_DIR}/src/swig/guile;${PROJECT_BINARY_DIR}/src/swig>" - "GUILE_AUTO_COMPILE=0") - diff --git a/sci-libs/nlopt/files/nlopt-2.10.0-libm-pc.patch b/sci-libs/nlopt/files/nlopt-2.10.0-libm-pc.patch deleted file mode 100644 index a37371693cd8..000000000000 --- a/sci-libs/nlopt/files/nlopt-2.10.0-libm-pc.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://github.com/stevengj/nlopt/commit/bb608c3466baf5330cf57e659b259d1d87869ff1 - -From bb608c3466baf5330cf57e659b259d1d87869ff1 Mon Sep 17 00:00:00 2001 -From: Julien Schueller <schueller@phimeca.com> -Date: Mon, 24 Feb 2025 16:09:37 +0100 -Subject: [PATCH] CMake: Fix pkgconfig file - ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 39b01441..a7f65733 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -106,7 +106,7 @@ check_type_size ("unsigned long" SIZEOF_UNSIGNED_LONG) - - find_library(M_LIBRARY m) - if (M_LIBRARY) -- set (LIBS_PRIVATE "-l${M_LIBRARY}") -+ set (LIBS_PRIVATE "-lm") - endif() - - if (NOT DEFINED HAVE_FPCLASSIFY) - diff --git a/sci-libs/nlopt/files/nlopt-2.10.0-libm.patch b/sci-libs/nlopt/files/nlopt-2.10.0-libm.patch deleted file mode 100644 index 28368de08f06..000000000000 --- a/sci-libs/nlopt/files/nlopt-2.10.0-libm.patch +++ /dev/null @@ -1,48 +0,0 @@ -https://github.com/stevengj/nlopt/commit/e45da76243191febe447e3173e5d23e05fc84ee4 - -From e45da76243191febe447e3173e5d23e05fc84ee4 Mon Sep 17 00:00:00 2001 -From: Julien Schueller <schueller@phimeca.com> -Date: Mon, 24 Feb 2025 15:02:22 +0100 -Subject: [PATCH] CMake: Detect libm with find_library (#596) - ---- - CMakeLists.txt | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e5d9c67c..c0a84de3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -80,8 +80,6 @@ include (CheckTypeSize) - include (CheckCCompilerFlag) - include (CheckCXXSymbolExists) - include (CheckCSourceCompiles) --include (CheckCXXCompilerFlag) --include (CheckLibraryExists) - - #============================================================================== - # COMPILATION CHECKINGS and CONFIGURATION GENERATION -@@ -108,9 +106,8 @@ set (HAVE_UINT32_T ${SIZEOF_UINT32_T}) - check_type_size ("unsigned int" SIZEOF_UNSIGNED_INT) - check_type_size ("unsigned long" SIZEOF_UNSIGNED_LONG) - --check_library_exists ("m" sqrt "" HAVE_LIBM) --if (HAVE_LIBM) -- set (M_LIBRARY m) -+find_library(M_LIBRARY m) -+if (M_LIBRARY) - set (LIBS_PRIVATE "-l${M_LIBRARY}") - endif() - -@@ -258,7 +255,9 @@ if (NLOPT_LUKSAN) - target_include_directories(${nlopt_lib} PRIVATE src/algs/luksan) - target_compile_definitions (${nlopt_lib} PRIVATE NLOPT_LUKSAN) - endif () --target_link_libraries (${nlopt_lib} ${M_LIBRARY}) -+if (M_LIBRARY) -+ target_link_libraries (${nlopt_lib} ${M_LIBRARY}) -+endif () - set_target_properties (${nlopt_lib} PROPERTIES SOVERSION ${SO_MAJOR}) - set_target_properties (${nlopt_lib} PROPERTIES VERSION "${SO_MAJOR}.${SO_MINOR}.${SO_PATCH}") - - diff --git a/sci-libs/nlopt/metadata.xml b/sci-libs/nlopt/metadata.xml deleted file mode 100644 index 17976ba280dd..000000000000 --- a/sci-libs/nlopt/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - NLopt is a library for nonlinear optimization, - providing a common interface for a number of different free - optimization routines available online as well as original - implementations of various other algorithms. Its features include: - * Callable from variety of languages (C, C++, Fortran, Python, Octave) - * A common interface for many different algorithms—try a different - algorithm just by changing one parameter. - * Both global and local optimization algorithms. - * Both derivative-free and gradient-based optimization algorithms. - * Algorithms for unconstrained optimization, bound-constrained - optimization, and general nonlinear inequality constraints. - </longdescription> - <upstream> - <remote-id type="github">stevengj/nlopt</remote-id> - </upstream> - <use> - <flag name="octave">Add plugin for <pkg>sci-mathematics/octave</pkg></flag> - </use> -</pkgmetadata> diff --git a/sci-libs/nlopt/nlopt-2.10.0-r1.ebuild b/sci-libs/nlopt/nlopt-2.10.0-r1.ebuild deleted file mode 100644 index 99956b1b7df8..000000000000 --- a/sci-libs/nlopt/nlopt-2.10.0-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -GUILE_COMPAT=( 2-2 3-0 ) -PYTHON_COMPAT=( python3_{13..14} ) -FORTRAN_NEEDED="test" - -inherit python-r1 cmake guile-single fortran-2 - -DESCRIPTION="Non-linear optimization library" -HOMEPAGE="https://github.com/stevengj/nlopt" -SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1 MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc ppc64 ~riscv ~x86" -IUSE="guile octave python test" -REQUIRED_USE="guile? ( ${GUILE_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - guile? ( ${GUILE_DEPS} ) - octave? ( >=sci-mathematics/octave-6:= ) - python? ( - ${PYTHON_DEPS} - dev-python/numpy[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND}" -BDEPEND="python? ( dev-lang/swig )" - -PATCHES=( - "${FILESDIR}"/${P}-libm.patch - "${FILESDIR}"/${P}-cxx.patch - "${FILESDIR}"/${P}-libm-pc.patch -) - -pkg_setup() { - use guile && guile-single_pkg_setup - fortran-2_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - use guile && guile_bump_sources - use python && python_copy_sources -} - -src_configure() { - # MATLAB detection causes problems (as in bug #826774) if we don't - # explicitly disable it. - local mycmakeargs=( - -DNLOPT_CXX=ON - -DNLOPT_FORTRAN=$(usex test) - -DNLOPT_GUILE=$(usex guile) - -DNLOPT_JAVA=OFF - -DNLOPT_OCTAVE=$(usex octave) - -DNLOPT_MATLAB=OFF - -DNLOPT_PYTHON=OFF - -DNLOPT_SWIG=$(usex python) - -DNLOPT_TESTS=$(usex test) - ) - - cmake_src_configure - - if use python; then - python_configure() { - local mycmakeargs=( - ${mycmakeargs[@]} - -DNLOPT_PYTHON=ON - -DINSTALL_PYTHON_DIR="$(python_get_sitedir)" - ) - - cmake_src_configure - } - - python_foreach_impl run_in_build_dir python_configure - fi -} - -src_compile() { - cmake_src_compile - - if use python; then - python_foreach_impl run_in_build_dir cmake_src_compile - fi -} - -src_test() { - do_test() { - cd "${BUILD_DIR}"/test || die - - local a f - for a in {1..9}; do - for f in {5..9}; do - ./testopt -a $a -o $f || die "algorithm $a function $f failed" - done - done - } - - do_test - - if use python; then - python_foreach_impl run_in_build_dir do_test - fi -} - -nlopt_install() { - cmake_src_install - python_optimize -} - -src_install() { - cmake_src_install - - guile_unstrip_ccache - if use python; then - python_foreach_impl run_in_build_dir nlopt_install - fi - - local r - for r in */README; do - newdoc ${r} README.$(dirname ${r}) - done -} diff --git a/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild deleted file mode 100644 index a6ccbfcc12fc..000000000000 --- a/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -GUILE_COMPAT=( 2-2 3-0 ) -PYTHON_COMPAT=( python3_{13..14} ) -FORTRAN_NEEDED="test" - -inherit python-r1 cmake guile-single fortran-2 - -DESCRIPTION="Non-linear optimization library" -HOMEPAGE="https://github.com/stevengj/nlopt" -SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1 MIT" -KEYWORDS="amd64 ~arm64 ~ppc ppc64 ~riscv ~x86" -SLOT="0" -IUSE="cxx guile octave python test" -REQUIRED_USE="guile? ( ${GUILE_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - guile? ( ${GUILE_DEPS} ) - octave? ( >=sci-mathematics/octave-6:= ) - python? ( - ${PYTHON_DEPS} - dev-python/numpy[${PYTHON_USEDEP}] - ) - " -DEPEND="${RDEPEND}" -BDEPEND="python? ( dev-lang/swig )" - -pkg_setup() { - use guile && guile-single_pkg_setup - fortran-2_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - use guile && guile_bump_sources - use python && python_copy_sources -} - -src_configure() { - # MATLAB detection causes problems (as in bug 826774) if we don't - # explicitly disable it. - local mycmakeargs=( - -DNLOPT_CXX=$(usex cxx) - -DNLOPT_FORTRAN=$(usex test) - -DNLOPT_GUILE=$(usex guile) - -DNLOPT_OCTAVE=$(usex octave) - -DNLOPT_MATLAB=OFF - -DNLOPT_PYTHON=OFF - -DNLOPT_SWIG=$(usex python) - -DNLOPT_TESTS=$(usex test) - ) - - cmake_src_configure - - if use python; then - python_configure() { - local mycmakeargs=( - ${mycmakeargs[@]} - -DNLOPT_PYTHON=ON - -DINSTALL_PYTHON_DIR="$(python_get_sitedir)" - ) - - cmake_src_configure - } - - python_foreach_impl run_in_build_dir python_configure - fi -} - -src_compile() { - cmake_src_compile - - if use python; then - python_foreach_impl run_in_build_dir cmake_src_compile - fi -} - -src_test() { - do_test() { - local a f - cd "${BUILD_DIR}"/test - for a in {1..$(usex cxx 9 7)}; do - for f in {5..9}; do - ./testopt -a $a -o $f || die "algorithm $a function $f failed" - done - done - } - - do_test - - if use python; then - python_foreach_impl run_in_build_dir do_test - fi -} - -nlopt_install() { - cmake_src_install - python_optimize -} - -src_install() { - cmake_src_install - - guile_unstrip_ccache - if use python; then - python_foreach_impl run_in_build_dir nlopt_install - fi - - local r - for r in */README; do - newdoc ${r} README.$(dirname ${r}) - done -} diff --git a/sci-libs/numkit/Manifest b/sci-libs/numkit/Manifest deleted file mode 100644 index 7d8560bc1eee..000000000000 --- a/sci-libs/numkit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST numkit-1.3.1.tar.gz 130198 BLAKE2B e9f845012431687efc742328256076aba432d44502600ac792653b0c7867dacf028a306147e0abd12de546bb0f206002b784dd6bbe2957dd6c285edc899c9d3e SHA512 1580e2fbb868ea99fc35e6d4088d079413ced420d5425a131cc04b40ff464889aafb6d7763fe3a53d61c56c853a288544fcaf3621f4a9be22a85756a0c3b6f4f diff --git a/sci-libs/numkit/metadata.xml b/sci-libs/numkit/metadata.xml deleted file mode 100644 index a882eb598c66..000000000000 --- a/sci-libs/numkit/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>alexxy@gentoo.org</email> - <name>Alexey Shvetsov</name> - </maintainer> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="github">Becksteinlab/numkit</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/numkit/numkit-1.3.1.ebuild b/sci-libs/numkit/numkit-1.3.1.ebuild deleted file mode 100644 index f47eacd09783..000000000000 --- a/sci-libs/numkit/numkit-1.3.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) -inherit distutils-r1 - -DESCRIPTION="Numerical first aid kit (with numpy/scipy)" -HOMEPAGE="https://numkit.readthedocs.io" -SRC_URI="https://github.com/Becksteinlab/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-release-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/numpy-1.9[${PYTHON_USEDEP}] - >=dev-python/scipy-1.0[${PYTHON_USEDEP}] -" -RDEPEND="${BDEPEND}" - -distutils_enable_tests pytest diff --git a/sci-libs/oc/Manifest b/sci-libs/oc/Manifest deleted file mode 100644 index 1d99073dbc62..000000000000 --- a/sci-libs/oc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST oc-2.0.tar.gz 1104073 BLAKE2B a93fdf15fe085345dc547da51e5f99b4db18baab6126be73aa240e8c5092be0501abc606f556879c09bd41fe1ea4cb78df3c84472e2de3342853d67848b6aeb3 SHA512 e583fbacc8929ef5b2ae0d0f675816b8f46056b11987f8285688a7321d3dfd244a748be00f009f1b2c2b7f95e5a6ecc8eb8e907f81415e849f10a5ff138e82a4 diff --git a/sci-libs/oc/metadata.xml b/sci-libs/oc/metadata.xml deleted file mode 100644 index 0551933b820d..000000000000 --- a/sci-libs/oc/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The New OPeNDAP C API (oc) is an OPeNDAP DAP 2.0 client implementation - written in generic C. This new API allows for more funcionality and - less complexity than the original C API. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/oc/oc-2.0-r1.ebuild b/sci-libs/oc/oc-2.0-r1.ebuild deleted file mode 100644 index 2a8d3fa2adb2..000000000000 --- a/sci-libs/oc/oc-2.0-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic - -DESCRIPTION="Network Data Access Protocol client C library" -HOMEPAGE="https://opendap.org/" -SRC_URI="https://opendap.org/pub/OC/source/${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" -# tests need network -RESTRICT="test" - -RDEPEND="net-misc/curl" -DEPEND="${RDEPEND}" - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862906 - # - # Upstream exists, they just don't seem to mention oc anymore, *anywhere*. - # - # Do not trust with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - econf --disable-static -} - -src_install() { - if use doc; then - dodoc docs/oc*html - HTML_DOCS=( docs/html/. ) - fi - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/octomap/Manifest b/sci-libs/octomap/Manifest deleted file mode 100644 index 733520669e6b..000000000000 --- a/sci-libs/octomap/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST octomap-1.10.0.tar.gz 1694103 BLAKE2B 0415ee5e961ea456b9d497b35aeadd0d21a742a3f252eac67c717536e1d9f39fa4117170e259a3762ab6101b776afe65dec6fcff5a6e8d66f1957ea0b0ea5552 SHA512 1cbee4f6b3569587986774447ad9ec4190f597310c4d6865ffa7cd8865ece2492e4a42fa369b633d9d7a9da782560d49deaa62a18601ea4f56396bdf1a6a5f52 diff --git a/sci-libs/octomap/files/octomap-1.10.0-cmake_bump.patch b/sci-libs/octomap/files/octomap-1.10.0-cmake_bump.patch deleted file mode 100644 index 7afef4bc95a7..000000000000 --- a/sci-libs/octomap/files/octomap-1.10.0-cmake_bump.patch +++ /dev/null @@ -1,42 +0,0 @@ -https://github.com/OctoMap/octomap/pull/432.patch -bump cmake_minimum to prepare cmake-4 -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f1eb31f3..63498f5b 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2) -+CMAKE_MINIMUM_REQUIRED(VERSION 3.10) - PROJECT( octomap-distribution ) - - ENABLE_TESTING() # enable CTest environment of subprojects -diff --git a/dynamicEDT3D/CMakeLists.txt b/dynamicEDT3D/CMakeLists.txt -index 7edfdde9..3dfd2399 100644 ---- a/dynamicEDT3D/CMakeLists.txt -+++ b/dynamicEDT3D/CMakeLists.txt -@@ -1,4 +1,4 @@ --CMAKE_MINIMUM_REQUIRED(VERSION 3.5) -+CMAKE_MINIMUM_REQUIRED(VERSION 3.10) - PROJECT(dynamicEDT3D) - - include(CTest) -diff --git a/octomap/CMakeLists.txt b/octomap/CMakeLists.txt -index 87a78e9c..148a1332 100644 ---- a/octomap/CMakeLists.txt -+++ b/octomap/CMakeLists.txt -@@ -1,4 +1,4 @@ --CMAKE_MINIMUM_REQUIRED(VERSION 3.5) -+CMAKE_MINIMUM_REQUIRED(VERSION 3.10) - PROJECT( octomap ) - - include(CTest) -diff --git a/octovis/CMakeLists.txt b/octovis/CMakeLists.txt -index 84fa3675..79e6978f 100644 ---- a/octovis/CMakeLists.txt -+++ b/octovis/CMakeLists.txt -@@ -1,4 +1,4 @@ --CMAKE_MINIMUM_REQUIRED(VERSION 3.5) -+CMAKE_MINIMUM_REQUIRED(VERSION 3.10) - PROJECT( octovis ) - - include(CTest) diff --git a/sci-libs/octomap/files/octomap-1.10.0-destdir_edt3d.patch b/sci-libs/octomap/files/octomap-1.10.0-destdir_edt3d.patch deleted file mode 100644 index 2d44dd5954e5..000000000000 --- a/sci-libs/octomap/files/octomap-1.10.0-destdir_edt3d.patch +++ /dev/null @@ -1,18 +0,0 @@ -use cmake variables -diff --git a/dynamicEDT3D/CMakeLists.txt b/dynamicEDT3D/CMakeLists.txt -index 7edfdde..14bdf49 100644 ---- a/dynamicEDT3D/CMakeLists.txt -+++ b/dynamicEDT3D/CMakeLists.txt -@@ -46,9 +46,9 @@ LINK_DIRECTORIES(${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) - # Installation - - set(INSTALL_TARGETS_DEFAULT_ARGS -- RUNTIME DESTINATION bin -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - ) - - find_package(octomap REQUIRED diff --git a/sci-libs/octomap/files/octomap-1.10.0-filter_flags.patch b/sci-libs/octomap/files/octomap-1.10.0-filter_flags.patch deleted file mode 100644 index 7358009c0766..000000000000 --- a/sci-libs/octomap/files/octomap-1.10.0-filter_flags.patch +++ /dev/null @@ -1,16 +0,0 @@ -delete -Werror and -O3 -diff --git a/octomap/CMakeModules/CompilerSettings.cmake b/octomap/CMakeModules/CompilerSettings.cmake -index bae0cc4..a4920fd 100644 ---- a/octomap/CMakeModules/CompilerSettings.cmake -+++ b/octomap/CMakeModules/CompilerSettings.cmake -@@ -10,8 +10,8 @@ MESSAGE (STATUS "${PROJECT_NAME} building as ${CMAKE_BUILD_TYPE}") - # COMPILER FLAGS - IF (CMAKE_COMPILER_IS_GNUCC) - SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-error ") -- SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -Wpedantic") -- SET (CMAKE_CXX_FLAGS_RELEASE "-O3 -funroll-loops -DNDEBUG") -+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic") -+ SET (CMAKE_CXX_FLAGS_RELEASE "-funroll-loops -DNDEBUG") - SET (CMAKE_CXX_FLAGS_DEBUG "-O0 -g") - # Shared object compilation under 64bit (vtable) - ADD_DEFINITIONS(-fPIC) diff --git a/sci-libs/octomap/files/octomap-1.10.0-pkgconf_libqglviewer.patch b/sci-libs/octomap/files/octomap-1.10.0-pkgconf_libqglviewer.patch deleted file mode 100644 index 70817fb3d1ed..000000000000 --- a/sci-libs/octomap/files/octomap-1.10.0-pkgconf_libqglviewer.patch +++ /dev/null @@ -1,32 +0,0 @@ -Prefer pkgconfig for QGLViewer, easier than findcmake file and it avoids call of 3rd library -diff --git a/octovis/CMakeLists.txt b/octovis/CMakeLists.txt -index 84fa367..bc54f36 100644 ---- a/octovis/CMakeLists.txt -+++ b/octovis/CMakeLists.txt -@@ -77,7 +77,8 @@ endif(NOT OCTOVIS_QT5) - IF (OpenGL-NOTFOUND OR Qt4-NOTFOUND) - MESSAGE ( "OpenGL and QT4 are required for octovis but could not be found.") - ELSE() -- FIND_PACKAGE(QGLViewer) -+ FIND_PACKAGE(PkgConfig REQUIRED) -+ pkg_check_modules(QGLViewer libQGLViewer) - IF(QGLViewer_FOUND) - SET( BUILD_VIEWER 1) - ELSE() -diff --git a/octovis/CMakeLists_src.txt b/octovis/CMakeLists_src.txt -index 35bc1f2..85fd61a 100644 ---- a/octovis/CMakeLists_src.txt -+++ b/octovis/CMakeLists_src.txt -@@ -57,11 +57,8 @@ else(OCTOVIS_QT5) - QT4_ADD_RESOURCES(viewer_RES src/icons.qrc) - endif(OCTOVIS_QT5) - --#found QGLViewer lib dir --link_directories(${QGLViewer_LIBRARY_DIR}) -- - INCLUDE_DIRECTORIES( -- ${QGLViewer_INCLUDE_DIR} -+ ${QGLViewer_INCLUDE_DIRS} - ) - - SET(viewer_MOC_HDRS diff --git a/sci-libs/octomap/files/octomap-1.10.0-qt5_qt6.patch b/sci-libs/octomap/files/octomap-1.10.0-qt5_qt6.patch deleted file mode 100644 index 7c6b871679aa..000000000000 --- a/sci-libs/octomap/files/octomap-1.10.0-qt5_qt6.patch +++ /dev/null @@ -1,143 +0,0 @@ -https://github.com/OctoMap/octomap/pull/433.patch -switch qt4/qt5 to qt5/qt6 -qt6 just works as is -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f1eb31f3..6a4db7eb 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -6,7 +6,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) # enables -fPIC in applicable compilers - - option(BUILD_OCTOVIS_SUBPROJECT "Build targets from subproject octovis" ON) - option(BUILD_DYNAMICETD3D_SUBPROJECT "Build targets from subproject dynamicEDT3D" ON) --option(OCTOVIS_QT5 "Link Octovis against Qt5?" ON) -+option(OCTOVIS_QT6 "Link Octovis against Qt6?" ON) - - set(CMAKE_CXX_STANDARD 11) - -diff --git a/octovis/CMakeLists.txt b/octovis/CMakeLists.txt -index 84fa3675..e6dd604c 100644 ---- a/octovis/CMakeLists.txt -+++ b/octovis/CMakeLists.txt -@@ -65,17 +65,14 @@ set(INSTALL_TARGETS_DEFAULT_ARGS - # libQGLViewer, if dependencies available - SET( BUILD_VIEWER 0) - --option(OCTOVIS_QT5 "Link Octovis against Qt5?" ON) -+option(OCTOVIS_QT6 "Link Octovis against Qt6?" ON) - - # Look for required libraries: - set(OpenGL_GL_PREFERENCE LEGACY) - FIND_PACKAGE(OpenGL) --if(NOT OCTOVIS_QT5) -- FIND_PACKAGE(Qt4) --endif(NOT OCTOVIS_QT5) - --IF (OpenGL-NOTFOUND OR Qt4-NOTFOUND) -- MESSAGE ( "OpenGL and QT4 are required for octovis but could not be found.") -+IF (OpenGL-NOTFOUND) -+ MESSAGE ( "OpenGL is required for octovis but could not be found.") - ELSE() - FIND_PACKAGE(QGLViewer) - IF(QGLViewer_FOUND) -diff --git a/octovis/CMakeLists_src.txt b/octovis/CMakeLists_src.txt -index 35bc1f20..6eaa31ad 100644 ---- a/octovis/CMakeLists_src.txt -+++ b/octovis/CMakeLists_src.txt -@@ -1,5 +1,8 @@ - --if(OCTOVIS_QT5) -+if(OCTOVIS_QT6) -+ find_package(Qt6 REQUIRED COMPONENTS Core Gui OpenGLWidgets Widgets Xml) -+ set(QT_LIBRARIES Qt6::Core Qt6::Gui Qt6::OpenGLWidgets Qt6::Widgets Qt6::Xml "${OPENGL_gl_LIBRARY}" "${OPENGL_glu_LIBRARY}") -+else(OCTOVIS_QT6) - find_package(Qt5Core REQUIRED) - find_package(Qt5Gui REQUIRED) - find_package(Qt5OpenGL REQUIRED) -@@ -13,14 +16,7 @@ if(OCTOVIS_QT5) - "${Qt5Widgets_INCLUDE_DIRS}" - "${Qt5Xml_INCLUDE_DIRS}" - ) --else(OCTOVIS_QT5) -- # Qt4-support (more info: http://qtnode.net/wiki?title=Qt_with_cmake) -- find_package(Qt4 REQUIRED) -- set(QT_USE_QTOPENGL TRUE) -- set(QT_USE_QTXML TRUE) -- # include the files enabled above -- include(${QT_USE_FILE}) --endif(OCTOVIS_QT5) -+endif(OCTOVIS_QT6) - - # Mac OS X seems to require special linker flags: - IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") -@@ -51,11 +47,11 @@ set(viewer_SRCS - ) - - # Resource files (icons, ...) --if(OCTOVIS_QT5) -+if(OCTOVIS_QT6) -+ QT6_ADD_RESOURCES(viewer_RES src/icons.qrc) -+else(OCTOVIS_QT6) - QT5_ADD_RESOURCES(viewer_RES src/icons.qrc) --else(OCTOVIS_QT5) -- QT4_ADD_RESOURCES(viewer_RES src/icons.qrc) --endif(OCTOVIS_QT5) -+endif(OCTOVIS_QT6) - - #found QGLViewer lib dir - link_directories(${QGLViewer_LIBRARY_DIR}) -@@ -74,11 +70,11 @@ SET(viewer_MOC_HDRS - ) - - # generate list of MOC srcs: --if(OCTOVIS_QT5) -+if(OCTOVIS_QT6) -+ QT6_WRAP_CPP(viewer_MOC_SRCS ${viewer_MOC_HDRS}) -+else(OCTOVIS_QT6) - QT5_WRAP_CPP(viewer_MOC_SRCS ${viewer_MOC_HDRS}) --else(OCTOVIS_QT5) -- QT4_WRAP_CPP(viewer_MOC_SRCS ${viewer_MOC_HDRS}) --endif(OCTOVIS_QT5) -+endif(OCTOVIS_QT6) - - # let cmake generate ui*.h files from .ui files (Qt Designer): - SET(viewer_UIS -@@ -87,11 +83,11 @@ SET(viewer_UIS - ${PROJECT_SOURCE_DIR}/include/octovis/ViewerSettingsPanel.ui - ${PROJECT_SOURCE_DIR}/include/octovis/ViewerSettingsPanelCamera.ui - ) --if(OCTOVIS_QT5) -+if(OCTOVIS_QT6) -+ QT6_WRAP_UI(viewer_UIS_H ${viewer_UIS}) -+else(OCTOVIS_QT6) - QT5_WRAP_UI(viewer_UIS_H ${viewer_UIS}) --else(OCTOVIS_QT5) -- QT4_WRAP_UI(viewer_UIS_H ${viewer_UIS}) --endif(OCTOVIS_QT5) -+endif(OCTOVIS_QT6) - - # Don't forget to include output directory, otherwise - # the UI file won't be wrapped! -@@ -101,6 +97,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR}) - # Library target - add_library(octovis-static STATIC ${viewerlib_SRCS}) - target_link_libraries(octovis-static -+ ${QT_LIBRARIES} - ${OPENGL_gl_LIBRARY} - ${OPENGL_glu_LIBRARY} - ${OCTOMAP_LIBRARIES} -@@ -110,6 +107,7 @@ set_target_properties(octovis-static PROPERTIES OUTPUT_NAME octovis) - - add_library(octovis-shared SHARED ${viewerlib_SRCS}) - target_link_libraries(octovis-shared -+ ${QT_LIBRARIES} - ${OPENGL_gl_LIBRARY} - ${OPENGL_glu_LIBRARY} - ${OCTOMAP_LIBRARIES} -@@ -135,7 +133,6 @@ add_executable(octovis ${viewer_SRCS} ${viewer_UIS_H} ${viewer_MOC_SRCS} ${viewe - - target_link_libraries(octovis - # ${QGLViewer_LIBRARIES} -- ${QT_LIBRARIES} - ${OCTOMAP_LIBRARIES} - octovis-shared - ) diff --git a/sci-libs/octomap/metadata.xml b/sci-libs/octomap/metadata.xml deleted file mode 100644 index 9e29e49ec5ef..000000000000 --- a/sci-libs/octomap/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>aballier@gentoo.org</email> - <name>Alexis Ballier</name> - </maintainer> - <longdescription lang="en"> - The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++ particularly suited for robotics. - </longdescription> - <use> - <flag name="dynamicEDT3D">Build and install dynamicEDT3D library: A library for incrementally updatable Euclidean distance transforms in 3D.</flag> - </use> - <upstream> - <remote-id type="github">OctoMap/octomap</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/octomap/octomap-1.10.0-r1.ebuild b/sci-libs/octomap/octomap-1.10.0-r1.ebuild deleted file mode 100644 index 9350ec9e0c13..000000000000 --- a/sci-libs/octomap/octomap-1.10.0-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Efficient Probabilistic 3D Mapping Framework Based on Octrees" -HOMEPAGE="https://octomap.github.io/" -SRC_URI="https://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD qt6? ( GPL-2 )" -SLOT="0/1.10" -KEYWORDS="~amd64 ~arm" -IUSE="doc dynamicEDT3D qt6" - -RDEPEND=" - qt6? ( - dev-qt/qtbase:6[gui,widgets,xml] - >=x11-libs/libQGLViewer-2.9.1 - virtual/glu - virtual/opengl - ) -" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( app-text/doxygen[dot] )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.10.0-cmake_bump.patch - "${FILESDIR}"/${PN}-1.10.0-destdir_edt3d.patch - "${FILESDIR}"/${PN}-1.10.0-filter_flags.patch - "${FILESDIR}"/${PN}-1.10.0-pkgconf_libqglviewer.patch - "${FILESDIR}"/${PN}-1.10.0-qt5_qt6.patch -) - -src_prepare() { - if use doc; then - doxygen -u octomap/octomap.dox.in 2>/dev/null || die - doxygen -u dynamicEDT3D/dynamicEDT3D.dox 2>/dev/null || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D) - -DBUILD_OCTOVIS_SUBPROJECT=$(usex qt6) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - cmake_build docs - use dynamicEDT3D && cmake_build docs_dynamicEDT3D - # remove doxygen working files - find "${S}" \( \ - -iname '*.map' -o \ - -iname '*.md5' \ - \) -delete || die - fi -} - -src_test() { - local -x LD_LIBRARY_PATH="${S}/lib" - cmake_src_test -} - -src_install() { - if use doc; then - # use docinto to preserve one subdirectory by project in html dir - docinto html/octomap - dodoc -r octomap/doc/html/. - if use dynamicEDT3D; then - docinto html/dynamicEDT3D - dodoc -r dynamicEDT3D/doc/html/. - fi - fi - - cmake_src_install - - # dir with empty files - rm -r "${ED}"/usr/share/ament_index || die - - # breaks octomap-targets.cmake (used eg by rtabmap) - # find "${ED}" -name '*.a' -delete || die -} diff --git a/sci-libs/ogdi/Manifest b/sci-libs/ogdi/Manifest deleted file mode 100644 index e7e89450ed6f..000000000000 --- a/sci-libs/ogdi/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ogdi-4.1.0.tar.gz 848818 BLAKE2B d037d7a1b97e0db4b714e94a46c04e7126b5ab520e9cf54ffaba5f3e8ffa694690f4863ce257a4f56a3a596ae3ce430eb8f656f700a9287455b9f540299c6b1a SHA512 abfc409bfa5ea2f81a90c16361fe6cdc2b2ee39775c22ceb74b13b171aa04d6d6eaffe398cae0ef91dcde8509e5cc25100eedeffdad358e090b78e118d386859 diff --git a/sci-libs/ogdi/files/ogdi-3.2.0-endianess.patch b/sci-libs/ogdi/files/ogdi-3.2.0-endianess.patch deleted file mode 100644 index c1293fa66525..000000000000 --- a/sci-libs/ogdi/files/ogdi-3.2.0-endianess.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 0cc56791fa5f43a399adcea438d7254611573f2d Mon Sep 17 00:00:00 2001 -From: Dennis Schridde <devurandom@gmx.net> -Date: Tue, 28 Nov 2017 21:53:51 +0100 -Subject: [PATCH 1/6] Use endian.h to determine endianness - -glibc and others have an endian.h header that contains a __BYTE_ORDER macro, - which can be used to determine endianness. The header might also be called - sys/endian.h on some systems. ---- - vpflib/include/machine.h | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/vpflib/include/machine.h b/vpflib/include/machine.h -index 808522d..cee8774 100644 ---- a/vpflib/include/machine.h -+++ b/vpflib/include/machine.h -@@ -15,10 +15,11 @@ typedef struct - long output; - } xBYTE_ORDER; - --#if SYS_BIG_ENDIAN == 1 --#define MACHINE_BYTE_ORDER MOST_SIGNIFICANT --#else -+#include <endian.h> -+#if __BYTE_ORDER == __LITTLE_ENDIAN - #define MACHINE_BYTE_ORDER LEAST_SIGNIFICANT -+#elif __BYTE_ORDER == __BIG_ENDIAN -+#define MACHINE_BYTE_ORDER MOST_SIGNIFICANT - #endif - - #ifdef _WINDOWS --- -2.15.0 - diff --git a/sci-libs/ogdi/files/ogdi-3.2.0-optimisation.patch b/sci-libs/ogdi/files/ogdi-3.2.0-optimisation.patch deleted file mode 100644 index 6dd25fe6d7c2..000000000000 --- a/sci-libs/ogdi/files/ogdi-3.2.0-optimisation.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/config/unix.mak b/config/unix.mak -index e3af578..927b0fc 100644 ---- a/config/unix.mak -+++ b/config/unix.mak -@@ -55,7 +55,7 @@ LINK_SW = -L - ifeq ($(CFG),debug) - OPTIMIZATION = -g - else --OPTIMIZATION = -O -+OPTIMIZATION = - endif - - # diff --git a/sci-libs/ogdi/files/ogdi-3.2.0-tcl.patch b/sci-libs/ogdi/files/ogdi-3.2.0-tcl.patch deleted file mode 100644 index 5d6917b0e01b..000000000000 --- a/sci-libs/ogdi/files/ogdi-3.2.0-tcl.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/config/generic.mak.in b/config/generic.mak.in -index 1cb74f5..2e9cabe 100644 ---- a/config/generic.mak.in -+++ b/config/generic.mak.in -@@ -46,8 +46,8 @@ AR = ar cr - RPC_INCLUDES = @RPC_INCLUDES@ - - UCB_STATICLIB = - --TCL_INCLUDE = -I/usr/include/tcl8.3 -+TCL_INCLUDE = -I${prefix}/include - TCL_LINKLIB = - - # diff --git a/sci-libs/ogdi/files/ogdi-4.1.0-c99-conversions.patch b/sci-libs/ogdi/files/ogdi-4.1.0-c99-conversions.patch deleted file mode 100644 index 476f77b938ef..000000000000 --- a/sci-libs/ogdi/files/ogdi-4.1.0-c99-conversions.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/vpflib/vpfprop.c 2024-04-04 12:03:43.682864289 +0000 -+++ b/vpflib/vpfprop.c 2024-04-04 12:07:30.498441728 +0000 -@@ -840,7 +840,8 @@ - #endif - - { -- int32 ncov,i,j,k,n; -+ char ncov; -+ int32 i,j,k,n; - char path[255]; - char **ptr, **coverages, **subset, **fcnames=(char **)NULL; - -@@ -1447,7 +1447,7 @@ - int32 *nfc ) - #else - char **coverage_feature_class_names (library_path, coverage, nfc) -- char *library_path, coverage; -+ char *library_path, *coverage; - int32 *nfc; - #endif - diff --git a/sci-libs/ogdi/files/ogdi-4.1.0-subdirs.patch b/sci-libs/ogdi/files/ogdi-4.1.0-subdirs.patch deleted file mode 100644 index 208bfb2bb023..000000000000 --- a/sci-libs/ogdi/files/ogdi-4.1.0-subdirs.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urN a/makefile b/makefile ---- a/makefile -+++ b/makefile -@@ -17,7 +17,7 @@ - # - # Sub-directories that need to be built - # --subdirs = external vpflib ogdi contrib -+subdirs = vpflib ogdi contrib - - # - # Default target to build everything in all sub-directories -diff -urN a/ogdi/makefile b/ogdi/makefile ---- a/ogdi/makefile -+++ b/ogdi/makefile -@@ -15,7 +15,7 @@ - # - # Sub-directories that need to be built - # --subdirs = include c-api glutil attr_driver driver gltpd examples -+subdirs = include c-api glutil attr_driver driver gltpd - - # - # Default target to build everything in all sub-directories diff --git a/sci-libs/ogdi/metadata.xml b/sci-libs/ogdi/metadata.xml deleted file mode 100644 index 429161d45435..000000000000 --- a/sci-libs/ogdi/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">ogdi</remote-id> - <remote-id type="github">libogdi/ogdi</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/ogdi/ogdi-4.1.0-r1.ebuild b/sci-libs/ogdi/ogdi-4.1.0-r1.ebuild deleted file mode 100644 index 56b56e8c051b..000000000000 --- a/sci-libs/ogdi/ogdi-4.1.0-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Open Geographical Datastore Interface, a GIS support library" -HOMEPAGE="http://ogdi.sourceforge.net/ https://github.com/libogdi/ogdi" -SRC_URI="https://github.com/libogdi/ogdi/releases/download/${PN}_${PV//./_}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~x86" -IUSE="" - -DEPEND=" - dev-libs/expat - net-libs/libtirpc:= - virtual/zlib:= -" -RDEPEND="${DEPEND}" - -DOCS=( ChangeLog NEWS README ) - -PATCHES=( - "${FILESDIR}"/${P}-subdirs.patch - "${FILESDIR}"/${PN}-3.2.0-endianess.patch - "${FILESDIR}"/${PN}-3.2.0-optimisation.patch - "${FILESDIR}"/${PN}-3.2.0-tcl.patch - "${FILESDIR}"/${P}-c99-conversions.patch -) - -src_prepare() { - default - rm -r external || die - sed 's:O2:O9:g' -i configure || die -} - -src_configure() { - export TOPDIR="${S}" - export TARGET=$(uname) - export CFG="release" - export LD_LIBRARY_PATH=$TOPDIR/bin/${TARGET} - - econf \ - --with-expat \ - --with-zlib -} - -src_compile() { - # bug #299239 - emake -j1 -} - -src_install() { - mv "${S}"/bin/${TARGET}/*.so* "${S}"/lib/Linux/. || die "lib move failed" - dobin "${S}"/bin/${TARGET}/* - - insinto /usr/include - doins ogdi/include/ecs.h ogdi/include/ecs_util.h - - dolib.so lib/${TARGET}/lib* - - insinto "/usr/$(get_libdir)/pkgconfig" - doins ogdi.pc - - dobin ogdi-config - - einstalldocs -} diff --git a/sci-libs/ondselsolver/Manifest b/sci-libs/ondselsolver/Manifest deleted file mode 100644 index 94934435ef72..000000000000 --- a/sci-libs/ondselsolver/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST ondselsolver-1.0.1_p20241024.tar.gz 4668075 BLAKE2B 82e13168b2f6d988e411613584d9bb943afd9df73716a467d2681658d530e71173abcb31e432075dce8ebc1f0276ecb2b7b837bf057fb68f654c972e2d77f5b5 SHA512 918542fca4bfcb952d6d9500a0f3721549810dd2cde9adfb352d9301e0e1bf0fe1100a301316f15a6dcd18e36d371c58ba4a41b8f8e0878a77db4cbf054a095a -DIST ondselsolver-1.0.1_p20241127.tar.gz 4669048 BLAKE2B 6f6c4f9468b2474890b05ca394947aa91bc1780e1ef922bba40144a30c247db32d7a5de469ed27e426209013b07a137522bad9c220d9e1862f7e946696974b0b SHA512 3504a6ab379f2d9d943a1a6da8f79abffebd7fe45fd3258f0bfeb0a789d73a2b68714c10e77e48987514c8acb23800412c10daa0046ed82dab4a2aab569851ff diff --git a/sci-libs/ondselsolver/files/ondselsolver-1.0.1-include-cstdint-gcc15.patch b/sci-libs/ondselsolver/files/ondselsolver-1.0.1-include-cstdint-gcc15.patch deleted file mode 100644 index 9068c1cf2fad..000000000000 --- a/sci-libs/ondselsolver/files/ondselsolver-1.0.1-include-cstdint-gcc15.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 432aa45ca37ecc3e15a8fb4a62ebf85b0a189775 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Sat, 11 Jan 2025 00:14:18 +0100 -Subject: [PATCH] include cstdint [gcc15] - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/OndselSolver/Constraint.h b/OndselSolver/Constraint.h -index 119b627..a7409a8 100644 ---- a/OndselSolver/Constraint.h -+++ b/OndselSolver/Constraint.h -@@ -8,6 +8,7 @@ - - #pragma once - -+#include <cstdint> - #include <memory> - - #include "enum.h" -diff --git a/OndselSolver/DirectionCosineConstraintIqcJqc.h b/OndselSolver/DirectionCosineConstraintIqcJqc.h -index 5d68fcd..c81a41f 100644 ---- a/OndselSolver/DirectionCosineConstraintIqcJqc.h -+++ b/OndselSolver/DirectionCosineConstraintIqcJqc.h -@@ -9,6 +9,7 @@ - #pragma once - - #include "DirectionCosineConstraintIqcJc.h" -+#include <cstdint> - - namespace MbD { - class DirectionCosineConstraintIqcJqc : public DirectionCosineConstraintIqcJc -diff --git a/OndselSolver/DispCompIecJecO.h b/OndselSolver/DispCompIecJecO.h -index 74a1ca4..da3243a 100644 ---- a/OndselSolver/DispCompIecJecO.h -+++ b/OndselSolver/DispCompIecJecO.h -@@ -9,6 +9,7 @@ - #pragma once - - #include "KinematicIeJe.h" -+#include <cstdint> - - namespace MbD { - class DispCompIecJecO : public KinematicIeJe -diff --git a/OndselSolver/FullMatrix.h b/OndselSolver/FullMatrix.h -index 1013791..90e54aa 100644 ---- a/OndselSolver/FullMatrix.h -+++ b/OndselSolver/FullMatrix.h -@@ -9,6 +9,7 @@ - #pragma once - - #include <cmath> -+#include <cstdint> - #include <memory> - - #include "RowTypeMatrix.h" -diff --git a/OndselSolver/NewtonRaphson.h b/OndselSolver/NewtonRaphson.h -index 9d9fb19..bf0c517 100644 ---- a/OndselSolver/NewtonRaphson.h -+++ b/OndselSolver/NewtonRaphson.h -@@ -8,6 +8,7 @@ - - #pragma once - -+#include <cstdint> - #include <memory> - #include <vector> - --- -2.47.1 - diff --git a/sci-libs/ondselsolver/files/ondselsolver-1.0.1-properly-demangle-typenames.patch b/sci-libs/ondselsolver/files/ondselsolver-1.0.1-properly-demangle-typenames.patch deleted file mode 100644 index 7d536796d9f5..000000000000 --- a/sci-libs/ondselsolver/files/ondselsolver-1.0.1-properly-demangle-typenames.patch +++ /dev/null @@ -1,191 +0,0 @@ -From 71c1f42d85ee1819741786255dc8876047398e8e Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Sun, 12 Jan 2025 19:22:48 +0100 -Subject: [PATCH] properly demangle typenames - -C++ class names are mangled. How these are mangled is implementation specific. -Using string offsets is naive and caused at minimum testfailures. - -For gcc and clang you can use cxxabi.h to get demangled name. -This initial patch uses this for linux only, so the gentoo build suceeeds. - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/OndselSolver/ASMTItem.cpp b/OndselSolver/ASMTItem.cpp -index a18e7c9..9d5383a 100644 ---- a/OndselSolver/ASMTItem.cpp -+++ b/OndselSolver/ASMTItem.cpp -@@ -12,6 +12,7 @@ - #include "ASMTAssembly.h" - #include "Constant.h" - #include <algorithm> -+#include "Demangle.h" - - using namespace MbD; - -@@ -41,9 +42,7 @@ void MbD::ASMTItem::noop() - - std::string MbD::ASMTItem::classname() - { -- std::string str = typeid(*this).name(); -- auto answer = str.substr(11, str.size() - 11); -- return answer; -+ return demangle(typeid(*this).name()); - } - - void MbD::ASMTItem::setName(const std::string& str) -diff --git a/OndselSolver/ASMTJoint.cpp b/OndselSolver/ASMTJoint.cpp -index 40edd52..bb710e3 100644 ---- a/OndselSolver/ASMTJoint.cpp -+++ b/OndselSolver/ASMTJoint.cpp -@@ -9,6 +9,7 @@ - - #include "ASMTJoint.h" - #include "Joint.h" -+#include "Demangle.h" - - using namespace MbD; - -@@ -47,9 +48,7 @@ void MbD::ASMTJoint::storeOnLevel(std::ofstream& os, size_t level) - - void MbD::ASMTJoint::storeOnTimeSeries(std::ofstream& os) - { -- std::string label = typeid(*this).name(); -- label = label.substr(15, label.size() - 15); -- os << label << "Series\t" << fullName("") << std::endl; -+ os << demangle(typeid(*this).name()) << "Series\t" << fullName("") << std::endl; - ASMTItemIJ::storeOnTimeSeries(os); - } - -diff --git a/OndselSolver/Array.h b/OndselSolver/Array.h -index 636e9a5..e270795 100644 ---- a/OndselSolver/Array.h -+++ b/OndselSolver/Array.h -@@ -16,6 +16,7 @@ - #include "Numeric.h" - #include <limits> - -+#include "Demangle.h" - //#include "Symbolic.h" - - namespace MbD { -@@ -51,10 +52,7 @@ namespace MbD { - void atitimes(size_t i, double factor); - - virtual std::ostream& printOn(std::ostream& s) const { -- std::string str = typeid(*this).name(); -- auto classname = str.substr(11, str.size() - 11); -- s << classname << std::endl; -- return s; -+ return s << demangle(typeid(*this).name()) << std::endl; - } - friend std::ostream& operator<<(std::ostream& s, const Array& array) - { -diff --git a/OndselSolver/Demangle.h b/OndselSolver/Demangle.h -new file mode 100644 -index 0000000..810936d ---- /dev/null -+++ b/OndselSolver/Demangle.h -@@ -0,0 +1,39 @@ -+#ifndef DEMANGLE_H -+#define DEMANGLE_H 1 -+#include <string> -+ -+#ifdef _WIN32 -+#include <typeinfo> -+namespace { -+std::string demangle(const char* mangled_name) noexcept { -+ return mangled_name; -+} -+} -+#else // __linux__ -+#include <cxxabi.h> -+namespace { -+std::string demangle(const char* mangled_name) noexcept { -+ int error = 0; -+ char *demang_name = abi::__cxa_demangle(mangled_name, 0, 0, &error); -+ -+ switch (error) { -+ case 0: -+ break; -+ case -1: -+ return "memory allocation failed"; -+ case -2: -+ return "not a valid mangled name"; -+ case -3: -+ return "invalid arguments"; -+ default: -+ return "__cxa_demangle failed"; -+ } -+ -+ std::string name(demang_name); -+ free(demang_name); -+ -+ return name.substr(name.find_last_of("::") + 1); -+} -+} -+#endif // __linux__ -+#endif -diff --git a/OndselSolver/Item.cpp b/OndselSolver/Item.cpp -index 4435d5d..120cd3c 100644 ---- a/OndselSolver/Item.cpp -+++ b/OndselSolver/Item.cpp -@@ -15,6 +15,7 @@ - #include "Item.h" - #include "System.h" - #include "Symbolic.h" -+#include "Demangle.h" - - using namespace MbD; - -@@ -44,10 +45,7 @@ void Item::initialize() - - std::ostream& Item::printOn(std::ostream& s) const - { -- std::string str = typeid(*this).name(); -- auto classname = str.substr(11, str.size() - 11); -- s << classname << std::endl; -- return s; -+ return s << demangle(typeid(*this).name()) << std::endl; - } - - void Item::initializeLocally() -diff --git a/OndselSolver/Symbolic.cpp b/OndselSolver/Symbolic.cpp -index 75bcbb6..4961964 100644 ---- a/OndselSolver/Symbolic.cpp -+++ b/OndselSolver/Symbolic.cpp -@@ -15,6 +15,7 @@ - #include "Product.h" - #include "Sum.h" - #include "Power.h" -+#include "Demangle.h" - - using namespace MbD; - -@@ -160,10 +161,7 @@ bool Symbolic::isConstant() - - std::ostream& Symbolic::printOn(std::ostream& s) const - { -- std::string str = typeid(*this).name(); -- auto classname = str.substr(11, str.size() - 11); -- s << classname; -- return s; -+ return s << demangle(typeid(*this).name()); - } - - std::shared_ptr<std::vector<Symsptr>> Symbolic::getTerms() -diff --git a/OndselSolver/CMakeLists.txt b/OndselSolver/CMakeLists.txt -index 6836e72..30d5bf4 100644 ---- a/OndselSolver/CMakeLists.txt -+++ b/OndselSolver/CMakeLists.txt -@@ -426,6 +426,7 @@ set(ONDSELSOLVER_HEADERS - CREATE.h - CylindricalJoint.h - CylSphJoint.h -+ Demangle.h - DiagonalMatrix.h - DifferenceOperator.h - DifferentiatedGeneralSpline.h --- -2.48.0 - diff --git a/sci-libs/ondselsolver/files/ondselsolver-1.0.1_p20241024-system-gtest.patch b/sci-libs/ondselsolver/files/ondselsolver-1.0.1_p20241024-system-gtest.patch deleted file mode 100644 index 16258763011a..000000000000 --- a/sci-libs/ondselsolver/files/ondselsolver-1.0.1_p20241024-system-gtest.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -1,11 +1,4 @@ --include(FetchContent) --FetchContent_Declare( -- googletest -- URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip --) --# For Windows: Prevent overriding the parent project's compiler/linker settings --set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) --FetchContent_MakeAvailable(googletest) -+find_package(GTest QUIET) - - if(MSVC) - add_compile_options(/wd4251) -@@ -54,8 +47,8 @@ - ${CMAKE_CURRENT_SOURCE_DIR}/test.cpp - ) - target_link_libraries(test_run -- gtest_main -- gmock_main -+ GTest::gtest -+ GTest::gmock_main - ${Google_Tests_LIBS} - OndselSolver - ) diff --git a/sci-libs/ondselsolver/metadata.xml b/sci-libs/ondselsolver/metadata.xml deleted file mode 100644 index a6feb57a7762..000000000000 --- a/sci-libs/ondselsolver/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>ydmorenoc@unal.edu.co</email> - <name>David Moreno</name> - </maintainer> - <maintainer type="person" proxied="proxy"> - <email>nowa@gentoo.org</email> - <name>Nowa Ammerlaan</name> - </maintainer> - <upstream> - <remote-id type="github">Ondsel-Development/OndselSolver</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/ondselsolver/ondselsolver-1.0.1_p20241024.ebuild b/sci-libs/ondselsolver/ondselsolver-1.0.1_p20241024.ebuild deleted file mode 100644 index b58103dbe5e8..000000000000 --- a/sci-libs/ondselsolver/ondselsolver-1.0.1_p20241024.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -COMMIT=9e44ac50b84dbce0e04907999ff0f33e69f583bc - -DESCRIPTION="Assembly Constraints and Multibody Dynamics code" -HOMEPAGE="https://github.com/Ondsel-Development/OndselSolver/" -SRC_URI="https://github.com/Ondsel-Development/OndselSolver/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/OndselSolver-${COMMIT}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-cpp/gtest )" - -# These tests result in "Subprocess aborted" -CMAKE_SKIP_TESTS=( - OndselSolver.Gears - OndselSolver.anglejoint - OndselSolver.constvel - OndselSolver.rackscrew - OndselSolver.planarbug - OndselSolver.piston -) - -PATCHES=( - "${FILESDIR}/${P}-system-gtest.patch" - "${FILESDIR}/${PN}-1.0.1-include-cstdint-gcc15.patch" -) - -src_configure() { - local mycmakeargs=( - -DONDSELSOLVER_BUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} diff --git a/sci-libs/ondselsolver/ondselsolver-1.0.1_p20241127-r1.ebuild b/sci-libs/ondselsolver/ondselsolver-1.0.1_p20241127-r1.ebuild deleted file mode 100644 index 0b0ee51ad12a..000000000000 --- a/sci-libs/ondselsolver/ondselsolver-1.0.1_p20241127-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -COMMIT=07785b7576a0655660badd845f06ed286208da1a - -DESCRIPTION="Assembly Constraints and Multibody Dynamics code" -HOMEPAGE="https://github.com/Ondsel-Development/OndselSolver/" -SRC_URI="https://github.com/Ondsel-Development/OndselSolver/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/OndselSolver-${COMMIT}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64" - -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-cpp/gtest )" - -PATCHES=( - "${FILESDIR}/${PN}-1.0.1_p20241024-system-gtest.patch" - "${FILESDIR}/${PN}-1.0.1-properly-demangle-typenames.patch" -) - -src_configure() { - local mycmakeargs=( - -DONDSELSOLVER_BUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} diff --git a/sci-libs/onnxruntime-bin/Manifest b/sci-libs/onnxruntime-bin/Manifest deleted file mode 100644 index 8b408739a385..000000000000 --- a/sci-libs/onnxruntime-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST onnxruntime-linux-x64-1.22.0.tgz 7798730 BLAKE2B 71c36530f6f5ced92f7bba844f63900d785dd2caa6c8e17e0b055b382b8a9ded77d87efdf142ebc3d19c22023411148a74fbc841860d5a06857b2b027746574b SHA512 c49d927a39dc27fcdf3b41436806af74c24c79ead09289d986c359fc1380ea363cf83d4085212b8972cb752a0fa8b9b1a06b82ad19e2d4dd6e22e44c79050386 diff --git a/sci-libs/onnxruntime-bin/metadata.xml b/sci-libs/onnxruntime-bin/metadata.xml deleted file mode 100644 index a352ad71a56d..000000000000 --- a/sci-libs/onnxruntime-bin/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>hurikhan77+bgo@gmail.com</email> - <name>Kai Krakow</name> - </maintainer> - <maintainer type="person"> - <email>ceamac@gentoo.org</email> - <description>Primary maintainer</description> - </maintainer> - <upstream> - <bugs-to>https://github.com/microsoft/onnxruntime/issues</bugs-to> - <remote-id type="github">microsoft/onnxruntime</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/onnxruntime-bin/onnxruntime-bin-1.22.0.ebuild b/sci-libs/onnxruntime-bin/onnxruntime-bin-1.22.0.ebuild deleted file mode 100644 index 62703ed97b51..000000000000 --- a/sci-libs/onnxruntime-bin/onnxruntime-bin-1.22.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="cross-platform, high performance ML inferencing and training accelerator" -HOMEPAGE="https://onnxruntime.ai/" - -SRC_URI=" - https://github.com/microsoft/onnxruntime/releases/download/v${PV}/onnxruntime-linux-x64-${PV}.tgz -" - -LICENSE="MIT" - -SLOT="0" - -KEYWORDS="~amd64" - -DOCS=" - README.md - Privacy.md - ThirdPartyNotices.txt - LICENSE -" - -QA_PREBUILT=" - lib*/lib*.so* -" - -src_unpack() { - unpack ${A} - cd "${WORKDIR}" || die - mv onnxruntime-linux-* ${P} || die -} - -src_install() { - dodir /usr/include - cp -R include/. "${ED}"/usr/include/. || die - - dodir $(get_libdir) - cp -R lib/. "${ED}"/$(get_libdir)/. || die - - einstalldocs -} diff --git a/sci-libs/onnxruntime/Manifest b/sci-libs/onnxruntime/Manifest deleted file mode 100644 index 886bec85330e..000000000000 --- a/sci-libs/onnxruntime/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST eigen-3.4.0_p20250216.tar.bz2 2272941 BLAKE2B c86764a5c31b978d09f9f8f458a982fb16c2cdfd053e0c7a371fbe5b9c64bead42c25fb7d4cb795eb5ee7ff1800bb51fac6783ad0881dd69dee5d463ccd213e3 SHA512 3c9fab41bde1ee4b8f5ba21c991a75cc73e104cdb48f3377b5fc51afae8cbb5e891c39e4fd998c5263178a8962b09d9d907b9d125dfddc50bc2ec5171917d6b8 -DIST onnxruntime-1.25.1.tar.gz 284862475 BLAKE2B 82667031281285474feda951fe153c8000a2d4ed9ad4ee4f1ef8ee41f8334f0462608f938ca15f93a3369860a5078eb89b7ceeee791dcea23468b8d469e9122c SHA512 df760e30f1027b024d5a67aa3f36a6508609a58acc37e5e1066f919eaa42f9568c1c8218fbc80eeee0b9ec10307ea4778575b9ed3a1b312690f394b35d036e61 -DIST onnxruntime-1.26.0.tar.gz 285128576 BLAKE2B 825f73cf8aa5ecb185f7e77e825e78906666ddc6f194f4034e5443900e9d8e90b20173b0ba33c37b80650658e589078dad6f7c6c7c86ff5247bc797f4d4aa952 SHA512 14d629a14eb2161178c6babe49ed8a3adb15e8c6d26adc4c975261f9b5d43674e8a85bc4dbeb05a87917291d44b056140a1ac5a1c70ed80d92cb3f38cc670ebd diff --git a/sci-libs/onnxruntime/files/onnxruntime-1.22.2-relax-the-dependency-on-flatbuffers.patch b/sci-libs/onnxruntime/files/onnxruntime-1.22.2-relax-the-dependency-on-flatbuffers.patch deleted file mode 100644 index 5a927c64b9e9..000000000000 --- a/sci-libs/onnxruntime/files/onnxruntime-1.22.2-relax-the-dependency-on-flatbuffers.patch +++ /dev/null @@ -1,100 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Relax the dependency on `flatbuffers`. - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/onnxruntime/core/flatbuffers/schema/ort.fbs.h -+++ b/onnxruntime/core/flatbuffers/schema/ort.fbs.h -@@ -6,13 +6,6 @@ - - #include "core/common/flatbuffers.h" - --// Ensure the included flatbuffers.h is the same version as when this file was --// generated, otherwise it may not be compatible. --static_assert(FLATBUFFERS_VERSION_MAJOR == 23 && -- FLATBUFFERS_VERSION_MINOR == 5 && -- FLATBUFFERS_VERSION_REVISION == 26, -- "Non-compatible flatbuffers version included"); -- - namespace onnxruntime { - namespace fbs { - ---- a/onnxruntime/core/flatbuffers/schema/ort_training_checkpoint.fbs.h -+++ b/onnxruntime/core/flatbuffers/schema/ort_training_checkpoint.fbs.h -@@ -6,13 +6,6 @@ - - #include "core/common/flatbuffers.h" - --// Ensure the included flatbuffers.h is the same version as when this file was --// generated, otherwise it may not be compatible. --static_assert(FLATBUFFERS_VERSION_MAJOR == 23 && -- FLATBUFFERS_VERSION_MINOR == 5 && -- FLATBUFFERS_VERSION_REVISION == 26, -- "Non-compatible flatbuffers version included"); -- - #include "ort.fbs.h" - - namespace onnxruntime { ---- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/DirectMLHelpers/DmlGraphDesc_generated.h -+++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/DirectMLHelpers/DmlGraphDesc_generated.h -@@ -6,13 +6,6 @@ - - #include "core/common/flatbuffers.h" - --// Ensure the included flatbuffers.h is the same version as when this file was --// generated, otherwise it may not be compatible. --static_assert(FLATBUFFERS_VERSION_MAJOR == 23 && -- FLATBUFFERS_VERSION_MINOR == 5 && -- FLATBUFFERS_VERSION_REVISION == 26, -- "Non-compatible flatbuffers version included"); -- - #include "OperatorFieldTypes_generated.h" - - namespace dml { ---- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/DirectMLHelpers/OperatorFieldTypes_generated.h -+++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/DirectMLHelpers/OperatorFieldTypes_generated.h -@@ -6,13 +6,6 @@ - - #include "core/common/flatbuffers.h" - --// Ensure the included flatbuffers.h is the same version as when this file was --// generated, otherwise it may not be compatible. --static_assert(FLATBUFFERS_VERSION_MAJOR == 23 && -- FLATBUFFERS_VERSION_MINOR == 5 && -- FLATBUFFERS_VERSION_REVISION == 26, -- "Non-compatible flatbuffers version included"); -- - namespace dml { - namespace ir { - namespace operatorFieldTypes { ---- a/onnxruntime/lora/adapter_format/adapter_schema.fbs.h -+++ b/onnxruntime/lora/adapter_format/adapter_schema.fbs.h -@@ -5,13 +5,6 @@ - - #include "flatbuffers/flatbuffers.h" - --// Ensure the included flatbuffers.h is the same version as when this file was --// generated, otherwise it may not be compatible. --static_assert(FLATBUFFERS_VERSION_MAJOR == 23 && -- FLATBUFFERS_VERSION_MINOR == 5 && -- FLATBUFFERS_VERSION_REVISION == 26, -- "Non-compatible flatbuffers version included"); -- - namespace onnxruntime { - namespace adapters { - ---- a/onnxruntime/test/flatbuffers/flatbuffers_utils_test.fbs.h -+++ b/onnxruntime/test/flatbuffers/flatbuffers_utils_test.fbs.h -@@ -7,13 +7,6 @@ - // manual edit to use wrapper in core/common - #include "core/common/flatbuffers.h" - --// Ensure the included flatbuffers.h is the same version as when this file was --// generated, otherwise it may not be compatible. --static_assert(FLATBUFFERS_VERSION_MAJOR == 23 && -- FLATBUFFERS_VERSION_MINOR == 5 && -- FLATBUFFERS_VERSION_REVISION == 26, -- "Non-compatible flatbuffers version included"); -- - // manual edit to set include path for this - #include "core/flatbuffers/schema/ort.fbs.h" diff --git a/sci-libs/onnxruntime/files/onnxruntime-1.24.3-use-system-libraries.patch b/sci-libs/onnxruntime/files/onnxruntime-1.24.3-use-system-libraries.patch deleted file mode 100644 index 13a01a0dc030..000000000000 --- a/sci-libs/onnxruntime/files/onnxruntime-1.24.3-use-system-libraries.patch +++ /dev/null @@ -1,234 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Use system libraries. - -Everything, except for Eigen3. - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/cmake/external/abseil-cpp.cmake -+++ b/cmake/external/abseil-cpp.cmake -@@ -41,7 +41,7 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_abseil_cpp} - EXCLUDE_FROM_ALL - PATCH_COMMAND ${ABSL_PATCH_COMMAND} -- FIND_PACKAGE_ARGS 20250814 NAMES absl -+ FIND_PACKAGE_ARGS NAMES absl REQUIRED - ) - - onnxruntime_fetchcontent_makeavailable(abseil_cpp) ---- a/cmake/external/onnxruntime_external_deps.cmake -+++ b/cmake/external/onnxruntime_external_deps.cmake -@@ -43,7 +43,7 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_re2} - URL_HASH SHA1=${DEP_SHA1_re2} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES re2 -+ FIND_PACKAGE_ARGS NAMES re2 REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(re2) - -@@ -71,7 +71,7 @@ if (onnxruntime_BUILD_UNIT_TESTS) - URL ${DEP_URL_googletest} - URL_HASH SHA1=${DEP_SHA1_googletest} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 1.14.0...<2.0.0 NAMES GTest -+ FIND_PACKAGE_ARGS 1.14.0...<2.0.0 NAMES GTest REQUIRED - ) - FetchContent_MakeAvailable(googletest) - endif() -@@ -87,7 +87,7 @@ if (onnxruntime_BUILD_BENCHMARKS) - URL ${DEP_URL_google_benchmark} - URL_HASH SHA1=${DEP_SHA1_google_benchmark} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES benchmark -+ FIND_PACKAGE_ARGS NAMES benchmark REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(google_benchmark) - endif() -@@ -105,7 +105,7 @@ if(onnxruntime_USE_MIMALLOC) - URL ${DEP_URL_mimalloc} - URL_HASH SHA1=${DEP_SHA1_mimalloc} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES mimalloc -+ FIND_PACKAGE_ARGS NAMES mimalloc REQUIRED - ) - FetchContent_MakeAvailable(mimalloc) - endif() -@@ -199,7 +199,7 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_protobuf} - PATCH_COMMAND ${ONNXRUNTIME_PROTOBUF_PATCH_COMMAND} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES Protobuf protobuf -+ FIND_PACKAGE_ARGS NAMES Protobuf protobuf REQUIRED - ) - - set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests" FORCE) -@@ -274,7 +274,7 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_date} - URL_HASH SHA1=${DEP_SHA1_date} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 3...<4 NAMES date -+ FIND_PACKAGE_ARGS 3...<4 NAMES date REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(date) - -@@ -288,12 +288,11 @@ if(NOT TARGET Boost::mp11) - mp11 - URL ${DEP_URL_mp11} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES Boost -+ FIND_PACKAGE_ARGS NAMES Boost REQUIRED - ) -- FetchContent_Populate(mp11) -+ onnxruntime_fetchcontent_makeavailable(mp11) - if(NOT TARGET Boost::mp11) -- add_library(Boost::mp11 IMPORTED INTERFACE) -- target_include_directories(Boost::mp11 INTERFACE $<BUILD_INTERFACE:${mp11_SOURCE_DIR}/include>) -+ add_library(Boost::mp11 ALIAS Boost::headers) - endif() - endif() - endif() -@@ -306,7 +305,7 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_json} - URL_HASH SHA1=${DEP_SHA1_json} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 3.10 NAMES nlohmann_json -+ FIND_PACKAGE_ARGS 3.10 NAMES nlohmann_json REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(nlohmann_json) - -@@ -372,7 +371,7 @@ if (CPUINFO_SUPPORTED) - ${Patch_EXECUTABLE} -p1 < ${PROJECT_SOURCE_DIR}/patches/cpuinfo/patch_vcpkg_arm64ec_support.patch && - # https://github.com/pytorch/cpuinfo/pull/348 - ${Patch_EXECUTABLE} -p1 < ${PROJECT_SOURCE_DIR}/patches/cpuinfo/win_arm_fp16_detection_fallback.patch -- FIND_PACKAGE_ARGS NAMES cpuinfo -+ FIND_PACKAGE_ARGS NAMES cpuinfo REQUIRED - ) - else() - onnxruntime_fetchcontent_declare( -@@ -380,7 +379,7 @@ if (CPUINFO_SUPPORTED) - URL ${DEP_URL_pytorch_cpuinfo} - URL_HASH SHA1=${DEP_SHA1_pytorch_cpuinfo} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES cpuinfo -+ FIND_PACKAGE_ARGS NAMES cpuinfo REQUIRED - ) - endif() - set(ONNXRUNTIME_CPUINFO_PROJ pytorch_cpuinfo) -@@ -398,7 +397,7 @@ if(onnxruntime_USE_CUDA) - URL_HASH SHA1=${DEP_SHA1_microsoft_gsl} - PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/gsl/1064.patch - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL -+ FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL REQUIRED - ) - else() - onnxruntime_fetchcontent_declare( -@@ -406,7 +405,7 @@ else() - URL ${DEP_URL_microsoft_gsl} - URL_HASH SHA1=${DEP_SHA1_microsoft_gsl} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL -+ FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL REQUIRED - ) - endif() - set(GSL_TARGET "Microsoft.GSL::GSL") -@@ -420,7 +419,7 @@ if (NOT GSL_FOUND AND NOT onnxruntime_BUILD_SHARED_LIB) - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) - endif() - --find_path(safeint_SOURCE_DIR NAMES "SafeInt.hpp") -+find_path(safeint_SOURCE_DIR NAMES "SafeInt.hpp" REQUIRED) - if(NOT safeint_SOURCE_DIR) - unset(safeint_SOURCE_DIR) - onnxruntime_fetchcontent_declare( -@@ -462,10 +461,14 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_flatbuffers} - PATCH_COMMAND ${ONNXRUNTIME_FLATBUFFERS_PATCH_COMMAND} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 23.5.9 NAMES Flatbuffers flatbuffers -+ FIND_PACKAGE_ARGS 23.5.9 NAMES Flatbuffers flatbuffers REQUIRED - ) - - onnxruntime_fetchcontent_makeavailable(flatbuffers) -+if(TARGET flatbuffers::flatbuffers_shared AND NOT TARGET flatbuffers::flatbuffers) -+ message(STATUS "Aliasing flatbuffers::flatbuffers to flatbuffers::flatbuffers_shared") -+ add_library(flatbuffers::flatbuffers ALIAS flatbuffers::flatbuffers_shared) -+endif() - if(NOT flatbuffers_FOUND) - if(NOT TARGET flatbuffers::flatbuffers) - add_library(flatbuffers::flatbuffers ALIAS flatbuffers) -@@ -527,7 +530,7 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_onnx} - PATCH_COMMAND ${ONNXRUNTIME_ONNX_PATCH_COMMAND} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES ONNX onnx -+ FIND_PACKAGE_ARGS NAMES ONNX onnx REQUIRED - ) - - onnxruntime_fetchcontent_makeavailable(onnx) -@@ -602,7 +605,7 @@ if(onnxruntime_ENABLE_DLPACK) - URL ${DEP_URL_dlpack} - URL_HASH SHA1=${DEP_SHA1_dlpack} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES dlpack -+ FIND_PACKAGE_ARGS NAMES dlpack REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(dlpack) - endif() -@@ -615,7 +618,7 @@ if(onnxruntime_ENABLE_TRAINING OR (onnxruntime_ENABLE_TRAINING_APIS AND onnxrunt - URL ${DEP_URL_cxxopts} - URL_HASH SHA1=${DEP_SHA1_cxxopts} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES cxxopts -+ FIND_PACKAGE_ARGS NAMES cxxopts REQUIRED - ) - set(CXXOPTS_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) - set(CXXOPTS_BUILD_TESTS OFF CACHE BOOL "" FORCE) ---- a/cmake/external/pybind11.cmake -+++ b/cmake/external/pybind11.cmake -@@ -6,6 +6,6 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_pybind11} - URL_HASH SHA1=${DEP_SHA1_pybind11} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 3.0 NAMES pybind11 -+ FIND_PACKAGE_ARGS 3.0 NAMES pybind11 REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(pybind11_project) ---- a/cmake/external/wil.cmake -+++ b/cmake/external/wil.cmake -@@ -8,7 +8,7 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_microsoft_wil} - URL_HASH SHA1=${DEP_SHA1_microsoft_wil} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES wil -+ FIND_PACKAGE_ARGS NAMES wil REQUIRED - ) - - if(WIN32) ---- a/cmake/external/xnnpack.cmake -+++ b/cmake/external/xnnpack.cmake -@@ -17,11 +17,11 @@ if(CMAKE_ANDROID_ARCH_ABI STREQUAL armeabi-v7a) - endif() - - # pthreadpool depends on fxdiv --onnxruntime_fetchcontent_declare(fxdiv URL ${DEP_URL_fxdiv} URL_HASH SHA1=${DEP_SHA1_fxdiv} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES fxdiv) -+onnxruntime_fetchcontent_declare(fxdiv URL ${DEP_URL_fxdiv} URL_HASH SHA1=${DEP_SHA1_fxdiv} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES fxdiv REQUIRED) - onnxruntime_fetchcontent_makeavailable(fxdiv) - set(FXDIV_SOURCE_DIR ${fxdiv_SOURCE_DIR}) - --onnxruntime_fetchcontent_declare(pthreadpool URL ${DEP_URL_pthreadpool} URL_HASH SHA1=${DEP_SHA1_pthreadpool} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES unofficial-pthreadpool) -+onnxruntime_fetchcontent_declare(pthreadpool URL ${DEP_URL_pthreadpool} URL_HASH SHA1=${DEP_SHA1_pthreadpool} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES unofficial-pthreadpool REQUIRED) - onnxruntime_fetchcontent_makeavailable(pthreadpool) - - # --- Determine target processor -@@ -84,7 +84,7 @@ endif() - onnxruntime_fetchcontent_declare(googlexnnpack URL ${DEP_URL_googlexnnpack} URL_HASH SHA1=${DEP_SHA1_googlexnnpack} - PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/xnnpack/AddEmscriptenAndIosSupport.patch - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES xnnpack -+ FIND_PACKAGE_ARGS NAMES xnnpack REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(googlexnnpack) - set(XNNPACK_DIR ${googlexnnpack_SOURCE_DIR}) - diff --git a/sci-libs/onnxruntime/files/onnxruntime-1.24.4-no-werror.patch b/sci-libs/onnxruntime/files/onnxruntime-1.24.4-no-werror.patch deleted file mode 100644 index d8da986ac79f..000000000000 --- a/sci-libs/onnxruntime/files/onnxruntime-1.24.4-no-werror.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff '--color=auto' -rdu onnxruntime-1.24.4.orig/cmake/CMakeLists.txt onnxruntime-1.24.4/cmake/CMakeLists.txt ---- onnxruntime-1.24.4.orig/cmake/CMakeLists.txt 2026-03-16 23:52:22.000000000 +0100 -+++ onnxruntime-1.24.4/cmake/CMakeLists.txt 2026-04-17 18:31:40.823920137 +0200 -@@ -1081,7 +1081,6 @@ - target_compile_definitions(${target_name} PRIVATE USE_KLEIDIAI) - endif() - -- set_target_properties(${target_name} PROPERTIES COMPILE_WARNING_AS_ERROR ON) - if (onnxruntime_USE_CUDA) - # Suppress a "conversion_function_not_usable" warning in gsl/span - target_compile_options(${target_name} PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcudafe \"--diag_suppress=conversion_function_not_usable\">") diff --git a/sci-libs/onnxruntime/files/onnxruntime-1.26.0-r1-prevent-generation-of-PIE.patch b/sci-libs/onnxruntime/files/onnxruntime-1.26.0-r1-prevent-generation-of-PIE.patch deleted file mode 100644 index c23d00edd84c..000000000000 --- a/sci-libs/onnxruntime/files/onnxruntime-1.26.0-r1-prevent-generation-of-PIE.patch +++ /dev/null @@ -1,16 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Prevent generation of PIE. - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/cmake/CMakeLists.txt -+++ b/cmake/CMakeLists.txt -@@ -1294,6 +1294,7 @@ endfunction() - function(onnxruntime_add_executable target_name) - add_executable(${target_name} ${ARGN}) - onnxruntime_configure_target(${target_name}) -+ set_target_properties(${target_name} PROPERTIES POSITION_INDEPENDENT_CODE OFF) - if (MSVC AND onnxruntime_target_platform STREQUAL "x86") - target_link_options(${target_name} PRIVATE /SAFESEH) - endif() - diff --git a/sci-libs/onnxruntime/files/onnxruntime-1.26.0-use-system-libraries.patch b/sci-libs/onnxruntime/files/onnxruntime-1.26.0-use-system-libraries.patch deleted file mode 100644 index 3eef1934ede4..000000000000 --- a/sci-libs/onnxruntime/files/onnxruntime-1.26.0-use-system-libraries.patch +++ /dev/null @@ -1,234 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Use system libraries. - -Everything, except for Eigen3. - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/cmake/external/abseil-cpp.cmake -+++ b/cmake/external/abseil-cpp.cmake -@@ -37,7 +37,7 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_abseil_cpp} - EXCLUDE_FROM_ALL - PATCH_COMMAND ${ABSL_PATCH_COMMAND} -- FIND_PACKAGE_ARGS 20250814 NAMES absl -+ FIND_PACKAGE_ARGS NAMES absl REQUIRED - ) - - onnxruntime_fetchcontent_makeavailable(abseil_cpp) ---- a/cmake/external/onnxruntime_external_deps.cmake -+++ b/cmake/external/onnxruntime_external_deps.cmake -@@ -43,7 +43,7 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_re2} - URL_HASH SHA1=${DEP_SHA1_re2} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES re2 -+ FIND_PACKAGE_ARGS NAMES re2 REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(re2) - -@@ -71,7 +71,7 @@ if (onnxruntime_BUILD_UNIT_TESTS) - URL ${DEP_URL_googletest} - URL_HASH SHA1=${DEP_SHA1_googletest} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 1.14.0...<2.0.0 NAMES GTest -+ FIND_PACKAGE_ARGS 1.14.0...<2.0.0 NAMES GTest REQUIRED - ) - FetchContent_MakeAvailable(googletest) - endif() -@@ -87,7 +87,7 @@ if (onnxruntime_BUILD_BENCHMARKS) - URL ${DEP_URL_google_benchmark} - URL_HASH SHA1=${DEP_SHA1_google_benchmark} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES benchmark -+ FIND_PACKAGE_ARGS NAMES benchmark REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(google_benchmark) - endif() -@@ -105,7 +105,7 @@ if(onnxruntime_USE_MIMALLOC) - URL ${DEP_URL_mimalloc} - URL_HASH SHA1=${DEP_SHA1_mimalloc} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES mimalloc -+ FIND_PACKAGE_ARGS NAMES mimalloc REQUIRED - ) - FetchContent_MakeAvailable(mimalloc) - endif() -@@ -199,7 +199,7 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_protobuf} - PATCH_COMMAND ${ONNXRUNTIME_PROTOBUF_PATCH_COMMAND} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES Protobuf protobuf -+ FIND_PACKAGE_ARGS NAMES Protobuf protobuf REQUIRED - ) - - set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests" FORCE) -@@ -276,7 +276,7 @@ onnxruntime_fetchcontent_declare( - EXCLUDE_FROM_ALL - PATCH_COMMAND - ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/date/date.patch -- FIND_PACKAGE_ARGS 3...<4 NAMES date -+ FIND_PACKAGE_ARGS 3...<4 NAMES date REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(date) - -@@ -290,12 +290,11 @@ if(NOT TARGET Boost::mp11) - mp11 - URL ${DEP_URL_mp11} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES Boost -+ FIND_PACKAGE_ARGS NAMES Boost REQUIRED - ) -- FetchContent_Populate(mp11) -+ onnxruntime_fetchcontent_makeavailable(mp11) - if(NOT TARGET Boost::mp11) -- add_library(Boost::mp11 IMPORTED INTERFACE) -- target_include_directories(Boost::mp11 INTERFACE $<BUILD_INTERFACE:${mp11_SOURCE_DIR}/include>) -+ add_library(Boost::mp11 ALIAS Boost::headers) - endif() - endif() - endif() -@@ -308,7 +307,7 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_json} - URL_HASH SHA1=${DEP_SHA1_json} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 3.10 NAMES nlohmann_json -+ FIND_PACKAGE_ARGS 3.10 NAMES nlohmann_json REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(nlohmann_json) - -@@ -374,7 +373,7 @@ if (CPUINFO_SUPPORTED) - ${Patch_EXECUTABLE} -p1 < ${PROJECT_SOURCE_DIR}/patches/cpuinfo/patch_vcpkg_arm64ec_support.patch && - # https://github.com/pytorch/cpuinfo/pull/348 - ${Patch_EXECUTABLE} -p1 < ${PROJECT_SOURCE_DIR}/patches/cpuinfo/win_arm_fp16_detection_fallback.patch -- FIND_PACKAGE_ARGS NAMES cpuinfo -+ FIND_PACKAGE_ARGS NAMES cpuinfo REQUIRED - ) - elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux") - message(STATUS "Applying sysfs fallback patch for cpuinfo on Linux") -@@ -394,7 +393,7 @@ if (CPUINFO_SUPPORTED) - URL ${DEP_URL_pytorch_cpuinfo} - URL_HASH SHA1=${DEP_SHA1_pytorch_cpuinfo} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES cpuinfo -+ FIND_PACKAGE_ARGS NAMES cpuinfo REQUIRED - ) - endif() - set(ONNXRUNTIME_CPUINFO_PROJ pytorch_cpuinfo) -@@ -412,7 +411,7 @@ if(onnxruntime_USE_CUDA) - URL_HASH SHA1=${DEP_SHA1_microsoft_gsl} - PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/gsl/1064.patch - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL -+ FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL REQUIRED - ) - else() - onnxruntime_fetchcontent_declare( -@@ -420,7 +419,7 @@ else() - URL ${DEP_URL_microsoft_gsl} - URL_HASH SHA1=${DEP_SHA1_microsoft_gsl} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL -+ FIND_PACKAGE_ARGS 4.0 NAMES Microsoft.GSL REQUIRED - ) - endif() - set(GSL_TARGET "Microsoft.GSL::GSL") -@@ -434,7 +433,7 @@ if (NOT GSL_FOUND AND NOT onnxruntime_BUILD_SHARED_LIB) - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) - endif() - --find_path(safeint_SOURCE_DIR NAMES "SafeInt.hpp") -+find_path(safeint_SOURCE_DIR NAMES "SafeInt.hpp" REQUIRED) - if(NOT safeint_SOURCE_DIR) - unset(safeint_SOURCE_DIR) - onnxruntime_fetchcontent_declare( -@@ -476,10 +475,14 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_flatbuffers} - PATCH_COMMAND ${ONNXRUNTIME_FLATBUFFERS_PATCH_COMMAND} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 23.5.9 NAMES Flatbuffers flatbuffers -+ FIND_PACKAGE_ARGS 23.5.9 NAMES Flatbuffers flatbuffers REQUIRED - ) - - onnxruntime_fetchcontent_makeavailable(flatbuffers) -+if(TARGET flatbuffers::flatbuffers_shared AND NOT TARGET flatbuffers::flatbuffers) -+ message(STATUS "Aliasing flatbuffers::flatbuffers to flatbuffers::flatbuffers_shared") -+ add_library(flatbuffers::flatbuffers ALIAS flatbuffers::flatbuffers_shared) -+endif() - if(NOT flatbuffers_FOUND) - if(NOT TARGET flatbuffers::flatbuffers) - add_library(flatbuffers::flatbuffers ALIAS flatbuffers) -@@ -541,7 +544,7 @@ onnxruntime_fetchcontent_declare( - URL_HASH SHA1=${DEP_SHA1_onnx} - PATCH_COMMAND ${ONNXRUNTIME_ONNX_PATCH_COMMAND} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES ONNX onnx -+ FIND_PACKAGE_ARGS NAMES ONNX onnx REQUIRED - ) - - onnxruntime_fetchcontent_makeavailable(onnx) -@@ -616,7 +619,7 @@ if(onnxruntime_ENABLE_DLPACK) - URL ${DEP_URL_dlpack} - URL_HASH SHA1=${DEP_SHA1_dlpack} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES dlpack -+ FIND_PACKAGE_ARGS NAMES dlpack REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(dlpack) - endif() -@@ -629,7 +632,7 @@ if(onnxruntime_ENABLE_TRAINING OR (onnxruntime_ENABLE_TRAINING_APIS AND onnxrunt - URL ${DEP_URL_cxxopts} - URL_HASH SHA1=${DEP_SHA1_cxxopts} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES cxxopts -+ FIND_PACKAGE_ARGS NAMES cxxopts REQUIRED - ) - set(CXXOPTS_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) - set(CXXOPTS_BUILD_TESTS OFF CACHE BOOL "" FORCE) ---- a/cmake/external/pybind11.cmake -+++ b/cmake/external/pybind11.cmake -@@ -6,6 +6,6 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_pybind11} - URL_HASH SHA1=${DEP_SHA1_pybind11} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS 3.0 NAMES pybind11 -+ FIND_PACKAGE_ARGS 3.0 NAMES pybind11 REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(pybind11_project) ---- a/cmake/external/wil.cmake -+++ b/cmake/external/wil.cmake -@@ -8,7 +8,7 @@ onnxruntime_fetchcontent_declare( - URL ${DEP_URL_microsoft_wil} - URL_HASH SHA1=${DEP_SHA1_microsoft_wil} - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES wil -+ FIND_PACKAGE_ARGS NAMES wil REQUIRED - ) - - if(WIN32) ---- a/cmake/external/xnnpack.cmake -+++ b/cmake/external/xnnpack.cmake -@@ -17,11 +17,11 @@ if(CMAKE_ANDROID_ARCH_ABI STREQUAL armeabi-v7a) - endif() - - # pthreadpool depends on fxdiv --onnxruntime_fetchcontent_declare(fxdiv URL ${DEP_URL_fxdiv} URL_HASH SHA1=${DEP_SHA1_fxdiv} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES fxdiv) -+onnxruntime_fetchcontent_declare(fxdiv URL ${DEP_URL_fxdiv} URL_HASH SHA1=${DEP_SHA1_fxdiv} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES fxdiv REQUIRED) - onnxruntime_fetchcontent_makeavailable(fxdiv) - set(FXDIV_SOURCE_DIR ${fxdiv_SOURCE_DIR}) - --onnxruntime_fetchcontent_declare(pthreadpool URL ${DEP_URL_pthreadpool} URL_HASH SHA1=${DEP_SHA1_pthreadpool} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES unofficial-pthreadpool) -+onnxruntime_fetchcontent_declare(pthreadpool URL ${DEP_URL_pthreadpool} URL_HASH SHA1=${DEP_SHA1_pthreadpool} EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS NAMES unofficial-pthreadpool REQUIRED) - onnxruntime_fetchcontent_makeavailable(pthreadpool) - - # --- Determine target processor -@@ -86,7 +86,7 @@ endif() - onnxruntime_fetchcontent_declare(googlexnnpack URL ${DEP_URL_googlexnnpack} URL_HASH SHA1=${DEP_SHA1_googlexnnpack} - PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/xnnpack/AddEmscriptenAndIosSupport.patch - EXCLUDE_FROM_ALL -- FIND_PACKAGE_ARGS NAMES xnnpack -+ FIND_PACKAGE_ARGS NAMES xnnpack REQUIRED - ) - onnxruntime_fetchcontent_makeavailable(googlexnnpack) - set(XNNPACK_DIR ${googlexnnpack_SOURCE_DIR}) - diff --git a/sci-libs/onnxruntime/metadata.xml b/sci-libs/onnxruntime/metadata.xml deleted file mode 100644 index caaaa86ad2b0..000000000000 --- a/sci-libs/onnxruntime/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@paveloom.dev</email> - <name>Pavel Sobolev</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/microsoft/onnxruntime/issues</bugs-to> - <remote-id type="github">microsoft/onnxruntime</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/onnxruntime/onnxruntime-1.25.1.ebuild b/sci-libs/onnxruntime/onnxruntime-1.25.1.ebuild deleted file mode 100644 index 96f8e96d36d1..000000000000 --- a/sci-libs/onnxruntime/onnxruntime-1.25.1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake edo flag-o-matic python-r1 - -EIGEN_COMMIT="1d8b82b0740839c0de7f1242a3585e3390ff5f33" - -DESCRIPTION="Cross-platform, high performance ML inferencing and training accelerator" -HOMEPAGE=" - https://onnxruntime.ai - https://github.com/microsoft/onnxruntime -" -SRC_URI=" - https://github.com/microsoft/onnxruntime/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_COMMIT}/eigen-${EIGEN_COMMIT}.tar.bz2 -> - eigen-3.4.0_p20250216.tar.bz2 -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="python test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-cpp/abseil-cpp:= - dev-libs/cpuinfo - dev-libs/protobuf:= - dev-libs/re2:= - sci-ml/onnx[disableStaticReg] - - python? ( - ${PYTHON_DEPS} - dev-python/coloredlogs[${PYTHON_USEDEP}] - dev-python/flatbuffers[${PYTHON_USEDEP}] - >=dev-python/numpy-2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/ms-gsl - dev-cpp/nlohmann_json - dev-cpp/safeint - dev-libs/boost - dev-libs/date - dev-libs/flatbuffers - - python? ( - dev-python/pybind11[${PYTHON_USEDEP}] - sci-libs/dlpack - ) -" -BDEPEND=" - ${PYTHON_DEPS} - - test? ( - dev-cpp/gtest - - python? ( dev-python/pytest[${PYTHON_USEDEP}] ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-1.22.2-relax-the-dependency-on-flatbuffers.patch" - "${FILESDIR}/${PN}-1.24.3-use-system-libraries.patch" - "${FILESDIR}/${PN}-1.24.4-no-werror.patch" -) - -CMAKE_USE_DIR="${S}/cmake" - -src_configure() { - # Python is used at build time unconditionally - python_setup - - local mycmakeargs=( - -Donnxruntime_BUILD_SHARED_LIB=on - - -Donnxruntime_BUILD_UNIT_TESTS=$(usex test) - -Donnxruntime_ENABLE_PYTHON=$(usex python) - - # This is required until a newer version of Eigen3 comes out - -DFETCHCONTENT_SOURCE_DIR_EIGEN3="${WORKDIR}/eigen-${EIGEN_COMMIT}" - - # This makes it possible for `find_path` to find the `onnx-ml.proto` file - -DCMAKE_INCLUDE_PATH="$(python_get_sitedir)" - - -Wno-dev - ) - - append-ldflags -Wl,-z,noexecstack - cmake_src_configure -} - -# Adapted from `run_onnxruntime_tests` in `tools/ci_build/build.py` -python_test() { - cd "${S}/cmake_build" || die - epytest --pyargs \ - onnxruntime_test_python.py \ - onnxruntime_test_python_backend.py \ - onnxruntime_test_python_mlops.py \ - onnxruntime_test_python_sparse_matmul.py -} - -src_test() { - local -x GTEST_FILTER="*:-ActivationOpNoInfTest.Softsign:LayoutTransformationPotentiallyAddedOpsTests.OpsHaveLatestVersions" - cmake_src_test - - if use python ; then - python_test - fi -} - -# There is some custom logic in `setup.py` -python_install() { - cd "${S}/cmake_build" || die - edo "${EPYTHON}" ../setup.py install \ - --prefix="${EPREFIX}/usr" \ - --root="${D}" - - local libs=( - "libonnxruntime.so.${PV}" - "libonnxruntime_providers_shared.so" - ) - for lib in "${libs[@]}"; do - ln -fsr "${ED}/usr/$(get_libdir)/${lib}" "${D}/$(python_get_sitedir)/onnxruntime/capi/${lib}" || die - done - - rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die - python_optimize -} - -src_install() { - cmake_src_install - - if use python ; then - python_foreach_impl python_install - fi - - dodoc "${S}/"{README.md,LICENSE} -} diff --git a/sci-libs/onnxruntime/onnxruntime-1.26.0-r1.ebuild b/sci-libs/onnxruntime/onnxruntime-1.26.0-r1.ebuild deleted file mode 100644 index 4bc7d7105781..000000000000 --- a/sci-libs/onnxruntime/onnxruntime-1.26.0-r1.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake edo flag-o-matic python-r1 - -EIGEN_COMMIT="1d8b82b0740839c0de7f1242a3585e3390ff5f33" - -DESCRIPTION="Cross-platform, high performance ML inferencing and training accelerator" -HOMEPAGE=" - https://onnxruntime.ai - https://github.com/microsoft/onnxruntime -" -SRC_URI=" - https://github.com/microsoft/onnxruntime/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_COMMIT}/eigen-${EIGEN_COMMIT}.tar.bz2 -> - eigen-3.4.0_p20250216.tar.bz2 -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="python test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-cpp/abseil-cpp:= - dev-libs/cpuinfo - dev-libs/protobuf:= - dev-libs/re2:= - sci-ml/onnx[disableStaticReg] - - python? ( - ${PYTHON_DEPS} - dev-python/coloredlogs[${PYTHON_USEDEP}] - dev-python/flatbuffers[${PYTHON_USEDEP}] - >=dev-python/numpy-2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - sci-ml/onnx[${PYTHON_USEDEP}] - ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/ms-gsl - dev-cpp/nlohmann_json - dev-cpp/safeint - dev-libs/boost - dev-libs/date - dev-libs/flatbuffers - - python? ( - dev-python/pybind11[${PYTHON_USEDEP}] - sci-libs/dlpack - ) -" -BDEPEND=" - ${PYTHON_DEPS} - - test? ( - dev-cpp/gtest - $(python_gen_any_dep 'sci-ml/onnx[${PYTHON_USEDEP}]') - - python? ( dev-python/pytest[${PYTHON_USEDEP}] ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-1.22.2-relax-the-dependency-on-flatbuffers.patch" - "${FILESDIR}/${PN}-1.24.4-no-werror.patch" - "${FILESDIR}/${PN}-1.26.0-use-system-libraries.patch" - "${FILESDIR}/${PN}-1.26.0-r1-prevent-generation-of-PIE.patch" -) - -CMAKE_USE_DIR="${S}/cmake" - -# The `$(python_get_sitedir)/onnx/onnx-ml.proto` file is used during tests -python_check_deps() { - ! use test && return 0 - python_has_version "sci-ml/onnx[${PYTHON_USEDEP}]" -} - -src_configure() { - # Python is used at build time unconditionally - python_setup - - local mycmakeargs=( - -Donnxruntime_BUILD_SHARED_LIB=on - - -Donnxruntime_BUILD_UNIT_TESTS=$(usex test) - -Donnxruntime_ENABLE_PYTHON=$(usex python) - - # This is required until a newer version of Eigen3 comes out - -DFETCHCONTENT_SOURCE_DIR_EIGEN3="${WORKDIR}/eigen-${EIGEN_COMMIT}" - - # This makes it possible for `find_path` to find the `onnx-ml.proto` file - -DCMAKE_INCLUDE_PATH="$(python_get_sitedir)" - - -Wno-dev - ) - - append-ldflags -Wl,-z,noexecstack - - if use python; then - python_foreach_impl cmake_src_configure - else - cmake_src_configure - fi -} - -src_compile() { - if use python; then - python_foreach_impl cmake_src_compile - else - cmake_src_compile - fi -} - -# Adapted from `run_onnxruntime_tests` in `tools/ci_build/build.py` -python_test() { - cd "${BUILD_DIR}" || die - epytest --pyargs \ - onnxruntime_test_python.py \ - onnxruntime_test_python_backend.py \ - onnxruntime_test_python_mlops.py \ - onnxruntime_test_python_sparse_matmul.py -} - -src_test() { - local -x GTEST_FILTER="*:-ActivationOpNoInfTest.Softsign:LayoutTransformationPotentiallyAddedOpsTests.OpsHaveLatestVersions" - - if use python; then - python_foreach_impl cmake_src_test - python_foreach_impl python_test - else - cmake_src_test - fi -} - -# There is some custom logic in `setup.py` -python_install() { - cd "${BUILD_DIR}" || die - edo "${EPYTHON}" ../setup.py install \ - --prefix="${EPREFIX}/usr" \ - --root="${D}" - - rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die - python_optimize -} - -src_install() { - if use python; then - python_foreach_impl cmake_src_install - python_foreach_impl python_install - else - cmake_src_install - fi - - einstalldocs -} diff --git a/sci-libs/onnxruntime/onnxruntime-1.26.0.ebuild b/sci-libs/onnxruntime/onnxruntime-1.26.0.ebuild deleted file mode 100644 index 84dc37bd289b..000000000000 --- a/sci-libs/onnxruntime/onnxruntime-1.26.0.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake edo flag-o-matic python-r1 - -EIGEN_COMMIT="1d8b82b0740839c0de7f1242a3585e3390ff5f33" - -DESCRIPTION="Cross-platform, high performance ML inferencing and training accelerator" -HOMEPAGE=" - https://onnxruntime.ai - https://github.com/microsoft/onnxruntime -" -SRC_URI=" - https://github.com/microsoft/onnxruntime/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_COMMIT}/eigen-${EIGEN_COMMIT}.tar.bz2 -> - eigen-3.4.0_p20250216.tar.bz2 -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="python test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-cpp/abseil-cpp:= - dev-libs/cpuinfo - dev-libs/protobuf:= - dev-libs/re2:= - sci-ml/onnx[disableStaticReg] - - python? ( - ${PYTHON_DEPS} - dev-python/coloredlogs[${PYTHON_USEDEP}] - dev-python/flatbuffers[${PYTHON_USEDEP}] - >=dev-python/numpy-2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/ms-gsl - dev-cpp/nlohmann_json - dev-cpp/safeint - dev-libs/boost - dev-libs/date - dev-libs/flatbuffers - - python? ( - dev-python/pybind11[${PYTHON_USEDEP}] - sci-libs/dlpack - ) -" -BDEPEND=" - ${PYTHON_DEPS} - - test? ( - dev-cpp/gtest - - python? ( dev-python/pytest[${PYTHON_USEDEP}] ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-1.22.2-relax-the-dependency-on-flatbuffers.patch" - "${FILESDIR}/${PN}-1.24.4-no-werror.patch" - "${FILESDIR}/${PN}-1.26.0-use-system-libraries.patch" -) - -CMAKE_USE_DIR="${S}/cmake" - -src_configure() { - # Python is used at build time unconditionally - python_setup - - local mycmakeargs=( - -Donnxruntime_BUILD_SHARED_LIB=on - - -Donnxruntime_BUILD_UNIT_TESTS=$(usex test) - -Donnxruntime_ENABLE_PYTHON=$(usex python) - - # This is required until a newer version of Eigen3 comes out - -DFETCHCONTENT_SOURCE_DIR_EIGEN3="${WORKDIR}/eigen-${EIGEN_COMMIT}" - - # This makes it possible for `find_path` to find the `onnx-ml.proto` file - -DCMAKE_INCLUDE_PATH="$(python_get_sitedir)" - - -Wno-dev - ) - - append-ldflags -Wl,-z,noexecstack - cmake_src_configure -} - -# Adapted from `run_onnxruntime_tests` in `tools/ci_build/build.py` -python_test() { - cd "${S}/cmake_build" || die - epytest --pyargs \ - onnxruntime_test_python.py \ - onnxruntime_test_python_backend.py \ - onnxruntime_test_python_mlops.py \ - onnxruntime_test_python_sparse_matmul.py -} - -src_test() { - local -x GTEST_FILTER="*:-ActivationOpNoInfTest.Softsign:LayoutTransformationPotentiallyAddedOpsTests.OpsHaveLatestVersions" - cmake_src_test - - if use python ; then - python_test - fi -} - -# There is some custom logic in `setup.py` -python_install() { - cd "${S}/cmake_build" || die - edo "${EPYTHON}" ../setup.py install \ - --prefix="${EPREFIX}/usr" \ - --root="${D}" - - local libs=( - "libonnxruntime.so.${PV}" - "libonnxruntime_providers_shared.so" - ) - for lib in "${libs[@]}"; do - ln -fsr "${ED}/usr/$(get_libdir)/${lib}" "${D}/$(python_get_sitedir)/onnxruntime/capi/${lib}" || die - done - - rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die - python_optimize -} - -src_install() { - cmake_src_install - - if use python ; then - python_foreach_impl python_install - fi - - dodoc "${S}/"{README.md,LICENSE} -} diff --git a/sci-libs/openblas/Manifest b/sci-libs/openblas/Manifest deleted file mode 100644 index 5d82b3513aa5..000000000000 --- a/sci-libs/openblas/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST OpenBLAS-0.3.30.tar.gz 24699801 BLAKE2B 8a2fa304a44355bab128fd965054591570bd7fd5877a71a32420bfe6f4fe9bf6e77f3a4c363c91bcbad6862626783734d6e0111311d66a24e56f6175ae6f8799 SHA512 c726ced2d3e6ebd3ddcd0b13c255bb43fae8c12d2aec15e9ef992b0bc7099996c02cd284ccaaa7b5fac3f23f280b098063dd60f521d97a68dc183ab192fcccdb -DIST OpenBLAS-0.3.31.tar.gz 25232810 BLAKE2B d4220ebd58a70bb776e310229a85e901869a4669174607ef941ecddd794571f6dc6b3aeffdbe4d219e187cf1def18f5b9e4faea4fe55fc8ca904985ee90f0cb6 SHA512 703b84c476c148a0922a04b1c33c9c4c452f478d608d93e59204b8f0f2c516344301ff0a4dbb3750a2449db0d28cc2df001c295898e859b41ecb8381f9c2eab8 -DIST OpenBLAS-0.3.32.tar.gz 25221171 BLAKE2B fa5135a5d0f38bb15e41c9e73bb34193c3497ee4eb1745066845cde46092b4859ab98c1649552ee760571ca84ebbb97984041508e9ab6c7cbab0c77f9c2b55f8 SHA512 5aac0c41a78bca872439bcde67445dd12de27d9efd0d9db51e6e3a31dfa2d0f6a6c5ee1c1de2bf7ad2f89082259e67f27ddaeafb0553bb5f2ca9a90c8a3dde29 -DIST OpenBLAS-0.3.33.tar.gz 25256012 BLAKE2B c3c821b87a1e4e9c0dd0f8e19f6c86d6880d2cfdd7ff6d3cfd22661952febb1716703a51852b002e63f2c39d597ca4ea9b1d9b3c6e1ae83e995d8360d99400f2 SHA512 68fa2b90a93a2dfd84dfa586af07d90952fd4f2ad8dfe26061be250e80fec8f1a76ad78977f217c7dbdd26291249f1ac38a07f08ef323eee7a248c4cb67cd670 diff --git a/sci-libs/openblas/files/openblas-0.3.29-shared-blas-lapack.patch b/sci-libs/openblas/files/openblas-0.3.29-shared-blas-lapack.patch deleted file mode 100644 index db2134a8127b..000000000000 --- a/sci-libs/openblas/files/openblas-0.3.29-shared-blas-lapack.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/intertace/Makefile 2025-02-03 00:34:22.497814588 +0900 -+++ b/interface/Makefile 2025-02-03 00:37:34.974798211 +0900 -@@ -2461,3 +2461,23 @@ - - cblas_zgemm_batch.$(SUFFIX) cblas_zgemm_batch.$(PSUFFIX) : gemm_batch.c ../param.h - $(CC) -c $(CFLAGS) -DCBLAS $< -o $(@F) -+ -+##### -+shared-blas-lapack: libblas.so.3 libcblas.so.3 liblapack.so.3 liblapacke.so.3 -+ -+# The list of prerequisite is created by comparing with NETLIB BLAS public API. -+libblas.so.3: $(SBLAS1OBJS) $(SBLAS2OBJS) $(SBLAS3OBJS) $(DBLAS1OBJS) $(DBLAS2OBJS) $(DBLAS3OBJS) $(CBLAS1OBJS) $(CBLAS2OBJS) $(CBLAS3OBJS) $(ZBLAS1OBJS) $(ZBLAS2OBJS) $(ZBLAS3OBJS) ../kernel/lsame.o ../kernel/scabs1.o ../kernel/dcabs1.o ../driver/others/xerbla.o -+ $(CC) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,libblas.so.3 -L.. -lopenblas $(EXTRALIB) -+ -+libcblas.so.3: $(CSBLAS1OBJS) $(CSBLAS2OBJS) $(CSBLAS3OBJS) $(CDBLAS1OBJS) $(CDBLAS2OBJS) $(CDBLAS3OBJS) $(CCBLAS1OBJS) $(CCBLAS2OBJS) $(CCBLAS3OBJS) $(CZBLAS1OBJS) $(CZBLAS2OBJS) $(CZBLAS3OBJS) ../kernel/lsame.o ../kernel/scabs1.o ../kernel/dcabs1.o ../driver/others/xerbla.o -+ $(CC) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,libcblas.so.3 -L.. -lopenblas $(EXTRALIB) -+ -+# The prerequisites must match the symbols deleted in target delete-duplicate-lapack-objects -+liblapack.so.3: $(SLAPACKOBJS) $(DLAPACKOBJS) $(CLAPACKOBJS) $(ZLAPACKOBJS) ../kernel/lsame.o ../driver/others/xerbla.o -+ $(CC) $(LDFLAGS) -shared -o $@ $^ ../lapack-netlib/SRC/*.o -Wl,-soname,liblapack.so.3 -L.. -lopenblas $(EXTRALIB) -+ -+liblapacke.so.3: liblapack.so.3 -+ $(CC) $(LDFLAGS) -shared -o $@ `find ../lapack-netlib/LAPACKE -name "*.o"` -Wl,-soname,liblapacke.so.3 -L.. -lopenblas $(EXTRALIB) -+ -+clean:: -+ rm -f libblas.so.3 libcblas.so.3 liblapack.so.3 diff --git a/sci-libs/openblas/files/openblas-0.3.30-arm-assembly.patch b/sci-libs/openblas/files/openblas-0.3.30-arm-assembly.patch deleted file mode 100644 index b09db04fb4f6..000000000000 --- a/sci-libs/openblas/files/openblas-0.3.30-arm-assembly.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 8d11e4630c1e92437636d016f35ad48395b62b4f Mon Sep 17 00:00:00 2001 -From: Sertonix <sertonix@posteo.net> -Date: Sun, 6 Jul 2025 23:48:10 +0200 -Subject: [PATCH] Fix cpuid.S on arm - -The ARM assembly syntax differs a bit - -Fixes 61b9339d3a1f getarch/cpuid.S: Fix warning about executable stack - -Signed-off-by: Sertonix <sertonix@posteo.net> ---- - cpuid.S | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/cpuid.S b/cpuid.S -index 295917bdbe..a8f5f8b573 100644 ---- a/cpuid.S -+++ b/cpuid.S -@@ -66,5 +66,9 @@ _cpuid: - - #endif - #if defined(__ELF__) && defined(__linux__) -+#if defined(__arm__) -+ .section .note.GNU-stack,"",%progbits -+#else - .section .note.GNU-stack,"",@progbits - #endif -+#endif diff --git a/sci-libs/openblas/files/openblas-0.3.30-cmake_libdir.patch b/sci-libs/openblas/files/openblas-0.3.30-cmake_libdir.patch deleted file mode 100644 index df7a807f0edf..000000000000 --- a/sci-libs/openblas/files/openblas-0.3.30-cmake_libdir.patch +++ /dev/null @@ -1,66 +0,0 @@ -From b9da1ad68ae74924a23717e505475d9a07677119 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Mon, 21 Jul 2025 18:21:59 +0200 -Subject: [PATCH] Makefile.install, adhere to OPENBLAS_*_DIR - -See-also: https://github.com/OpenMathLib/OpenBLAS/issues/5387 -See-also: https://bugs.gentoo.org/960514 -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- - Makefile.install | 17 ++++++++++------- - 1 file changed, 10 insertions(+), 7 deletions(-) - -diff --git a/Makefile.install b/Makefile.install -index 10e6425c..de3be619 100644 ---- a/Makefile.install -+++ b/Makefile.install -@@ -23,6 +23,9 @@ PREFIX ?= /opt/OpenBLAS - OPENBLAS_INCLUDE_DIR := $(PREFIX)/include - OPENBLAS_LIBRARY_DIR := $(PREFIX)/lib - OPENBLAS_BINARY_DIR := $(PREFIX)/bin -+OPENBLAS_INCLUDE_DIR_UNPREFIXED = $(subst $(PREFIX),,${OPENBLAS_INCLUDE_DIR}) -+OPENBLAS_LIBRARY_DIR_UNPREFIXED = $(subst $(PREFIX),,${OPENBLAS_LIBRARY_DIR}) -+OPENBLAS_BINARY_DIR_UNPREFIXED = $(subst $(PREFIX),,${OPENBLAS_BINARY_DIR}) - OPENBLAS_BUILD_DIR := $(CURDIR) - OPENBLAS_CMAKE_DIR := $(OPENBLAS_LIBRARY_DIR)/cmake/$(LIBSONAMEBASE) - OPENBLAS_CMAKE_CONFIG := OpenBLASConfig.cmake -@@ -191,29 +194,29 @@ endif - #Generating OpenBLASConfig.cmake - @echo Generating $(OPENBLAS_CMAKE_CONFIG) in $(DESTDIR)$(OPENBLAS_CMAKE_DIR) - @echo "SET(OpenBLAS_VERSION \"${VERSION}\")" > "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -- @echo "file(REAL_PATH \"../../..\" _OpenBLAS_ROOT_DIR BASE_DIRECTORY \$${CMAKE_CURRENT_LIST_DIR} )" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -- @echo "SET(OpenBLAS_INCLUDE_DIRS \$${_OpenBLAS_ROOT_DIR}/include)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -+ @echo "get_filename_component(PACKAGE_PREFIX_DIR \"\$${CMAKE_CURRENT_LIST_DIR}/../../../\" ABSOLUTE)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -+ @echo "SET(OpenBLAS_INCLUDE_DIRS \$${PACKAGE_PREFIX_DIR}${OPENBLAS_INCLUDE_DIR_UNPREFIXED})" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" - - ifneq ($(NO_SHARED),1) - #ifeq logical or - ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD NetBSD OpenBSD DragonFly)) -- @echo "SET(OpenBLAS_LIBRARIES \$${_OpenBLAS_ROOT_DIR}/lib/$(LIBPREFIX).so)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -+ @echo "SET(OpenBLAS_LIBRARIES \$${PACKAGE_PREFIX_DIR}${OPENBLAS_LIBRARY_DIR_UNPREFIXED}/$(LIBPREFIX).so)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" - endif - ifeq ($(OSNAME), $(filter $(OSNAME),WINNT CYGWIN_NT)) -- @echo "SET(OpenBLAS_LIBRARIES \$${_OpenBLAS_ROOT_DIR}/bin/$(LIBDLLNAME))" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -+ @echo "SET(OpenBLAS_LIBRARIES \$${PACKAGE_PREFIX_DIR}${OPENBLAS_BINARY_DIR_UNPREFIXED}/$(LIBDLLNAME))" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" - endif - ifeq ($(OSNAME), Darwin) -- @echo "SET(OpenBLAS_LIBRARIES \$${_OpenBLAS_ROOT_DIR}/lib/$(LIBPREFIX).dylib)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -+ @echo "SET(OpenBLAS_LIBRARIES \$${PACKAGE_PREFIX_DIR}${OPENBLAS_LIBRARY_DIR_UNPREFIXED}/$(LIBPREFIX).dylib)" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" - endif - @echo "add_library(OpenBLAS::OpenBLAS SHARED IMPORTED)" - @echo "target_include_directories(OpenBLAS::OpenBLAS INTERFACE \$${OpenBLAS_INCLUDE_DIRS})" - ifeq ($(OSNAME), $(filter $(OSNAME),WINNT CYGWIN_NT)) - @echo "set_property(TARGET OpenBLAS::OpenBLAS PROPERTY IMPORTED_LOCATION \$${OpenBLAS_LIBRARIES})" -- @echo "set_property(TARGET OpenBLAS::OpenBLAS PROPERTY IMPORTED_IMPLIB \$${_OpenBLAS_ROOT_DIR}/lib/libopenblas.lib)" -+ @echo "set_property(TARGET OpenBLAS::OpenBLAS PROPERTY IMPORTED_IMPLIB \$${PACKAGE_PREFIX_DIR})${OPENBLAS_LIBRARY_DIR_UNPREFIXED}/libopenblas.lib)" - endif - else - #only static -- @echo "SET(OpenBLAS_LIBRARIES \$${_OpenBLAS_ROOT_DIR}/lib/$(LIBPREFIX).$(LIBSUFFIX))" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" -+ @echo "SET(OpenBLAS_LIBRARIES \$${PACKAGE_PREFIX_DIR}${OPENBLAS_LIBRARY_DIR_UNPREFIXED})/$(LIBPREFIX).$(LIBSUFFIX))" >> "$(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)" - endif - #Generating OpenBLASConfigVersion.cmake - @echo Generating $(OPENBLAS_CMAKE_CONFIG_VERSION) in $(DESTDIR)$(OPENBLAS_CMAKE_DIR) --- -2.50.1 - diff --git a/sci-libs/openblas/files/openblas-0.3.30-enomem-check.patch b/sci-libs/openblas/files/openblas-0.3.30-enomem-check.patch deleted file mode 100644 index bf2e1d4035a8..000000000000 --- a/sci-libs/openblas/files/openblas-0.3.30-enomem-check.patch +++ /dev/null @@ -1,46 +0,0 @@ -https://bugs.gentoo.org/967251 -https://github.com/OpenMathLib/OpenBLAS/issues/5289 -https://github.com/OpenMathLib/OpenBLAS/pull/5303 - -From 31ef2cbbb353c1331a22ed4f909a6ffb5cc45b45 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Fri, 13 Jun 2025 14:11:03 +0200 -Subject: [PATCH] Exit if memory allocation keeps failing, instead of looping - forever - ---- - driver/others/memory.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/driver/others/memory.c b/driver/others/memory.c -index c53e798bc1..c8415f348e 100644 ---- a/driver/others/memory.c -+++ b/driver/others/memory.c -@@ -2922,6 +2922,7 @@ void *blas_memory_alloc(int procpos){ - blas_unlock(&memory[position].lock); - #endif - if (!memory[position].addr) { -+ int failcount = 0; - do { - #ifdef DEBUG - printf("Allocation Start : %lx\n", base_address); -@@ -2973,8 +2974,16 @@ void *blas_memory_alloc(int procpos){ - #ifdef DEBUG - printf(" Success -> %08lx\n", map_address); - #endif -- if (((BLASLONG) map_address) == -1) base_address = 0UL; -- -+ if (((BLASLONG) map_address) == -1) { -+ base_address = 0UL; -+ failcount++; -+ if (failcount >10) { -+ fprintf(stderr, "OpenBLAS error: Memory allocation still failed after 10 retries, giving up.\n"); -+ exit(1); -+ } -+ } else { -+ failcount = 0; -+ } - if (base_address) base_address += BUFFER_SIZE + FIXED_PAGESIZE; - - } while ((BLASLONG)map_address == -1); - diff --git a/sci-libs/openblas/files/openblas-0.3.30-lunar-lake.patch b/sci-libs/openblas/files/openblas-0.3.30-lunar-lake.patch deleted file mode 100644 index c1d48612af01..000000000000 --- a/sci-libs/openblas/files/openblas-0.3.30-lunar-lake.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 848e9e6ba7c7eed58070b243867e328402b85443 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Sun, 13 Jul 2025 20:34:19 +0200 -Subject: [PATCH] Add ID data for Intel Lunar Lake ("Core Ultra 200V series") - ---- - cpuid_x86.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/cpuid_x86.c b/cpuid_x86.c -index 1b09c7217c..8e1438e500 100644 ---- a/cpuid_x86.c -+++ b/cpuid_x86.c -@@ -1567,6 +1567,7 @@ int get_cpuname(void){ - case 10: - case 15: - case 14: // Alder Lake N -+ case 13: // Lunar Lake - if(support_avx2()) - return CPUTYPE_HASWELL; - if(support_avx()) -@@ -2412,7 +2413,8 @@ int get_coretype(void){ - case 7: // Raptor Lake - case 10: - case 15: -- case 14: // Alder Lake N -+ case 14: // Alder Lake N -+ case 13: // Lunar Lake - #ifndef NO_AVX2 - if(support_avx2()) - return CORE_HASWELL; diff --git a/sci-libs/openblas/files/openblas-0.3.31-arrow-lake.patch b/sci-libs/openblas/files/openblas-0.3.31-arrow-lake.patch deleted file mode 100644 index 16a024877215..000000000000 --- a/sci-libs/openblas/files/openblas-0.3.31-arrow-lake.patch +++ /dev/null @@ -1,50 +0,0 @@ -https://bugs.gentoo.org/964049 -https://github.com/OpenMathLib/OpenBLAS/issues/5635 -https://github.com/OpenMathLib/OpenBLAS/pull/5636 - -From 0ae18524cd536c82f456e0505734a68920f5612d Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Thu, 5 Feb 2026 20:18:46 +0100 -Subject: [PATCH] Add Arrow Lake H/U - ---- - cpuid_x86.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/cpuid_x86.c b/cpuid_x86.c -index 13fc3605d0..2e2bb23b08 100644 ---- a/cpuid_x86.c -+++ b/cpuid_x86.c -@@ -1563,6 +1563,7 @@ int get_cpuname(void){ - break; - case 11: //family 6 exmodel 11 - switch (model) { -+ case 5: // Arrow Lake H/U - case 7: // Raptor Lake - case 10: - case 15: -@@ -1588,6 +1589,7 @@ int get_cpuname(void){ - break; - case 15: - case 6: // Arrow Lake -+ case 5: - if(support_avx512()) - return CPUTYPE_SAPPHIRERAPIDS; - if(support_avx2()) -@@ -2418,6 +2420,7 @@ int get_coretype(void){ - - case 11: - switch (model) { -+ case 5: // Arrow Lake H/U - case 7: // Raptor Lake - case 10: - case 15: -@@ -2434,6 +2437,7 @@ int get_coretype(void){ - } - case 12: - switch (model) { -+ case 5: - case 6: // Arrow Lake - if(support_amx_bf16()) - return CORE_SAPPHIRERAPIDS; - diff --git a/sci-libs/openblas/files/openblas-0.3.31-no-threads.patch b/sci-libs/openblas/files/openblas-0.3.31-no-threads.patch deleted file mode 100644 index 705f3ebc5f59..000000000000 --- a/sci-libs/openblas/files/openblas-0.3.31-no-threads.patch +++ /dev/null @@ -1,102 +0,0 @@ -https://bugs.gentoo.org/969390 -https://github.com/OpenMathLib/OpenBLAS/issues/5607 -https://github.com/OpenMathLib/OpenBLAS/pull/5615 - -From 874243421298866d116e1e8bdbd7e0ed4e31e4f6 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Sun, 18 Jan 2026 19:55:40 +0100 -Subject: [PATCH 1/2] Include thread callback replacement hook in - singlethreaded builds as well - ---- - driver/others/CMakeLists.txt | 2 +- - driver/others/Makefile | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/driver/others/CMakeLists.txt b/driver/others/CMakeLists.txt -index a07a0baf99..72abdc4ee4 100644 ---- a/driver/others/CMakeLists.txt -+++ b/driver/others/CMakeLists.txt -@@ -27,7 +27,6 @@ if (USE_THREAD) - ${BLAS_SERVER} - divtable.c # TODO: Makefile has -UDOUBLE - blas_l1_thread.c -- blas_server_callback.c - ) - - if (NOT NO_AFFINITY) -@@ -42,6 +41,7 @@ set(COMMON_SOURCES - openblas_env.c - openblas_get_num_procs.c - openblas_get_num_threads.c -+ blas_server_callback.c - ) - - # these need to have NAME/CNAME set, so use GenerateNamedObjects, but don't use standard name mangling -diff --git a/driver/others/Makefile b/driver/others/Makefile -index 719d617c45..fbd016e6b0 100644 ---- a/driver/others/Makefile -+++ b/driver/others/Makefile -@@ -1,12 +1,12 @@ - TOPDIR = ../.. - include ../../Makefile.system - --COMMONOBJS = memory.$(SUFFIX) xerbla.$(SUFFIX) c_abs.$(SUFFIX) z_abs.$(SUFFIX) openblas_set_num_threads.$(SUFFIX) openblas_get_num_threads.$(SUFFIX) openblas_get_num_procs.$(SUFFIX) openblas_get_config.$(SUFFIX) openblas_get_parallel.$(SUFFIX) openblas_error_handle.$(SUFFIX) openblas_env.$(SUFFIX) -+COMMONOBJS = memory.$(SUFFIX) xerbla.$(SUFFIX) c_abs.$(SUFFIX) z_abs.$(SUFFIX) openblas_set_num_threads.$(SUFFIX) openblas_get_num_threads.$(SUFFIX) openblas_get_num_procs.$(SUFFIX) openblas_get_config.$(SUFFIX) openblas_get_parallel.$(SUFFIX) openblas_error_handle.$(SUFFIX) openblas_env.$(SUFFIX) blas_server_callback.$(SUFFIX) - - #COMMONOBJS += slamch.$(SUFFIX) slamc3.$(SUFFIX) dlamch.$(SUFFIX) dlamc3.$(SUFFIX) - - ifdef SMP --COMMONOBJS += blas_server.$(SUFFIX) divtable.$(SUFFIX) blasL1thread.$(SUFFIX) blas_server_callback.$(SUFFIX) -+COMMONOBJS += blas_server.$(SUFFIX) divtable.$(SUFFIX) blasL1thread.$(SUFFIX) - ifneq ($(NO_AFFINITY), 1) - COMMONOBJS += init.$(SUFFIX) - endif - -From 566e315f4f064e5c270e4401adfa3942368ba03a Mon Sep 17 00:00:00 2001 -From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> -Date: Sun, 18 Jan 2026 19:59:49 +0100 -Subject: [PATCH 2/2] Make test_post_fork_async depend on LAPACK as it uses - getrf - ---- - utest/CMakeLists.txt | 5 +++++ - utest/Makefile | 5 ++++- - 2 files changed, 9 insertions(+), 1 deletion(-) - -diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt -index c73152d79a..69c8d0a413 100644 ---- a/utest/CMakeLists.txt -+++ b/utest/CMakeLists.txt -@@ -101,9 +101,14 @@ if (NOT USE_OPENMP) - set(OpenBLAS_utest_src - ${OpenBLAS_utest_src} - test_fork.c -+ ) -+if (NOT NO_LAPACK) -+set(OpenBLAS_utest_src -+ ${OpenBLAS_utest_src} - test_post_fork_async.c - ) - endif() -+endif() - set(OpenBLAS_utest_src - ${OpenBLAS_utest_src} - test_post_fork.c -diff --git a/utest/Makefile b/utest/Makefile -index e92fb67dc1..c3bf7e706b 100644 ---- a/utest/Makefile -+++ b/utest/Makefile -@@ -45,7 +45,10 @@ endif - # FIXME TBD if this works on OSX, SunOS, POWER and zarch - ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT)) - ifneq ($(USE_OPENMP), 1) --OBJS += test_fork.o test_post_fork_async.o -+OBJS += test_fork.o -+ifneq ($(NO_LAPACK), 1) -+OBJS += test_post_fork_async.o -+endif - endif - OBJS += test_post_fork.o - endif - diff --git a/sci-libs/openblas/metadata.xml b/sci-libs/openblas/metadata.xml deleted file mode 100644 index a11cbd25b36c..000000000000 --- a/sci-libs/openblas/metadata.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - OpenBLAS is an optimized Basic Linear Algebra Subprograms (BLAS) - library based on GotoBLAS2 1.13 BSD version. It was forked when - Mr. Kazushige Goto left TACC and GotoBLAS became unmaintained. In - general, BLAS is the computational kernel ("the bottom of the food - chain") in linear algebra or scientific applications. Thus, if - your BLAS implementation is highly optimized, the whole - application can substantially benefit. OpenBLAS has optimized code - for modern architectures, and has accrued many other features and - bug fixes beyond GotoBLAS. - </longdescription> - <use> - <flag name="cpudetection"> - Build dynamic architecture detection at run time (for multi targets) - </flag> - <flag name="eselect-ldso"> - Enable BLAS/LAPACK runtime switching - </flag> - <flag name="index64"> - Compile a separate INTERFACE64 OpenBLAS - </flag> - <flag name="pthread"> - Build with pthread threading model - </flag> - <flag name="relapack"> - Build the ReLAPACK extension to OpenBLAS - </flag> - </use> - <upstream> - <remote-id type="github">OpenMathLib/OpenBLAS</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/openblas/openblas-0.3.30-r5.ebuild b/sci-libs/openblas/openblas-0.3.30-r5.ebuild deleted file mode 100644 index 4baed9345a25..000000000000 --- a/sci-libs/openblas/openblas-0.3.30-r5.ebuild +++ /dev/null @@ -1,252 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic fortran-2 toolchain-funcs - -MY_P=OpenBLAS-${PV} -DESCRIPTION="Optimized BLAS library based on GotoBLAS2" -HOMEPAGE="https://github.com/OpenMathLib/OpenBLAS" -SRC_URI="https://github.com/OpenMathLib/OpenBLAS/releases/download/v${PV}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86 ~x64-macos" -IUSE="cpudetection eselect-ldso index64 openmp pthread relapack test" -REQUIRED_USE="?? ( openmp pthread )" -RESTRICT="!cpudetection? ( bindist ) !test? ( test )" - -RDEPEND=" - eselect-ldso? ( - >=app-eselect/eselect-blas-0.2 - >=app-eselect/eselect-lapack-0.2 - ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.3.29-shared-blas-lapack.patch" - # 960514 replace by upstream fix in next release. Which reverts to worse cmake-config files. - # https://github.com/OpenMathLib/OpenBLAS/issues/5387 - # https://github.com/OpenMathLib/OpenBLAS/pull/5391 - "${FILESDIR}/${P}-cmake_libdir.patch" - # https://github.com/OpenMathLib/OpenBLAS/pull/5378 - "${FILESDIR}/${P}-lunar-lake.patch" - # https://github.com/OpenMathLib/OpenBLAS/pull/5360 - "${FILESDIR}/${P}-arm-assembly.patch" - # https://github.com/OpenMathLib/OpenBLAS/pull/5303 - "${FILESDIR}/${P}-enomem-check.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - elog "This software has a massive number of options that" - elog "are configurable and it is *impossible* for all of" - elog "those to fit inside any manageable ebuild." - elog "The Gentoo provided package has enough to build" - elog "a fully optimized library for your targeted CPU." - elog "You can set the CPU target using the environment" - elog "variable - OPENBLAS_TARGET or it will be detected" - elog "automatically from the target toolchain (supports" - elog "cross compilation toolchains)." - elog "You can control the maximum number of threads" - elog "using OPENBLAS_NTHREAD, default=64 and number of " - elog "parallel calls to allow before further calls wait" - elog "using OPENBLAS_NPARALLEL, default=8." -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - fortran-2_pkg_setup -} - -src_prepare() { - default - - # TODO: Unbundle lapack like Fedora does? - # https://src.fedoraproject.org/rpms/openblas/blob/rawhide/f/openblas-0.2.15-system_lapack.patch - - # Don't build the tests as part of "make all". We'll do - # it explicitly later if the test phase is enabled. - sed -i -e "/^all :: tests/s: tests::g" Makefile || die - - # If 64bit-index is needed, create second library with LIBPREFIX=libopenblas64 - if use index64; then - cp -aL "${S}" "${S}-index64" || die - fi -} - -src_configure() { - # List of most configurable options is in Makefile.rule. - - # Not an easy fix, https://github.com/xianyi/OpenBLAS/issues/4128 - filter-lto - - tc-export CC FC LD AR AS RANLIB - - # HOSTCC is used for scripting - export HOSTCC="$(tc-getBUILD_CC)" - - # Threading options - export USE_THREAD=0 - export USE_OPENMP=0 - if use openmp; then - USE_THREAD=1 - USE_OPENMP=1 - elif use pthread; then - USE_THREAD=1 - USE_OPENMP=0 - fi - - # Disable submake with -j and default optimization flags in Makefile.system - # Makefile.rule says to not modify COMMON_OPT/FCOMMON_OPT... - export MAKE_NB_JOBS=-1 COMMON_OPT=" " FCOMMON_OPT=" " - - # Target CPU ARCH options generally detected automatically from cross toolchain - if use cpudetection ; then - export DYNAMIC_ARCH=1 NO_AFFINITY=1 TARGET=GENERIC - fi - - case $(tc-get-ptr-size) in - 4) - # NUM_BUFFERS = MAX(50, (2*NUM_PARALLEL*NUM_THREADS) - # BUFFER_SIZE = (16 << 20) (on x86) - # NUM_BUFFERS * BUFFER_SIZE is allocated and must be - # <4GiB on 32-bit arches (bug #967251). - # - # Scale down to 2*8*(16 << 20) = 256MiB for 32-bit - # arches. This avoids spinning in blas_memory_alloc - # which doesn't handle ENOMEM. - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-2} - export NUM_THREADS=${OPENBLAS_NTHREAD:-8} - ;; - 8) - # XXX: The current values here rely on overcommit - # for most systems (bug #967026). - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-8} - export NUM_THREADS=${OPENBLAS_NTHREAD:-64} - ;; - *) - die "Unexpected tc-get-ptr-size. Please file a bug." - ;; - esac - - # Allow setting OPENBLAS_TARGET to override auto detection in case the - # toolchain is not enough to detect. - # https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt - if ! use cpudetection ; then - if [[ -n "${OPENBLAS_TARGET}" ]] ; then - export TARGET="${OPENBLAS_TARGET}" - elif [[ ${CBUILD} != ${CHOST} ]] ; then - case ${CHOST} in - aarch64-*) - export TARGET="ARMV8" - export BINARY="64" - ;; - powerpc64le-*) - export TARGET="POWER8" - export BUILD_BFLOAT16=1 - export BINARY=64 - ;; - esac - fi - fi - - export NO_STATIC=1 - export BUILD_RELAPACK=$(usex relapack 1 0) - export PREFIX="${EPREFIX}/usr" -} - -emake64() { - emake -C "${S}-index64" \ - INTERFACE64=1 \ - LIBNAMESUFFIX=64 \ - "${@}" -} - -src_compile() { - emake shared - - use eselect-ldso && emake -C interface shared-blas-lapack - - if use index64; then - emake64 shared - fi -} - -src_test() { - emake tests - - if use index64; then - emake64 tests - fi -} - -src_install() { - local libdir=$(get_libdir) - emake install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - - dodoc GotoBLAS_*.txt *.md Changelog.txt - - if use index64; then - emake64 install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas64 \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - fi - - if use eselect-ldso; then - exeinto /usr/${libdir}/blas/openblas/ - doexe interface/lib{,c}blas.so.3 - dosym libblas.so.3 /usr/${libdir}/blas/openblas/libblas.so - dosym libcblas.so.3 /usr/${libdir}/blas/openblas/libcblas.so - - exeinto /usr/${libdir}/lapack/openblas/ - doexe interface/liblapack{,e}.so.3 - dosym liblapack.so.3 /usr/${libdir}/lapack/openblas/liblapack.so - dosym liblapacke.so.3 /usr/${libdir}/lapack/openblas/liblapacke.so - fi -} - -pkg_postinst() { - use eselect-ldso || return - local libdir=$(get_libdir) me="openblas" - - # check blas - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." - else - elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi - - # check lapack - eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me} - local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) - if [[ ${current_lapack} == "${me}" || -z ${current_lapack} ]]; then - eselect lapack set ${libdir} ${me} - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - else - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - elog "To use lapack [${me}] implementation, you have to issue (as root):" - elog "\t eselect lapack set ${libdir} ${me}" - fi -} - -pkg_postrm() { - if use eselect-ldso; then - eselect blas validate - eselect lapack validate - fi -} diff --git a/sci-libs/openblas/openblas-0.3.31.ebuild b/sci-libs/openblas/openblas-0.3.31.ebuild deleted file mode 100644 index a4be20c95f2a..000000000000 --- a/sci-libs/openblas/openblas-0.3.31.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic fortran-2 toolchain-funcs - -MY_P=OpenBLAS-${PV} -DESCRIPTION="Optimized BLAS library based on GotoBLAS2" -HOMEPAGE="https://github.com/OpenMathLib/OpenBLAS" -SRC_URI="https://github.com/OpenMathLib/OpenBLAS/releases/download/v${PV}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86 ~x64-macos" -IUSE="cpudetection index64 openmp pthread relapack test" -REQUIRED_USE="?? ( openmp pthread )" -RESTRICT="!cpudetection? ( bindist ) !test? ( test )" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-no-threads.patch - "${FILESDIR}"/${P}-arrow-lake.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - elog "This software has a massive number of options that" - elog "are configurable and it is *impossible* for all of" - elog "those to fit inside any manageable ebuild." - elog "The Gentoo provided package has enough to build" - elog "a fully optimized library for your targeted CPU." - elog "You can set the CPU target using the environment" - elog "variable - OPENBLAS_TARGET or it will be detected" - elog "automatically from the target toolchain (supports" - elog "cross compilation toolchains)." - elog "You can control the maximum number of threads" - elog "using OPENBLAS_NTHREAD, default=64 and number of " - elog "parallel calls to allow before further calls wait" - elog "using OPENBLAS_NPARALLEL, default=8." -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - fortran-2_pkg_setup -} - -src_prepare() { - default - - # TODO: Unbundle lapack like Fedora does? - # https://src.fedoraproject.org/rpms/openblas/blob/rawhide/f/openblas-0.2.15-system_lapack.patch - - # Don't build the tests as part of "make all". We'll do - # it explicitly later if the test phase is enabled. - sed -i -e "/^all :: tests/s: tests::g" Makefile || die - - # If 64bit-index is needed, create second library with LIBPREFIX=libopenblas64 - if use index64; then - cp -aL "${S}" "${S}-index64" || die - fi -} - -src_configure() { - # List of most configurable options is in Makefile.rule. - - # Not an easy fix, https://github.com/xianyi/OpenBLAS/issues/4128 - filter-lto - - tc-export CC FC LD AR AS RANLIB - - # HOSTCC is used for scripting - export HOSTCC="$(tc-getBUILD_CC)" - - # Threading options - export USE_THREAD=0 - export USE_OPENMP=0 - if use openmp; then - USE_THREAD=1 - USE_OPENMP=1 - elif use pthread; then - USE_THREAD=1 - USE_OPENMP=0 - fi - - # Disable submake with -j and default optimization flags in Makefile.system - # Makefile.rule says to not modify COMMON_OPT/FCOMMON_OPT... - export MAKE_NB_JOBS=-1 COMMON_OPT=" " FCOMMON_OPT=" " - - # Target CPU ARCH options generally detected automatically from cross toolchain - if use cpudetection ; then - export DYNAMIC_ARCH=1 NO_AFFINITY=1 TARGET=GENERIC - fi - - case $(tc-get-ptr-size) in - 4) - # NUM_BUFFERS = MAX(50, (2*NUM_PARALLEL*NUM_THREADS) - # BUFFER_SIZE = (16 << 20) (on x86) - # NUM_BUFFERS * BUFFER_SIZE is allocated and must be - # <4GiB on 32-bit arches (bug #967251). - # - # Scale down to 2*8*(16 << 20) = 256MiB for 32-bit - # arches. This avoids spinning in blas_memory_alloc - # which doesn't handle ENOMEM. - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-2} - export NUM_THREADS=${OPENBLAS_NTHREAD:-8} - ;; - 8) - # XXX: The current values here rely on overcommit - # for most systems (bug #967026). - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-8} - export NUM_THREADS=${OPENBLAS_NTHREAD:-64} - ;; - *) - die "Unexpected tc-get-ptr-size. Please file a bug." - ;; - esac - - # Allow setting OPENBLAS_TARGET to override auto detection in case the - # toolchain is not enough to detect. - # https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt - if ! use cpudetection ; then - if [[ -n "${OPENBLAS_TARGET}" ]] ; then - export TARGET="${OPENBLAS_TARGET}" - elif [[ ${CBUILD} != ${CHOST} ]] ; then - case ${CHOST} in - aarch64-*) - export TARGET="ARMV8" - export BINARY="64" - ;; - powerpc64le-*) - export TARGET="POWER8" - export BUILD_BFLOAT16=1 - export BINARY=64 - ;; - esac - fi - fi - - export NO_STATIC=1 - export BUILD_RELAPACK=$(usex relapack 1 0) - export PREFIX="${EPREFIX}/usr" -} - -emake64() { - emake -C "${S}-index64" \ - INTERFACE64=1 \ - LIBNAMESUFFIX=64 \ - "${@}" -} - -src_compile() { - emake shared - - if use index64; then - emake64 shared - fi -} - -src_test() { - emake tests - - if use index64; then - emake64 tests - fi -} - -src_install() { - local libdir=$(get_libdir) - emake install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - - dodoc GotoBLAS_*.txt *.md Changelog.txt - - if use index64; then - emake64 install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas64 \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - fi -} diff --git a/sci-libs/openblas/openblas-0.3.32.ebuild b/sci-libs/openblas/openblas-0.3.32.ebuild deleted file mode 100644 index 7f413f46207b..000000000000 --- a/sci-libs/openblas/openblas-0.3.32.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic fortran-2 toolchain-funcs - -MY_P=OpenBLAS-${PV} -DESCRIPTION="Optimized BLAS library based on GotoBLAS2" -HOMEPAGE="https://github.com/OpenMathLib/OpenBLAS" -SRC_URI="https://github.com/OpenMathLib/OpenBLAS/releases/download/v${PV}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv x86 ~x64-macos" -IUSE="cpudetection index64 openmp pthread relapack test" -REQUIRED_USE="?? ( openmp pthread )" -RESTRICT="!cpudetection? ( bindist ) !test? ( test )" - -BDEPEND="virtual/pkgconfig" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - elog "This software has a massive number of options that" - elog "are configurable and it is *impossible* for all of" - elog "those to fit inside any manageable ebuild." - elog "The Gentoo provided package has enough to build" - elog "a fully optimized library for your targeted CPU." - elog "You can set the CPU target using the environment" - elog "variable - OPENBLAS_TARGET or it will be detected" - elog "automatically from the target toolchain (supports" - elog "cross compilation toolchains)." - elog "You can control the maximum number of threads" - elog "using OPENBLAS_NTHREAD, default=64 and number of " - elog "parallel calls to allow before further calls wait" - elog "using OPENBLAS_NPARALLEL, default=8." -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - fortran-2_pkg_setup -} - -src_prepare() { - default - - # TODO: Unbundle lapack like Fedora does? - # https://src.fedoraproject.org/rpms/openblas/blob/rawhide/f/openblas-0.2.15-system_lapack.patch - - # Don't build the tests as part of "make all". We'll do - # it explicitly later if the test phase is enabled. - sed -i -e "/^all :: tests/s: tests::g" Makefile || die - - # If 64bit-index is needed, create second library with LIBPREFIX=libopenblas64 - if use index64; then - cp -aL "${S}" "${S}-index64" || die - fi -} - -src_configure() { - # List of most configurable options is in Makefile.rule. - - # Not an easy fix, https://github.com/xianyi/OpenBLAS/issues/4128 - filter-lto - - tc-export CC FC LD AR AS RANLIB - - # HOSTCC is used for scripting - export HOSTCC="$(tc-getBUILD_CC)" - - # Threading options - export USE_THREAD=0 - export USE_OPENMP=0 - if use openmp; then - USE_THREAD=1 - USE_OPENMP=1 - elif use pthread; then - USE_THREAD=1 - USE_OPENMP=0 - fi - - # Disable submake with -j and default optimization flags in Makefile.system - # Makefile.rule says to not modify COMMON_OPT/FCOMMON_OPT... - export MAKE_NB_JOBS=-1 COMMON_OPT=" " FCOMMON_OPT=" " - - # Target CPU ARCH options generally detected automatically from cross toolchain - if use cpudetection ; then - export DYNAMIC_ARCH=1 NO_AFFINITY=1 TARGET=GENERIC - fi - - case $(tc-get-ptr-size) in - 4) - # NUM_BUFFERS = MAX(50, (2*NUM_PARALLEL*NUM_THREADS) - # BUFFER_SIZE = (16 << 20) (on x86) - # NUM_BUFFERS * BUFFER_SIZE is allocated and must be - # <4GiB on 32-bit arches (bug #967251). - # - # Scale down to 2*8*(16 << 20) = 256MiB for 32-bit - # arches. This avoids spinning in blas_memory_alloc - # which doesn't handle ENOMEM. - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-2} - export NUM_THREADS=${OPENBLAS_NTHREAD:-8} - ;; - 8) - # XXX: The current values here rely on overcommit - # for most systems (bug #967026). - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-8} - export NUM_THREADS=${OPENBLAS_NTHREAD:-64} - ;; - *) - die "Unexpected tc-get-ptr-size. Please file a bug." - ;; - esac - - # Allow setting OPENBLAS_TARGET to override auto detection in case the - # toolchain is not enough to detect. - # https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt - if ! use cpudetection ; then - if [[ -n "${OPENBLAS_TARGET}" ]] ; then - export TARGET="${OPENBLAS_TARGET}" - elif [[ ${CBUILD} != ${CHOST} ]] ; then - case ${CHOST} in - aarch64-*) - export TARGET="ARMV8" - export BINARY="64" - ;; - powerpc64le-*) - export TARGET="POWER8" - export BUILD_BFLOAT16=1 - export BINARY=64 - ;; - esac - fi - fi - - export NO_STATIC=1 - export BUILD_RELAPACK=$(usex relapack 1 0) - export PREFIX="${EPREFIX}/usr" -} - -emake64() { - emake -C "${S}-index64" \ - INTERFACE64=1 \ - LIBNAMESUFFIX=64 \ - "${@}" -} - -src_compile() { - emake shared - - if use index64; then - emake64 shared - fi -} - -src_test() { - emake tests - - if use index64; then - emake64 tests - fi -} - -src_install() { - local libdir=$(get_libdir) - emake install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - - dodoc GotoBLAS_*.txt *.md Changelog.txt - - if use index64; then - emake64 install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas64 \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - fi -} diff --git a/sci-libs/openblas/openblas-0.3.33.ebuild b/sci-libs/openblas/openblas-0.3.33.ebuild deleted file mode 100644 index 3d60c157f2ea..000000000000 --- a/sci-libs/openblas/openblas-0.3.33.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic fortran-2 toolchain-funcs - -MY_P=OpenBLAS-${PV} -DESCRIPTION="Optimized BLAS library based on GotoBLAS2" -HOMEPAGE="https://github.com/OpenMathLib/OpenBLAS" -SRC_URI="https://github.com/OpenMathLib/OpenBLAS/releases/download/v${PV}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86 ~x64-macos" -IUSE="cpudetection index64 openmp pthread relapack test" -REQUIRED_USE="?? ( openmp pthread )" -RESTRICT="!cpudetection? ( bindist ) !test? ( test )" - -BDEPEND="virtual/pkgconfig" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - elog "This software has a massive number of options that" - elog "are configurable and it is *impossible* for all of" - elog "those to fit inside any manageable ebuild." - elog "The Gentoo provided package has enough to build" - elog "a fully optimized library for your targeted CPU." - elog "You can set the CPU target using the environment" - elog "variable - OPENBLAS_TARGET or it will be detected" - elog "automatically from the target toolchain (supports" - elog "cross compilation toolchains)." - elog "You can control the maximum number of threads" - elog "using OPENBLAS_NTHREAD, default=64 and number of " - elog "parallel calls to allow before further calls wait" - elog "using OPENBLAS_NPARALLEL, default=8." -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - fortran-2_pkg_setup -} - -src_prepare() { - default - - # TODO: Unbundle lapack like Fedora does? - # https://src.fedoraproject.org/rpms/openblas/blob/rawhide/f/openblas-0.2.15-system_lapack.patch - - # Don't build the tests as part of "make all". We'll do - # it explicitly later if the test phase is enabled. - sed -i -e "/^all :: tests/s: tests::g" Makefile || die - - # If 64bit-index is needed, create second library with LIBPREFIX=libopenblas64 - if use index64; then - cp -aL "${S}" "${S}-index64" || die - fi -} - -src_configure() { - # List of most configurable options is in Makefile.rule. - - # Not an easy fix, https://github.com/xianyi/OpenBLAS/issues/4128 - filter-lto - - tc-export CC FC LD AR AS RANLIB - - # HOSTCC is used for scripting - export HOSTCC="$(tc-getBUILD_CC)" - - # Threading options - export USE_THREAD=0 - export USE_OPENMP=0 - if use openmp; then - USE_THREAD=1 - USE_OPENMP=1 - elif use pthread; then - USE_THREAD=1 - USE_OPENMP=0 - fi - - # Disable submake with -j and default optimization flags in Makefile.system - # Makefile.rule says to not modify COMMON_OPT/FCOMMON_OPT... - export MAKE_NB_JOBS=-1 COMMON_OPT=" " FCOMMON_OPT=" " - - # Target CPU ARCH options generally detected automatically from cross toolchain - if use cpudetection ; then - export DYNAMIC_ARCH=1 NO_AFFINITY=1 TARGET=GENERIC - fi - - case $(tc-get-ptr-size) in - 4) - # NUM_BUFFERS = MAX(50, (2*NUM_PARALLEL*NUM_THREADS) - # BUFFER_SIZE = (16 << 20) (on x86) - # NUM_BUFFERS * BUFFER_SIZE is allocated and must be - # <4GiB on 32-bit arches (bug #967251). - # - # Scale down to 2*8*(16 << 20) = 256MiB for 32-bit - # arches. This avoids spinning in blas_memory_alloc - # which doesn't handle ENOMEM. - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-2} - export NUM_THREADS=${OPENBLAS_NTHREAD:-8} - ;; - 8) - # XXX: The current values here rely on overcommit - # for most systems (bug #967026). - export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-8} - export NUM_THREADS=${OPENBLAS_NTHREAD:-64} - ;; - *) - die "Unexpected tc-get-ptr-size. Please file a bug." - ;; - esac - - # Allow setting OPENBLAS_TARGET to override auto detection in case the - # toolchain is not enough to detect. - # https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt - if ! use cpudetection ; then - if [[ -n "${OPENBLAS_TARGET}" ]] ; then - export TARGET="${OPENBLAS_TARGET}" - elif [[ ${CBUILD} != ${CHOST} ]] ; then - case ${CHOST} in - aarch64-*) - export TARGET="ARMV8" - export BINARY="64" - ;; - powerpc64le-*) - export TARGET="POWER8" - export BUILD_BFLOAT16=1 - export BINARY=64 - ;; - esac - fi - fi - - export NO_STATIC=1 - export BUILD_RELAPACK=$(usex relapack 1 0) - export PREFIX="${EPREFIX}/usr" -} - -emake64() { - emake -C "${S}-index64" \ - INTERFACE64=1 \ - LIBNAMESUFFIX=64 \ - "${@}" -} - -src_compile() { - emake shared - - if use index64; then - emake64 shared - fi -} - -src_test() { - emake tests - - if use index64; then - emake64 tests - fi -} - -src_install() { - local libdir=$(get_libdir) - emake install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - - dodoc GotoBLAS_*.txt *.md Changelog.txt - - if use index64; then - emake64 install \ - DESTDIR="${D}" \ - OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/openblas64 \ - OPENBLAS_LIBRARY_DIR='$(PREFIX)'/${libdir} - fi -} diff --git a/sci-libs/opencascade/Manifest b/sci-libs/opencascade/Manifest deleted file mode 100644 index e469b7d4c8cf..000000000000 --- a/sci-libs/opencascade/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST opencascade-7.8.1.tar.gz 48432051 BLAKE2B de7a40b8e6612642a1567d2cf3e6b471c9edeadbc7f686bc8648502165c8d824b3574259874ecb1775c856703fd8df7481c9bc07a66a3a321a83e699e6802052 SHA512 807c1f8732926cfdabcfbdf8d6a0e76b8dba1a1e614afe084a467ffb4cfd80623f5e3afa7e9905b1ac96667c93e01b5f98ceaa8948a576a1093d98df98cc8f81 -DIST opencascade-dataset-7.8.0.tar.xz 97049756 BLAKE2B aae5f076d9fc8a0d8a05028b0d9ffb527978e7acfdf5ecbc7e71c5ee3d6060cd7db9e56dba5b94a445bf5cf208126711cda70306607bdc5cd5e8b68df8fc150c SHA512 9b4c91d7b4743c47f2cf8d9a3b6ded73409a13133013424150ee9bdb61fd771c0b8799c7f31b459a7d2ba140399b9c0c972e2d0476188006361b4fb04042d990 -DIST opencascade-dataset-7.9.0.tar.xz 98739184 BLAKE2B fe80e350d5c34f82202ef8dcda56f3e7ec1d45f8d3b782f9f92c8f78d0c25504de65c699c4e251e3f30b3d9e59f0adfe35554d52b535e36380aaf3c468f4e90b SHA512 0a30cab7a3f8e3a87ff3ae1cacc64449d1099f04a13d10c95471a94adb8126514d5f5f2352e093a847562a99ab3250c7b8e60c874ff4bc8aea990fa1de7fda8c diff --git a/sci-libs/opencascade/files/opencascade-7.5.1-0005-fix-write-permissions-on-scripts.patch b/sci-libs/opencascade/files/opencascade-7.5.1-0005-fix-write-permissions-on-scripts.patch deleted file mode 100644 index 1cb397e0a976..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.5.1-0005-fix-write-permissions-on-scripts.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 5f7db00bfc56d497a1897102a5ddd5bdddd72942 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Fri, 16 Apr 2021 01:04:24 +0200 -Subject: [PATCH] fix write permissions on scripts - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- - CMakeLists.txt | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 100d6133..e9e8fb29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -890,10 +890,10 @@ if (${DRAWEXE_INDEX} GREATER -1) - # copy draw script to install script folder - if (BUILD_PATCH AND EXISTS "${BUILD_PATCH}/adm/templates/draw.${SCRIPT_EXT}") - install (FILES "${BUILD_PATCH}/adm/templates/draw.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" -- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) -+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - else() - install (FILES "${CMAKE_SOURCE_DIR}/adm/templates/draw.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" -- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) -+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - endif() - - # copy draw script to CMake binary folder -@@ -1101,10 +1101,10 @@ if (BUILD_TOOL_TOOLKITS) - # copy tinspector script to install script folder - if (BUILD_PATCH AND EXISTS "${BUILD_PATCH}/adm/templates/inspector.${SCRIPT_EXT}") - install (FILES "${BUILD_PATCH}/adm/templates/inspector.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" -- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) -+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - else() - install (FILES "${CMAKE_SOURCE_DIR}/adm/templates/inspector.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" -- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) -+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - endif() - - set (OpenCASCADE_BINARY_DIR "${INSTALL_DIR}/${INSTALL_DIR_BIN}") --- -2.31.1 - diff --git a/sci-libs/opencascade/files/opencascade-7.5.1-0006-fix-creation-of-custom.sh-script.patch b/sci-libs/opencascade/files/opencascade-7.5.1-0006-fix-creation-of-custom.sh-script.patch deleted file mode 100644 index 0ab023693e65..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.5.1-0006-fix-creation-of-custom.sh-script.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 0df9b2c485da92c6e9fdd6d4b5ea1ec6588bd66f Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Fri, 16 Apr 2021 14:32:24 +0200 -Subject: [PATCH] fix creation of custom.sh script - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- - CMakeLists.txt | 10 +--------- - 1 file changed, 1 insertion(+), 9 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 100d6133..7799b73a 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -909,15 +909,7 @@ else() - endif() - - # change custom.bat/sh --if (EXISTS "${INSTALL_DIR}/${INSTALL_DIR_SCRIPT}/custom.${SCRIPT_EXT}") -- file (READ "${INSTALL_DIR}/${INSTALL_DIR_SCRIPT}/custom.${SCRIPT_EXT}" CUSTOM_CONTENT) -- -- set (CUSTOM_CONTENT "${CUSTOM_CONTENT} ${ADDITIONAL_CUSTOM_CONTENT}") -- -- file (WRITE "${INSTALL_DIR}/${INSTALL_DIR_SCRIPT}/custom.${SCRIPT_EXT}" "${CUSTOM_CONTENT}") --else() -- OCCT_CONFIGURE_AND_INSTALL ("adm/templates/custom.${SCRIPT_EXT}.main" "custom.${SCRIPT_EXT}" "custom.${SCRIPT_EXT}" "${INSTALL_DIR_SCRIPT}") --endif() -+OCCT_CONFIGURE_AND_INSTALL ("adm/templates/custom.${SCRIPT_EXT}.main" "custom.${SCRIPT_EXT}" "custom.${SCRIPT_EXT}" "${INSTALL_DIR_SCRIPT}") - - if (WIN32) - set (THIRDPARTY_DIR_REPLACE "%THIRDPARTY_DIR%") --- -2.31.1 - diff --git a/sci-libs/opencascade/files/opencascade-7.7.0-avoid-pre-stripping-binaries.patch b/sci-libs/opencascade/files/opencascade-7.7.0-avoid-pre-stripping-binaries.patch deleted file mode 100644 index 5c351cb32996..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.7.0-avoid-pre-stripping-binaries.patch +++ /dev/null @@ -1,34 +0,0 @@ -From e145fb627d199e888267e19eab951c69c2f8151c Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Sat, 8 Oct 2022 13:16:47 +0200 -Subject: [PATCH] avoid pre-stripping binaries - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- a/adm/cmake/occt_defs_flags.cmake -+++ b/adm/cmake/occt_defs_flags.cmake -@@ -135,22 +135,12 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "[Cc][Ll][Aa][Nn][Gg]") - # CLang can be used with both libstdc++ and libc++, however on OS X libstdc++ is outdated. - set (CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}") - endif() -- # Optimize size of binaries -- set (CMAKE_SHARED_LINKER_FLAGS "-Wl,-s ${CMAKE_SHARED_LINKER_FLAGS}") - elseif(MINGW) - add_definitions(-D_WIN32_WINNT=0x0601) - # _WIN32_WINNT=0x0601 (use Windows 7 SDK) - #set (CMAKE_SYSTEM_VERSION "6.1") - # workaround bugs in mingw with vtable export - set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--export-all-symbols") -- -- # Optimize size of binaries -- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") -- set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") --elseif (DEFINED CMAKE_COMPILER_IS_GNUCXX) -- # Optimize size of binaries -- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") -- set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") - endif() - - if (BUILD_RELEASE_DISABLE_EXCEPTIONS) --- -2.38.0 - diff --git a/sci-libs/opencascade/files/opencascade-7.7.0-fix-installation-of-cmake-config-files.patch b/sci-libs/opencascade/files/opencascade-7.7.0-fix-installation-of-cmake-config-files.patch deleted file mode 100644 index 924f002b727d..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.7.0-fix-installation-of-cmake-config-files.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 4eb2236370134117729bc4d55191fce736bf4df6 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Thu, 6 Oct 2022 18:53:41 +0200 -Subject: [PATCH] fix installation of cmake config files - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1265,7 +1265,7 @@ foreach (OCCT_CONFIGURATION ${CMAKE_CONFIGURATION_TYPES}) - endforeach() - # install OpenCASCADE config file with compile definitions and C/C++ flags ONLY for current configuration - install (CODE "string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWER)") --install (CODE "file(INSTALL FILES \"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" DESTINATION \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/\" TYPE FILE)") -+install (FILES "${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake" DESTINATION "${INSTALL_DIR_CMAKE}") - - foreach (OCCT_MODULE ${OCCT_MODULES}) - if (BUILD_MODULE_${OCCT_MODULE}) -diff --git a/adm/cmake/occt_macros.cmake b/adm/cmake/occt_macros.cmake -index 4a060665..8ab5e39c 100755 ---- a/adm/cmake/occt_macros.cmake -+++ b/adm/cmake/occt_macros.cmake -@@ -590,7 +590,7 @@ macro (OCCT_UPDATE_TARGET_FILE) - - install (CODE - "string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWERCASE) -- file (GLOB ALL_OCCT_TARGET_FILES \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\") -+ file (GLOB ALL_OCCT_TARGET_FILES \"${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\") - foreach(TARGET_FILENAME \${ALL_OCCT_TARGET_FILES}) - file (STRINGS \"\${TARGET_FILENAME}\" TARGET_FILE_CONTENT) - file (REMOVE \"\${TARGET_FILENAME}\") --- -2.38.0 - diff --git a/sci-libs/opencascade/files/opencascade-7.7.0-jemalloc-lib-type.patch b/sci-libs/opencascade/files/opencascade-7.7.0-jemalloc-lib-type.patch deleted file mode 100644 index c80d9946b7c6..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.7.0-jemalloc-lib-type.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Paul Zander <negril.nx+gentoo@gmail.com> - -Only try to find the jemalloc libs we are going to use - -diff --git a/adm/cmake/jemalloc.cmake b/adm/cmake/jemalloc.cmake -index b37d5d276..deef66d6c 100644 ---- a/adm/cmake/jemalloc.cmake -+++ b/adm/cmake/jemalloc.cmake -@@ -128,6 +128,7 @@ endmacro() - # Reset CSF variable - set (CSF_MMGR "") - -+if(BUILD_LIBRARY_TYPE EQUAL "Static") - # find static jemalloc lib - SET(CMAKE_FIND_LIBRARY_SUFFIXES ".lib" ".a") - if (WIN32) -@@ -137,7 +138,10 @@ elseif(NOT WIN32) - SET(CMAKE_FIND_LIBRARY_SUFFIXES "" "so") - JEMALLOC_LIB_SEARCH ("jemalloc.so.2" "SHARED") - endif() -+endif() - -+if(BUILD_LIBRARY_TYPE EQUAL "Shared") - # find shared jemalloc lib - SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".so") - JEMALLOC_LIB_SEARCH ("jemalloc" "SHARED") -+endif() diff --git a/sci-libs/opencascade/files/opencascade-7.7.0-musl.patch b/sci-libs/opencascade/files/opencascade-7.7.0-musl.patch deleted file mode 100644 index 45aeb449ac73..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.7.0-musl.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 4351ac37b19bf43ff9a8f21e5126deb7f43f751e Mon Sep 17 00:00:00 2001 -From: Violet Purcell <vimproved@inventati.org> -Date: Tue, 11 Jul 2023 16:13:32 -0400 -Subject: [PATCH] Fix building with musl - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -554,6 +554,10 @@ OCCT_IS_PRODUCT_REQUIRED (CSF_EIGEN CAN_USE_EIGEN) - # define CSF variable - OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/occt_csf") - -+# Check for execinfo.h -+include(CheckIncludeFile) -+CHECK_INCLUDE_FILE("execinfo.h" HAS_EXECINFO_H) -+ - # Tcl (mandatory for Draw Harness) - if (USE_TCL) - message (STATUS "Info: TCL is used by OCCT") ---- a/src/OSD/OSD_MemInfo.cxx -+++ b/src/OSD/OSD_MemInfo.cxx -@@ -184,12 +184,16 @@ void OSD_MemInfo::Update() - #endif - #endif - -+ #if defined(__GLIBC__) - #ifdef HAS_MALLINFO2 - const struct mallinfo2 aMI = mallinfo2(); - #else - const struct mallinfo aMI = mallinfo(); - #endif - myCounters[MemHeapUsage] = aMI.uordblks; -+ #else -+ myCounters[MemHeapUsage] = 0; -+ #endif - } - - if (!IsActive (MemVirtual) ---- a/src/OSD/OSD_signal.cxx -+++ b/src/OSD/OSD_signal.cxx -@@ -758,7 +758,7 @@ typedef void (* SIG_PFV) (int); - - #include <signal.h> - --#if !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__) -+#if !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__) - #include <sys/signal.h> - #endif - -@@ -974,7 +974,7 @@ static void SegvHandler(const int theSignal, - //======================================================================= - void OSD::SetFloatingSignal (Standard_Boolean theFloatingSignal) - { --#if defined (__linux__) -+#if defined (__linux__) && defined(__GLIBC__) - feclearexcept (FE_ALL_EXCEPT); - if (theFloatingSignal) - { -@@ -1007,7 +1007,7 @@ void OSD::SetFloatingSignal (Standard_Boolean theFloatingSignal) - //======================================================================= - Standard_Boolean OSD::ToCatchFloatingSignals() - { --#if defined (__linux__) -+#if defined (__linux__) && defined(__GLIBC__) - return (fegetexcept() & _OSD_FPX) != 0; - #else - return Standard_False; ---- a/src/Standard/Standard_StackTrace.cxx -+++ b/src/Standard/Standard_StackTrace.cxx -@@ -29,7 +29,7 @@ - //#include <unwind.h> - #elif defined(__QNX__) - //#include <backtrace.h> // requires linking to libbacktrace --#elif !defined(_WIN32) && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) -+#elif defined (HAS_EXECINFO_H) - #include <execinfo.h> - #elif defined(_WIN32) && !defined(OCCT_UWP) - -@@ -313,7 +313,7 @@ Standard_Boolean Standard::StackTrace (char* theBuffer, - Message::SendTrace ("Standard::StackTrace() is not implemented for this CPU architecture"); - return false; - #endif --#else -+#elif defined (HAS_EXECINFO_H) - const int aTopSkip = theNbTopSkip + 1; // skip this function call and specified extra number - int aNbTraces = theNbTraces + aTopSkip; - void** aStackArr = (void** )alloca (sizeof(void*) * aNbTraces); -@@ -360,5 +360,7 @@ Standard_Boolean Standard::StackTrace (char* theBuffer, - strcat (theBuffer, "\n============="); - } - return true; -+#else -+ return false; - #endif - } --- -2.41.0 - diff --git a/sci-libs/opencascade/files/opencascade-7.7.0-tbb-detection.patch b/sci-libs/opencascade/files/opencascade-7.7.0-tbb-detection.patch deleted file mode 100644 index c93b009a9da6..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.7.0-tbb-detection.patch +++ /dev/null @@ -1,53 +0,0 @@ -From: Fabio Rossi <rossi.f@inwind.it> -See-Also: https://tracker.dev.opencascade.org/view.php?id=33612 -Fix tbb detection - ---- ./adm/cmake/tbb.cmake 2022-11-11 23:19:44.000000000 +0100 -+++ ./adm/cmake/tbb.cmake.new 2024-02-24 18:59:32.267165878 +0100 -@@ -56,13 +56,17 @@ - list (APPEND 3RDPARTY_NOT_INCLUDED 3RDPARTY_TBB_INCLUDE_DIR) - endif() - -+ # Get installed configuration of tbb -+ get_target_property (TARGET_TBB_IMPORT_CONFS TBB::tbb IMPORTED_CONFIGURATIONS) -+ list (GET TARGET_TBB_IMPORT_CONFS 0 CHOSEN_IMPORT_CONF) -+ - separate_arguments (CSF_TBB) - foreach (LIB IN LISTS CSF_TBB) - string(TOLOWER "${LIB}" LIB_LOWER) - string(TOUPPER "${LIB}" LIB_UPPER) - - # Achive *.lib files and directory containing it. -- get_target_property (TBB_LIB_FILE "TBB::${LIB_LOWER}" IMPORTED_IMPLIB_RELEASE) -+ get_target_property (TBB_LIB_FILE "TBB::${LIB_LOWER}" IMPORTED_IMPLIB_${CHOSEN_IMPORT_CONF}) - # Reserve cache variable for *.lib. - if (NOT DEFINED 3RDPARTY_${LIB_UPPER}_LIBRARY) - set (3RDPARTY_${LIB_UPPER}_LIBRARY "" CACHE FILEPATH "${LIB_UPPER} library (*.lib)") -@@ -89,7 +93,7 @@ - endif() - - # Achive *.dll files and directory containing it. -- get_target_property (TBB_DLL_FILE "TBB::${LIB_LOWER}" IMPORTED_LOCATION_RELEASE) -+ get_target_property (TBB_DLL_FILE "TBB::${LIB_LOWER}" IMPORTED_LOCATION_${CHOSEN_IMPORT_CONF}) - # Reserve cache variable for *.dll. - if (NOT DEFINED 3RDPARTY_${LIB_UPPER}_DLL) - set (3RDPARTY_${LIB_UPPER}_DLL "" CACHE FILEPATH "${LIB_UPPER} library (*.dll)") -@@ -185,13 +189,17 @@ - list (APPEND 3RDPARTY_NOT_INCLUDED 3RDPARTY_TBB_INCLUDE_DIR) - endif() - -+ # Get installed configuration of tbb -+ get_target_property (TARGET_TBB_IMPORT_CONFS TBB::tbb IMPORTED_CONFIGURATIONS) -+ list (GET TARGET_TBB_IMPORT_CONFS 0 CHOSEN_IMPORT_CONF) -+ - separate_arguments (CSF_TBB) - foreach (LIB IN LISTS CSF_TBB) - string(TOLOWER "${LIB}" LIB_LOWER) - string(TOUPPER "${LIB}" LIB_UPPER) - - # Achive *.so files and directory containing it. -- get_target_property (TBB_SO_FILE "TBB::${LIB_LOWER}" IMPORTED_LOCATION_RELEASE) -+ get_target_property (TBB_SO_FILE "TBB::${LIB_LOWER}" IMPORTED_LOCATION_${CHOSEN_IMPORT_CONF}) - # Reserve cache variable for *.so. - if (NOT DEFINED 3RDPARTY_${LIB_UPPER}_LIBRARY) - set (3RDPARTY_${LIB_UPPER}_LIBRARY "" CACHE FILEPATH "${LIB_UPPER} library (*.so)") diff --git a/sci-libs/opencascade/files/opencascade-7.8.0-cmake-min-version.patch b/sci-libs/opencascade/files/opencascade-7.8.0-cmake-min-version.patch deleted file mode 100644 index b0a9d026f34e..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.8.0-cmake-min-version.patch +++ /dev/null @@ -1,14 +0,0 @@ -From: Paul Zander <negril.nx+gentoo@gmail.com> - -Bump cmake minimum version to remove warning - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 88d34f0..232c643 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required (VERSION 3.1 FATAL_ERROR) -+cmake_minimum_required (VERSION 3.5 FATAL_ERROR) - - set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/adm/cmake") - diff --git a/sci-libs/opencascade/files/opencascade-7.8.0-jemalloc-noexcept.patch b/sci-libs/opencascade/files/opencascade-7.8.0-jemalloc-noexcept.patch deleted file mode 100644 index 2c4a98f5a1fd..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.8.0-jemalloc-noexcept.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/Standard/Standard.cxx b/src/Standard/Standard.cxx -index bb06de7..f73164f 100644 ---- a/src/Standard/Standard.cxx -+++ b/src/Standard/Standard.cxx -@@ -28,7 +28,7 @@ - #elif (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) && (defined(__i386) || defined(__x86_64))) - #include <mm_malloc.h> - #else --extern "C" int posix_memalign(void** thePtr, size_t theAlign, size_t theSize); -+extern "C" int posix_memalign(void** thePtr, size_t theAlign, size_t theSize) throw (); - #endif - - namespace diff --git a/sci-libs/opencascade/files/opencascade-7.8.0-tests.patch b/sci-libs/opencascade/files/opencascade-7.8.0-tests.patch deleted file mode 100644 index cf45ca5ce246..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.8.0-tests.patch +++ /dev/null @@ -1,19 +0,0 @@ -From: Paul Zander <negril.nx+gentoo@gmail.com> - -Fix test harness script - -diff --git a/adm/templates/draw.sh b/adm/templates/draw.sh -index 02e6043..c7347e0 100755 ---- a/adm/templates/draw.sh -+++ b/adm/templates/draw.sh -@@ -4,7 +4,8 @@ aCurrentPath="$PWD" - aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD"; - - source "${aScriptPath}/env.sh" "$1" -+shift - - echo 'Hint: use "pload ALL" command to load standard commands' --cd ${aCurrentPath} --DRAWEXE -+cd "${aCurrentPath}" -+DRAWEXE "$@" diff --git a/sci-libs/opencascade/files/opencascade-7.8.1-freetype-const.patch b/sci-libs/opencascade/files/opencascade-7.8.1-freetype-const.patch deleted file mode 100644 index 63ac571a407d..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.8.1-freetype-const.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/939996 -https://github.com/Open-Cascade-SAS/OCCT/commit/7236e83dcc1e7284e66dc61e612154617ef715d6 - -From 7236e83dcc1e7284e66dc61e612154617ef715d6 Mon Sep 17 00:00:00 2001 -From: dpasukhi <dpasukhi@opencascade.com> -Date: Tue, 27 Aug 2024 11:33:29 +0100 -Subject: [PATCH] 0033808: Coding - FreeType Use unsigned point and contour - indexing in `FT_Outline` - -Changes to auto instead of specific type ---- a/src/StdPrs/StdPrs_BRepFont.cxx -+++ b/src/StdPrs/StdPrs_BRepFont.cxx -@@ -457,7 +457,7 @@ Standard_Boolean StdPrs_BRepFont::renderGlyph (const Standard_Utf32Char theChar, - for (short aContour = 0, aStartIndex = 0; aContour < anOutline->n_contours; ++aContour) - { - const FT_Vector* aPntList = &anOutline->points[aStartIndex]; -- const char* aTags = &anOutline->tags[aStartIndex]; -+ const auto* aTags = &anOutline->tags[aStartIndex]; - const short anEndIndex = anOutline->contours[aContour]; - const short aPntsNb = (anEndIndex - aStartIndex) + 1; - aStartIndex = anEndIndex + 1; diff --git a/sci-libs/opencascade/files/opencascade-7.8.1-vtk_components.patch b/sci-libs/opencascade/files/opencascade-7.8.1-vtk_components.patch deleted file mode 100644 index 5e7d5588c447..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.8.1-vtk_components.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b473d89e3c87aeae13e9fe9e0b8ef3a287161235 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx@gmail.com> -Date: Tue, 20 May 2025 14:13:14 +0200 -Subject: [PATCH] vtk components - -Only include the components we actually use. -This prevents a circular loop occt -> vtk -> occt. - -diff --git a/adm/cmake/vtk.cmake b/adm/cmake/vtk.cmake -index 48650fe7d..6c168bf59 100644 ---- a/adm/cmake/vtk.cmake -+++ b/adm/cmake/vtk.cmake -@@ -74,7 +74,18 @@ if (3RDPARTY_VTK_DIR AND EXISTS "${3RDPARTY_VTK_DIR}") - set (ENV{VTK_DIR} "${3RDPARTY_VTK_DIR}") - endif() - --find_package(VTK QUIET) -+find_package(VTK -+ COMPONENTS -+ CommonCore -+ FiltersGeneral -+ IOImage -+ ImagingCore -+ InteractionStyle -+ RenderingCore -+ RenderingFreeType -+ RenderingGL2PSOpenGL2 -+ RenderingOpenGL2 -+) - - if (3RDPARTY_VTK_DIR AND EXISTS "${3RDPARTY_VTK_DIR}") - set (ENV{VTK_DIR} ${CACHED_VTK_DIR}) --- -2.49.0 - diff --git a/sci-libs/opencascade/files/opencascade-7.9.0-0002-avoid-pre-stripping-binaries.patch b/sci-libs/opencascade/files/opencascade-7.9.0-0002-avoid-pre-stripping-binaries.patch deleted file mode 100644 index 87693eea0842..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.9.0-0002-avoid-pre-stripping-binaries.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6365471a493797ec8696407b04e3d2ac31c082b7 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Sat, 8 Oct 2022 13:16:47 +0200 -Subject: [PATCH] avoid pre-stripping binaries - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> - -diff --git a/adm/cmake/occt_defs_flags.cmake b/adm/cmake/occt_defs_flags.cmake -index 5bd3313d3..e8acdba16 100644 ---- a/adm/cmake/occt_defs_flags.cmake -+++ b/adm/cmake/occt_defs_flags.cmake -@@ -194,7 +194,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "[Cc][Ll][Aa][Nn][Gg]") - # CLang can be used with both libstdc++ and libc++, however on OS X libstdc++ is outdated. - set (CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}") - endif() -- if (NOT WIN32) -+ if (NOT WIN32 AND FALSE) - # Optimize size of binaries - set (CMAKE_SHARED_LINKER_FLAGS_RELEASE "-Wl,-s ${CMAKE_SHARED_LINKER_FLAGS_RELEASE}") - endif() -@@ -208,7 +208,7 @@ if(MINGW) - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wattributes") - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wattributes") - endif() --if (CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE) -+if (CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE AND FALSE) - # Optimize size of binaries - set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") - set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") --- -2.51.2 - diff --git a/sci-libs/opencascade/files/opencascade-7.9.0-0004-Only-try-to-find-the-jemalloc-libs-we-are-going-to-u.patch b/sci-libs/opencascade/files/opencascade-7.9.0-0004-Only-try-to-find-the-jemalloc-libs-we-are-going-to-u.patch deleted file mode 100644 index 43b0bdae3013..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.9.0-0004-Only-try-to-find-the-jemalloc-libs-we-are-going-to-u.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9bf7e7a1729838a2052f9e550b204d1538802143 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Tue, 20 May 2025 14:10:41 +0200 -Subject: [PATCH] Only try to find the jemalloc libs we are going to use - -diff --git a/adm/cmake/jemalloc.cmake b/adm/cmake/jemalloc.cmake -index 8161700ad..8cd19e0e2 100644 ---- a/adm/cmake/jemalloc.cmake -+++ b/adm/cmake/jemalloc.cmake -@@ -72,6 +72,7 @@ function (JEMALLOC_LIB_SEARCH MMGR_LIB PREFIX) - endfunction() - - macro (SEARCH_JEMALLOC) -+ if(BUILD_LIBRARY_TYPE EQUAL "Static") - # find static jemalloc lib - SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".lib" ".a") - if (WIN32) -@@ -81,10 +82,13 @@ macro (SEARCH_JEMALLOC) - SET(CMAKE_FIND_LIBRARY_SUFFIXES "" "so") - JEMALLOC_LIB_SEARCH ("jemalloc.so.2" "SHARED") - endif() -+ endif() - -+ if(BUILD_LIBRARY_TYPE EQUAL "Shared") - # find shared jemalloc lib - SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".so") - JEMALLOC_LIB_SEARCH ("jemalloc" "SHARED") -+ endif() - endmacro() - - # Reset CSF variable --- -2.51.2 - diff --git a/sci-libs/opencascade/files/opencascade-7.9.2-0001-fix-installation-of-cmake-config-files.patch b/sci-libs/opencascade/files/opencascade-7.9.2-0001-fix-installation-of-cmake-config-files.patch deleted file mode 100644 index 568b948eeaef..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.9.2-0001-fix-installation-of-cmake-config-files.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 17d5b4f37508c67be67f980dfa86e15c7cf8b423 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Thu, 6 Oct 2022 18:53:41 +0200 -Subject: [PATCH] fix installation of cmake config files - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f8d62e06b..6cf4e00b0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1340,7 +1340,7 @@ foreach (OCCT_CONFIGURATION ${CMAKE_CONFIGURATION_TYPES}) - endforeach() - # install OpenCASCADE config file with compile definitions and C/C++ flags ONLY for current configuration - install (CODE "string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWER)") --install (CODE "file(INSTALL FILES \"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" DESTINATION \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/\" TYPE FILE)") -+install (FILES "${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake" DESTINATION "${INSTALL_DIR_CMAKE}") - - foreach (OCCT_MODULE ${OCCT_MODULES}) - if (BUILD_MODULE_${OCCT_MODULE}) --- -2.51.2 - diff --git a/sci-libs/opencascade/files/opencascade-7.9.2-0003-Fix-building-with-musl.patch b/sci-libs/opencascade/files/opencascade-7.9.2-0003-Fix-building-with-musl.patch deleted file mode 100644 index 4373d91ea1e5..000000000000 --- a/sci-libs/opencascade/files/opencascade-7.9.2-0003-Fix-building-with-musl.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 32c4af6d0f9b948acf66e4a06c65f2db53600fe2 Mon Sep 17 00:00:00 2001 -From: Violet Purcell <vimproved@inventati.org> -Date: Tue, 11 Jul 2023 16:13:32 -0400 -Subject: [PATCH] Fix building with musl - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6cf4e00b0..64752383b 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -774,6 +774,13 @@ file(COPY ${CMAKE_SOURCE_DIR}/.clang-format DESTINATION ${CMAKE_SOURCE_DIR}) - OCCT_MAKE_OS_WITH_BITNESS() - OCCT_MAKE_COMPILER_SHORT_NAME() - -+# define CSF variable -+OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/occt_csf") -+ -+# Check for execinfo.h -+include(CheckIncludeFile) -+CHECK_INCLUDE_FILE("execinfo.h" HAS_EXECINFO_H) -+ - # do not define INSTALL_DIR_BIN for win. - # Leave library structure for win: <prefix>/win64/vc10/bin(d) - if (NOT DEFINED INSTALL_DIR_BIN) -diff --git a/src/Standard/Standard_StackTrace.cxx b/src/Standard/Standard_StackTrace.cxx -index 811c09e9b..2f6243e6c 100644 ---- a/src/Standard/Standard_StackTrace.cxx -+++ b/src/Standard/Standard_StackTrace.cxx -@@ -29,7 +29,7 @@ - // #include <unwind.h> - #elif defined(__QNX__) - // #include <backtrace.h> // requires linking to libbacktrace --#elif !defined(_WIN32) && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) -+#elif !defined(_WIN32) && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && defined (HAS_EXECINFO_H) - #include <execinfo.h> - #elif defined(_WIN32) && !defined(OCCT_UWP) - -@@ -320,7 +320,7 @@ Standard_Boolean Standard::StackTrace(char* theBuffer, - Message::SendTrace("Standard::StackTrace() is not implemented for this CPU architecture"); - return false; - #endif --#else -+#elif defined (HAS_EXECINFO_H) - const int aTopSkip = theNbTopSkip + 1; // skip this function call and specified extra number - int aNbTraces = theNbTraces + aTopSkip; - void** aStackArr = (void**)alloca(sizeof(void*) * aNbTraces); -@@ -367,5 +367,7 @@ Standard_Boolean Standard::StackTrace(char* theBuffer, - strcat(theBuffer, "\n============="); - } - return true; -+#else -+ return false; - #endif - } --- -2.51.2 - diff --git a/sci-libs/opencascade/files/opencascade.env.in b/sci-libs/opencascade/files/opencascade.env.in deleted file mode 100644 index 28006d724806..000000000000 --- a/sci-libs/opencascade/files/opencascade.env.in +++ /dev/null @@ -1,102 +0,0 @@ -# -# This file sets needed and optional environment variables for -# Open CASCADE Technology -# -# See: https://dev.opencascade.org/doc/overview/html/index.html#OCCT_OVW_SECTION_4_2 -# for further documentation. -# -# Some of the values are set at compile time depending on what USE flags -# were enabled. Those values are marked as such. - -# define the root directory of Open CASCADE Technology (needed) -CASROOT="VAR_CASROOT" -PATH="VAR_CASROOT/lib/opencascade/bin" -LDPATH="VAR_CASROOT/lib/opencascade" - -############################################################################# -# The MMGT_* variables are used to determine how memory management will work -# in OCCT. All of those are optional. If they are not set here, their default -# values will be used. -# -# Uncomment or change the ones you need to adapt from its default. -############################################################################# -# MMGT_OPT = {0,1,2} (default: 0) set at compile time -# if set to 0 (the default), every memory block is allocated in C -# memory heap directly (via malloc() and free()). Will be set, if -# neither the the 'optimize' nor the 'tbb' USE flags are set. -# if set to 1, the memory manager performs it's own internal optimization. -# Will be set, if the 'optimize' USE flag is set. -# if set to 2, Intel(R) TBB optimized memory manager is used. Will be set, -# if the 'tbb' USE flag is set. -#MMGT_OPT=0 - -# MMGT_CLEAR = {0,1} (default: 1) -# if set to 0, memory block is returned as it is. Will be set, if the -# 'optimize' USE flag is set -# if set to 1, every allocated memory block is cleared by zeros -#MMGT_CLEAR=1 - -# MMGT_CELLSIZE (default: 200) -# defines the maximal size of blocks allocated in large pools of memory. -#MMGT_CELLSIZE=200 - -# MMGT_NBPAGES (default: 10000) -# defines the size of memory chunks allocated for small blocks in pages -# (OS dependant) -#MMGT_NBPAGES=10000 - -# MMGT_THRESHOLD (default: 40000) -# defines the maximal size of blocks that are recycled internally instead -# of being returned to the heap. -#MMGT_THRESHOLD=40000 - -# MMGT_MMAP = {0,1} (default: 1) -# if set to 0, large memory blocks will be allocated in the C heap by -# malloc() -# if set to 1, large memory blocks are allocated using memory mapping -# functions of the operating system. -#MMGT_MMAP=1 - -# CSF_LANGUAGE (default: us) optional -# defines the default language of messages indicated by a two-letter -# country code. Currently it's not verified if this work with other -# than the default languages, so we keep it commented. -#CSF_LANGUAGE=us - -# CSF_DEBUG_BOP (default: undefined) optional -# if defined then it should specify the directory where diagnostic data -# on problems occured in Boolean operations will be saved. Not defined by -# default. -# -# NOTE: Only enable for debugging purposes. If set, this variable has a -# large impact on the performance of boolean operations. -#CSF_DEBUG_BOP="/var/tmp" - -# CSF_EXCEPTION_PROMPT (default: 1) optional -# not documented upstream (maybe a flag indicating whether the user shall -# be prompted in the case of exceptions) -#CSF_EXCEPTION_PROMPT=1 - -# The following CSF_* variables define various directories and files where -# OCCT is looking for resources. -CSF_GraphicShr="VAR_CASROOT/lib/opencascade/libTKOpenGl.so" -CSF_MIGRATION_TYPES="VAR_CASROOT/share/opencascade/resources/StdResource/MigrationSheet.txt" -CSF_MDTVTexturesDirectory="VAR_CASROOT/share/opencascade/resources/Textures" -CSF_PluginDefaults="VAR_CASROOT/share/opencascade/resources/StdResource" -CSF_StandardDefaults="VAR_CASROOT/share/opencascade/resources/StdResource" -CSF_StandardLiteDefaults="VAR_CASROOT/share/opencascade/resources/StdResource" -CSF_XCAFDefaults="VAR_CASROOT/share/opencascade/resources/StdResource" -CSF_XmlOcafResource="VAR_CASROOT/share/opencascade/resources/XmlOcafResource" -# The below values might be optional. -CSF_IGESDefaults="VAR_CASROOT/share/opencascade/resources/XSTEPResource" -CSF_ShadersDirectory="VAR_CASROOT/share/opencascade/resources/Shaders" -CSF_SHMessage="VAR_CASROOT/share/opencascade/resources/SHMessage" -CSF_STEPDefaults="VAR_CASROOT/share/opencascade/resources/XSTEPResource" -CSF_UnitsDefinition="VAR_CASROOT/share/opencascade/resources/UnitsAPI/Units.dat" -CSF_XSMessage="VAR_CASROOT/share/opencascade/resources/XSMessage" - -# TODO: check those -# they were defined in the original ebuild but the directories and files -# are not present in the current installation. -#CSF_MDTVFontDirectory="VAR_CASROOT/src/FontMFT" -#CSF_UnitsLexicon="VAR_CASROOT/src/UnitsAPI/Lexi_Expr.dat" diff --git a/sci-libs/opencascade/metadata.xml b/sci-libs/opencascade/metadata.xml deleted file mode 100644 index 21f41babd473..000000000000 --- a/sci-libs/opencascade/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> -</maintainer> -<maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> -</maintainer> -<use> - <flag name="freeimage">Enable support for image i/o via <pkg>media-libs/freeimage</pkg></flag> - <flag name="jemalloc">Enable jemalloc allocator support via <pkg>dev-libs/jemalloc</pkg></flag> - <flag name="json">Enable JSON support through <pkg>dev-libs/rapidjson</pkg></flag> - <flag name="optimize">Don't clear allocated memory. Use optimized memory manager unless USE="tbb" is set</flag> - <flag name="tbb">Enable multithreading with the Intel Threads Building Block <pkg>dev-cpp/tbb</pkg></flag> - <flag name="testprograms">Indicates whether non-regression OCCT test scripts should be installed</flag> - <flag name="vtk">Enable Visualization Toolkit support via <pkg>sci-libs/vtk</pkg></flag> -</use> -<upstream> - <bugs-to>https://github.com/Open-Cascade-SAS/OCCT/issues</bugs-to> - <changelog>https://github.com/Open-Cascade-SAS/OCCT/releases</changelog> - <doc>https://github.com/Open-Cascade-SAS/OCCT/wiki</doc> - <remote-id type="github">Open-Cascade-SAS/OCCT</remote-id> -</upstream> -</pkgmetadata> diff --git a/sci-libs/opencascade/opencascade-7.8.1-r1.ebuild b/sci-libs/opencascade/opencascade-7.8.1-r1.ebuild deleted file mode 100644 index 83cffd45a9f7..000000000000 --- a/sci-libs/opencascade/opencascade-7.8.1-r1.ebuild +++ /dev/null @@ -1,438 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake cuda flag-o-matic multiprocessing virtualx xdg-utils - -DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange" -HOMEPAGE="https://www.opencascade.com" - -MY_PN="OCCT" - -MY_TEST_PV="7.8.0" -MY_TEST_PV2="${MY_TEST_PV//./_}" - -SRC_URI=" - test? ( - https://github.com/Open-Cascade-SAS/${MY_PN}/releases/download/V${MY_TEST_PV2}/${PN}-dataset-${MY_TEST_PV}.tar.xz - ) -" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Open-Cascade-SAS/${MY_PN}.git" -else - MY_PV="${PV//./_}" - SRC_URI+=" - https://github.com/Open-Cascade-SAS/${MY_PN}/archive/refs/tags/V${MY_PV}.tar.gz -> ${P}.tar.gz - " - S="${WORKDIR}/${MY_PN}-${MY_PV}" - - if [[ "${PV}" != *rc* ]]; then - KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" - fi -fi - -LICENSE="|| ( Open-CASCADE-LGPL-2.1-Exception-1.0 LGPL-2.1 )" -SLOT="0/$(ver_cut 1-2)" -IUSE="X debug doc freeimage gles2 jemalloc json opengl optimize tbb test testprograms tk truetype vtk" - -# vtk libs are hardcoded in src/TKIVtk*/EXTERNLIB -REQUIRED_USE=" - ?? ( - optimize - tbb - ) - test? ( - freeimage - json - opengl - tk - truetype - ) - vtk? ( - X - opengl - ) -" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-lang/tcl:= - dev-libs/double-conversion - tk? ( - dev-lang/tk:= - ) - gles2? ( - media-libs/libglvnd - ) - opengl? ( - media-libs/libglvnd[X] - ) - X? ( - x11-libs/libX11 - ) - freeimage? ( - media-libs/freeimage - ) - jemalloc? ( - dev-libs/jemalloc - ) - tbb? ( - dev-cpp/tbb:= - ) - truetype? ( - media-libs/fontconfig - media-libs/freetype:2 - ) - vtk? ( - sci-libs/vtk:=[rendering,truetype?] - tbb? ( - sci-libs/vtk[tbb] - ) - ) -" -DEPEND=" - ${RDEPEND} - X? ( - x11-base/xorg-proto - ) - json? ( - dev-libs/rapidjson - ) - test? ( - freeimage? ( - media-libs/freeimage[jpeg,mng,png,tiff] - ) - truetype? ( - media-fonts/noto-cjk - media-fonts/urw-fonts - ) - ) -" -BDEPEND=" - doc? ( - app-text/doxygen[dot] - ) - test? ( - dev-tcltk/thread - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-7.5.1-0005-fix-write-permissions-on-scripts.patch" - "${FILESDIR}/${PN}-7.5.1-0006-fix-creation-of-custom.sh-script.patch" - "${FILESDIR}/${PN}-7.7.0-fix-installation-of-cmake-config-files.patch" - "${FILESDIR}/${PN}-7.7.0-avoid-pre-stripping-binaries.patch" - "${FILESDIR}/${PN}-7.7.0-musl.patch" - "${FILESDIR}/${PN}-7.7.0-tbb-detection.patch" - "${FILESDIR}/${PN}-7.7.0-jemalloc-lib-type.patch" - "${FILESDIR}/${PN}-7.8.0-cmake-min-version.patch" - "${FILESDIR}/${PN}-7.8.0-tests.patch" - "${FILESDIR}/${PN}-7.8.0-jemalloc-noexcept.patch" - "${FILESDIR}/${PN}-7.8.1-vtk_components.patch" - "${FILESDIR}/${PN}-7.8.1-freetype-const.patch" -) - -src_unpack() { - if [[ ${PV} = *9999* ]] ; then - git-r3_src_unpack - else - unpack "${P}.tar.gz" - fi - - if use test; then - pushd "${WORKDIR}" > /dev/null || die - # should be in paths indicated by CSF_TestDataPath environment variable, - # or in subfolder data in the script directory - unpack "${PN}-dataset-${MY_TEST_PV}.tar.xz" - popd > /dev/null || die - fi -} - -src_prepare() { - # File DEFINES has not been found in - touch src/TKOpenGles/DEFINES || die - - cmake_src_prepare - - sed -e 's|/lib\$|/'"$(get_libdir)"'\$|' \ - -i adm/templates/OpenCASCADEConfig.cmake.in || die - - # There is an OCCT_UPDATE_TARGET_FILE cmake macro that fails due to some - # assumptions it makes about installation paths. Rather than fixing it, just - # get rid of the mechanism altogether - its purpose is to allow a - # side-by-side installation of release and debug libraries. - sed -e 's|\\${OCCT_INSTALL_BIN_LETTER}||' \ - -i adm/cmake/occt_toolkit.cmake || die -} - -src_configure() { - # -Werror=odr - # https://bugs.gentoo.org/862912 - # https://tracker.dev.opencascade.org/view.php?id=33091 - filter-lto - - local mycmakeargs=( - -D3RDPARTY_DIR="${ESYSROOT}/usr" - -DBUILD_CPP_STANDARD="C++17" - -DBUILD_SOVERSION_NUMBERS=2 - - -DBUILD_DOC_Overview="$(usex doc)" - -DBUILD_Inspector="no" - - -DBUILD_ENABLE_FPE_SIGNAL_HANDLER="$(usex debug)" - -DBUILD_USE_PCH="no" - # -DBUILD_OPT_PROFILE="Default" # Production - # -DBUILD_RESOURCES="yes" - # -DBUILD_YACCLEX="yes" - - -DBUILD_RELEASE_DISABLE_EXCEPTIONS="no" # bug #847916 - -DINSTALL_DIR="${EPREFIX}/usr" - -DINSTALL_DIR_BIN="$(get_libdir)/${PN}/bin" - -DINSTALL_DIR_CMAKE="$(get_libdir)/cmake/${PN}" - -DINSTALL_DIR_DATA="share/${PN}/data" - -DINSTALL_DIR_DOC="share/doc/${PF}" - -DINSTALL_DIR_INCLUDE="include/${PN}" - -DINSTALL_DIR_LIB="$(get_libdir)/${PN}" - -DINSTALL_DIR_RESOURCE="share/${PN}/resources" - # -DINSTALL_DIR_SAMPLES="share/${PN}/samples" - -DINSTALL_DIR_SCRIPT="$(get_libdir)/${PN}/bin" - -DINSTALL_DIR_TESTS="share/${PN}/tests" - -DINSTALL_DIR_WITH_VERSION="no" - -DINSTALL_SAMPLES="no" - - -DINSTALL_TEST_CASES="$(usex testprograms)" - - # no package yet in tree - -DUSE_DRACO="no" - # ffmpeg: https://tracker.dev.opencascade.org/view.php?id=32871 - -DUSE_FFMPEG="no" - -DUSE_FREEIMAGE="$(usex freeimage)" - -DUSE_FREETYPE="$(usex truetype)" - # Indicates whether OpenGL ES 2.0 should be used in OCCT visualization module - -DUSE_GLES2="$(usex gles2)" - # Indicates whether OpenGL desktop should be used in OCCT visualization module - -DUSE_OPENGL="$(usex opengl)" - # no package in tree - -DUSE_OPENVR="no" - -DUSE_RAPIDJSON="$(usex json)" - -DUSE_TBB="$(usex tbb)" - -DUSE_TK="$(usex tk)" - -DUSE_VTK="$(usex vtk)" - -DUSE_XLIB="$(usex X)" - ) - - # Select using memory manager tool. - if ! use jemalloc && ! use tbb; then - mycmakeargs+=( -DUSE_MMGR_TYPE=NATIVE ) - elif use jemalloc && ! use tbb; then - mycmakeargs+=( - -DUSE_MMGR_TYPE=JEMALLOC - -D3RDPARTY_JEMALLOC_INCLUDE_DIR="${ESYSROOT}/usr/include/jemalloc" - ) - elif ! use jemalloc && use tbb; then - mycmakeargs+=( -DUSE_MMGR_TYPE=TBB ) - elif use jemalloc && use tbb; then - mycmakeargs+=( -DUSE_MMGR_TYPE=FLEXIBLE ) - fi - - if use doc; then - mycmakeargs+=( - -DINSTALL_DOC_Overview="yes" - -D3RDPARTY_SKIP_DOT_EXECUTABLE="no" - ) - fi - - if use tbb; then - mycmakeargs+=( - -D3RDPARTY_TBB_DIR="${ESYSROOT}/usr" - ) - fi - - if use vtk; then - local vtk_ver - vtk_ver="$(best_version "sci-libs/vtk")" - vtk_ver=$(ver_cut 1-2 "${vtk_ver#sci-libs/vtk-}") - mycmakeargs+=( - -D3RDPARTY_VTK_INCLUDE_DIR="${ESYSROOT}/usr/include/vtk-${vtk_ver}" - -D3RDPARTY_VTK_LIBRARY_DIR="${ESYSROOT}/usr/$(get_libdir)" - ) - - # USE=vtk depends on sci-lib/vtk, which looks up a cuda compiler when build with USE=cuda. - # We therefore need to set the correct CUDAHOSTCXX and setup the sandbox. - if has_version "sci-libs/vtk[cuda]"; then - cuda_add_sandbox - addpredict "/dev/char" - export CUDAHOSTCXX="$(cuda_gccdir)" - fi - fi - - cmake_src_configure - - sed -e "s|lib/|$(get_libdir)/|" \ - -e "s|VAR_CASROOT|${EPREFIX}/usr|" \ - < "${FILESDIR}/${PN}.env.in" > "${T}/99${PN}" || die - - # use TBB for memory allocation optimizations - if use tbb; then - sed -e 's|^#MMGT_OPT=0$|MMGT_OPT=2|' -i "${T}/99${PN}" || die - fi - - # use internal optimized memory manager and don't clear memory with this - # memory manager. - if use optimize ; then - sed -e 's|^#MMGT_OPT=0$|MMGT_OPT=1|' \ - -e 's|^#MMGT_CLEAR=1$|MMGT_CLEAR=0|' \ - -i "${T}/99${PN}" || die - fi -} - -src_test() { - cat >> "${BUILD_DIR}/custom.sh" <<- _EOF_ || die - export CSF_TestDataPath="${WORKDIR}/${PN}-dataset-${MY_TEST_PV}" - _EOF_ - - local test_file="${T}/testscript.tcl" - - local draw_opts=( - i # see ${BUILD_DIR}/custom*.sh - # -b # batch mode (no GUI, no viewers) - -v # no GUI, use virtual (off-screen) windows for viewers - ) - - local test_names=( - "demo draw bug30430" # prone to dying due to cpu limit - ) - - local test_opts=( # run single tests - -overwrite - ) - - local test_name - for test_name in "${test_names[@]}"; do - mkdir -vp "$(dirname "${BUILD_DIR}/test_results/${test_name// /\/}.html")" || die - cat >> "${test_file}" <<- _EOF_ || die - test ${test_name} -outfile "${BUILD_DIR}/test_results/${test_name// /\/}.html" ${test_opts[@]} - _EOF_ - done - - local testgrid_opts=( - -overwrite - ) - - local SKIP_TESTS=() - local DEL_TESTS=() - - if [[ "${OCCT_OPTIONAL_TESTS}" != "true" ]]; then - SKIP_TESTS+=( - 'blend complex F4' - 'bugs' - 'geometry circ2d3Tan '{CircleCircleLin_11,CircleLinPoint_11} - 'heal checkshape bug32448_1' - 'hlr exact_hlr bug25813_2' - - 'hlr poly_hlr '{bug25813_2,bug25813_3,bug25813_4,Plate} - 'lowalgos intss bug'{565,567_1,25950,27431,29807_i1003,29807_i2006,29807_i3003,29807_i5002,30703} - 'lowalgos proximity '{A4,A5} - 'opengl background bug27836' - 'opengl drivers opengles' - 'opengles3' - - 'demo draw bug30430' - - 'offset wire_closed_inside_0_005 D1' - ) - - DEL_TESTS+=( - 'opengl/data/background/bug27836' - 'opengl/data/text/bug22149' - 'opengl/data/text/C2' - 'perf/mesh/bug26965' - 'v3d/trsf/bug26029' - ) - fi - - if ! use gles2; then - DEL_TESTS+=( - # 'opengl/drivers/opengles' - # 'opengles3' - ) - fi - - if use gles2 || use opengl; then - xdg_environment_reset - addwrite '/dev/dri/' - [[ -c /dev/udmabuf ]] && addwrite /dev/udmabuf - fi - - if ! use tk || ! use vtk; then - DEL_TESTS+=( - # 'opengl/data/transparency/oit' - ) - fi - - if ! use vtk; then - SKIP_TESTS+=( - 'vtk' - ) - cat >> "${CMAKE_USE_DIR}/tests/opengl/parse.rules" <<- _EOF_ || die - IGNORE /Could not open: libTKIVtkDraw/skip VTK - _EOF_ - fi - - if [[ -n "${SKIP_TESTS[*]}" ]]; then - testgrid_opts+=( -exclude "$(IFS=',' ; echo "${SKIP_TESTS[*]}")" ) - fi - - local test - for test in "${DEL_TESTS[@]}"; do - rm -r "${CMAKE_USE_DIR}/tests/${test}" || die - done - - testgrid_opts+=( - # -refresh 5 # default is 60 - -overwrite - -parallel "$(makeopts_jobs)" - ) - cat >> "${test_file}" <<- _EOF_ || die - testgrid -outdir "${BUILD_DIR}/test_results" ${testgrid_opts[@]} - _EOF_ - - # regenerate summary in case we have to - cat >> "${test_file}" <<- _EOF_ || die - testsummarize "${BUILD_DIR}/test_results" - _EOF_ - - # Work around zink warnings - export LIBGL_ALWAYS_SOFTWARE="true" - - local -x CASROOT="${BUILD_DIR}" - - virtx \ - "${BUILD_DIR}/draw.sh" \ - "${draw_opts[@]}" \ - -f "${test_file}" - - if [[ ! -f "${BUILD_DIR}/test_results/tests.log" ]]; then - eerror "tests never ran!" - die - fi - - failed_tests="$(grep ": FAILED" "${BUILD_DIR}/test_results/tests.log")" - if [[ -n ${failed_tests} ]]; then - eerror "Failed tests:" - eerror "${failed_tests}" - die - fi -} - -src_install() { - cmake_src_install - - doenvd "${T}/99${PN}" - - docompress -x "/usr/share/doc/${PF}/overview/html" -} diff --git a/sci-libs/opencascade/opencascade-9999.ebuild b/sci-libs/opencascade/opencascade-9999.ebuild deleted file mode 100644 index 2d66541b656f..000000000000 --- a/sci-libs/opencascade/opencascade-9999.ebuild +++ /dev/null @@ -1,448 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake cuda flag-o-matic multiprocessing virtualx xdg-utils - -DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange" -HOMEPAGE="https://www.opencascade.com" - -MY_PN="OCCT" - -MY_TEST_PV="7.9.0" -MY_TEST_PV2="${MY_TEST_PV//./_}_beta1" - -SRC_URI=" - test? ( - https://github.com/Open-Cascade-SAS/${MY_PN}/releases/download/V${MY_TEST_PV2}/${PN}-dataset-${MY_TEST_PV}.tar.xz - ) -" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Open-Cascade-SAS/${MY_PN}.git" -else - MY_PV="${PV//./_}" - SRC_URI+=" - https://github.com/Open-Cascade-SAS/${MY_PN}/archive/refs/tags/V${MY_PV}.tar.gz -> ${P}.tar.gz - " - S="${WORKDIR}/${MY_PN}-${MY_PV}" - - if [[ "${PV}" != *rc* ]]; then - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - fi -fi - -LICENSE="|| ( Open-CASCADE-LGPL-2.1-Exception-1.0 LGPL-2.1 )" -SLOT="0/$(ver_cut 1-2)" -IUSE="X debug doc freeimage gles2 jemalloc json opengl optimize tbb test testprograms tk truetype vtk" - -# vtk libs are hardcoded in src/TKIVtk*/EXTERNLIB -REQUIRED_USE=" - ?? ( - optimize - tbb - ) - test? ( - freeimage - json - opengl - tk - truetype - ) - vtk? ( - X - opengl - ) -" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-lang/tcl:= - dev-libs/double-conversion - tk? ( - dev-lang/tk:= - ) - gles2? ( - media-libs/libglvnd - ) - opengl? ( - media-libs/libglvnd[X] - ) - X? ( - x11-libs/libX11 - ) - freeimage? ( - media-libs/freeimage - ) - jemalloc? ( - dev-libs/jemalloc - ) - tbb? ( - dev-cpp/tbb:= - ) - truetype? ( - media-libs/fontconfig - media-libs/freetype:2 - ) - vtk? ( - sci-libs/vtk:=[rendering,truetype?] - tbb? ( - sci-libs/vtk[tbb] - ) - ) -" -DEPEND=" - ${RDEPEND} - X? ( - x11-base/xorg-proto - ) - json? ( - dev-libs/rapidjson - ) - test? ( - freeimage? ( - media-libs/freeimage[jpeg,mng,png,tiff] - ) - truetype? ( - media-fonts/noto-cjk - media-fonts/urw-fonts - ) - ) -" -BDEPEND=" - doc? ( - app-text/doxygen[dot] - ) - test? ( - dev-tcltk/thread - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-7.9.2-0001-fix-installation-of-cmake-config-files.patch" - "${FILESDIR}/${PN}-7.9.0-0002-avoid-pre-stripping-binaries.patch" - "${FILESDIR}/${PN}-7.9.2-0003-Fix-building-with-musl.patch" - "${FILESDIR}/${PN}-7.9.0-0004-Only-try-to-find-the-jemalloc-libs-we-are-going-to-u.patch" - "${FILESDIR}/${PN}-7.8.0-tests.patch" - "${FILESDIR}/${PN}-7.8.0-jemalloc-noexcept.patch" -) - -src_unpack() { - if [[ ${PV} = *9999* ]] ; then - git-r3_src_unpack - else - unpack "${P}.tar.gz" - fi - - if use test; then - pushd "${WORKDIR}" > /dev/null || die - # should be in paths indicated by CSF_TestDataPath environment variable, - # or in subfolder data in the script directory - unpack "${PN}-dataset-${MY_TEST_PV}.tar.xz" - popd > /dev/null || die - fi -} - -src_prepare() { - cmake_src_prepare - - # There is an OCCT_UPDATE_TARGET_FILE cmake macro that fails due to some - # assumptions it makes about installation paths. Rather than fixing it, just - # get rid of the mechanism altogether - its purpose is to allow a - # side-by-side installation of release and debug libraries. - sed -e 's|\\${OCCT_INSTALL_BIN_LETTER}||' \ - -i adm/cmake/occt_toolkit.cmake || die -} - -src_configure() { - # -Werror=odr - # https://bugs.gentoo.org/862912 - # https://tracker.dev.opencascade.org/view.php?id=33091 - filter-lto - - local mycmakeargs=( - -D3RDPARTY_DIR="${ESYSROOT}/usr" - # -DBUILD_CPP_STANDARD="C++23" - -DBUILD_SOVERSION_NUMBERS=2 - - -DBUILD_DOC_Overview="$(usex doc)" - -DBUILD_Inspector="no" - - -DBUILD_ENABLE_FPE_SIGNAL_HANDLER="$(usex debug)" - -DBUILD_USE_PCH="no" - # -DBUILD_OPT_PROFILE="Default" # Production - # -DBUILD_RESOURCES="yes" - # -DBUILD_YACCLEX="yes" - - -DBUILD_RELEASE_DISABLE_EXCEPTIONS="no" # bug #847916 - -DINSTALL_DIR="${EPREFIX}/usr" - -DINSTALL_DIR_BIN="$(get_libdir)/${PN}/bin" - -DINSTALL_DIR_CMAKE="$(get_libdir)/cmake/${PN}" - -DINSTALL_DIR_DATA="share/${PN}/data" - -DINSTALL_DIR_DOC="share/doc/${PF}" - -DINSTALL_DIR_INCLUDE="include/${PN}" - -DINSTALL_DIR_LIB="$(get_libdir)/${PN}" - -DINSTALL_DIR_RESOURCE="share/${PN}/resources" - # -DINSTALL_DIR_SAMPLES="share/${PN}/samples" - -DINSTALL_DIR_SCRIPT="$(get_libdir)/${PN}/bin" - -DINSTALL_DIR_TESTS="share/${PN}/tests" - -DINSTALL_DIR_WITH_VERSION="no" - -DINSTALL_SAMPLES="no" - - -DINSTALL_TEST_CASES="$(usex testprograms)" - - # no package yet in tree - -DUSE_DRACO="no" - # ffmpeg: https://tracker.dev.opencascade.org/view.php?id=32871 - -DUSE_FFMPEG="no" - -DUSE_FREEIMAGE="$(usex freeimage)" - -DUSE_FREETYPE="$(usex truetype)" - # Indicates whether OpenGL ES 2.0 should be used in OCCT visualization module - -DUSE_GLES2="$(usex gles2)" - # Indicates whether OpenGL desktop should be used in OCCT visualization module - -DUSE_OPENGL="$(usex opengl)" - # no package in tree - -DUSE_OPENVR="no" - -DUSE_RAPIDJSON="$(usex json)" - -DUSE_TBB="$(usex tbb)" - -DUSE_TK="$(usex tk)" - -DUSE_VTK="$(usex vtk)" - -DUSE_XLIB="$(usex X)" - ) - - # Select using memory manager tool. - if ! use jemalloc && ! use tbb; then - mycmakeargs+=( -DUSE_MMGR_TYPE=NATIVE ) - elif use jemalloc && ! use tbb; then - mycmakeargs+=( - -DUSE_MMGR_TYPE=JEMALLOC - -D3RDPARTY_JEMALLOC_INCLUDE_DIR="${ESYSROOT}/usr/include/jemalloc" - ) - elif ! use jemalloc && use tbb; then - mycmakeargs+=( -DUSE_MMGR_TYPE=TBB ) - elif use jemalloc && use tbb; then - mycmakeargs+=( -DUSE_MMGR_TYPE=FLEXIBLE ) - fi - - if use doc; then - mycmakeargs+=( - -DINSTALL_DOC_Overview="yes" - -D3RDPARTY_SKIP_DOT_EXECUTABLE="no" - ) - fi - - if use tbb; then - mycmakeargs+=( - -D3RDPARTY_TBB_DIR="${ESYSROOT}/usr" - ) - fi - - if use vtk; then - local vtk_ver - vtk_ver="$(best_version "sci-libs/vtk")" - vtk_ver=$(ver_cut 1-2 "${vtk_ver#sci-libs/vtk-}") - mycmakeargs+=( - -D3RDPARTY_VTK_INCLUDE_DIR="${ESYSROOT}/usr/include/vtk-${vtk_ver}" - -D3RDPARTY_VTK_LIBRARY_DIR="${ESYSROOT}/usr/$(get_libdir)" - ) - - # USE=vtk depends on sci-lib/vtk, which looks up a cuda compiler when build with USE=cuda. - # We therefore need to set the correct CUDAHOSTCXX and setup the sandbox. - if has_version "sci-libs/vtk[cuda]"; then - cuda_add_sandbox - addpredict "/dev/char" - export CUDAHOSTCXX="$(cuda_gccdir)" - fi - fi - - cmake_src_configure - - sed -e "s|lib/|$(get_libdir)/|" \ - -e "s|VAR_CASROOT|${EPREFIX}/usr|" \ - < "${FILESDIR}/${PN}.env.in" > "${T}/99${PN}" || die - - # use TBB for memory allocation optimizations - if use tbb; then - sed -e 's|^#MMGT_OPT=0$|MMGT_OPT=2|' -i "${T}/99${PN}" || die - fi - - # use internal optimized memory manager and don't clear memory with this - # memory manager. - if use optimize ; then - sed -e 's|^#MMGT_OPT=0$|MMGT_OPT=1|' \ - -e 's|^#MMGT_CLEAR=1$|MMGT_CLEAR=0|' \ - -i "${T}/99${PN}" || die - fi -} - -src_test() { - cat >> "${BUILD_DIR}/custom.sh" <<- _EOF_ || die - export CSF_TestDataPath="${WORKDIR}/${PN}-dataset-${MY_TEST_PV}" - _EOF_ - - local test_file="${T}/testscript.tcl" - - local draw_opts=( - i # see ${BUILD_DIR}/custom*.sh - # -b # batch mode (no GUI, no viewers) - -v # no GUI, use virtual (off-screen) windows for viewers - ) - - local test_names=( - "demo draw bug30430" # prone to dying due to cpu limit - ) - - local test_opts=( # run single tests - -overwrite - ) - - local test_name - for test_name in "${test_names[@]}"; do - mkdir -vp "$(dirname "${BUILD_DIR}/test_results/${test_name// /\/}.html")" || die - cat >> "${test_file}" <<- _EOF_ || die - test ${test_name} -outfile "${BUILD_DIR}/test_results/${test_name// /\/}.html" ${test_opts[@]} - _EOF_ - done - - local testgrid_opts=( - -overwrite - ) - - local SKIP_TESTS=() - local DEL_TESTS=() - - if [[ "${OCCT_OPTIONAL_TESTS}" != "true" ]]; then - SKIP_TESTS+=( - "demo draw bug30430" - - 'blend complex F4' - - # skip all bugs - 'bugs' - - # skip failing bugs - # 'bugs caf bug31918_'{1,2} - # 'bugs fclasses bug'{6143,7287_{3,5},29064} - # 'bugs filling bug16119' - # 'bugs mesh bug'{24127,25594,26372,27693,27845,29641,29962,30008_2,30442,31258,31461,32241,32422} - # 'bugs modalg_1 '{buc60782_3,bug15036} - # 'bugs modalg_2 bug399' - # 'bugs modalg_5 bug23706_'{16,20,21,26,36,38,43,44,45,48,49,50,51,52,53,54,55,56,60,61} - # 'bugs modalg_5 bug24347' - # 'bugs modalg_6 bug'{26308,26525_3,27383_4,27884,6768} - # 'bugs modalg_7 bug'{26034,29311_4,29807_b3a,29807_sc01} - # 'bugs moddata_1 bug16' - # 'bugs moddata_2 bug712_2' - # 'bugs moddata_3 bug'{24959_1,27534,32058} - - 'geometry circ2d3Tan Circle'{CircleLin_11,LinPoint_11} - 'heal checkshape bug32448_1' - 'hlr exact_hlr bug25813_2' - 'hlr poly_hlr '{Plate,bug25813_{2,3,4}} - 'lowalgos intss bug'{25950,27431,29807_i{1003,2006,3003},30703,565,567_1} - 'lowalgos proximity A'{4,5} - 'offset wire_closed_inside_0_005 D1' - 'opengles3 general msaa' - 'opengles3 geom interior'{1,2} - 'opengles3 raytrace msaa' - 'opengles3 textures alpha_mask' - 'perf mesh bug26965' - - 'opengl background bug27836' - 'opengles3 background bug27836' - ) - - DEL_TESTS+=( - # Error: non-linear time growth detected! - # 'v3d/trsf/bug26029' - - # needs dri3 - # 'opengl/drivers/opengles' - # 'opengles3' - ) - fi - - if ! use gles2; then - DEL_TESTS+=( - # 'opengl/drivers/opengles' - # 'opengles3' - ) - fi - - if use gles2 || use opengl; then - xdg_environment_reset - addwrite '/dev/dri/' - [[ -c /dev/udmabuf ]] && addwrite /dev/udmabuf - fi - - if ! use tk || ! use vtk; then - DEL_TESTS+=( - # 'opengl/data/transparency/oit' - ) - fi - - if ! use vtk; then - SKIP_TESTS+=( - 'vtk' - ) - cat >> "${CMAKE_USE_DIR}/tests/opengl/parse.rules" <<- _EOF_ || die - IGNORE /Could not open: libTKIVtkDraw/skip VTK - _EOF_ - fi - - if [[ -n "${SKIP_TESTS[*]}" ]]; then - testgrid_opts+=( -exclude "$(IFS=',' ; echo "${SKIP_TESTS[*]}")" ) - fi - - local test - for test in "${DEL_TESTS[@]}"; do - rm -r "${CMAKE_USE_DIR}/tests/${test}" || die - done - - testgrid_opts+=( - # -refresh 5 # default is 60 - -overwrite - -parallel "$(makeopts_jobs)" - ) - cat >> "${test_file}" <<- _EOF_ || die - testgrid -outdir "${BUILD_DIR}/test_results" ${testgrid_opts[@]} - _EOF_ - - # regenerate summary in case we have to - cat >> "${test_file}" <<- _EOF_ || die - testsummarize "${BUILD_DIR}/test_results" - _EOF_ - - # Work around zink warnings - export LIBGL_ALWAYS_SOFTWARE="true" - - local -x CASROOT="${BUILD_DIR}" - - virtx \ - "${BUILD_DIR}/draw.sh" \ - "${draw_opts[@]}" \ - -f "${test_file}" - - if [[ ! -f "${BUILD_DIR}/test_results/tests.log" ]]; then - eerror "tests never ran!" - die - fi - - failed_tests="$(grep ": FAILED" "${BUILD_DIR}/test_results/tests.log")" - if [[ -n ${failed_tests} ]]; then - eerror "Failed tests:" - eerror "${failed_tests}" - die - fi -} - -src_install() { - cmake_src_install - - doenvd "${T}/99${PN}" - - docompress -x "/usr/share/doc/${PF}/overview/html" -} diff --git a/sci-libs/openlibm/Manifest b/sci-libs/openlibm/Manifest deleted file mode 100644 index 80af70a0ccdd..000000000000 --- a/sci-libs/openlibm/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST openlibm-0.8.3.tar.gz 374991 BLAKE2B 91474b5c9480753dafb2f85521a8909eaa00febc871bd71d6ffecfd1001200ce66c66c43f4f5738215f04bc109035dcceb2a9f6319e8b9405e6cab65e802aafb SHA512 1c6969e6e3117ddc066697318e43cf42d170750cb85cbed6013eb29d7513d5998eeffbff4a658d222cf637977cb7dca34b7a15814f8870f4e36e880673d757c0 diff --git a/sci-libs/openlibm/files/openlibm-0.8.3-fix-loong-riscv-fenv.patch b/sci-libs/openlibm/files/openlibm-0.8.3-fix-loong-riscv-fenv.patch deleted file mode 100644 index 3e66dfaa46a9..000000000000 --- a/sci-libs/openlibm/files/openlibm-0.8.3-fix-loong-riscv-fenv.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://github.com/JuliaMath/openlibm/commit/c4667caea25ae3487adf6760b4a1dcf32477a4b8 -https://github.com/JuliaMath/openlibm/pull/308 -shipped in openlibm 0.8.4 -From: Li Bohai <lbhlbhlbh2002@icloud.com> -Date: Sat, 9 Nov 2024 21:40:26 +0800 -Subject: [PATCH] Fix fenv_t initializer (#308) - ---- a/loongarch64/fenv.c -+++ b/loongarch64/fenv.c -@@ -1,5 +1,5 @@ - #define __fenv_static --#include <fenv.h> -+#include <openlibm_fenv.h> - - #ifdef __GNUC_GNU_INLINE__ - #error "This file must be compiled with C99 'inline' semantics" ---- a/riscv64/fenv.c -+++ b/riscv64/fenv.c -@@ -27,7 +27,7 @@ - */ - - #define __fenv_static --#include "fenv.h" -+#include <openlibm_fenv.h> - - #ifdef __GNUC_GNU_INLINE__ - #error "This file must be compiled with C99 'inline' semantics" diff --git a/sci-libs/openlibm/files/openlibm-0.8.3-stack-protection.patch b/sci-libs/openlibm/files/openlibm-0.8.3-stack-protection.patch deleted file mode 100644 index 91e28b238624..000000000000 --- a/sci-libs/openlibm/files/openlibm-0.8.3-stack-protection.patch +++ /dev/null @@ -1,73 +0,0 @@ -# https://github.com/JuliaMath/openlibm/pull/307 -From 435459ec45b368e618578d2a526edd0c51709ad1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jakov=20Smoli=C4=87?= <jsmolic@gentoo.org> -Date: Mon, 5 Aug 2024 00:02:28 +0200 -Subject: [PATCH] Add stack markings for GNU to fmod assembly files - -This adds stack markings to the missing fmod .S files, otherwise the -final libopenlibm object file gets marked with an executable stack. - -Output when compiling from source on Gentoo Linux: - -``` - * QA Notice: The following files contain writable and executable sections - * Files with such sections will not work properly (or at all!) on some - * architectures/operating systems. A bug should be filed at - * https://bugs.gentoo.org/ to make sure the issue is fixed. - * For more information, see: - * - * https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart - * - * Please include the following list of files in your report: - * Note: Bugs should be filed for the respective maintainers - * of the package in question and not hardened@gentoo.org. - * RWX --- --- usr/lib64/libopenlibm.so.4.0 -``` ---- - amd64/e_fmod.S | 5 +++++ - amd64/e_fmodf.S | 5 +++++ - amd64/e_fmodl.S | 5 +++++ - 3 files changed, 15 insertions(+) - -diff --git a/amd64/e_fmod.S b/amd64/e_fmod.S -index 37cae39..d2c8ecd 100644 ---- a/amd64/e_fmod.S -+++ b/amd64/e_fmod.S -@@ -49,3 +49,8 @@ ENTRY(fmod) - fstp %st - ret - END(fmod) -+ -+/* Enable stack protection */ -+#if defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff --git a/amd64/e_fmodf.S b/amd64/e_fmodf.S -index 197892e..b045e73 100644 ---- a/amd64/e_fmodf.S -+++ b/amd64/e_fmodf.S -@@ -19,3 +19,8 @@ ENTRY(fmodf) - fstp %st - ret - END(fmodf) -+ -+/* Enable stack protection */ -+#if defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff --git a/amd64/e_fmodl.S b/amd64/e_fmodl.S -index 64be92f..cab539d 100644 ---- a/amd64/e_fmodl.S -+++ b/amd64/e_fmodl.S -@@ -45,3 +45,8 @@ ENTRY(fmodl) - fstp %st(1) - ret - END(fmodl) -+ -+/* Enable stack protection */ -+#if defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif --- -2.44.2 - diff --git a/sci-libs/openlibm/metadata.xml b/sci-libs/openlibm/metadata.xml deleted file mode 100644 index f1a004933158..000000000000 --- a/sci-libs/openlibm/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - OpenLibm is an effort to have a high quality, portable, standalone C - mathematical library (libm). It can be used standalone in applications - and programming language implementations. - The project was born out of a need to have a good libm for the Julia - programming langage that worked consistently across compilers and - operating systems, and in 32-bit and 64-bit environments. - </longdescription> - <upstream> - <remote-id type="github">JuliaLang/openlibm</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/openlibm/openlibm-0.8.3.ebuild b/sci-libs/openlibm/openlibm-0.8.3.ebuild deleted file mode 100644 index 45c8c1d754d5..000000000000 --- a/sci-libs/openlibm/openlibm-0.8.3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="High quality system independent, open source libm" -HOMEPAGE="https://github.com/JuliaLang/openlibm" -SRC_URI="https://github.com/JuliaMath/openlibm/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -IUSE="static-libs" -LICENSE="public-domain MIT ISC BSD-2 LGPL-2.1+" -# See https://abi-laboratory.pro/index.php?view=timeline&l=openlibm -SLOT="0/4" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 x86" - -PATCHES=( - "${FILESDIR}"/${P}-stack-protection.patch - "${FILESDIR}"/${P}-fix-loong-riscv-fenv.patch -) - -src_prepare() { - default - sed -e "/^OLM_LIBS :=/s/^/#/" -i Makefile || die - if ! use static-libs ; then - sed -e "/install: /s/install-static//" -i Makefile || die - fi -} - -src_compile() { - # Build system uses different ARCH for the following arches - case "${ARCH}" in - loong) export ARCH=loongarch64 ;; - riscv) export ARCH=riscv64 ;; - x86) export ARCH=i387 ;; - esac - - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - FC="$(tc-getFC)" \ - AR="$(tc-getAR)" \ - LD="$(tc-getLD)" -} - -src_install() { - emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \ - libdir="${EPREFIX}/usr/$(get_libdir)" install - dodoc README.md -} diff --git a/sci-libs/orocos-bfl/Manifest b/sci-libs/orocos-bfl/Manifest deleted file mode 100644 index d0a23c309446..000000000000 --- a/sci-libs/orocos-bfl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST orocos-bfl-0.8.0-src.tar.bz2 212899 BLAKE2B 86e4161ffd627a8546a70ce0a577aa965475e70429861578e46aa4e67ca06c42784790c65c712ad7da80b6e414901731b222f712a7983f112b4026f9c3acdd15 SHA512 045bbc415feec66206774a8bdea3843a7edf233d221bd639b1dcc01906386ff55f114a9685e1008b741ae895e6aef33641a1eab67cb106d23a085d77f1a937d5 diff --git a/sci-libs/orocos-bfl/metadata.xml b/sci-libs/orocos-bfl/metadata.xml deleted file mode 100644 index 89b745071952..000000000000 --- a/sci-libs/orocos-bfl/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> -<email>aballier@gentoo.org</email> -<name>Alexis Ballier</name> -</maintainer> -<longdescription lang="en"> - The Bayesian Filtering Library (BFL) provides an application independent framework - for inference in Dynamic Bayesian Networks, i.e., recursive information processing - and estimation algorithms based on Bayes' rule, such as (Extended) Kalman Filters, - Particle Filters (or Sequential Monte Carlo methods), etc. -</longdescription> -</pkgmetadata> diff --git a/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild b/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild deleted file mode 100644 index 303009dda3e2..000000000000 --- a/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Bayesian Filtering Library" -HOMEPAGE="https://orocos.org/bfl" -SRC_URI="https://people.mech.kuleuven.be/~tdelaet/bfl_tar/${P}-src.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-libs/boost:=" -DEPEND="${RDEPEND} - test? ( dev-util/cppunit )" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/doxygen - virtual/latex-base - )" - -src_prepare() { - cmake_src_prepare - - sed -e 's:/lib:/${CMAKE_INSTALL_LIBDIR}:' \ - -i {,src/,src/bindings/rtt/}CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DLIBRARY_TYPE=shared - # installs test binaries - -DBUILD_EXAMPLES=NO - -DBUILD_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc ; then - cd "${BUILD_DIR}" || die - doxygen || die - cd "${S}/docs" || die - pdflatex getting_started_guide || die - pdflatex getting_started_guide || die - - HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) - fi -} - -src_test() { - cmake_build check -} - -src_install() { - cmake_src_install - use doc && dodoc docs/getting_started_guide.pdf -} diff --git a/sci-libs/p4est/Manifest b/sci-libs/p4est/Manifest deleted file mode 100644 index 9674c2fdc48a..000000000000 --- a/sci-libs/p4est/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST p4est-2.8.6.tar.gz 4589078 BLAKE2B 7f868cf38aa4e0abc50b4c1071ca39ada2fa9cc973f31bb0365eb1bf447f9a23fa570ada525b1482cb8120a534582cf978ccae83048d27c439ea07572171e928 SHA512 e5892cf153cb4204c2ae3c1389c6a872113b037abda1d0f95df062ad2651a2231b1e3cabdc8e86f3f61ad021274a069acf7ec801281164740a8018ac46b07c96 -DIST p4est-2.8.7.tar.gz 5320783 BLAKE2B 0a771b2448f1ed999ddab707b255213589ef70cc47f75e5c592504ae8f6bc416f643b2a36b04717b97c178ddcb5c2dc5aae8bf58e49a95b5958ea99c700380d5 SHA512 2f132cf2ad296ebf632a699605b05fffc5c3dd9bf80fa280a1dec722f0e8a004bccad6e5b151b46bcafa85c0bbe620b93e407734989be5b504c3dacf863e22fe diff --git a/sci-libs/p4est/files/p4est-2.8.6-fix_build_system.patch b/sci-libs/p4est/files/p4est-2.8.6-fix_build_system.patch deleted file mode 100644 index 02119d362415..000000000000 --- a/sci-libs/p4est/files/p4est-2.8.6-fix_build_system.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 95013ba..6d10c7c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -8,6 +8,8 @@ HOMEPAGE_URL https://www.p4est.org/ - DESCRIPTION "p4est manages a collection---a forest---of octrees in parallel." - VERSION ${PROJECT_VERSION}) - -+set(CMAKE_POSITION_INDEPENDENT_CODE ON) -+ - enable_testing() - - # --- user options -@@ -47,7 +49,10 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/src/ ${PROJECT_BINARY_DIR}/include/ - TYPE INCLUDE - FILES_MATCHING PATTERN "*.h") - --install(TARGETS p4est EXPORT ${PROJECT_NAME}-targets) -+install(TARGETS p4est EXPORT ${PROJECT_NAME}-targets -+ ARCHIVE DESTINATION ${library_reldir} -+ LIBRARY DESTINATION ${library_reldir} -+ ) - - #--- p8est - diff --git a/sci-libs/p4est/files/p4est-2.8.6-fix_cmake_path.patch b/sci-libs/p4est/files/p4est-2.8.6-fix_cmake_path.patch deleted file mode 100644 index 55bd118d9a51..000000000000 --- a/sci-libs/p4est/files/p4est-2.8.6-fix_cmake_path.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/cmake/install.cmake b/cmake/install.cmake -index f4f92c4..0f31976 100644 ---- a/cmake/install.cmake -+++ b/cmake/install.cmake -@@ -4,7 +4,7 @@ include(CMakePackageConfigHelpers) - - configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/config.cmake.in - ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}Config.cmake --INSTALL_DESTINATION cmake -+INSTALL_DESTINATION ${library_reldir}/cmake/P4est - ) - - write_basic_package_version_file( -@@ -14,13 +14,13 @@ COMPATIBILITY SameMajorVersion - - install(EXPORT ${PROJECT_NAME}-targets - NAMESPACE ${PROJECT_NAME}:: --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/P4est - ) - - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}Config.cmake - ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}ConfigVersion.cmake --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/P4est - ) - - # --- CPack -diff --git a/cmake/pkgconf.cmake b/cmake/pkgconf.cmake -index 590d7be..0c46f9d 100644 ---- a/cmake/pkgconf.cmake -+++ b/cmake/pkgconf.cmake -@@ -4,18 +4,8 @@ set(pc_req_private "ompi ompi-c orte zlib") - - set(pc_req_public "p4est sc") - --set(pc_filename p4est-${git_version}.pc) -+set(pc_filename p4est.pc) - configure_file(${CMAKE_CURRENT_LIST_DIR}/pkgconf.pc.in ${pc_filename} @ONLY) - - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${pc_filename} -- DESTINATION lib/pkgconfig) -- --set(pc_target ${pc_filename}) --set(pc_link ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/p4est.pc) -- --install(CODE "execute_process( \ -- COMMAND ${CMAKE_COMMAND} -E create_symlink \ -- ${pc_target} \ -- ${pc_link} \ -- )" -- ) -+ DESTINATION ${library_reldir}/pkgconfig) diff --git a/sci-libs/p4est/files/p4est-2.8.6-set_version.patch b/sci-libs/p4est/files/p4est-2.8.6-set_version.patch deleted file mode 100644 index c37943e21c15..000000000000 --- a/sci-libs/p4est/files/p4est-2.8.6-set_version.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/cmake/git.cmake b/cmake/git.cmake -index 4718b8e..c2c594d 100644 ---- a/cmake/git.cmake -+++ b/cmake/git.cmake -@@ -1,39 +1,6 @@ - # --- extract version from Git - --set(PROJECT_MAJOR 0) --set(PROJECT_MINOR 0) --set(PROJECT_PATCH 0) --set(PROJECT_VERSION 0.0.0) --find_program(GIT_VERSION_GEN NAMES git-version-gen -- PATHS ${PROJECT_SOURCE_DIR}/build-aux NO_DEFAULT_PATH) --if(GIT_VERSION_GEN) -- execute_process(COMMAND ${GIT_VERSION_GEN} .tarball-version -- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -- RESULT_VARIABLE _err -- OUTPUT_VARIABLE git_version -- OUTPUT_STRIP_TRAILING_WHITESPACE) --endif() --if(_err EQUAL 0) -- if(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.].*") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}.999) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}) -- endif() --endif() -+set(PROJECT_MAJOR 2) -+set(PROJECT_MINOR 8) -+set(PROJECT_PATCH 6) -+set(PROJECT_VERSION 2.8.6) diff --git a/sci-libs/p4est/files/p4est-2.8.6-use_external_sc.patch b/sci-libs/p4est/files/p4est-2.8.6-use_external_sc.patch deleted file mode 100644 index b46f5882e6b8..000000000000 --- a/sci-libs/p4est/files/p4est-2.8.6-use_external_sc.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index da1b21a..77fee88 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -20,9 +20,7 @@ message(STATUS "p4est ${PROJECT_VERSION} " - - # --- external libs - --include(cmake/GitSubmodule.cmake) --git_submodule("${PROJECT_SOURCE_DIR}/sc") --add_subdirectory(sc) -+find_package(SC REQUIRED) - - # --- configure p4est - diff --git a/sci-libs/p4est/files/p4est-2.8.7-fix_build_system.patch b/sci-libs/p4est/files/p4est-2.8.7-fix_build_system.patch deleted file mode 100644 index a02b3050c760..000000000000 --- a/sci-libs/p4est/files/p4est-2.8.7-fix_build_system.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dbb0be2..6b17ba3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -8,6 +8,8 @@ HOMEPAGE_URL https://www.p4est.org/ - DESCRIPTION "p4est manages a collection---a forest---of octrees in parallel." - VERSION ${PROJECT_VERSION}) - -+set(CMAKE_POSITION_INDEPENDENT_CODE ON) -+ - enable_testing() - - # --- user options -@@ -60,7 +62,9 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/src/ ${PROJECT_BINARY_DIR}/include/ - TYPE INCLUDE - FILES_MATCHING PATTERN "*.h") - --install(TARGETS p4est EXPORT ${PROJECT_NAME}-targets) -+install(TARGETS p4est EXPORT ${PROJECT_NAME}-targets -+ ARCHIVE DESTINATION ${library_reldir} -+ LIBRARY DESTINATION ${library_reldir}) - - #--- p8est - diff --git a/sci-libs/p4est/files/p4est-2.8.7-fix_cmake_path.patch b/sci-libs/p4est/files/p4est-2.8.7-fix_cmake_path.patch deleted file mode 100644 index f310efbd3a83..000000000000 --- a/sci-libs/p4est/files/p4est-2.8.7-fix_cmake_path.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff --git a/cmake/install.cmake b/cmake/install.cmake -index 7fa3d4c..bf1f210 100644 ---- a/cmake/install.cmake -+++ b/cmake/install.cmake -@@ -4,7 +4,7 @@ include(CMakePackageConfigHelpers) - - configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/config.cmake.in - ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}Config.cmake --INSTALL_DESTINATION cmake -+INSTALL_DESTINATION ${library_reldir}/cmake/P4est - ) - - write_basic_package_version_file( -@@ -14,13 +14,13 @@ COMPATIBILITY SameMajorVersion - - install(EXPORT ${PROJECT_NAME}-targets - NAMESPACE ${PROJECT_NAME}:: --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/P4est - ) - - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}Config.cmake - ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}ConfigVersion.cmake --DESTINATION cmake -+DESTINATION ${library_reldir}/cmake/P4est - ) - - # --- CPack -diff --git a/cmake/pkgconf.cmake b/cmake/pkgconf.cmake -index 590d7be..097412e 100644 ---- a/cmake/pkgconf.cmake -+++ b/cmake/pkgconf.cmake -@@ -8,14 +8,4 @@ set(pc_filename p4est-${git_version}.pc) - configure_file(${CMAKE_CURRENT_LIST_DIR}/pkgconf.pc.in ${pc_filename} @ONLY) - - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${pc_filename} -- DESTINATION lib/pkgconfig) -- --set(pc_target ${pc_filename}) --set(pc_link ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/p4est.pc) -- --install(CODE "execute_process( \ -- COMMAND ${CMAKE_COMMAND} -E create_symlink \ -- ${pc_target} \ -- ${pc_link} \ -- )" -- ) -+ DESTINATION ${library_reldir}/pkgconfig) diff --git a/sci-libs/p4est/files/p4est-2.8.7-set_version.patch b/sci-libs/p4est/files/p4est-2.8.7-set_version.patch deleted file mode 100644 index 138a5439518b..000000000000 --- a/sci-libs/p4est/files/p4est-2.8.7-set_version.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/cmake/git.cmake b/cmake/git.cmake -index 10e8d14..0ab2893 100644 ---- a/cmake/git.cmake -+++ b/cmake/git.cmake -@@ -1,39 +1,6 @@ - # --- extract version from Git - --set(PROJECT_MAJOR 0) --set(PROJECT_MINOR 0) --set(PROJECT_PATCH 0) --set(PROJECT_VERSION 0.0.0) --find_program(GIT_VERSION_GEN NAMES git-version-gen -- PATHS ${CMAKE_CURRENT_SOURCE_DIR}/build-aux NO_DEFAULT_PATH) --if(GIT_VERSION_GEN) -- execute_process(COMMAND ${GIT_VERSION_GEN} .tarball-version -- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -- RESULT_VARIABLE _err -- OUTPUT_VARIABLE git_version -- OUTPUT_STRIP_TRAILING_WHITESPACE) --endif() --if(_err EQUAL 0) -- if(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.].*") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}.999) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_PATCH "${CMAKE_MATCH_3}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}.${PROJECT_PATCH}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_MINOR "${CMAKE_MATCH_2}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}.${PROJECT_MINOR}) -- elseif(git_version MATCHES -- "^(0|[1-9][0-9]*)") -- set(PROJECT_MAJOR "${CMAKE_MATCH_1}") -- set(PROJECT_VERSION ${PROJECT_MAJOR}) -- endif() --endif() -+set(PROJECT_MAJOR 2) -+set(PROJECT_MINOR 8) -+set(PROJECT_PATCH 7) -+set(PROJECT_VERSION 2.8.7) diff --git a/sci-libs/p4est/metadata.xml b/sci-libs/p4est/metadata.xml deleted file mode 100644 index f29f22e517cb..000000000000 --- a/sci-libs/p4est/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -The p4est software library enables the dynamic management of a collection -of adaptive octrees, conveniently called a forest of octrees. p4est is -designed to work in parallel and scale to hundreds of thousands of -processor cores. - </longdescription> - <use> - <flag name="vtk-binary">Enable binary vtk output. If disabled vtk files will be written in ASCII text format.</flag> - </use> - <upstream> - <remote-id type="github">cburstedde/libsc</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/p4est/p4est-2.8.6.ebuild b/sci-libs/p4est/p4est-2.8.6.ebuild deleted file mode 100644 index 6ac0a519e591..000000000000 --- a/sci-libs/p4est/p4est-2.8.6.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on Forests of Octrees" -HOMEPAGE="http://www.p4est.org/" - -LIBSC_VERSION="${PV}" - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" - EGIT_BRANCH="develop" -else - SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2+" -SLOT="0" - -# TODO petsc -IUSE="debug doc examples mpi openmp threads +vtk-binary" - -RDEPEND=" - ~sci-libs/libsc-${LIBSC_VERSION}[mpi=,openmp=,threads=] - sys-apps/util-linux - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[romio] )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-fix_build_system.patch - "${FILESDIR}"/${P}-set_version.patch - "${FILESDIR}"/${P}-fix_cmake_path.patch - "${FILESDIR}"/${P}-use_external_sc.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # avoid using debug codepaths that are manually enabled with the - # RelWithDebInfo build type - local CMAKE_BUILD_TYPE="Release" - - local mycmakeargs=( - -DP4EST_ENABLE_MPI="$(usex mpi)" - -Dlibrary_reldir="$(get_libdir)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - mkdir -p "${ED}"/usr/share/doc/${PF} - mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${PF}/ || die "mv failed" - rm -r "${ED}"/usr/share/docs || die "rm failed" -} diff --git a/sci-libs/p4est/p4est-2.8.7.ebuild b/sci-libs/p4est/p4est-2.8.7.ebuild deleted file mode 100644 index 29de5c7639e7..000000000000 --- a/sci-libs/p4est/p4est-2.8.7.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on Forests of Octrees" -HOMEPAGE="http://www.p4est.org/" - -LIBSC_VERSION="${PV}" - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" - EGIT_BRANCH="develop" -else - SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2+" -SLOT="0" - -# TODO petsc -IUSE="debug doc examples mpi threads +vtk-binary" - -RDEPEND=" - ~sci-libs/libsc-${LIBSC_VERSION}[mpi=,threads=] - sys-apps/util-linux - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[romio] )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-fix_build_system.patch - "${FILESDIR}"/${P}-set_version.patch - "${FILESDIR}"/${P}-fix_cmake_path.patch -) - -src_configure() { - # avoid using debug codepaths that are manually enabled with the - # RelWithDebInfo build type - local CMAKE_BUILD_TYPE="Release" - - local mycmakeargs=( - -DP4EST_ENABLE_MPI="$(usex mpi)" - -DP4EST_USE_SYSTEM_SC=yes - -Dlibrary_reldir="$(get_libdir)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - mkdir -p "${ED}"/usr/share/doc/${PF} - mv "${ED}"/usr/share/docs/P4EST/* "${ED}"/usr/share/doc/${PF}/ || die "mv failed" - rm -r "${ED}"/usr/share/docs || die "rm failed" -} diff --git a/sci-libs/parmetis/Manifest b/sci-libs/parmetis/Manifest deleted file mode 100644 index 914eb38734ce..000000000000 --- a/sci-libs/parmetis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST parmetis-4.0.3_p20230326.tar.gz 5312266 BLAKE2B 52f34982cff0aa3dbc26dde1bab72ff1a8f5fa20feba72deedc600fcb0d73c9d05f3a43bf5713f9a7db74695affaedd5ea5f691396f5d02c58ad26dc5a779592 SHA512 a71d212a1c8682eb662ef6bb8bdcb124bc13c353e76ac236b01e544bddb975740c36be54c05305e1114e4daf20fec56642ffa319a6426c87c5538ea2225c156b diff --git a/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-cmake4.patch b/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-cmake4.patch deleted file mode 100644 index 9a4ac63be27f..000000000000 --- a/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-cmake4.patch +++ /dev/null @@ -1,21 +0,0 @@ -Source: https://github.com/KarypisLab/ParMETIS/pull/34 - -From c4731003101f0579505c3fe6c07247e17be24e39 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <foss@grueninger.de> -Date: Fri, 4 Jul 2025 23:14:49 +0200 -Subject: [PATCH] Require CMake 3.10 - ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 146bc5f..b1661a9 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8) -+cmake_minimum_required(VERSION 3.10) - project(ParMETIS C) - - diff --git a/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-multilib.patch b/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-multilib.patch deleted file mode 100644 index cccf5a45f36e..000000000000 --- a/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-multilib.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 146bc5f..faa1cfd 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -30,9 +30,9 @@ include_directories(${CMAKE_INSTALL_PREFIX}/include) - - # List of paths that the compiler will search for library files. - # i.e., the -L equivalent --link_directories(${GKLIB_PATH}/lib) --link_directories(${METIS_PATH}/lib) --link_directories(${CMAKE_INSTALL_PREFIX}/lib) -+link_directories(${GKLIB_PATH}/lib${LIB_SUFFIX}) -+link_directories(${METIS_PATH}/lib${LIB_SUFFIX}) -+link_directories(${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}) - - # List of directories that cmake will look for CMakeLists.txt - add_subdirectory(include) -diff --git a/libparmetis/CMakeLists.txt b/libparmetis/CMakeLists.txt -index b9d6d84..c0553e7 100644 ---- a/libparmetis/CMakeLists.txt -+++ b/libparmetis/CMakeLists.txt -@@ -12,6 +12,6 @@ if(SHARED) - endif() - - install(TARGETS parmetis -- LIBRARY DESTINATION lib -- RUNTIME DESTINATION lib -- ARCHIVE DESTINATION lib) -+ LIBRARY DESTINATION lib${LIB_SUFFIX} -+ RUNTIME DESTINATION lib${LIB_SUFFIX} -+ ARCHIVE DESTINATION lib${LIB_SUFFIX}) diff --git a/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-respect-user-flags.patch b/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-respect-user-flags.patch deleted file mode 100644 index 4aa19580619e..000000000000 --- a/sci-libs/parmetis/files/parmetis-4.0.3_p20230326-respect-user-flags.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/conf/gkbuild.cmake b/conf/gkbuild.cmake -index ec91224..5e66546 100644 ---- a/conf/gkbuild.cmake -+++ b/conf/gkbuild.cmake -@@ -28,17 +28,6 @@ endif(CYGWIN) - if(CMAKE_COMPILER_IS_GNUCC) - # GCC opts. - set(GK_COPTIONS "${GK_COPTIONS} -std=c99 -fno-strict-aliasing") --# -march=native is not a valid flag on PPC: --if(CMAKE_SYSTEM_PROCESSOR MATCHES "power|ppc|powerpc|ppc64|powerpc64" OR (APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc|ppc64")) -- set(GK_COPTIONS "${GK_COPTIONS} -mtune=native") --else() -- set(GK_COPTIONS "${GK_COPTIONS} -march=native") --endif() -- if(NOT MINGW) -- set(GK_COPTIONS "${GK_COPTIONS} -fPIC") -- endif(NOT MINGW) --# GCC warnings. -- set(GK_COPTIONS "${GK_COPTIONS} -Werror -Wall -pedantic -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-label") - elseif(${CMAKE_C_COMPILER_ID} MATCHES "Sun") - # Sun insists on -xc99. - set(GK_COPTIONS "${GK_COPTIONS} -xc99") -@@ -65,24 +54,6 @@ if(OPENMP) - endif(OPENMP) - - --# Add various definitions. --if(GDB) -- set(GK_COPTS "${GK_COPTS} -g") -- set(GK_COPTIONS "${GK_COPTIONS} -Werror") --else() -- set(GK_COPTS "-O3") --endif(GDB) -- -- --if(DEBUG) -- set(GK_COPTS "-Og") -- set(GK_COPTIONS "${GK_COPTIONS} -DDEBUG") --endif(DEBUG) -- --if(GPROF) -- set(GK_COPTS "-pg") --endif(GPROF) -- - if(NOT ASSERT) - set(GK_COPTIONS "${GK_COPTIONS} -DNDEBUG") - endif(NOT ASSERT) diff --git a/sci-libs/parmetis/metadata.xml b/sci-libs/parmetis/metadata.xml deleted file mode 100644 index bf62d9f372a0..000000000000 --- a/sci-libs/parmetis/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - ParMETIS is an MPI-based parallel library that implements a variety - of algorithms for partitioning unstructured graphs and for computing - fill-reducing orderings of sparse matrices. ParMETIS extends the - functionality provided by METIS and includes routines that are - especially suited for parallel AMR computations and large scale - numerical simulations. - </longdescription> - <upstream> - <remote-id type="github">KarypisLab/ParMETIS</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/parmetis/parmetis-4.0.3_p20230326-r1.ebuild b/sci-libs/parmetis/parmetis-4.0.3_p20230326-r1.ebuild deleted file mode 100644 index 61b9d13c7a5e..000000000000 --- a/sci-libs/parmetis/parmetis-4.0.3_p20230326-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -COMMIT="8ee6a372ca703836f593e3c450ca903f04be14df" -inherit cmake toolchain-funcs - -DESCRIPTION="Parallel (MPI) unstructured graph partitioning library" -HOMEPAGE="https://github.com/KarypisLab/ParMETIS" -SRC_URI="https://github.com/KarypisLab/ParMETIS/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/ParMETIS-${COMMIT}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~riscv ~x86" -IUSE="examples openmp pcre" -RESTRICT="mirror bindist" - -DEPEND=" - sci-libs/gklib - >=sci-libs/metis-5.2.1-r2 - virtual/mpi[fortran] - pcre? ( dev-libs/libpcre:= ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-respect-user-flags.patch - "${FILESDIR}"/${P}-multilib.patch - "${FILESDIR}"/${P}-cmake4.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - export CC=mpicc CXX=mpicxx - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DGKRAND=ON - -DMETIS_PATH="${EPREFIX}/usr" - -DOPENMP=$(usex openmp) - -DPCRE=$(usex pcre) - -DSHARED=ON - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - dodoc Changelog - dodoc manual/manual.pdf - if use examples; then - docinto examples - dodoc -r graphs programs - fi - - cat > ${PN}.pc <<-EOF - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ${PN} - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -lparmetis -lGKlib - Cflags: -I\${includedir} - Requires: metis - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc -} diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest deleted file mode 100644 index 2d332d8ba962..000000000000 --- a/sci-libs/pastix/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pastix-6.0.3.tar.gz 1793579 BLAKE2B 9e0ee71c80b2c93c6762c1a824b2e1262fd1a9f406194fb99eeecbfc172cf82f497d23a541b56c44e5487c3c228cab781f47f683ee04c6cdf426da6126750a69 SHA512 5bf8dfa6ed02ee7e236c63e21c80bd45af807b465b21a8c0520b1328e179095f1416f925be9f8b5ec0e8078ca9bc4398bf0d091fdc8e9ea51b9af12a06d9a544 diff --git a/sci-libs/pastix/files/pastix-6.0.3-cmake-examples-optional.patch b/sci-libs/pastix/files/pastix-6.0.3-cmake-examples-optional.patch deleted file mode 100644 index 5f0701168271..000000000000 --- a/sci-libs/pastix/files/pastix-6.0.3-cmake-examples-optional.patch +++ /dev/null @@ -1,170 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -94,6 +94,9 @@ - "Build PaStiX with PaRSEC runtime support" OFF) - - # Internal options -+option(INSTALL_EXAMPLES -+ "Install example code" OFF) -+ - option(PASTIX_GENERATE_MODEL - "Enable performances profiling for model generation" OFF) - ---- a/example/CMakeLists.txt -+++ b/example/CMakeLists.txt -@@ -38,15 +38,18 @@ - ) - set (example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/c") - -+if (BUILD_TESTING) - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) - add_executable(${_name_we} ${_file}) - target_link_libraries(${_name_we} pastix) - target_link_libraries(${_name_we} ${BLAS_LIBRARIES}) -- -- install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -- install(FILES ${_file} DESTINATION ${example_install_dir} ) - endforeach() -+endif() -+ -+if (INSTALL_EXAMPLES) -+ -+install(FILES ${EXAMPLES} DESTINATION ${example_install_dir} ) - - ### Install a makefile for user compilation test - set( EXAMPLE_LIBS ${DEPS_LIBRARIES} ) -@@ -61,4 +64,6 @@ - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/make/Makefile" - DESTINATION ${example_install_dir}) - -+endif (INSTALL_EXAMPLES) -+ - include(CTestLists.txt) ---- a/example/old/CMakeLists.txt -+++ b/example/old/CMakeLists.txt -@@ -15,14 +15,17 @@ - ) - set (example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/c/old") - -+if (BUILD_TESTING) - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) - add_executable("old_${_name_we}" ${_file}) - target_link_libraries("old_${_name_we}" pastix) -- -- install(TARGETS old_${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -- install(FILES ${_file} DESTINATION ${example_install_dir} ) - endforeach() -+endif() -+ -+if (INSTALL_EXAMPLES) -+ -+install(FILES ${EXAMPLES} DESTINATION ${example_install_dir} ) - - ### Install a makefile for user compilation test - set( EXAMPLE_LIBS -@@ -36,3 +39,4 @@ - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/make/Makefile" - DESTINATION ${example_install_dir} ) - -+endif (INSTALL_EXAMPLES) ---- a/spm/wrappers/fortran90/CMakeLists.txt -+++ b/spm/wrappers/fortran90/CMakeLists.txt -@@ -43,15 +43,19 @@ - ) - set ( example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/fortran" ) - -+if (BUILD_TESTING) - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) - add_executable(${_name_we} examples/${_file}) - target_link_libraries(${_name_we} spmf) - -- install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -- install(FILES examples/${_file} DESTINATION ${example_install_dir} ) -- - add_test(fortran_${_name_we} ./${_name_we}) - - endforeach() -+endif() - -+if (INSTALL_EXAMPLES) -+ foreach (_file ${EXAMPLES}) -+ install(FILES examples/${_file} DESTINATION ${example_install_dir} ) -+ endforeach() -+endif() ---- a/spm/wrappers/python/CMakeLists.txt -+++ b/spm/wrappers/python/CMakeLists.txt -@@ -31,11 +31,13 @@ - DESTINATION "${Python_SITELIB}/spm" ) - - # Install python examples -+if (INSTALL_EXAMPLES) - install(FILES - ${CMAKE_CURRENT_SOURCE_DIR}/spm_driver.py - ${CMAKE_CURRENT_SOURCE_DIR}/spm_scipy.py - DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples/python" - ) -+endif() - - ## CTest execution - set( PYTHON_TESTS ---- a/wrappers/fortran90/CMakeLists.txt -+++ b/wrappers/fortran90/CMakeLists.txt -@@ -45,14 +45,13 @@ - ) - set ( example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/fortran" ) - -+if (BUILD_TESTING) -+ - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) - add_executable(${_name_we} examples/${_file}) - target_link_libraries(${_name_we} pastixf spmf) - -- install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -- install(FILES examples/${_file} DESTINATION ${example_install_dir} ) -- - add_test(fortran_${_name_we} ./${_name_we}) - - endforeach() -@@ -66,10 +65,16 @@ - add_executable(${_name_we} examples/${_file}) - target_link_libraries(${_name_we} pastixf spmf) - --install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) --install(FILES examples/${_file} DESTINATION ${example_install_dir} ) --install(FILES examples/test_seq.in DESTINATION ${example_install_dir} ) --install(FILES examples/test_mt.in DESTINATION ${example_install_dir} ) -+endif (BUILD_TESTING) -+ -+if (INSTALL_EXAMPLES) -+ foreach (_file ${EXAMPLES}) -+ install(FILES examples/${_file} DESTINATION ${example_install_dir} ) -+ endforeach() -+ install(FILES examples/fmultilap.f90 DESTINATION ${example_install_dir} ) -+ install(FILES examples/test_seq.in DESTINATION ${example_install_dir} ) -+ install(FILES examples/test_mt.in DESTINATION ${example_install_dir} ) -+endif() - - # Add OpenMP if available - find_package(OpenMP) ---- a/wrappers/python/CMakeLists.txt -+++ b/wrappers/python/CMakeLists.txt -@@ -32,6 +32,7 @@ - DESTINATION "${Python_SITELIB}/pypastix" ) - - # Install python examples -+if (INSTALL_EXAMPLES) - install(FILES - ${CMAKE_CURRENT_SOURCE_DIR}/examples/simple.py - ${CMAKE_CURRENT_SOURCE_DIR}/examples/simple_obj.py -@@ -39,6 +40,7 @@ - ${CMAKE_CURRENT_SOURCE_DIR}/examples/schur_obj.py - DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples/python" - ) -+endif() - - ## CTest execution - set( PYTHON_TESTS diff --git a/sci-libs/pastix/files/pastix-6.0.3-cmake-installdirs.patch b/sci-libs/pastix/files/pastix-6.0.3-cmake-installdirs.patch deleted file mode 100644 index a586981f37e7..000000000000 --- a/sci-libs/pastix/files/pastix-6.0.3-cmake-installdirs.patch +++ /dev/null @@ -1,424 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -13,6 +13,7 @@ - - include(CMakeDependentOption) - include(CheckFunctionExists) -+include(GNUInstallDirs) - - # The current version number - set(PASTIX_VERSION_MAJOR 6) -@@ -516,7 +517,7 @@ - configure_file ( - "${CMAKE_CURRENT_SOURCE_DIR}/include/pastix/config.h.in" - "${PROJECT_INCLUDE_DIR}/pastix/config.h") --install(FILES "${PROJECT_INCLUDE_DIR}/pastix/config.h" DESTINATION include/pastix) -+install(FILES "${PROJECT_INCLUDE_DIR}/pastix/config.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/pastix) - - include_directories("${CMAKE_CURRENT_SOURCE_DIR}") - include_directories("${CMAKE_CURRENT_BINARY_DIR}") -@@ -844,9 +845,9 @@ - # endforeach() - - install(TARGETS pastix -- RUNTIME DESTINATION bin -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - # Install header files - set(PASTIX_HDRS -@@ -861,8 +862,8 @@ - ) - install(FILES - include/pastix.h -- DESTINATION include ) --install(FILES ${PASTIX_HDRS} DESTINATION include/pastix ) -+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) -+install(FILES ${PASTIX_HDRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/pastix ) - - ## Executable and tests - enable_testing() -@@ -934,8 +935,6 @@ - "${CMAKE_CURRENT_SOURCE_DIR}/pastixf.pc.in" - PROJECTNAME PASTIX ) - --generate_env_file( PROJECTNAME PASTIX ) -- - ############################################################# - # - # Build documentation ---- a/cmake_modules/morse_cmake/modules/GenPkgConfig.cmake -+++ b/cmake_modules/morse_cmake/modules/GenPkgConfig.cmake -@@ -196,7 +196,7 @@ - # ------------ - install(FILES - "${CMAKE_BINARY_DIR}/lib/pkgconfig/${fname}.pc" -- DESTINATION lib/pkgconfig ) -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" ) - - endforeach() - -@@ -232,7 +232,7 @@ - # installation - # ------------ - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bin/${LONAME}_env.sh" -- DESTINATION bin) -+ DESTINATION ${CMAKE_INSTALL_BINDIR}) - - endmacro(generate_env_file) - ---- a/example/CMakeLists.txt -+++ b/example/CMakeLists.txt -@@ -36,6 +36,7 @@ - simple.c - step-by-step.c - ) -+set (example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/c") - - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) -@@ -43,8 +44,8 @@ - target_link_libraries(${_name_we} pastix) - target_link_libraries(${_name_we} ${BLAS_LIBRARIES}) - -- install(TARGETS ${_name_we} RUNTIME DESTINATION examples ) -- install(FILES ${_file} DESTINATION examples ) -+ install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -+ install(FILES ${_file} DESTINATION ${example_install_dir} ) - endforeach() - - ### Install a makefile for user compilation test -@@ -58,6 +59,6 @@ - "${CMAKE_CURRENT_SOURCE_DIR}/Makefile.in" - "${CMAKE_CURRENT_BINARY_DIR}/make/Makefile" @ONLY) - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/make/Makefile" -- DESTINATION examples) -+ DESTINATION ${example_install_dir}) - - include(CTestLists.txt) ---- a/example/old/CMakeLists.txt -+++ b/example/old/CMakeLists.txt -@@ -13,14 +13,15 @@ - simple.c - step-by-step.c - ) -+set (example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/c/old") - - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) - add_executable("old_${_name_we}" ${_file}) - target_link_libraries("old_${_name_we}" pastix) - -- install(TARGETS old_${_name_we} RUNTIME DESTINATION examples/old ) -- install(FILES ${_file} DESTINATION examples/old ) -+ install(TARGETS old_${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -+ install(FILES ${_file} DESTINATION ${example_install_dir} ) - endforeach() - - ### Install a makefile for user compilation test -@@ -33,5 +34,5 @@ - "${CMAKE_CURRENT_SOURCE_DIR}/Makefile.in" - "${CMAKE_CURRENT_BINARY_DIR}/make/Makefile" @ONLY) - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/make/Makefile" -- DESTINATION examples/old ) -+ DESTINATION ${example_install_dir} ) - ---- a/kernels/CMakeLists.txt -+++ b/kernels/CMakeLists.txt -@@ -149,8 +149,8 @@ - - ### Install library - install(TARGETS pastix_kernels -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - ### Add generated files to the global property - add_documented_files( ---- a/kernels/gpus/CMakeLists.txt -+++ b/kernels/gpus/CMakeLists.txt -@@ -66,8 +66,8 @@ - # ${cuda_generated_files}) - # cuda_add_cublas_to_target( pastix_cucores_sm${_smtarget} ) - # install(TARGETS pastix_cucores_sm${_smtarget} --# LIBRARY DESTINATION lib --# ARCHIVE DESTINATION lib ) -+# LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) - # # if( NOT CMAKE_BUILD_SHARED_LIBS ) - # # target_link_libraries( pastix_cucores pastix_cucores_sm${_smtarget} ) - # # endif() -@@ -79,7 +79,7 @@ - cuda_add_cublas_to_target( pastix_kernels_cuda ) - - install(TARGETS pastix_kernels_cuda -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib ) -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) - - cuda_build_clean_target() ---- a/sopalin/parsec/CMakeLists.txt -+++ b/sopalin/parsec/CMakeLists.txt -@@ -114,8 +114,8 @@ - endif (MPI_C_FOUND) - - install(TARGETS pastix_parsec -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - ### Add non-generated documented files to the global property - add_documented_files( ---- a/sopalin/starpu/CMakeLists.txt -+++ b/sopalin/starpu/CMakeLists.txt -@@ -96,8 +96,8 @@ - endif (MPI_C_FOUND) - - install(TARGETS pastix_starpu -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - ### Add non-generated documented files to the global property - add_documented_files( ---- a/spm/CMakeLists.txt -+++ b/spm/CMakeLists.txt -@@ -139,7 +139,7 @@ - configure_file ( - "${CMAKE_CURRENT_SOURCE_DIR}/include/spm_config.h.in" - "${CMAKE_CURRENT_BINARY_DIR}/include/spm_config.h") --install(FILES "${CMAKE_CURRENT_BINARY_DIR}/include/spm_config.h" DESTINATION include) -+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/include/spm_config.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - include_directories(include) - include_directories("${CMAKE_CURRENT_BINARY_DIR}/include") -@@ -231,14 +231,14 @@ - endif (MPI_C_FOUND) - - install(TARGETS spm -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - install(FILES - include/spm.h - include/spm_const.h - include/spm_datatypes.h -- DESTINATION include ) -+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) - - ### Build pkg-config and environment file - include(GenPkgConfig) -@@ -251,8 +251,6 @@ - "${CMAKE_CURRENT_SOURCE_DIR}/tools/spmf.pc.in" - PROJECTNAME SPM ) - --generate_env_file( PROJECTNAME SPM ) -- - ### Add documented files to the global property - add_documented_files( - DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ---- a/spm/cmake_modules/morse_cmake/modules/GenPkgConfig.cmake -+++ b/spm/cmake_modules/morse_cmake/modules/GenPkgConfig.cmake -@@ -196,7 +196,7 @@ - # ------------ - install(FILES - "${CMAKE_BINARY_DIR}/lib/pkgconfig/${fname}.pc" -- DESTINATION lib/pkgconfig ) -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" ) - - endforeach() - -@@ -232,7 +232,7 @@ - # installation - # ------------ - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bin/${LONAME}_env.sh" -- DESTINATION bin) -+ DESTINATION ${CMAKE_INSTALL_BINDIR}) - - endmacro(generate_env_file) - ---- a/spm/wrappers/fortran90/CMakeLists.txt -+++ b/spm/wrappers/fortran90/CMakeLists.txt -@@ -12,7 +12,7 @@ - - # Coherce CMake to install the generated .mod files - set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/mod_files) --install(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/ DESTINATION include) -+install(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - add_library( spmf - src/spm_enums.F90 -@@ -30,9 +30,9 @@ - - target_link_libraries( spmf spm ) - install(TARGETS spmf -- RUNTIME DESTINATION bin -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib ) -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) - - # - # Add examples -@@ -41,14 +41,15 @@ - spm_driver.f90 - spm_user.f90 - ) -+set ( example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/fortran" ) - - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) - add_executable(${_name_we} examples/${_file}) - target_link_libraries(${_name_we} spmf) - -- install(TARGETS ${_name_we} RUNTIME DESTINATION examples ) -- install(FILES examples/${_file} DESTINATION examples ) -+ install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -+ install(FILES examples/${_file} DESTINATION ${example_install_dir} ) - - add_test(fortran_${_name_we} ./${_name_we}) - ---- a/spm/wrappers/python/CMakeLists.txt -+++ b/spm/wrappers/python/CMakeLists.txt -@@ -9,6 +9,8 @@ - # - ### - -+find_package(Python COMPONENTS Interpreter REQUIRED) -+ - # Configure enum.py - if (SPM_INT64) - set(SPM_PYTHON_INTEGER c_int64) -@@ -26,23 +28,20 @@ - ${CMAKE_CURRENT_SOURCE_DIR}/spm/__spm__.py - ${CMAKE_CURRENT_SOURCE_DIR}/spm/spm.py - ${CMAKE_CURRENT_SOURCE_DIR}/spm/enum.py -- DESTINATION lib/python/spm ) -+ DESTINATION "${Python_SITELIB}/spm" ) - - # Install python examples - install(FILES - ${CMAKE_CURRENT_SOURCE_DIR}/spm_driver.py - ${CMAKE_CURRENT_SOURCE_DIR}/spm_scipy.py -- DESTINATION examples -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples/python" - ) - - ## CTest execution --find_package(PythonInterp QUIET) --if (PYTHONINTERP_FOUND) - set( PYTHON_TESTS - spm_driver spm_scipy ) - - foreach(example ${PYTHON_TESTS} ) - add_test(python_${example} ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${example}.py) - endforeach() --endif() - ---- a/wrappers/fortran90/CMakeLists.txt -+++ b/wrappers/fortran90/CMakeLists.txt -@@ -12,7 +12,7 @@ - - # Coherce CMake to install the generated .mod files - set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/mod_files) --install(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/ DESTINATION include) -+install(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - add_library( pastixf - src/pastix_enums.F90 -@@ -30,9 +30,9 @@ - - target_link_libraries( pastixf pastix ) - install(TARGETS pastixf -- RUNTIME DESTINATION bin -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib ) -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) - - # - # Add examples -@@ -43,14 +43,15 @@ - fstep-by-step.f90 - fmultidof.f90 - ) -+set ( example_install_dir "${CMAKE_INSTALL_DOCDIR}/examples/fortran" ) - - foreach (_file ${EXAMPLES}) - get_filename_component(_name_we ${_file} NAME_WE) - add_executable(${_name_we} examples/${_file}) - target_link_libraries(${_name_we} pastixf spmf) - -- install(TARGETS ${_name_we} RUNTIME DESTINATION examples ) -- install(FILES examples/${_file} DESTINATION examples ) -+ install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -+ install(FILES examples/${_file} DESTINATION ${example_install_dir} ) - - add_test(fortran_${_name_we} ./${_name_we}) - -@@ -65,10 +66,10 @@ - add_executable(${_name_we} examples/${_file}) - target_link_libraries(${_name_we} pastixf spmf) - --install(TARGETS ${_name_we} RUNTIME DESTINATION examples ) --install(FILES examples/${_file} DESTINATION examples ) --install(FILES examples/test_seq.in DESTINATION examples ) --install(FILES examples/test_mt.in DESTINATION examples ) -+install(TARGETS ${_name_we} RUNTIME DESTINATION ${example_install_dir} ) -+install(FILES examples/${_file} DESTINATION ${example_install_dir} ) -+install(FILES examples/test_seq.in DESTINATION ${example_install_dir} ) -+install(FILES examples/test_mt.in DESTINATION ${example_install_dir} ) - - # Add OpenMP if available - find_package(OpenMP) ---- a/wrappers/python/CMakeLists.txt -+++ b/wrappers/python/CMakeLists.txt -@@ -9,6 +9,8 @@ - # - ### - -+find_package(Python COMPONENTS Interpreter REQUIRED) -+ - # Configure enum.py - if (PASTIX_INT64) - set(PASTIX_PYTHON_INTEGER c_int64) -@@ -27,7 +29,7 @@ - ${CMAKE_CURRENT_SOURCE_DIR}/examples/pypastix/pastix.py - ${CMAKE_CURRENT_SOURCE_DIR}/examples/pypastix/enum.py - ${CMAKE_CURRENT_SOURCE_DIR}/examples/pypastix/solver.py -- DESTINATION lib/python/pypastix ) -+ DESTINATION "${Python_SITELIB}/pypastix" ) - - # Install python examples - install(FILES -@@ -35,12 +37,10 @@ - ${CMAKE_CURRENT_SOURCE_DIR}/examples/simple_obj.py - ${CMAKE_CURRENT_SOURCE_DIR}/examples/schur.py - ${CMAKE_CURRENT_SOURCE_DIR}/examples/schur_obj.py -- DESTINATION examples -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples/python" - ) - - ## CTest execution --find_package(PythonInterp QUIET) --if (PYTHONINTERP_FOUND) - set( PYTHON_TESTS - simple step-by-step schur simple_obj schur_obj ) - -@@ -57,5 +57,4 @@ - set_tests_properties( python_${example} PROPERTIES - ENVIRONMENT "${TEST_ENV_LIST}" ) - endforeach() --endif() - diff --git a/sci-libs/pastix/files/pastix-6.0.3-cmake-python-optional.patch b/sci-libs/pastix/files/pastix-6.0.3-cmake-python-optional.patch deleted file mode 100644 index 71d356fae2f1..000000000000 --- a/sci-libs/pastix/files/pastix-6.0.3-cmake-python-optional.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -100,6 +100,9 @@ - option(PASTIX_WITH_FORTRAN - "Enable Fortran files/interface/examples to be compiled" ON) - -+option(PASTIX_WITH_PYTHON -+ "Install Python wrapper and examples" ON) -+ - cmake_dependent_option(PASTIX_DISTRIBUTED - "Enable the distributed interface (requires PASTIX_WITH_MPI)" OFF "PASTIX_WITH_MPI" OFF) - ---- a/spm/CMakeLists.txt -+++ b/spm/CMakeLists.txt -@@ -83,6 +83,13 @@ - "Enable Fortran files/interface/examples to be compiled" ON) - endif() - -+if ( DEFINED PASTIX_WITH_PYTHON ) -+ set( SPM_WITH_PYTHON ${PASTIX_WITH_PYTHON} ) -+else() -+ option(SPM_WITH_PYTHON -+ "Install Python wrapper and examples" ON) -+endif() -+ - if (SPM_WITH_FORTRAN) - include(FortranCInterface) - FortranCInterface_HEADER(src/FCmangle.h ---- a/spm/wrappers/CMakeLists.txt -+++ b/spm/wrappers/CMakeLists.txt -@@ -13,8 +13,10 @@ - add_subdirectory( fortran90 ) - endif() - --if (BUILD_SHARED_LIBS) -- add_subdirectory( python ) --else() -- message(STATUS "--- Python wrapper is disabled with static libraries") --endif() -+if (SPM_WITH_PYTHON) -+ if (BUILD_SHARED_LIBS) -+ add_subdirectory( python ) -+ else (BUILD_SHARED_LIBS) -+ message(FATAL_ERROR "--- Python wrapper requested but it cannot be built with static libraries") -+ endif (BUILD_SHARED_LIBS) -+endif (SPM_WITH_PYTHON) ---- a/wrappers/CMakeLists.txt -+++ b/wrappers/CMakeLists.txt -@@ -13,8 +13,10 @@ - add_subdirectory( fortran90 ) - endif() - --if (BUILD_SHARED_LIBS) -- add_subdirectory( python ) --else() -- message(STATUS "--- Python wrapper is disabled with static libraries") --endif() -+if (PASTIX_WITH_PYTHON) -+ if (BUILD_SHARED_LIBS) -+ add_subdirectory( python ) -+ else (BUILD_SHARED_LIBS) -+ message(FATAL_ERROR "--- Python wrapper requested but it cannot be built with static libraries") -+ endif (BUILD_SHARED_LIBS) -+endif (PASTIX_WITH_PYTHON) diff --git a/sci-libs/pastix/files/pastix-6.0.3-cmake-spm-project.patch b/sci-libs/pastix/files/pastix-6.0.3-cmake-spm-project.patch deleted file mode 100644 index f2ca9a5699d1..000000000000 --- a/sci-libs/pastix/files/pastix-6.0.3-cmake-spm-project.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/spm/CMakeLists.txt -+++ b/spm/CMakeLists.txt -@@ -8,9 +8,6 @@ - # @date 2013-06-24 - # - ### --cmake_minimum_required (VERSION 3.0) --project (SPM C Fortran) -- - # Check if compiled independently or within another project - if ( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) - set( BUILD_AS_SUBPROJECT OFF ) diff --git a/sci-libs/pastix/files/pastix-6.0.3-multiple-coeftabMemory.patch b/sci-libs/pastix/files/pastix-6.0.3-multiple-coeftabMemory.patch deleted file mode 100644 index 84dfdd4cc101..000000000000 --- a/sci-libs/pastix/files/pastix-6.0.3-multiple-coeftabMemory.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/sopalin/coeftab.h -+++ b/sopalin/coeftab.h -@@ -41,7 +41,7 @@ - /** - * @brief List of functions to compute the memory gain in low-rank per precision. - */ --coeftab_fct_memory_t coeftabMemory[4]; -+extern coeftab_fct_memory_t coeftabMemory[4]; - - /** - * @} diff --git a/sci-libs/pastix/metadata.xml b/sci-libs/pastix/metadata.xml deleted file mode 100644 index ae51b0d4ba30..000000000000 --- a/sci-libs/pastix/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - PaStiX (Parallel Sparse matriX package) is a scientific library that - provides a high performance parallel solver for very large sparse - linear systems based on direct methods. Numerical algorithms are - implemented in single or double precision (real or complex) using - LLt, LDLt and LU with static pivoting (for non symmetric matrices - having a symmetric pattern). This solver provides also an adaptive - blockwise iLU(k) factorization that can be used as a parallel - preconditioner using approximated supernodes to build a coarser - block structure of the incomplete factors. - </longdescription> - <use> - <flag name="fortran">Install the Fortran interface</flag> - <flag name="int64">Use 64- rather than 32-bit integer representation</flag> - <flag name="metis">Enable matrix ordering with <pkg>sci-libs/metis</pkg></flag> - <flag name="scotch">Enable matrix ordering with <pkg>sci-libs/scotch</pkg></flag> - <flag name="starpu">Enable support for ther <pkg>dev-libs/starpu</pkg> runtime</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild b/sci-libs/pastix/pastix-6.0.3.ebuild deleted file mode 100644 index c5b5680eadd3..000000000000 --- a/sci-libs/pastix/pastix-6.0.3.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit cmake fortran-2 python-single-r1 - -# package id: changes every version, see the link on inriaforge -PID=38205 -DESCRIPTION="Parallel solver for very large sparse linear systems" -HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/ https://gitlab.inria.fr/solverstack/pastix" -SRC_URI="https://files.inria.fr/pastix/releases/v$(ver_cut 1)/${P}.tar.gz" - -LICENSE="CeCILL-C" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test" - -RESTRICT="!test? ( test )" - -# REQUIRED_USE explanation: -# 1. Not a typo, Python is needed at build time regardless of whether -# the bindings are to be installed or not -# 2. While not enforced by upstream build scripts, having no ordering at all -# results in rather spectacular test and runtime failures. -REQUIRED_USE="${PYTHON_REQUIRED_USE} - || ( metis scotch )" - -RDEPEND="sys-apps/hwloc:0= - virtual/blas - virtual/cblas - virtual/lapack - virtual/lapacke - cuda? ( dev-util/nvidia-cuda-toolkit ) - metis? ( sci-libs/metis[int64(+)=] ) - mpi? ( - virtual/mpi[fortran] - metis? ( sci-libs/parmetis ) - ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ') - ) - scotch? ( >=sci-libs/scotch-6.1.0-r1:0=[int64=,mpi?] ) - starpu? ( >=dev-libs/starpu-1.3.0:0= )" -DEPEND="${RDEPEND}" -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig - test? ( ${RDEPEND} )" - -PATCHES=( - "${FILESDIR}"/${PN}-6.0.3-cmake-installdirs.patch - "${FILESDIR}"/${PN}-6.0.3-cmake-examples-optional.patch - "${FILESDIR}"/${PN}-6.0.3-cmake-python-optional.patch - "${FILESDIR}"/${PN}-6.0.3-cmake-spm-project.patch - "${FILESDIR}"/${PN}-6.0.3-multiple-coeftabMemory.patch -) - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=yes - -DINSTALL_EXAMPLES=$(usex examples) - -DPASTIX_INT64=$(usex int64) - -DPASTIX_ORDERING_METIS=$(usex metis) - -DPASTIX_ORDERING_SCOTCH=$(usex scotch) - -DPASTIX_WITH_CUDA=$(usex cuda) - -DPASTIX_WITH_FORTRAN=$(usex fortran) - -DPASTIX_WITH_MPI=$(usex mpi) - -DPASTIX_WITH_PYTHON=$(usex python) - -DPASTIX_WITH_STARPU=$(usex starpu) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - use python && python_optimize -} diff --git a/sci-libs/pcl/Manifest b/sci-libs/pcl/Manifest deleted file mode 100644 index ba9f05542d86..000000000000 --- a/sci-libs/pcl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pcl-1.14.1.tar.gz 68672885 BLAKE2B 207389d844ac2793f6f321504c05282ace2d8e51aaf0277c13fb11f5be22ac93f7e044f34fc2259aca7d7e34ae3b9b00287ee9df0d15f851f1f4b4bd651578c7 SHA512 8e2d2839fe73a955d49b9a72861de2becf2da9a0dc906bd10ab8a3518e270a2f1900d801922d02871d704f2ed380273d35c2d0e04d8da7e24a21eb351c43c00b diff --git a/sci-libs/pcl/files/pcl-1.12.1-allow-configuration-of-install-dirs.patch b/sci-libs/pcl/files/pcl-1.12.1-allow-configuration-of-install-dirs.patch deleted file mode 100644 index c9cb3e35f9d6..000000000000 --- a/sci-libs/pcl/files/pcl-1.12.1-allow-configuration-of-install-dirs.patch +++ /dev/null @@ -1,32 +0,0 @@ -From c052f26112c17068ece2f52058e3130dd328269b Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Thu, 27 Oct 2022 09:48:15 +0200 -Subject: [PATCH] allow configuration of install dirs - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- a/cmake/pcl_utils.cmake -+++ b/cmake/pcl_utils.cmake -@@ -101,14 +101,18 @@ macro(SET_INSTALL_DIRS) - set(INCLUDE_INSTALL_ROOT "include") # Android, don't put into subdir - endif() - set(INCLUDE_INSTALL_DIR "${INCLUDE_INSTALL_ROOT}/pcl") -- set(DOC_INSTALL_DIR "share/doc/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}") -+ if(NOT DEFINED DOC_INSTALL_DIR) -+ set(DOC_INSTALL_DIR "share/doc/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}") -+ endif() - set(BIN_INSTALL_DIR "bin") - set(PKGCFG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig") -- if(WIN32 AND NOT MINGW) -+ if(NOT DEFINED PCLCONFIG_INSTALL_DIR) -+ if(WIN32 AND NOT MINGW) - set(PCLCONFIG_INSTALL_DIR "cmake") - else() - set(PCLCONFIG_INSTALL_DIR "share/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}") - endif() -+ endif() - endmacro() - - --- -2.38.1 - diff --git a/sci-libs/pcl/files/pcl-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch b/sci-libs/pcl/files/pcl-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch deleted file mode 100644 index fe171c0b21df..000000000000 --- a/sci-libs/pcl/files/pcl-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch +++ /dev/null @@ -1,22 +0,0 @@ -From efb56391957ee0f64a407fe419c25122404a53e2 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Thu, 27 Oct 2022 13:59:15 +0200 -Subject: [PATCH] fix hardcoded relative directory of the installed cmake files - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- a/PCLConfig.cmake.in -+++ b/PCLConfig.cmake.in -@@ -389,8 +389,8 @@ if(WIN32 AND NOT MINGW) - set(PCL_ALL_IN_ONE_INSTALLER ON) - endif() - else() --# PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y -- get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) -+# PCLConfig.cmake is installed to PCL_ROOT/share/cmake/pcl-x.y -+ get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../.." ABSOLUTE) - endif() - - # check whether PCLConfig.cmake is found into a PCL installation or in a build tree --- -2.38.1 - diff --git a/sci-libs/pcl/files/pcl-1.14.1-boost-1.86.patch b/sci-libs/pcl/files/pcl-1.14.1-boost-1.86.patch deleted file mode 100644 index 0c56c3b18b9a..000000000000 --- a/sci-libs/pcl/files/pcl-1.14.1-boost-1.86.patch +++ /dev/null @@ -1,25 +0,0 @@ -From c6bbf02a084a39a02d9e2fc318a59fe2f1ff55c1 Mon Sep 17 00:00:00 2001 -From: Transporter <OgreTransporter@users.noreply.github.com> -Date: Sun, 26 May 2024 10:37:57 +0200 -Subject: [PATCH] Fix boost hash data type (#6053) - -* Fix boost hash data type - -* Change file name generation. ---- a/visualization/src/pcl_visualizer.cpp -+++ b/visualization/src/pcl_visualizer.cpp -@@ -4591,10 +4591,12 @@ pcl::visualization::PCLVisualizer::getUniqueCameraFile (int argc, char **argv) - // Build camera filename - if (valid) - { -- unsigned int digest[5]; -+ boost::uuids::detail::sha1::digest_type digest; - sha1.get_digest (digest); - sstream << "."; -- sstream << std::hex << digest[0] << digest[1] << digest[2] << digest[3] << digest[4]; -+ for (int i = 0; i < 5; ++i) { -+ sstream << std::hex << *(reinterpret_cast<unsigned int*>(&digest[0]) + i); -+ } - sstream << ".cam"; - } - } diff --git a/sci-libs/pcl/files/pcl-1.14.1-boost-1.87.patch b/sci-libs/pcl/files/pcl-1.14.1-boost-1.87.patch deleted file mode 100644 index f2b1f248fcbf..000000000000 --- a/sci-libs/pcl/files/pcl-1.14.1-boost-1.87.patch +++ /dev/null @@ -1,171 +0,0 @@ -From 6f64495840c4e5674d542ccf20df96ed12665687 Mon Sep 17 00:00:00 2001 -From: Markus Vieth <mvieth@techfak.uni-bielefeld.de> -Date: Tue, 5 Nov 2024 20:07:13 +0100 -Subject: [PATCH 1/2] Prepare for Boost 1.87 Some stuff from Boost's asio - library has been removed after Boost 1.86. The documentation says that it has - been deprecated, but no compiler warnings are shown. This page explains what - is considered "old" and what should be used instead: - https://www.boost.org/doc/libs/1_86_0/doc/html/boost_asio/net_ts.html - - io_service was simply an alias (typedef) for io_context - make_address - replaces from_string - resolver.resolve and connect work a bit different now, - see also - https://www.boost.org/doc/libs/1_86_0/doc/html/boost_asio/tutorial/tutdaytime1/src.html - ---- a/apps/src/openni_mobile_server.cpp -+++ b/apps/src/openni_mobile_server.cpp -@@ -157,7 +157,7 @@ class PCLMobileServer { - - viewer_.showCloud(getLatestPointCloud()); - -- boost::asio::io_service io_service; -+ boost::asio::io_context io_service; - tcp::endpoint endpoint(tcp::v4(), static_cast<unsigned short>(port_)); - tcp::acceptor acceptor(io_service, endpoint); - tcp::socket socket(io_service); ---- a/apps/src/openni_octree_compression.cpp -+++ b/apps/src/openni_octree_compression.cpp -@@ -415,7 +415,7 @@ main(int argc, char** argv) - if (bEnDecode) { - // ENCODING - try { -- boost::asio::io_service io_service; -+ boost::asio::io_context io_service; - tcp::endpoint endpoint(tcp::v4(), 6666); - tcp::acceptor acceptor(io_service, endpoint); - -@@ -423,7 +423,7 @@ main(int argc, char** argv) - - std::cout << "Waiting for connection.." << std::endl; - -- acceptor.accept(*socketStream.rdbuf()); -+ acceptor.accept(socketStream.rdbuf()->socket()); - - std::cout << "Connected!" << std::endl; - ---- a/apps/src/openni_organized_compression.cpp -+++ b/apps/src/openni_organized_compression.cpp -@@ -438,7 +438,7 @@ main(int argc, char** argv) - if (bEnDecode) { - // ENCODING - try { -- boost::asio::io_service io_service; -+ boost::asio::io_context io_service; - tcp::endpoint endpoint(tcp::v4(), 6666); - tcp::acceptor acceptor(io_service, endpoint); - -@@ -446,7 +446,7 @@ main(int argc, char** argv) - - std::cout << "Waiting for connection.." << std::endl; - -- acceptor.accept(*socketStream.rdbuf()); -+ acceptor.accept(socketStream.rdbuf()->socket()); - - std::cout << "Connected!" << std::endl; - ---- a/io/include/pcl/io/hdl_grabber.h -+++ b/io/include/pcl/io/hdl_grabber.h -@@ -274,7 +274,7 @@ namespace pcl - boost::asio::ip::udp::endpoint udp_listener_endpoint_; - boost::asio::ip::address source_address_filter_; - std::uint16_t source_port_filter_; -- boost::asio::io_service hdl_read_socket_service_; -+ boost::asio::io_context hdl_read_socket_service_; - boost::asio::ip::udp::socket *hdl_read_socket_; - std::string pcap_file_name_; - std::thread *queue_consumer_thread_; ---- a/io/include/pcl/io/robot_eye_grabber.h -+++ b/io/include/pcl/io/robot_eye_grabber.h -@@ -131,7 +131,7 @@ namespace pcl - - boost::asio::ip::address sensor_address_; - boost::asio::ip::udp::endpoint sender_endpoint_; -- boost::asio::io_service io_service_; -+ boost::asio::io_context io_service_; - std::shared_ptr<boost::asio::ip::udp::socket> socket_; - std::shared_ptr<std::thread> socket_thread_; - std::shared_ptr<std::thread> consumer_thread_; ---- a/io/include/pcl/io/tim_grabber.h -+++ b/io/include/pcl/io/tim_grabber.h -@@ -128,7 +128,7 @@ class PCL_EXPORTS TimGrabber : public Grabber - std::vector<float> distances_; - - boost::asio::ip::tcp::endpoint tcp_endpoint_; -- boost::asio::io_service tim_io_service_; -+ boost::asio::io_context tim_io_service_; - boost::asio::ip::tcp::socket tim_socket_; - //// wait time for receiving data (on the order of milliseconds) - unsigned int wait_time_milliseconds_ = 0; ---- a/io/src/hdl_grabber.cpp -+++ b/io/src/hdl_grabber.cpp -@@ -287,7 +287,7 @@ pcl::HDLGrabber::loadHDL32Corrections () - boost::asio::ip::address - pcl::HDLGrabber::getDefaultNetworkAddress () - { -- return (boost::asio::ip::address::from_string ("192.168.3.255")); -+ return (boost::asio::ip::make_address ("192.168.3.255")); - } - - ///////////////////////////////////////////////////////////////////////////// ---- a/io/src/robot_eye_grabber.cpp -+++ b/io/src/robot_eye_grabber.cpp -@@ -269,7 +269,7 @@ void - pcl::RobotEyeGrabber::socketThreadLoop () - { - asyncSocketReceive(); -- io_service_.reset(); -+ io_service_.restart(); - io_service_.run(); - } - ---- a/io/src/tim_grabber.cpp -+++ b/io/src/tim_grabber.cpp -@@ -184,8 +184,8 @@ pcl::TimGrabber::start () - - try { - boost::asio::ip::tcp::resolver resolver (tim_io_service_); -- tcp_endpoint_ = *resolver.resolve (tcp_endpoint_); -- tim_socket_.connect (tcp_endpoint_); -+ boost::asio::ip::tcp::resolver::results_type endpoints = resolver.resolve (tcp_endpoint_); -+ boost::asio::connect(tim_socket_, endpoints); - } - catch (std::exception& e) - { ---- a/io/src/vlp_grabber.cpp -+++ b/io/src/vlp_grabber.cpp -@@ -92,7 +92,7 @@ pcl::VLPGrabber::loadVLP16Corrections () - boost::asio::ip::address - pcl::VLPGrabber::getDefaultNetworkAddress () - { -- return (boost::asio::ip::address::from_string ("255.255.255.255")); -+ return (boost::asio::ip::make_address ("255.255.255.255")); - } - - ///////////////////////////////////////////////////////////////////////////// - -From 25be27e20a017f0ea0a0884b9fe31a50b5cbb82d Mon Sep 17 00:00:00 2001 -From: Markus Vieth <mvieth@techfak.uni-bielefeld.de> -Date: Thu, 7 Nov 2024 20:43:15 +0100 -Subject: [PATCH 2/2] =?UTF-8?q?Silence=20ABI=20warnings=20with=20GCC=2014?= - =?UTF-8?q?=20With=20the=20previous=20flag,=20GCC=2014=20displays=20many?= - =?UTF-8?q?=20warnings=20like=20"warning:=20the=20mangled=20name=20of=20..?= - =?UTF-8?q?.=20changed=20between=20=E2=80=98-fabi-version=3D17=E2=80=99=20?= - =?UTF-8?q?and=20=E2=80=98-fabi-version=3D19=E2=80=99=20[-Wabi]"=20I=20thi?= - =?UTF-8?q?nk=20these=20warnings=20are=20not=20useful=20for=20us.=20Since?= - =?UTF-8?q?=20PCL=201.15.0=20will=20not=20be=20ABI-compatible=20to=20PCL?= - =?UTF-8?q?=201.14.1=20anyway,=20these=20name=20changes=20do=20not=20matte?= - =?UTF-8?q?r=20AFAIK.?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -117,7 +117,7 @@ endif() - if(CMAKE_COMPILER_IS_GNUCXX) - if("${CMAKE_CXX_FLAGS}" STREQUAL "${CMAKE_CXX_FLAGS_DEFAULT}") - if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7) -- string(APPEND CMAKE_CXX_FLAGS " -Wabi=11") -+ string(APPEND CMAKE_CXX_FLAGS " -Wabi=18") - else() - string(APPEND CMAKE_CXX_FLAGS " -Wabi") - endif() diff --git a/sci-libs/pcl/files/pcl-1.14.1-boost-1.89.patch b/sci-libs/pcl/files/pcl-1.14.1-boost-1.89.patch deleted file mode 100644 index 40f18cee281e..000000000000 --- a/sci-libs/pcl/files/pcl-1.14.1-boost-1.89.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 99333442ac63971297b4cdd05fab9d2bd2ff57a4 Mon Sep 17 00:00:00 2001 -From: Michael Cho <michael@michaelcho.dev> -Date: Wed, 27 Aug 2025 10:05:48 -0400 -Subject: [PATCH] Fix build with Boost 1.89.0 - -This fixes a regression in 0404f7c382099e50196da6640c0ebba6d829392f -/ 1.15.1 as `Boost::system` is not valid since Boost 1.89.0. - -PCL requires a minimum of Boost 1.71.0 so Boost.System is guaranteed to -be header-only (since 1.69[^1]) and the component can be removed. - -* asturm 2026-01-21: Merge with backport of commit 0404f7c3 (Link - Boost::filesystem to pcl_outofcore) so it is equivalent to 99333442 - -[^1]: https://www.boost.org/doc/libs/1_69_0/libs/system/doc/html/system.html#changes_in_boost_1_69 ---- - cmake/pcl_find_boost.cmake | 4 ++-- - outofcore/CMakeLists.txt | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - ---- a/cmake/pcl_find_boost.cmake -+++ b/cmake/pcl_find_boost.cmake -@@ -19,12 +19,12 @@ - # Optional boost modules - set(BOOST_OPTIONAL_MODULES serialization mpi) - # Required boost modules -- set(BOOST_REQUIRED_MODULES filesystem iostreams system) -+ set(BOOST_REQUIRED_MODULES filesystem iostreams) - else() - # Optional boost modules - set(BOOST_OPTIONAL_MODULES filesystem serialization mpi) - # Required boost modules -- set(BOOST_REQUIRED_MODULES iostreams system) -+ set(BOOST_REQUIRED_MODULES iostreams) - endif() - - find_package(Boost 1.65.0 QUIET COMPONENTS ${BOOST_OPTIONAL_MODULES}) -diff --git a/outofcore/CMakeLists.txt b/outofcore/CMakeLists.txt -index 2d613c1ef25..1d668c5ea8e 100644 ---- a/outofcore/CMakeLists.txt -+++ b/outofcore/CMakeLists.txt -@@ -69,7 +69,7 @@ - - PCL_ADD_LIBRARY(${LIB_NAME} COMPONENT ${SUBSYS_NAME} SOURCES ${srcs} ${incs} ${impl_incs} ${visualization_incs}) - #PCL_ADD_SSE_FLAGS("${LIB_NAME}") --target_link_libraries("${LIB_NAME}" pcl_common pcl_visualization ${Boost_SYSTEM_LIBRARY}) -+target_link_libraries("${LIB_NAME}" pcl_common pcl_visualization Boost::filesystem) - PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS}) - - # Install include files diff --git a/sci-libs/pcl/files/pcl-1.14.1-boostconfig.patch b/sci-libs/pcl/files/pcl-1.14.1-boostconfig.patch deleted file mode 100644 index 530f1ce626aa..000000000000 --- a/sci-libs/pcl/files/pcl-1.14.1-boostconfig.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 0c8bf25e2a6d7e721983422f8513cdc177f8d1ab Mon Sep 17 00:00:00 2001 -From: Markus Vieth <mvieth@techfak.uni-bielefeld.de> -Date: Thu, 15 Aug 2024 17:26:19 +0200 -Subject: [PATCH] Require Boost 1.71.0, switch to BoostConfig.cmake - ---- - PCLConfig.cmake.in | 5 +---- - cmake/Modules/AdditionalBoostVersions.cmake | 7 ------- - cmake/pcl_find_boost.cmake | 6 ++---- - 3 files changed, 3 insertions(+), 15 deletions(-) - delete mode 100644 cmake/Modules/AdditionalBoostVersions.cmake - -diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in -index a650af86fd7..b179a5d8b6e 100644 ---- a/PCLConfig.cmake.in -+++ b/PCLConfig.cmake.in -@@ -94,10 +94,7 @@ macro(find_boost) - set(BOOST_INCLUDEDIR "@Boost_INCLUDE_DIR@") - endif() - -- include(${CMAKE_CURRENT_LIST_DIR}/Modules/AdditionalBoostVersions.cmake) -- set(Boost_ADDITIONAL_VERSIONS "@Boost_MAJOR_VERSION@.@Boost_MINOR_VERSION@.@Boost_SUBMINOR_VERSION@" "@Boost_MAJOR_VERSION@.@Boost_MINOR_VERSION@" ${Boost_ADDITIONAL_VERSIONS}) -- -- find_package(Boost 1.65.0 ${QUIET_} COMPONENTS @PCLCONFIG_AVAILABLE_BOOST_MODULES@) -+ find_package(Boost 1.71.0 ${QUIET_} COMPONENTS @PCLCONFIG_AVAILABLE_BOOST_MODULES@ CONFIG) - - set(BOOST_FOUND ${Boost_FOUND}) - set(BOOST_INCLUDE_DIRS "${Boost_INCLUDE_DIR}") -diff --git a/cmake/Modules/AdditionalBoostVersions.cmake b/cmake/Modules/AdditionalBoostVersions.cmake -deleted file mode 100644 -index 0a06d08d0eb..00000000000 ---- a/cmake/Modules/AdditionalBoostVersions.cmake -+++ /dev/null -@@ -1,7 +0,0 @@ -- --set(Boost_ADDITIONAL_VERSIONS -- "1.85.0" "1.85" -- "1.84.0" "1.84" "1.83.0" "1.83" "1.82.0" "1.82" "1.81.0" "1.81" "1.80.0" "1.80" -- "1.79.0" "1.79" "1.78.0" "1.78" "1.77.0" "1.77" "1.76.0" "1.76" "1.75.0" "1.75" -- "1.74.0" "1.74" "1.73.0" "1.73" "1.72.0" "1.72" "1.71.0" "1.71" "1.70.0" "1.70" -- "1.69.0" "1.69" "1.68.0" "1.68" "1.67.0" "1.67" "1.66.0" "1.66" "1.65.1" "1.65.0" "1.65") -diff --git a/cmake/pcl_find_boost.cmake b/cmake/pcl_find_boost.cmake -index f9e0b28d12c..5d5c7859e0a 100644 ---- a/cmake/pcl_find_boost.cmake -+++ b/cmake/pcl_find_boost.cmake -@@ -13,8 +13,6 @@ else() - endif() - endif() - --include(${CMAKE_CURRENT_LIST_DIR}/Modules/AdditionalBoostVersions.cmake) -- - if(CMAKE_CXX_STANDARD MATCHES "14") - # Optional boost modules - set(BOOST_OPTIONAL_MODULES serialization mpi) -@@ -27,8 +25,8 @@ else() - set(BOOST_REQUIRED_MODULES iostreams system) - endif() - --find_package(Boost 1.65.0 QUIET COMPONENTS ${BOOST_OPTIONAL_MODULES}) --find_package(Boost 1.65.0 REQUIRED COMPONENTS ${BOOST_REQUIRED_MODULES}) -+find_package(Boost 1.71.0 QUIET COMPONENTS ${BOOST_OPTIONAL_MODULES} CONFIG) -+find_package(Boost 1.71.0 REQUIRED COMPONENTS ${BOOST_REQUIRED_MODULES} CONFIG) - - if(Boost_FOUND) - set(BOOST_FOUND TRUE) diff --git a/sci-libs/pcl/files/pcl-1.14.1-gcc15.patch b/sci-libs/pcl/files/pcl-1.14.1-gcc15.patch deleted file mode 100644 index 41001211bad1..000000000000 --- a/sci-libs/pcl/files/pcl-1.14.1-gcc15.patch +++ /dev/null @@ -1,62 +0,0 @@ -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Thu, 22 Aug 2024 16:44:39 +0200 -Subject: [PATCH] fix gcc 15 - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- a/registration/include/pcl/registration/correspondence_rejection_features.h -+++ b/registration/include/pcl/registration/correspondence_rejection_features.h -@@ -203,6 +203,11 @@ protected: - /** \brief Empty destructor */ - ~FeatureContainer() override = default; - -+ inline std::string getClassName() -+ { -+ return "FeatureContainer<FeatureT>"; -+ } -+ - inline void - setSourceFeature(const FeatureCloudConstPtr& source_features) - { ---- a/surface/include/pcl/surface/3rdparty/poisson4/octree_poisson.h -+++ b/surface/include/pcl/surface/3rdparty/poisson4/octree_poisson.h -@@ -94,6 +94,9 @@ namespace pcl - short d , off[DIMENSION]; - NodeData nodeData; - -+ Point3D<Real> center; -+ int offset[3]; -+ - OctNode(void); - ~OctNode(void); - int initChildren(void); ---- a/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.h -+++ b/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.h -@@ -56,6 +56,8 @@ namespace pcl - bool _contiguous; - int _maxEntriesPerRow; - static int UseAlloc; -+ std::size_t m_M; -+ std::size_t m_N; - public: - static Allocator<MatrixEntry<T> > internalAllocator; - static int UseAllocator(void); ---- a/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.hpp -+++ b/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.hpp -@@ -235,7 +235,7 @@ namespace pcl - void SparseMatrix<T>::SetIdentity() - { - SetZero(); -- for(int ij=0; ij < Min( this->Rows(), this->Columns() ); ij++) -+ for(int ij=0; ij < std::min( this->rows, this->_maxEntriesPerRow ); ij++) - (*this)(ij,ij) = T(1); - } - -@@ -388,7 +388,7 @@ namespace pcl - T alpha,beta,rDotR; - int i; - -- solution.Resize(M.Columns()); -+ solution.Resize(M._maxEntriesPerRow); - solution.SetZero(); - - d=r=bb; diff --git a/sci-libs/pcl/files/pcl-1.14.1-tests.patch b/sci-libs/pcl/files/pcl-1.14.1-tests.patch deleted file mode 100644 index 83919b0c0c07..000000000000 --- a/sci-libs/pcl/files/pcl-1.14.1-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Thu, 22 Aug 2024 17:40:21 +0200 -Subject: [PATCH] enable tests - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -8,11 +8,12 @@ if(NOT build) - return() - endif() - --find_package(GTestSource REQUIRED) --include_directories(SYSTEM ${GTEST_INCLUDE_DIRS} ${GTEST_SRC_DIR}) -- --add_library(pcl_gtest STATIC ${GTEST_SRC_DIR}/src/gtest-all.cc) --target_include_directories(pcl_gtest PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) -+find_package(GTest REQUIRED) -+add_library(pcl_gtest INTERFACE IMPORTED) -+set_target_properties(pcl_gtest PROPERTIES -+ INTERFACE_LINK_LIBRARIES GTest::gtest -+ INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}/include -+) - - enable_testing() - - diff --git a/sci-libs/pcl/metadata.xml b/sci-libs/pcl/metadata.xml deleted file mode 100644 index 25c520b9ce19..000000000000 --- a/sci-libs/pcl/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>aballier@gentoo.org</email> - <name>Alexis Ballier</name> - </maintainer> - <use> - <flag name="openni">Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI</pkg>.</flag> - <flag name="openni2">Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI2</pkg> (should be preferred over openni).</flag> - <flag name="pcap">Adds pcap file capabilities in some drivers.</flag> - <flag name="qhull">Adds convex-hull operation support via <pkg>media-libs/qhull</pkg>.</flag> - <flag name="vtk">Adds support for VTK-Visualizations.</flag> - <flag name="tutorials">Builds and installs tutorials.</flag> - </use> - <longdescription lang="en"> - The Point Cloud Library (PCL) is a standalone, large scale, open project for 2D/3D image and point cloud processing. - </longdescription> - <upstream> - <remote-id type="github">PointCloudLibrary/pcl</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/pcl/pcl-1.14.1-r3.ebuild b/sci-libs/pcl/pcl-1.14.1-r3.ebuild deleted file mode 100644 index 1d9cd97b2a3b..000000000000 --- a/sci-libs/pcl/pcl-1.14.1-r3.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake cuda - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/PointCloudLibrary/pcl" -else - SRC_URI="https://github.com/PointCloudLibrary/pcl/archive/${P}.tar.gz" - S="${WORKDIR}/${PN}-${P}" - KEYWORDS="amd64 ~arm" -fi - -DESCRIPTION="2D/3D image and point cloud processing" -HOMEPAGE="https://pointclouds.org/" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -IUSE="cuda doc opengl openni openni2 pcap png +qhull qt6 usb vtk cpu_flags_x86_sse test tutorials" - -REQUIRED_USE=" - openni? ( usb ) - openni2? ( usb ) - tutorials? ( doc ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/boost:= - dev-cpp/eigen:= - >=sci-libs/flann-1.7.1 - opengl? ( - media-libs/freeglut - virtual/opengl - ) - openni? ( dev-libs/OpenNI ) - openni2? ( dev-libs/OpenNI2 ) - pcap? ( net-libs/libpcap ) - png? ( media-libs/libpng:0= ) - qhull? ( media-libs/qhull:= ) - qt6? ( - dev-qt/qtbase:6[concurrent,gui,opengl] - vtk? ( sci-libs/vtk[-qt5(-),qt6] ) - ) - usb? ( virtual/libusb:1 ) - vtk? ( >=sci-libs/vtk-5.6:=[imaging,rendering,views] ) - cuda? ( >=dev-util/nvidia-cuda-toolkit-4 ) -" -DEPEND="${RDEPEND} - !!dev-cpp/metslib - test? ( dev-cpp/gtest ) -" -BDEPEND=" - doc? ( - app-text/doxygen[dot] - virtual/latex-base - ) - tutorials? ( - dev-python/sphinx - dev-python/sphinx-rtd-theme - dev-python/sphinxcontrib-doxylink - ) - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.12.1-allow-configuration-of-install-dirs.patch - "${FILESDIR}"/${PN}-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch - "${FILESDIR}"/${PN}-1.14.1-gcc15.patch - "${FILESDIR}"/${PN}-1.14.1-tests.patch - "${FILESDIR}"/${PN}-1.14.1-boostconfig.patch # bug 969095, in 1.15 - "${FILESDIR}"/${PN}-1.14.1-boost-1.{86,87,89}.patch # in 1.15; 1.89 fix in git master -) - -src_prepare() { - if use cuda; then - cuda_src_prepare - cuda_add_sandbox -w - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - "-DDOC_INSTALL_DIR=share/doc/${PF}" - "-DLIB_INSTALL_DIR=$(get_libdir)" - "-DPCLCONFIG_INSTALL_DIR=share/cmake/${PN}-$(ver_cut 1-2)" - "-DWITH_CUDA=$(usex cuda TRUE FALSE)" - "-DWITH_LIBUSB=$(usex usb TRUE FALSE)" - "-DWITH_OPENGL=$(usex opengl TRUE FALSE)" - "-DWITH_PNG=$(usex png TRUE FALSE)" - "-DWITH_QHULL=$(usex qhull TRUE FALSE)" - "-DWITH_VTK=$(usex vtk TRUE FALSE)" - "-DWITH_PCAP=$(usex pcap TRUE FALSE)" - "-DWITH_OPENNI=$(usex openni TRUE FALSE)" - "-DWITH_OPENNI2=$(usex openni2 TRUE FALSE)" - "-DPCL_ENABLE_SSE=$(usex cpu_flags_x86_sse TRUE FALSE)" - "-DWITH_DOCS=$(usex doc TRUE FALSE)" - "-DWITH_TUTORIALS=$(usex tutorials TRUE FALSE)" - -DBUILD_global_tests="$(usex test)" - ) - - if use qt6; then - mycmakeargs+=( "-DWITH_QT=QT6" ) - else - mycmakeargs+=( "-DWITH_QT=NO" ) - fi - - cmake_src_configure -} - -src_test() { - BUILD_DIR="${BUILD_DIR}/test" cmake_src_test -} diff --git a/sci-libs/pcl/pcl-9999.ebuild b/sci-libs/pcl/pcl-9999.ebuild deleted file mode 100644 index b2d79f5e6fe7..000000000000 --- a/sci-libs/pcl/pcl-9999.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake cuda - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/PointCloudLibrary/pcl" -else - SRC_URI="https://github.com/PointCloudLibrary/pcl/archive/${P}.tar.gz" - S="${WORKDIR}/${PN}-${P}" - KEYWORDS="~amd64 ~arm" -fi - -DESCRIPTION="2D/3D image and point cloud processing" -HOMEPAGE="https://pointclouds.org/" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -IUSE="cuda doc opengl openni openni2 pcap png +qhull qt6 usb vtk cpu_flags_x86_sse test tutorials" - -REQUIRED_USE=" - openni? ( usb ) - openni2? ( usb ) - tutorials? ( doc ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/boost:= - dev-cpp/eigen:= - >=sci-libs/flann-1.7.1 - opengl? ( - media-libs/freeglut - virtual/opengl - ) - openni? ( dev-libs/OpenNI ) - openni2? ( dev-libs/OpenNI2 ) - pcap? ( net-libs/libpcap ) - png? ( media-libs/libpng:0= ) - qhull? ( media-libs/qhull:= ) - qt6? ( - dev-qt/qtbase:6[concurrent,gui,opengl] - vtk? ( sci-libs/vtk[-qt5(-),qt6] ) - ) - usb? ( virtual/libusb:1 ) - vtk? ( >=sci-libs/vtk-5.6:=[imaging,rendering,views] ) - cuda? ( >=dev-util/nvidia-cuda-toolkit-4 ) -" -DEPEND="${RDEPEND} - !!dev-cpp/metslib - test? ( dev-cpp/gtest ) -" -BDEPEND=" - doc? ( - app-text/doxygen[dot] - virtual/latex-base - ) - tutorials? ( - dev-python/sphinx - dev-python/sphinx-rtd-theme - dev-python/sphinxcontrib-doxylink - ) - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.12.1-allow-configuration-of-install-dirs.patch - "${FILESDIR}"/${PN}-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch - "${FILESDIR}"/${PN}-1.14.1-gcc15.patch - "${FILESDIR}"/${PN}-1.14.1-tests.patch -) - -src_prepare() { - if use cuda; then - cuda_src_prepare - cuda_add_sandbox -w - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - "-DDOC_INSTALL_DIR=share/doc/${PF}" - "-DLIB_INSTALL_DIR=$(get_libdir)" - "-DPCLCONFIG_INSTALL_DIR=share/cmake/${PN}-$(ver_cut 1-2)" - "-DWITH_CUDA=$(usex cuda TRUE FALSE)" - "-DWITH_LIBUSB=$(usex usb TRUE FALSE)" - "-DWITH_OPENGL=$(usex opengl TRUE FALSE)" - "-DWITH_PNG=$(usex png TRUE FALSE)" - "-DWITH_QHULL=$(usex qhull TRUE FALSE)" - "-DWITH_VTK=$(usex vtk TRUE FALSE)" - "-DWITH_PCAP=$(usex pcap TRUE FALSE)" - "-DWITH_OPENNI=$(usex openni TRUE FALSE)" - "-DWITH_OPENNI2=$(usex openni2 TRUE FALSE)" - "-DPCL_ENABLE_SSE=$(usex cpu_flags_x86_sse TRUE FALSE)" - "-DWITH_DOCS=$(usex doc TRUE FALSE)" - "-DWITH_TUTORIALS=$(usex tutorials TRUE FALSE)" - -DBUILD_global_tests="$(usex test)" - ) - - if use qt6; then - mycmakeargs+=( "-DWITH_QT=QT6" ) - else - mycmakeargs+=( "-DWITH_QT=NO" ) - fi - - cmake_src_configure -} - -src_test() { - BUILD_DIR="${BUILD_DIR}/test" cmake_src_test -} diff --git a/sci-libs/pdal/Manifest b/sci-libs/pdal/Manifest deleted file mode 100644 index 6122bfdd95a8..000000000000 --- a/sci-libs/pdal/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST PDAL-2.9.2-src.tar.bz2 96877895 BLAKE2B f8b163c4338051c477d045024214060506c8041fec99c1a921929774962878516cc205978d9cff92a85ebe2d56f4bb7578b913eda636158b98e49d8c8bc833c4 SHA512 eaf2e9b57880a561165850c059ff1d3abee90864bb3944a8c0a8af697687b4b195423ad95f4efc15a74b98e7397a60bed1a6d94ce84e9e4b3555729618f23942 -DIST PDAL-2.10.0-src.tar.bz2 102249186 BLAKE2B d1be9ccc588c7cfba07c3a8291311cbed03ed31c4d55e6cd193ef9af5b0293be4e71a17d86d06b47b764adfaa4b17f185c4376e3b4e9ef156708b6392515835b SHA512 5da36265be94c941983765c2d25e0a2a74df382641c24c7fa1566ff463927412faa2c9656ab7f6ce22eace0ec6e86da3efb8eb98bc524cb9c282a052d30adafd diff --git a/sci-libs/pdal/metadata.xml b/sci-libs/pdal/metadata.xml deleted file mode 100644 index d73ed813e338..000000000000 --- a/sci-libs/pdal/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>thomas.bettler@gmail.com</email> - <name>Thomas Bettler</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> - <longdescription> - PDAL is a C++ library for translating and manipulating point cloud data. - It is very much like the GDAL library which handles raster and vector data. - </longdescription> - <upstream> - <remote-id type="github">PDAL/PDAL</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/pdal/pdal-2.10.0.ebuild b/sci-libs/pdal/pdal-2.10.0.ebuild deleted file mode 100644 index b9fcb4315fbc..000000000000 --- a/sci-libs/pdal/pdal-2.10.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ library for translating and manipulating point cloud data" -HOMEPAGE="https://pdal.io/" -SRC_URI="https://github.com/PDAL/PDAL/releases/download/${PV}/PDAL-${PV}-src.tar.bz2" -S="${WORKDIR}/PDAL-${PV}-src" - -LICENSE="BSD" -SLOT="0/20" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="debug postgres test" -RESTRICT="!test? ( test )" - -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" -RDEPEND=" - app-arch/zstd:= - dev-libs/libxml2:= - dev-libs/openssl:= - net-misc/curl - sci-libs/gdal:= - >=sci-libs/libgeotiff-1.7.0:= - virtual/zlib:= - debug? ( sys-libs/libunwind:= ) - postgres? ( dev-db/postgresql:*[xml] ) -" -DEPEND=" - ${RDEPEND} - test? ( sci-libs/gdal[geos,jpeg(+),png,sqlite] ) -" - -src_configure() { - local mycmakeargs=( - -DBUILD_PLUGIN_PGPOINTCLOUD="$(usex postgres)" - -DWITH_COMPLETION=ON - -DWITH_BACKTRACE="$(usex debug)" - -DWITH_TESTS="$(usex test)" - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - --exclude-regex '(pgpointcloudtest|pdal_info_test|pdal_io_bpf_base_test|pdal_io_bpf_zlib_test|pdal_io_copc_reader_test|pdal_filters_overlay_test|pdal_filters_stats_test|pdal_app_plugin_test|pdal_merge_test|pdal_io_stac_reader_test)' - --output-on-failure - -j1 - ) - - cmake_src_test -} diff --git a/sci-libs/pdal/pdal-2.9.2.ebuild b/sci-libs/pdal/pdal-2.9.2.ebuild deleted file mode 100644 index 25b553468f82..000000000000 --- a/sci-libs/pdal/pdal-2.9.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2021-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ library for translating and manipulating point cloud data" -HOMEPAGE="https://pdal.io/" -SRC_URI="https://github.com/PDAL/PDAL/releases/download/${PV}/PDAL-${PV}-src.tar.bz2" -S="${WORKDIR}/PDAL-${PV}-src" - -LICENSE="BSD" -SLOT="0/19" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="debug postgres test" -RESTRICT="!test? ( test )" - -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" -RDEPEND=" - app-arch/zstd:= - dev-libs/libxml2:= - dev-libs/openssl:= - net-misc/curl - sci-libs/gdal:= - >=sci-libs/libgeotiff-1.7.0:= - virtual/zlib:= - debug? ( sys-libs/libunwind:= ) - postgres? ( dev-db/postgresql:*[xml] ) -" -DEPEND=" - ${RDEPEND} - test? ( sci-libs/gdal[geos,jpeg(+),png,sqlite] ) -" - -src_configure() { - local mycmakeargs=( - -DBUILD_PLUGIN_PGPOINTCLOUD="$(usex postgres)" - -DWITH_COMPLETION=ON - -DWITH_BACKTRACE="$(usex debug)" - -DWITH_TESTS="$(usex test)" - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - --exclude-regex '(pgpointcloudtest|pdal_info_test|pdal_io_bpf_base_test|pdal_io_bpf_zlib_test|pdal_io_copc_reader_test|pdal_filters_overlay_test|pdal_filters_stats_test|pdal_app_plugin_test|pdal_merge_test|pdal_io_stac_reader_test)' - --output-on-failure - -j1 - ) - - cmake_src_test -} diff --git a/sci-libs/pgplot/Manifest b/sci-libs/pgplot/Manifest deleted file mode 100644 index 73215746d8d6..000000000000 --- a/sci-libs/pgplot/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pgplot522.tar.gz 1197397 BLAKE2B 9eafde628373abdbda7adeb365b107618197aa5884d16b27f42b20c7957efa9b09d64adbcbc311ec92b974427355f8410a35c3f12969d240e8e25f3a72cae82b SHA512 03a075c84506ead1d665a7105cd41c7cfbe19d12094cb36fb7459a0f6ee0df0638543b7eca92aaf80677984cc47a07b968f854db8eaa90ec605f78d89c615d1f diff --git a/sci-libs/pgplot/files/pgplot-C99.patch b/sci-libs/pgplot/files/pgplot-C99.patch deleted file mode 100644 index ba3c5e46f6c2..000000000000 --- a/sci-libs/pgplot/files/pgplot-C99.patch +++ /dev/null @@ -1,331 +0,0 @@ -https://bugs.gentoo.org/875437 -diff -ru a/pgdispd/figcurs.c b/pgdispd/figcurs.c ---- a/pgdispd/figcurs.c 2024-05-14 13:48:50.018175785 +0400 -+++ b/pgdispd/figcurs.c 2024-05-14 13:43:58.801142627 +0400 -@@ -55,8 +55,7 @@ - /* Return Values: */ - /* Whatever getcurs returns */ - --int pggcurs(buf) --short *buf; -+int pggcurs(short *buf) - { - int getcurs (); - -@@ -64,8 +63,7 @@ - } - - #ifndef PGDISP --int bmgcurs(buf) --short *buf; -+int bmgcurs(short *buf) - { - int getcurs (); - -@@ -79,10 +77,7 @@ - /* 0 There are no cursor positions to return */ - /* 1 The buffer was set properly */ - --int getcurs(buf,curlist,listend) --short *buf; --struct curpos **curlist; --struct curpos **listend; -+int getcurs(short *buf, struct curpos **curlist,struct curpos **listend) - { - struct curpos *tmpptr; - -@@ -106,8 +101,7 @@ - /* on the line graphics window. */ - /* Return Value: 1 (no matter what) */ - --int pgcursor(event) --XEvent event; -+int pgcursor(XEvent event) - { - short val; /* the "value" of the event" */ - -@@ -159,8 +153,7 @@ - /* on the bitmap graphics window. */ - /* Return Value: 1 (no matter what) */ - --int bmcursor(event) --XEvent event; -+int bmcursor(XEvent event) - { - short val; /* The value associated with the cursor event */ - -@@ -211,9 +204,7 @@ - /* The getbuttonval routine updates val to correspond to the appropriate */ - /* keypress. */ - --void getbuttonval(button,val) --unsigned int button; --short *val; -+void getbuttonval(unsigned int button, short *val) - { - switch(button) - { -@@ -244,9 +235,7 @@ - /* 0 A modifier key was pressed */ - /* 1 A regular key was pressed */ - --int getkeyval(event,val) --XEvent event; --short *val; -+int getkeyval(XEvent event, short *val) - { - char tmpchr; - KeySym keysym; -@@ -264,8 +253,7 @@ - /* cursor events and does not do anything visible unless this position is */ - /* different than the previousrecorded line graphics cursor location. */ - --void pgscurs(x,y) --int x,y; -+void pgscurs(int x, int y) - { - if (lgcurses != NULL) return; - -@@ -285,8 +273,7 @@ - /* position is different than the previous recorded line graphics cursor */ - /* location. */ - --void bmscurs(x,y) --int x,y; -+void bmscurs(int x, int y) - { - if (bmcurses != NULL) return; - -diff -ru a/pgdispd/getcolors.c b/pgdispd/getcolors.c ---- a/pgdispd/getcolors.c 2024-05-14 13:23:54.984716132 +0400 -+++ b/pgdispd/getcolors.c 2024-05-14 13:34:48.860787865 +0400 -@@ -30,17 +30,20 @@ - static int rovis[]={TrueColor, StaticColor, StaticGray}; - static int nrovis=sizeof(rovis)/sizeof(rovis[0]); - --int getcolors(vistype, visual, cmap, pix, maxcolors, mincolors, depth, -- maxdepth, mindepth) --int vistype; /* The type of visual to use */ --Visual **visual; /* The visual actually used */ --Colormap *cmap; /* The color map actually used */ --unsigned long *pix; /* The pixels allocated */ --int maxcolors; /* The maximum number of colors to allocate */ --int mincolors; /* The minimum number of colors to allocate */ --int *depth; /* The depth of the visual actually used */ --int maxdepth; /* The maximum allowed visual depth */ --int mindepth; /* The minimum allowed visual depth */ -+int getcolors(int vistype, Visual **visual, Colormap *cmap, -+ unsigned long *pix, int maxcolors, int mincolors, -+ int *depth,int maxdepth, int mindepth) -+/* -+int vistype; The type of visual to use -+Visual **visual; The visual actually used -+Colormap *cmap; The color map actually used -+unsigned long *pix; The pixels allocated -+int maxcolors; The maximum number of colors to allocate -+int mincolors; The minimum number of colors to allocate -+int *depth; The depth of the visual actually used -+int maxdepth; The maximum allowed visual depth -+int mindepth; The minimum allowed visual depth -+*/ - { - XVisualInfo vinfo; /* The template for our visual */ - unsigned long pmtmp[1]; /* temporary for plane masks */ -diff -ru a/pgdispd/getdata.c b/pgdispd/getdata.c ---- a/pgdispd/getdata.c 2024-05-14 13:23:54.985716126 +0400 -+++ b/pgdispd/getdata.c 2024-05-14 13:46:09.874257376 +0400 -@@ -36,13 +36,13 @@ - #include "messages.h" - - --int getdata(event,rbuf,rbuflen,srcwin,selset) --XSelectionEvent event; /* the event we're handling */ --short *rbuf; /* a return buffer, if needed */ --int *rbuflen; /* the length of the return buffer. If it's 0, no return */ -+int getdata(XSelectionEvent event, short *rbuf, int *rbuflen, Window srcwin, int *selset) -+/*XSelectionEvent event; the event we're handling */ -+/*short *rbuf; a return buffer, if needed */ -+/*int *rbuflen; the length of the return buffer. If it's 0, no return */ - /* message should be sent. */ --Window srcwin; /* the source of our data */ --int *selset; /* whether or not the selection is owned by a user program */ -+/*Window srcwin; the source of our data */ -+/*int *selset; whether or not the selection is owned by a user program */ - { - short *buffer; /* buffer for the data received */ - /* the max buffer length (in 16-bit words) */ -diff -ru a/pgdispd/getvisuals.c b/pgdispd/getvisuals.c ---- a/pgdispd/getvisuals.c 2024-05-14 13:23:54.984716132 +0400 -+++ b/pgdispd/getvisuals.c 2024-05-14 13:39:07.775108180 +0400 -@@ -34,6 +34,10 @@ - - #define MAX_DEPTH 24 /* the maximum visual depth to use */ - -+extern int getcolors(int vistype, Visual **visual, Colormap *cmap, -+ unsigned long *pix, int maxcolors, int mincolors, -+ int *depth, int maxdepth, int mindepth); -+ - int getvisuals() - { - int i; /* Silly loop variable */ -@@ -277,10 +281,10 @@ - - if ((bm.colors=getcolors(UseDefaultCmap, &bitvisual, &bitcmap, bm.pix, - res.maxcolors+res.leavecolors, res.mincolors+res.leavecolors, -- &bitdepth)) -+ &bitdepth, MAX_DEPTH, 1)) - || (bm.colors=getcolors(UseRWVisual, &bitvisual, &bitcmap, bm.pix, - res.maxcolors+res.savecolors, res.mincolors+res.savecolors, -- &bitdepth))) -+ &bitdepth, MAX_DEPTH, 1))) - { /* success! */ - if (bitcmap == DefaultColormap(display, screen)) - { -@@ -323,7 +327,7 @@ - while (res.lgcolors > 2) - { - if (lg.colors=getcolors(UseROVisual, &linevisual, &linecmap, -- lg.pix, res.lgcolors, res.lgcolors, &linedepth)) break; -+ lg.pix, res.lgcolors, res.lgcolors, &linedepth,MAX_DEPTH, 1)) break; - - /* lower our standards */ - if (res.lgcolors > 16) res.lgcolors=16; -diff -ru a/pgdispd/handlexevent.c b/pgdispd/handlexevent.c ---- a/pgdispd/handlexevent.c 2024-05-14 13:23:54.985716126 +0400 -+++ b/pgdispd/handlexevent.c 2024-05-14 13:49:17.490990237 +0400 -@@ -46,12 +46,15 @@ - #include "globals.h" - #include "messages.h" - -+extern int pggcurs(short *buf); -+extern int getdata(XSelectionEvent event, short *rbuf, int *rbuflen, Window srcwin, int *selset); -+extern int pgcursor(XEvent event); -+ - int luttransoff=0; - int modluttransoff=0; - --int handlexevent(event,go_on) --XEvent event; --int *go_on; /* whether the calling routine shoudl exit successfully */ -+int handlexevent(XEvent event,int *go_on) -+/* *go_on; whether the calling routine shoudl exit successfully */ - { - #ifndef PGDISP - static int slitxs= -1,slitys; /* the starting point for the slit */ -diff -ru a/pgdispd/mainloop.c b/pgdispd/mainloop.c ---- a/pgdispd/mainloop.c 2024-05-14 13:23:54.984716132 +0400 -+++ b/pgdispd/mainloop.c 2024-05-14 13:41:28.880155175 +0400 -@@ -58,6 +58,9 @@ - #include "figdisp.h" - #include "globals.h" - -+extern int waitevent(); -+int handlexevent(XEvent event,int *go_on); -+ - int mainloop() - { - XEvent event; /* the current event */ -diff -ru a/pgdispd/pgdisp.c b/pgdispd/pgdisp.c ---- a/pgdispd/pgdisp.c 2024-05-14 13:23:54.985716126 +0400 -+++ b/pgdispd/pgdisp.c 2024-05-14 13:27:23.658462490 +0400 -@@ -43,9 +43,12 @@ - #undef DEFINE_GLOBALS - #undef INC_HEADER_RCS - --int main(argc,argv) --int argc; --char **argv; -+extern int initlock(); -+extern int getvisuals(); -+extern int initlgwin(); -+extern int mainloop(); -+ -+int main(int argc,char **argv) - { - Display *XOpenDisplay(); - -diff -ru a/pgdispd/proccom.c b/pgdispd/proccom.c ---- a/pgdispd/proccom.c 2024-05-14 13:23:54.984716132 +0400 -+++ b/pgdispd/proccom.c 2024-05-14 13:44:27.000952169 +0400 -@@ -117,11 +117,13 @@ - /* A trivial macro */ - #define min(x,y) (((x) > (y)) ? (y) : (x)) - --int proccom(buf,len,retbuf,retbuflen) --unsigned short *buf; /* the buffer of commands and arguments */ --int len; /* the length of the buffer */ --unsigned short *retbuf; /* a buffer for return values */ --int *retbuflen; /* the length of retbuf */ -+extern int pggcurs(short *buf); -+ -+int proccom(unsigned short *buf, int len, unsigned short *retbuf, int *retbuflen) -+/*unsigned short *buf; the buffer of commands and arguments */ -+/*int len; the length of the buffer */ -+/*unsigned short *retbuf; a buffer for return values */ -+/*int *retbuflen; the length of retbuf */ - { - static short bufcont[7]; /* the buffer contents while we're */ - /* working on things */ -diff -ru a/pgdispd/resdb.c b/pgdispd/resdb.c ---- a/pgdispd/resdb.c 2024-05-14 13:23:54.984716132 +0400 -+++ b/pgdispd/resdb.c 2024-05-14 13:29:59.091528701 +0400 -@@ -371,7 +371,7 @@ - char *strtype[20]; - XrmValue value; - int flags; -- char resource[80]; -+ char resource[180]; - - (void)sprintf(resource, "%s.bm.geometry", prog); - if (XrmGetResource(resdb, resource, "*Geometry", strtype, &value) -diff -ru a/pgdispd/returnbuf.c b/pgdispd/returnbuf.c ---- a/pgdispd/returnbuf.c 2024-05-14 13:23:54.985716126 +0400 -+++ b/pgdispd/returnbuf.c 2024-05-14 13:47:02.256903591 +0400 -@@ -15,10 +15,10 @@ - #include <X11/Xlib.h> - #include <X11/Xatom.h> - --void returnbuf(msg,len,destwin) --short *msg; /* the message to send to the client. */ --int len; /* The length of the message. */ --Window destwin; /* The window who's atom should be changed. */ -+void returnbuf(short *msg, int len, Window destwin) -+/*short *msg; the message to send to the client. */ -+/*int len; The length of the message. */ -+/*Window destwin; The window who's atom should be changed. */ - { - /* If the window is still around, then send the reply */ - if (selset) XChangeProperty(display,destwin,selatom,XA_STRING,8, -diff -ru a/pgdispd/updatelgtitle.c b/pgdispd/updatelgtitle.c ---- a/pgdispd/updatelgtitle.c 2024-05-14 13:23:54.985716126 +0400 -+++ b/pgdispd/updatelgtitle.c 2024-05-14 13:42:06.519900960 +0400 -@@ -15,6 +15,7 @@ - #include "globals.h" - #include <X11/Xlib.h> - #include <string.h> -+#include <stdio.h> - - void updatelgtitle(x,y) - int x,y; /* cursor position */ -@@ -28,7 +29,7 @@ - int i; - - #ifndef _AIX -- char *sprintf(); -+// char *sprintf(); - #endif - - /* make sure we don't confuse anything. */ -diff -ru a/pgdispd/waitevent.c b/pgdispd/waitevent.c ---- a/pgdispd/waitevent.c 2024-05-14 13:23:54.985716126 +0400 -+++ b/pgdispd/waitevent.c 2024-05-14 13:47:12.777832534 +0400 -@@ -63,6 +63,9 @@ - #define SELECT /* Use the select call to wait */ - #endif - -+extern int proccom(unsigned short *buf, int len, unsigned short *retbuf, int *retbuflen); -+void returnbuf(short *msg, int len, Window destwin); -+ - int waitevent() - { - short retbuf; diff --git a/sci-libs/pgplot/files/pgplot-compile-setup.patch b/sci-libs/pgplot/files/pgplot-compile-setup.patch deleted file mode 100644 index a5baef6a4d22..000000000000 --- a/sci-libs/pgplot/files/pgplot-compile-setup.patch +++ /dev/null @@ -1,96 +0,0 @@ ---- a/sys_linux/g77_gcc.conf.orig 1999-07-05 19:10:33.000000000 +0100 -+++ b/sys_linux/g77_gcc.conf 2008-10-29 18:30:33.000000000 +0000 -@@ -1,4 +1,4 @@ --# The GNU g77 FORTRAN compiler and Gnu gcc C compiler on an elf-system. -+# The GNU gfortran FORTRAN compiler and Gnu gcc C compiler on an elf-system. - #----------------------------------------------------------------------- - - # Optional: Needed by XWDRIV (/xwindow and /xserve) and -@@ -23,7 +23,7 @@ - # The arguments needed by the C compiler to locate Tcl, Tk and - # X-window include files. - -- TK_INCL="-I/usr/include $XINCL" -+ TK_INCL="$XINCL" - - # Optional: Needed by RVDRIV (/xrv). - # The arguments needed by the C compiler to locate Rivet, Tcl, Tk and -@@ -34,13 +34,13 @@ - # Mandatory. - # The FORTRAN compiler to use. - -- FCOMPL="g77" -+ FCOMPL="gfortran" - - # Mandatory. - # The FORTRAN compiler flags to use when compiling the pgplot library. - # (NB. makemake prepends -c to $FFLAGC where needed) - -- FFLAGC="-u -Wall -fPIC -O" -+ FFLAGC="-u -Wall" - - # Mandatory. - # The FORTRAN compiler flags to use when compiling fortran demo programs. -@@ -57,12 +57,12 @@ - # Mandatory. - # The C compiler flags to use when compiling the pgplot library. - -- CFLAGC="-Wall -fPIC -DPG_PPU -O" -+ CFLAGC="-Wall -DPG_PPU" - - # Mandatory. - # The C compiler flags to use when compiling C demo programs. - -- CFLAGD="-Wall -O" -+ CFLAGD="-Wall" - - # Optional: Only needed if the cpgplot library is to be compiled. - # The flags to use when running pgbind to create the C pgplot wrapper -@@ -74,7 +74,7 @@ - # The library-specification flags to use when linking normal pgplot - # demo programs. - -- LIBS="-L/usr/X11R6/lib -lX11" -+ LIBS="-lX11" - - # Optional: Needed by XMDRIV (/xmotif). - # The library-specification flags to use when linking motif -@@ -92,7 +92,7 @@ - # The library-specification flags to use when linking Tk demo programs. - # Note that you may need to append version numbers to -ltk and -ltcl. - -- TK_LIBS="-L/usr/lib -ltk -ltcl $LIBS -ldl" -+ TK_LIBS="-ltk -ltcl $LIBS -ldl" - - # Mandatory. - # On systems that have a ranlib utility, put "ranlib" here. On other -@@ -103,12 +103,18 @@ - # Optional: Needed on systems that support shared libraries. - # The name to give the shared pgplot library. - -- SHARED_LIB="libpgplot.so" -+ MV=5 -+ SHARED_LIB="libpgplot.so.$MV" -+ SHARED_CLIB="libcpgplot.so.$MV" - - # Optional: Needed if SHARED_LIB is set. - # How to create a shared library from a trailing list of object files. - -- SHARED_LD="gcc -shared -o $SHARED_LIB" -+ SHARED_LD_PGPLOT_OPTS="$LDFLAGS -Wl,-soname,$SHARED_LIB" -+ -+ SHARED_LD_CPGPLOT_OPTS="$LDFLAGS -Wl,-soname,$SHARED_CLIB" -+ -+ SHARED_LD="$FCOMPL -shared" - - # Optional: - # On systems such as Solaris 2.x, that allow specification of the -@@ -117,7 +123,7 @@ - # library-specification flags used to specify these libraries to - # $SHARED_LD - -- SHARED_LIB_LIBS="" -+ SHARED_LIB_LIBS="-lX11 -lXt -lpng" - - # Optional: - # Compiler name used on Next systems to compile objective-C files. diff --git a/sci-libs/pgplot/files/pgplot-drivers.patch b/sci-libs/pgplot/files/pgplot-drivers.patch deleted file mode 100644 index c03d7508fc38..000000000000 --- a/sci-libs/pgplot/files/pgplot-drivers.patch +++ /dev/null @@ -1,117 +0,0 @@ ---- a/drivers.list 2007-03-08 15:56:20.000000000 +0000 -+++ b/drivers.list 2007-03-08 15:59:21.000000000 +0000 -@@ -6,71 +6,71 @@ - !------------------------------------------------------------------------------ - ! File Code Description Restrictions - ! BCDRIV 0 /BCANON Canon Laser printer (bitmap version), landscape --! CADRIV 0 /CANON Canon Laser printer, LBP-8/A2, landscape -+ CADRIV 0 /CANON Canon Laser printer, LBP-8/A2, landscape - ! CCDRIV 0 /CCP DEC LJ250 Color Companion printer --! CGDRIV 1 /CGM CGM metafile, indexed colour selection C --! CGDRIV 2 /CGMD CGM metafile, direct colour selection C --! CWDRIV 0 /CW6320 Gould/Bryans Colourwriter 6320 pen plotter Std F77 -+ CGDRIV 1 /CGM CGM metafile, indexed colour selection C -+ CGDRIV 2 /CGMD CGM metafile, direct colour selection C -+ CWDRIV 0 /CW6320 Gould/Bryans Colourwriter 6320 pen plotter Std F77 - ! EPDRIV 0 /EPSON Epson FX100 dot matrix printer - ! EXDRIV 1 /EXCL Talaris/EXCL printers, landscape - ! EXDRIV 2 /EXCL Talaris/EXCL printers, portrait - ! GCDRIV 0 /GENICOM Genicom 4410 dot-matrix printer, landscape - ! Caution: use of GIDRIV may require a license from Unisys: --! GIDRIV 1 /GIF GIF-format file, landscape --! GIDRIV 2 /VGIF GIF-format file, portrait --! GLDRIV 1 /HPGL Hewlett-Packard HP-GL plotters, landscape Std F77 --! GLDRIV 2 /VHPGL Hewlett-Packard HP-GL plotters, portrait Std F77 -+ GIDRIV 1 /GIF GIF-format file, landscape -+ GIDRIV 2 /VGIF GIF-format file, portrait -+ GLDRIV 1 /HPGL Hewlett-Packard HP-GL plotters, landscape Std F77 -+ GLDRIV 2 /VHPGL Hewlett-Packard HP-GL plotters, portrait Std F77 - ! GODRIV 0 /GOC GOC Sigma T5670 terminal VMS - ! GVDRIV 0 /GVENICOM Genicom 4410 dot-matrix printer, portrait --! HGDRIV 0 /HPGL2 Hewlett-Packard graphics language --! HIDRIV 0 /HIDMP Houston Instruments HIDMP pen plotter -+ HGDRIV 0 /HPGL2 Hewlett-Packard graphics language -+ HIDRIV 0 /HIDMP Houston Instruments HIDMP pen plotter - ! HJDRIV 0 /HJ Hewlett-Packard Desk/Laserjet printer --! HPDRIV 0 /HP7221 Hewlett-Packard HP7221 pen plotter Std F77 -+ HPDRIV 0 /HP7221 Hewlett-Packard HP7221 pen plotter Std F77 - ! LADRIV 0 /LA50 Dec LA50 and other sixel printers - ! LJDRIV 0 /LJ Hewlett-Packard LaserJet printers VMS --! LSDRIV 1 /LIPS2 Canon LaserShot printer (landscape) --! LSDRIV 2 /VLIPS2 Canon LaserShot printer (portrait) -+ LSDRIV 1 /LIPS2 Canon LaserShot printer (landscape) -+ LSDRIV 2 /VLIPS2 Canon LaserShot printer (portrait) - ! LNDRIV 0 /LN03 Dec LN03-PLUS Laser printer (landscape) VMS - ! LVDRIV 0 /LVN03 Dec LN03-PLUS Laser printer (portrait) VMS --! LXDRIV 0 /LATEX LaTeX picture environment -+ LXDRIV 0 /LATEX LaTeX picture environment - ! MFDRIV 0 /FILE PGPLOT graphics metafile - ! NEDRIV 0 /NEXT Computers running NeXTstep operating system - NUDRIV 0 /NULL Null device (no output) Std F77 --! PGDRIV 0 /PGMF PGPLOT metafile (new format, experimental) Std F77 --! PNDRIV 1 /PNG Portable Network Graphics file C --! PNDRIV 2 /TPNG Portable Network Graphics file - transparent background C --! PPDRIV 1 /PPM Portable Pixel Map file, landscape --! PPDRIV 2 /VPPM Portable PIxel Map file, portrait --! PSDRIV 1 /PS PostScript printers, monochrome, landscape Std F77 --! PSDRIV 2 /VPS Postscript printers, monochrome, portrait Std F77 --! PSDRIV 3 /CPS PostScript printers, color, landscape Std F77 --! PSDRIV 4 /VCPS PostScript printers, color, portrait Std F77 -+ PGDRIV 0 /PGMF PGPLOT metafile (new format, experimental) Std F77 -+ PNDRIV 1 /PNG Portable Network Graphics file C -+ PNDRIV 2 /TPNG Portable Network Graphics file - transparent background C -+ PPDRIV 1 /PPM Portable Pixel Map file, landscape -+ PPDRIV 2 /VPPM Portable PIxel Map file, portrait -+ PSDRIV 1 /PS PostScript printers, monochrome, landscape Std F77 -+ PSDRIV 2 /VPS Postscript printers, monochrome, portrait Std F77 -+ PSDRIV 3 /CPS PostScript printers, color, landscape Std F77 -+ PSDRIV 4 /VCPS PostScript printers, color, portrait Std F77 - ! PXDRIV 0 /PRINTRONI Printronix P300 or P600 dot-matrix printer --! QMDRIV 1 /QMS QUIC devices (QMS and Talaris), landscape Std F77 --! QMDRIV 2 /VQMS QUIC devices (QMS and Talaris), portrait Std F77 -+ QMDRIV 1 /QMS QUIC devices (QMS and Talaris), landscape Std F77 -+ QMDRIV 2 /VQMS QUIC devices (QMS and Talaris), portrait Std F77 - ! TFDRIV 0 /TFILE Tektronix-format disk file VMS - ! TODRIV 0 /TOSHIBA Toshiba "3-in-one" printer, model P351 --! TTDRIV 1 /TEK4010 Tektronix 4006/4010 storage-tube terminal Std F77 --! TTDRIV 2 /GF GraphOn terminal Std F77 --! TTDRIV 3 /RETRO RetroGraphics terminal Std F77 --! TTDRIV 4 /GTERM GTERM Tektronix terminal emulator Std F77 --! TTDRIV 5 /XTERM XTERM Tektronix terminal emulator Std F77 --! TTDRIV 6 /ZSTEM ZSTEM terminal emulator Std F77 --! TTDRIV 7 /V603 Visual 603 terminal Std F77 -+ TTDRIV 1 /TEK4010 Tektronix 4006/4010 storage-tube terminal Std F77 -+ TTDRIV 2 /GF GraphOn terminal Std F77 -+ TTDRIV 3 /RETRO RetroGraphics terminal Std F77 -+ TTDRIV 4 /GTERM GTERM Tektronix terminal emulator Std F77 -+ TTDRIV 5 /XTERM XTERM Tektronix terminal emulator Std F77 -+ TTDRIV 6 /ZSTEM ZSTEM terminal emulator Std F77 -+ TTDRIV 7 /V603 Visual 603 terminal Std F77 - ! TTDRIV 8 /KRM3 Kermit 3 on IBM-PC Std F77 --! TTDRIV 9 /TK4100 Tektronix 4100-series terminals Std F77 --! TTDRIV 10 /VMAC Macintosh VersaTerm-PRO Tektronix-4105 emulator Std F77 -+ TTDRIV 9 /TK4100 Tektronix 4100-series terminals Std F77 -+ TTDRIV 10 /VMAC Macintosh VersaTerm-PRO Tektronix-4105 emulator Std F77 - ! TXDRIV 0 /TX TeX PK Font Output files --! VADRIV 0 /VCANON Canon Laser printer, LBP-8/A2, portrait --! VBDRIV 0 /VBCANON Canon Laser printer (bitmap version), portrait --! VTDRIV 0 /VT125 Dec Regis terminals (VT125 etc.) Std F77 --! WDDRIV 1 /WD X Window dump file, landscape --! WDDRIV 2 /VWD X Window dump file, portrait -+ VADRIV 0 /VCANON Canon Laser printer, LBP-8/A2, portrait -+! VBDRIV 0 /VBCANON Canon Laser printer (bitmap version), portrait -+ VTDRIV 0 /VT125 Dec Regis terminals (VT125 etc.) Std F77 -+ WDDRIV 1 /WD X Window dump file, landscape -+ WDDRIV 2 /VWD X Window dump file, portrait - ! WSDRIV 0 /WS VAX workstations running VWS software VMS --! X2DRIV 0 /XDISP PGDISP or FIGDISP server for X workstations C --! XWDRIV 1 /XWINDOW Workstations running X Window System C --! XWDRIV 2 /XSERVE Persistent window on X Window System C --! ZEDRIV 0 /ZETA Zeta 8 Digital Plotter -+ X2DRIV 0 /XDISP PGDISP or FIGDISP server for X workstations C -+ XWDRIV 1 /XWINDOW Workstations running X Window System C -+ XWDRIV 2 /XSERVE Persistent window on X Window System C -+! ZEDRIV 0 /ZETA Zeta 8 Digital Plotter - ! - ! The following drivers can only be used in PGPLOT installations on MS-DOS - ! systems with appropriate hardware and software. Do not select these diff --git a/sci-libs/pgplot/files/pgplot-headers.patch b/sci-libs/pgplot/files/pgplot-headers.patch deleted file mode 100644 index c05ca702648e..000000000000 --- a/sci-libs/pgplot/files/pgplot-headers.patch +++ /dev/null @@ -1,109 +0,0 @@ ---- a/sys/grtermio.c 2008-10-29 17:42:48.000000000 +0000 -+++ b/sys/grtermio.c 2008-10-29 19:54:43.000000000 +0000 -@@ -7,6 +7,10 @@ - - #include <stdio.h> - #include <termios.h> -+#include <stdlib.h> -+#include <unistd.h> -+#include <string.h> -+#include <fcntl.h> - - #ifdef PG_PPU - #define GROTER groter_ ---- a/sys/grfileio.c 2008-10-29 15:10:02.000000000 +0000 -+++ b/sys/grfileio.c 2008-10-29 17:56:50.000000000 +0000 -@@ -17,7 +17,9 @@ - */ - - #include <stdlib.h> -+#include <unistd.h> - #include <stdio.h> -+#include <string.h> - #include <sys/types.h> - #include <fcntl.h> - ---- a/drivers/figdisp_comm.c 2008-10-29 15:09:15.000000000 +0000 -+++ b/drivers/figdisp_comm.c 2008-10-29 17:54:08.000000000 +0000 -@@ -17,6 +17,8 @@ - - /* The system include files */ - #include <stdio.h> -+#include <stdlib.h> -+#include <unistd.h> - - /* Get ntohs prototype or macro */ - ---- a/pgdispd/resdb.c 2008-10-29 18:22:41.000000000 +0000 -+++ b/pgdispd/resdb.c 2008-10-29 20:10:22.000000000 +0000 -@@ -47,6 +47,8 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -+#include <unistd.h> -+ - #ifndef VMS - #include <pwd.h> - #endif -@@ -1042,7 +1044,6 @@ - int uid; - - extern char *getenv(); -- extern int getuid(); - extern struct passwd *getpwuid(); - struct passwd *pw; - register char *ptr; ---- a/pgdispd/proccom.c 2008-10-29 15:03:34.000000000 +0000 -+++ b/pgdispd/proccom.c 2008-10-29 18:15:48.000000000 +0000 -@@ -90,6 +90,7 @@ - - /* The system include files */ - #include <stdio.h> -+#include <stdlib.h> - #include <sys/types.h> - #include <netinet/in.h> - -@@ -163,7 +164,6 @@ - void drawline(); /* draw a line in the bitmap window */ - Pixmap XCreatePixmap(); - -- char *malloc(); - - if (!len & savedshorts) - { /* an incomplete command was sent! */ ---- a/pgdispd/getvisuals.c 2008-10-29 17:59:37.000000000 +0000 -+++ b/pgdispd/getvisuals.c 2008-10-29 18:00:18.000000000 +0000 -@@ -30,6 +30,7 @@ - #include "messages.h" - - #include <stdio.h> -+#include <stdlib.h> - - #define MAX_DEPTH 24 /* the maximum visual depth to use */ - ---- a/pgdispd/figcurs.c 2008-10-29 17:58:22.000000000 +0000 -+++ b/pgdispd/figcurs.c 2008-10-29 18:14:02.000000000 +0000 -@@ -19,6 +19,7 @@ - - /* The standard include files */ - #include <stdio.h> -+#include <stdlib.h> - #include <sys/types.h> - #include <netinet/in.h> - -@@ -113,7 +114,6 @@ - void getbuttonval(); - int getkeyval(); - -- char *malloc(); - - if (event.type == ButtonPress) getbuttonval(event.xbutton.button, &val); - else if (!getkeyval(event, &val)) return(1); -@@ -167,7 +167,6 @@ - void getbuttonval(); - int getkeyval(); - -- char *malloc(); - - if (event.type == ButtonPress) getbuttonval(event.xbutton.button, &val); - else if (!getkeyval(event, &val)) return(1); diff --git a/sci-libs/pgplot/files/pgplot-libpng15.patch b/sci-libs/pgplot/files/pgplot-libpng15.patch deleted file mode 100644 index a3cefe1dde77..000000000000 --- a/sci-libs/pgplot/files/pgplot-libpng15.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/drivers/pndriv.c -+++ b/drivers/pndriv.c -@@ -222,7 +222,7 @@ - return; - } - -- if (setjmp(png_ptr->jmpbuf)) { /* not really sure what I'm doing here... */ -+ if (setjmp(png_jmpbuf(png_ptr))) { - fprintf(stderr,"%s: error in libpng while writing file %s, plotting disabled\n", png_ident, filename); - png_destroy_write_struct(&png_ptr,&info_ptr); - dev->error = true; diff --git a/sci-libs/pgplot/files/pgplot-makemake.patch b/sci-libs/pgplot/files/pgplot-makemake.patch deleted file mode 100644 index fafd2f16ea40..000000000000 --- a/sci-libs/pgplot/files/pgplot-makemake.patch +++ /dev/null @@ -1,223 +0,0 @@ ---- a/makemake 2012-07-05 14:08:30.210815190 -0700 -+++ b/makemake 2012-07-05 14:26:28.353381906 -0700 -@@ -73,7 +73,7 @@ - - # List the default make targets. - --DEFAULT_TARGETS="lib grfont.dat prog pgplot.doc" -+DEFAULT_TARGETS="lib grfont.dat pgplot.doc" - - # Get the configuration variables. - -@@ -199,18 +199,18 @@ - fi - - if (echo $DRIV_LIST | grep -s xmdriv 2>&1 1>/dev/null); then -- DEFAULT_TARGETS="$DEFAULT_TARGETS libXmPgplot.a pgmdemo" -- INSTALL_LIST="$INSTALL_LIST libXmPgplot.a XmPgplot.h" -+ DEFAULT_TARGETS="$DEFAULT_TARGETS libXmPgplot.a" -+ INSTALL_LIST="$INSTALL_LIST libXmPgplot.a XmPgplot.h" - fi - - if (echo $DRIV_LIST | grep -s xadriv 2>&1 1>/dev/null); then -- DEFAULT_TARGETS="$DEFAULT_TARGETS libXaPgplot.a pgawdemo" -+ DEFAULT_TARGETS="$DEFAULT_TARGETS libXaPgplot.a" - INSTALL_LIST="$INSTALL_LIST libXaPgplot.a XaPgplot.h" - fi - - if (echo $DRIV_LIST | grep -s tkdriv 2>&1 1>/dev/null); then -- DEFAULT_TARGETS="$DEFAULT_TARGETS libtkpgplot.a pgtkdemo pgtkdemo.tcl" -- INSTALL_LIST="$INSTALL_LIST libtkpgplot.a tkpgplot.h" -+ DEFAULT_TARGETS="$DEFAULT_TARGETS libtkpgplot.a" -+ INSTALL_LIST="$INSTALL_LIST libtkpgplot.a tkpgplot.h" - fi - - if (echo $DRIV_LIST | grep -s rvdriv 2>&1 1>/dev/null); then -@@ -622,7 +622,7 @@ - # Fortran compiler and compilation flags - # - FCOMPL=$FCOMPL --FFLAGC=$FFLAGC -+FFLAGC=$FFLAGC \$(FFLAGS) - FFLAGD=$FFLAGD - # - # C compiler and compilation flags -@@ -633,7 +633,7 @@ - TK_INCL=$TK_INCL - RV_INCL=$RV_INCL - CCOMPL=$CCOMPL --CFLAGC=$CFLAGC -I. -+CFLAGC=$CFLAGC -I. \$(CFLAGS) - CFLAGD=$CFLAGD - MCOMPL=$MCOMPL - MFLAGC=$MFLAGC -@@ -657,7 +657,10 @@ - # Shared library creation. - # - SHARED_LIB=$SHARED_LIB -+SHARED_CLIB=$SHARED_CLIB - SHARED_LD=$SHARED_LD -+SHARED_LD_PGPLOT_OPTS=$SHARED_LD_PGPLOT_OPTS -+SHARED_LD_CPGPLOT_OPTS=$SHARED_LD_CPGPLOT_OPTS - # - # The libraries that the shared PGPLOT library depends upon. - # This is for systems that allow one to specify what libraries -@@ -806,7 +809,8 @@ - # libraries. - #----------------------------------------------------------------------- - --lib : libpgplot.a $(SHARED_LIB) -+#lib : libpgplot.a $(SHARED_LIB) -+lib : libpgplot.a - - libpgplot.a : $(PG_ROUTINES) $(PG_NON_STANDARD) $(GR_ROUTINES) \ - $(DISPATCH_ROUTINE) $(DRIVERS) $(SYSTEM_ROUTINES) -@@ -816,6 +820,16 @@ - $(DRIVERS) $(SYSTEM_ROUTINES) | sort | uniq` - $(RANLIB) libpgplot.a - -+#shared: $(PG_ROUTINES) $(PG_NON_STANDARD) $(GR_ROUTINES) \ -+# $(DISPATCH_ROUTINE) $(DRIVERS) $(SYSTEM_ROUTINES) -+# $(SHARED_LD) -+ -+shared: $(PG_ROUTINES) $(PG_NON_STANDARD) grfont.dat \ -+ $(GR_ROUTINES) $(DISPATCH_ROUTINE) $(DRIVERS) $(SYSTEM_ROUTINES) -+ $(SHARED_LD) $(SHARED_LD_PGPLOT_OPTS) `ls $(PG_ROUTINES) \ -+ $(PG_NON_STANDARD) $(GR_ROUTINES) $(DISPATCH_ROUTINE) \ -+ $(DRIVERS) $(SYSTEM_ROUTINES) | sort | uniq` $(SHARED_LIB_LIBS) -o $(SHARED_LIB) -+ ln -s $(SHARED_LIB) libpgplot.so - EOD - - # Emit the shared library dependency if requested. -@@ -824,7 +838,7 @@ - cat >> makefile << \EOD - $(SHARED_LIB): $(PG_ROUTINES) $(PG_NON_STANDARD) \ - $(GR_ROUTINES) $(DISPATCH_ROUTINE) $(DRIVERS) $(SYSTEM_ROUTINES) -- $(SHARED_LD) `ls $(PG_ROUTINES) \ -+ $(SHARED_LD) $(SHARED_LD_PGPLOT_OPTS) `ls $(PG_ROUTINES) \ - $(PG_NON_STANDARD) $(GR_ROUTINES) $(DISPATCH_ROUTINE) \ - $(DRIVERS) $(SYSTEM_ROUTINES) | sort | uniq` $(SHARED_LIB_LIBS) - EOD -@@ -857,7 +871,7 @@ - - for file in $DEMOS; do - echo "${file}: \$(DEMDIR)/${file}.f $EXTRA_DEPENDENCY" --echo " \$(FCOMPL) \$(FFLAGD) -o ${file} \$(DEMDIR)/${file}.f \$(PGPLOT_LIB) \$(LIBS)" -+echo " \$(FCOMPL) \$(FFLAGD) \$(DEMDIR)/${file}.f \$(PGPLOT_LIB) \$(LIBS) -o ${file}" - done >> makefile - - cat >> makefile << \EOD -@@ -921,13 +935,13 @@ - # Target "pgxwin_server" is the server program for the XW driver - #----------------------------------------------------------------------- - pgxwin_server: $(DRVDIR)/pgxwin_server.c -- $(CCOMPL) $(CFLAGC) $(XINCL) -o pgxwin_server $(DRVDIR)/pgxwin_server.c $(LIBS) -+ $(CCOMPL) $(CFLAGC) $(LDFLAGS) $(XINCL) $(DRVDIR)/pgxwin_server.c $(LIBS) -o pgxwin_server - - #----------------------------------------------------------------------- - # Target "pgdisp" is the pgdisp server program for /XDISP driver - #----------------------------------------------------------------------- - pgdisp: $(PGDISP_ROUTINES) -- $(CCOMPL) $(CFLAGC) -o pgdisp $(PGDISP_ROUTINES) $(LIBS) -+ $(CCOMPL) $(CFLAGC) $(LDFLAGS) $(PGDISP_ROUTINES) $(LIBS) -o pgdisp - - #----------------------------------------------------------------------- - # Target "libxmpgplot.a" contains the Motif widget driver. -@@ -937,6 +951,10 @@ - ar ru libXmPgplot.a XmPgplot.o - $(RANLIB) libXmPgplot.a - -+libXmPgplot.so: XmPgplot.h XmPgplot.o -+ $(SHARED_LD) $(LDFLAGS) -Wl,-soname,libXmPgplot.so.5 XmPgplot.o -L. -lcpgplot $(MOTIF_LIBS) -o libXmPgplot.so.5 -+ ln -s libXmPgplot.so.5 libXmPgplot.so -+ - XmPgplot.h: $(XMDIR)/XmPgplot.h - cp $(XMDIR)/XmPgplot.h XmPgplot.h - -@@ -965,6 +983,10 @@ - ar ru libtkpgplot.a tkpgplot.o - $(RANLIB) libtkpgplot.a - -+libtkpgplot.so: tkpgplot.h tkpgplot.o -+ $(SHARED_LD) $(LDFLAGS) -Wl,-soname,libtkpgplot.so.5 tkpgplot.o -L. -lcpgplot $(TK_LIBS) -o libtkpgplot.so.5 -+ ln -s libtkpgplot.so.5 libtkpgplot.so -+ - tkpgplot.h: $(TKDIR)/tkpgplot.h - cp $(TKDIR)/tkpgplot.h tkpgplot.h - -@@ -983,7 +1005,7 @@ - cp $(TKDIR)/rvpgplot.h rvpgplot.h - - rvpgplot.o: $(DRVDIR)/pgxwin.h rvpgplot.h $(TKDIR)/tkpgplot.c -- $(CCOMPL) -o $@ -c -DUSE_RIVET $(CFLAGC) -I$(DRVDIR) -I$(TKDIR) $(RV_INCL) $(TKDIR)/tkpgplot.c -+ $(CCOMPL) -c -DUSE_RIVET $(CFLAGC) -I$(DRVDIR) -I$(TKDIR) $(RV_INCL) $(TKDIR)/tkpgplot.c -o $@ - - #----------------------------------------------------------------------- - # Target "install" is required for Figaro. -@@ -1025,12 +1047,12 @@ - grivas.o : $(DRVDIR)/gadef.h - grtv00.o : $(DRVDIR)/imdef.h - pgxwin.o : $(DRVDIR)/pgxwin.h --pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h -+pndriv.o : /usr/include/png.h /usr/include/pngconf.h /usr/include/zlib.h /usr/include/zconf.h - - x2driv.o figdisp_comm.o: $(DRVDIR)/commands.h - - --cpg: libcpgplot.a cpgplot.h cpgdemo -+cpg: cpgplot.h libcpgplot.a - @echo ' ' - @echo '*** Finished compilation of the C PGPLOT wrapper library ***' - @echo ' ' -@@ -1039,24 +1061,36 @@ - @echo 'will be needed.' - @echo ' ' - -+cpg-shared: libcpgplot.so -+ - pgbind: $(SRC)/cpg/pgbind.c - $(CCOMPL) $(CFLAGC) $(SRC)/cpg/pgbind.c -o pgbind - --libcpgplot.a cpgplot.h: $(PG_SOURCE) pgbind -+cpgplot.h: $(PG_SOURCE) pgbind - ./pgbind $(PGBIND_FLAGS) -h -w $(PG_SOURCE) -+ -+libcpgplot.a: cpgplot.h - $(CCOMPL) -c $(CFLAGC) cpg*.c - rm -f cpg*.c - ar ru libcpgplot.a cpg*.o - $(RANLIB) libcpgplot.a - rm -f cpg*.o - -+libcpgplot.so: cpgplot.h $(PG_SOURCE) pgbind -+ ./pgbind $(PGBIND_FLAGS) -w $(PG_SOURCE) -+ $(CCOMPL) -c $(CFLAGC) cpg*.c -+ rm -f cpg*.c -+ $(SHARED_LD) $(SHARED_LD_CPGPLOT_OPTS) cpg*.o -L. -lpgplot $(SHARED_LIB_LIBS) -o $(SHARED_CLIB) -+ ln -s $(SHARED_CLIB) libcpgplot.so -+ rm -f cpg*.o -+ - cpgdemo: cpgplot.h $(SRC)/cpg/cpgdemo.c libcpgplot.a - $(CCOMPL) $(CFLAGD) -c -I. $(SRC)/cpg/cpgdemo.c -- $(FCOMPL) -o cpgdemo cpgdemo.o $(CPGPLOT_LIB) $(LIBS) -+ $(FCOMPL) cpgdemo.o $(CPGPLOT_LIB) $(LIBS) -o cpgdemo - rm -f cpgdemo.o - --pgmdemo: pgmdemo.o libXmPgplot.a -- $(FCOMPL) -o pgmdemo pgmdemo.o -L`pwd` -lXmPgplot $(CPGPLOT_LIB) $(MOTIF_LIBS) -+pgmdemo: pgmdemo.o libXmPgplot.so -+ $(FCOMPL) pgmdemo.o -L`pwd` -lXmPgplot $(CPGPLOT_LIB) $(MOTIF_LIBS) -o pgmdemo - - pgmdemo.o: $(XMDIR)/pgmdemo.c XmPgplot.h libcpgplot.a cpgplot.h - $(CCOMPL) $(CFLAGD) -c -I`pwd` $(MOTIF_INCL) $(XMDIR)/pgmdemo.c -@@ -1067,8 +1101,8 @@ - pgawdemo.o: $(XADIR)/pgawdemo.c XaPgplot.h libcpgplot.a cpgplot.h - $(CCOMPL) $(CFLAGD) -c -I`pwd` $(ATHENA_INCL) $(XADIR)/pgawdemo.c - --pgtkdemo: pgtkdemo.o libtkpgplot.a -- $(FCOMPL) -o pgtkdemo pgtkdemo.o -L`pwd` -ltkpgplot $(CPGPLOT_LIB) $(TK_LIBS) -+pgtkdemo: pgtkdemo.o libtkpgplot.so -+ $(FCOMPL) pgtkdemo.o -L`pwd` -ltkpgplot $(CPGPLOT_LIB) $(TK_LIBS) -o pgtkdemo - - pgtkdemo.tcl: $(TKDIR)/pgtkdemo.tcl - cp $(TKDIR)/pgtkdemo.tcl pgtkdemo.tcl diff --git a/sci-libs/pgplot/files/pgplot-tk86.patch b/sci-libs/pgplot/files/pgplot-tk86.patch deleted file mode 100644 index 3223dc0dac4b..000000000000 --- a/sci-libs/pgplot/files/pgplot-tk86.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/drivers/xtk/tkpgplot.c 2000-12-13 03:16:28.000000000 +0100 -+++ b/drivers/xtk/tkpgplot.c 2013-01-15 11:02:27.221231471 +0100 -@@ -417,7 +417,7 @@ - /* - * If Tk_Init() hasn't been called, then there won't be a main window - * yet. In such cases, Tk_MainWindow() places a suitable error message -- * in interp->result. -+ * in Tcl_GetStringResult(interp). - */ - if(!main_w) - return TCL_ERROR; -@@ -2136,7 +2136,7 @@ - tkpg->border = bd; - tkpg_draw_3d_border(tkpg); - } else { -- fprintf(stderr, "Tk_Get3DBorder failed: %s\n", tkpg->interp->result); -+ fprintf(stderr, "Tk_Get3DBorder failed: %s\n", Tcl_GetStringResult(tkpg->interp)); - }; - } - -@@ -2261,7 +2261,7 @@ - * argv char ** The array of 'argc' configuration arguments. - * Output: - * return int TCL_ERROR and the context of the error -- * is recorded in interp->result. -+ * is recorded in Tcl_GetStringResult(result). - */ - static int tkpg_scrollbar_error(TkPgplot *tkpg, Tcl_Interp *interp, - char *widget, char *view, int argc, -@@ -2586,7 +2586,7 @@ - * Output: - * return Tk_Window The top-level window of the path, or NULL if - * it doesn't exist. In the latter case an error -- * message will have been appended to interp->result. -+ * message will have been appended to Tcl_GetStringResult(interp). - */ - static Tk_Window tkpg_toplevel_of_path(Tcl_Interp *interp, Tk_Window main_w, - char *path) -@@ -2630,7 +2630,7 @@ - free(first); - /* - * If the window doesn't exist, Tk_NameToWindow() is documented to place -- * an error message in interp->result, so just return the error condition. -+ * an error message in Tcl_GetStringResult(interp), so just return the error condition. - */ - if(!w) - return NULL; diff --git a/sci-libs/pgplot/metadata.xml b/sci-libs/pgplot/metadata.xml deleted file mode 100644 index 6ae51aa8fe74..000000000000 --- a/sci-libs/pgplot/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - PGPLOT is a Fortran subroutine package for drawing graphs on a variety - of display devices. The CPGPLOT library adds an intermediate level of - wrapper functions between C programs and the PGPLOT library. These - functions hide the system dependencies of calling PGPLOT behind a - system independent interface. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/pgplot/pgplot-5.2.2-r8.ebuild b/sci-libs/pgplot/pgplot-5.2.2-r8.ebuild deleted file mode 100644 index 05aa0891947b..000000000000 --- a/sci-libs/pgplot/pgplot-5.2.2-r8.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fortran-2 flag-o-matic toolchain-funcs - -MY_P="${PN}${PV//.}" - -DESCRIPTION="FORTRAN/C device-independent scientific graphic library" -HOMEPAGE="https://www.astro.caltech.edu/~tjp/pgplot/" -SRC_URI="ftp://ftp.astro.caltech.edu/pub/pgplot/${MY_P}.tar.gz" - -LICENSE="free-noncomm" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~x86" -IUSE="doc motif static-libs tk" - -RDEPEND=" - media-libs/libpng:= - x11-libs/libX11:= - x11-libs/libXt:= - motif? ( x11-libs/motif:= ) - tk? ( dev-lang/tk:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( virtual/latex-base ) -" - -S="${WORKDIR}/${PN}" - -PATCHES=( - "${FILESDIR}"/${PN}-drivers.patch - "${FILESDIR}"/${PN}-makemake.patch - "${FILESDIR}"/${PN}-compile-setup.patch - "${FILESDIR}"/${PN}-headers.patch - "${FILESDIR}"/${PN}-libpng15.patch - "${FILESDIR}"/${PN}-tk86.patch -) - -src_prepare() { - default - - # fix pointers for 64 bits - if use amd64; then - sed -e 's/INTEGER PIXMAP/INTEGER*8 PIXMAP/g' \ - -i drivers/{gi,pp,wd}driv.f || die "sed 64bits failed" - fi - - cp sys_linux/g77_gcc.conf local.conf - - sed -e "s:FCOMPL=.*:FCOMPL=\"$(tc-getFC)\":g" \ - -e "s:CCOMPL=.*:CCOMPL=\"$(tc-getCC)\":g" \ - -i local.conf || die "sed flags failed" - - if [[ "$(tc-getFC)" = if* ]]; then - sed -e 's/-Wall//g' \ - -e 's/TK_LIBS="/TK_LIBS="-nofor-main /' \ - -i local.conf || die "sed drivers failed" - fi - - sed -e "s:/usr/local/pgplot:${EPREFIX}/usr/$(get_libdir)/pgplot:g" \ - -e "s:/usr/local/bin:${EPREFIX}/usr/bin:g" \ - -i src/grgfil.f makehtml maketex || die "sed path failed" - - use motif && sed -i -e '/XMDRIV/s/!//' drivers.list - use tk && sed -i -e '/TKDRIV/s/!//' drivers.list -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862918 - # - # Upstream contact method is email. I have sent one. - filter-lto - - # GCC 10 workaround - # bug #722190 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - ./makemake . linux - # post makefile creation prefix hack - sed -i -e "s|/usr|${EPREFIX}/usr|g" makefile || die -} - -src_compile() { - emake \ - CFLAGS="${CFLAGS} -fPIC" \ - FFLAGS="${FFLAGS} -fPIC" \ - shared cpg-shared pgxwin_server pgdisp pgplot.doc - - use tk && emake CFLAGS="${CFLAGS} -fPIC" libtkpgplot.so - use motif && emake CFLAGS="${CFLAGS} -fPIC" libXmPgplot.so - - emake -j1 clean - use static-libs && emake all cpg - - if use doc; then - export VARTEXFONTS="${T}/fonts" - emake pgplot.html pgplot-routines.tex - pdflatex pgplot-routines.tex - pdflatex pgplot-routines.tex - fi - - # this just cleans out not needed files - emake -j1 clean -} - -src_test() { - # i can go to 16 - local i j - for i in 1 2 3; do - emake pgdemo${i} - # j can also be LATEX CPS... - for j in NULL PNG PS CPS LATEX; do - local testexe=./test_${j}_${i} - echo "LD_LIBRARY_PATH=. ./pgdemo${i} <<EOF" > ${testexe} - echo "/${j}" >> ${testexe} - echo "EOF" >> ${testexe} - sh ${testexe} || die "test ${i} failed" - done - done -} - -src_install() { - insinto /usr/$(get_libdir)/pgplot - doins grfont.dat grexec.f *.inc rgb.txt - echo "PGPLOT_FONT=${EPREFIX}/usr/$(get_libdir)/pgplot/grfont.dat" >> 99pgplot - doenvd 99pgplot - - dolib.so libpgplot.so* - dobin pgxwin_server pgdisp - - # C binding - insinto /usr/include - doins cpgplot.h - dolib.so libcpgplot.so* - - if use motif; then - insinto /usr/include - doins XmPgplot.h - dolib.so libXmPgplot.so* - fi - - if use tk; then - insinto /usr/include - doins tkpgplot.h - dolib.so libtkpgplot.so* - fi - - use static-libs && dolib.a lib*pgplot.a - - # minimal doc - dodoc aaaread.me pgplot.doc - newdoc pgdispd/aaaread.me pgdispd.txt - - if use doc; then - dodoc cpg/cpgplot.doc applications/curvefit/curvefit.doc pgplot.html - dodoc pgplot-routines.pdf pgplot-routines.tex - docinto examples - dodoc -r examples/. cpg/cpgdemo.c - docompress -x /usr/share/doc/${PF}/examples - dodoc -r applications - docompress -x /usr/share/doc/${PF}/applications - if use motif; then - docinto pgm - dodoc -r pgmf/. drivers/xmotif/pgmdemo.c - docompress -x /usr/share/doc/${PF}/pgm - fi - if use tk; then - docinto pgtk - dodoc drivers/xtk/pgtkdemo.* - docompress -x /usr/share/doc/${PF}/pgtk - fi - fi -} diff --git a/sci-libs/pgplot/pgplot-5.2.2-r9.ebuild b/sci-libs/pgplot/pgplot-5.2.2-r9.ebuild deleted file mode 100644 index 02cdff880dad..000000000000 --- a/sci-libs/pgplot/pgplot-5.2.2-r9.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fortran-2 flag-o-matic toolchain-funcs - -MY_P="${PN}${PV//.}" - -DESCRIPTION="FORTRAN/C device-independent scientific graphic library" -HOMEPAGE="https://www.astro.caltech.edu/~tjp/pgplot/" -SRC_URI="ftp://ftp.astro.caltech.edu/pub/pgplot/${MY_P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="free-noncomm" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~x86" -IUSE="doc motif static-libs tk" - -RDEPEND=" - media-libs/libpng:= - x11-libs/libX11:= - x11-libs/libXt:= - motif? ( x11-libs/motif:= ) - tk? ( dev-lang/tk:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( virtual/latex-base ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-drivers.patch - "${FILESDIR}"/${PN}-makemake.patch - "${FILESDIR}"/${PN}-compile-setup.patch - "${FILESDIR}"/${PN}-headers.patch - "${FILESDIR}"/${PN}-libpng15.patch - "${FILESDIR}"/${PN}-tk86.patch - "${FILESDIR}"/${PN}-C99.patch -) - -src_prepare() { - default - - # fix pointers for 64 bits - if use amd64 || use ia64; then - sed -e 's/INTEGER PIXMAP/INTEGER*8 PIXMAP/g' \ - -i drivers/{gi,pp,wd}driv.f || die "sed 64bits failed" - fi - - cp sys_linux/g77_gcc.conf local.conf - - sed -e "s:FCOMPL=.*:FCOMPL=\"$(tc-getFC)\":g" \ - -e "s:CCOMPL=.*:CCOMPL=\"$(tc-getCC)\":g" \ - -i local.conf || die "sed flags failed" - - if [[ "$(tc-getFC)" = if* ]]; then - sed -e 's/-Wall//g' \ - -e 's/TK_LIBS="/TK_LIBS="-nofor-main /' \ - -i local.conf || die "sed drivers failed" - fi - - sed -e "s:/usr/local/pgplot:${EPREFIX}/usr/$(get_libdir)/pgplot:g" \ - -e "s:/usr/local/bin:${EPREFIX}/usr/bin:g" \ - -i src/grgfil.f makehtml maketex || die "sed path failed" - - use motif && sed -i -e '/XMDRIV/s/!//' drivers.list - use tk && sed -i -e '/TKDRIV/s/!//' drivers.list -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862918 - # - # Upstream contact method is email. I have sent one. - filter-lto - - # GCC 10 workaround - # bug #722190 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - ./makemake . linux - # post makefile creation prefix hack - sed -i -e "s|/usr|${EPREFIX}/usr|g" makefile || die -} - -src_compile() { - emake \ - CFLAGS="${CFLAGS} -fPIC" \ - FFLAGS="${FFLAGS} -fPIC" \ - shared cpg-shared pgxwin_server pgdisp pgplot.doc - - use tk && emake CFLAGS="${CFLAGS} -fPIC" libtkpgplot.so - use motif && emake CFLAGS="${CFLAGS} -fPIC" libXmPgplot.so - - emake -j1 clean - use static-libs && emake all cpg - - if use doc; then - export VARTEXFONTS="${T}/fonts" - emake pgplot.html pgplot-routines.tex - pdflatex pgplot-routines.tex - pdflatex pgplot-routines.tex - fi - - # this just cleans out not needed files - emake -j1 clean -} - -src_test() { - # i can go to 16 - local i j - for i in 1 2 3; do - emake pgdemo${i} - # j can also be LATEX CPS... - for j in NULL PNG PS CPS LATEX; do - local testexe=./test_${j}_${i} - echo "LD_LIBRARY_PATH=. ./pgdemo${i} <<EOF" > ${testexe} - echo "/${j}" >> ${testexe} - echo "EOF" >> ${testexe} - sh ${testexe} || die "test ${i} failed" - done - done -} - -src_install() { - insinto /usr/$(get_libdir)/pgplot - doins grfont.dat grexec.f *.inc rgb.txt - echo "PGPLOT_FONT=${EPREFIX}/usr/$(get_libdir)/pgplot/grfont.dat" >> 99pgplot - doenvd 99pgplot - - dolib.so libpgplot.so* - dobin pgxwin_server pgdisp - - # C binding - insinto /usr/include - doins cpgplot.h - dolib.so libcpgplot.so* - - if use motif; then - insinto /usr/include - doins XmPgplot.h - dolib.so libXmPgplot.so* - fi - - if use tk; then - insinto /usr/include - doins tkpgplot.h - dolib.so libtkpgplot.so* - fi - - use static-libs && dolib.a lib*pgplot.a - - # minimal doc - dodoc aaaread.me pgplot.doc - newdoc pgdispd/aaaread.me pgdispd.txt - - if use doc; then - dodoc cpg/cpgplot.doc applications/curvefit/curvefit.doc pgplot.html - dodoc pgplot-routines.pdf pgplot-routines.tex - docinto examples - dodoc -r examples/. cpg/cpgdemo.c - docompress -x /usr/share/doc/${PF}/examples - dodoc -r applications - docompress -x /usr/share/doc/${PF}/applications - if use motif; then - docinto pgm - dodoc -r pgmf/. drivers/xmotif/pgmdemo.c - docompress -x /usr/share/doc/${PF}/pgm - fi - if use tk; then - docinto pgtk - dodoc drivers/xtk/pgtkdemo.* - docompress -x /usr/share/doc/${PF}/pgtk - fi - fi -} diff --git a/sci-libs/plplot/Manifest b/sci-libs/plplot/Manifest deleted file mode 100644 index 8ad597717c3b..000000000000 --- a/sci-libs/plplot/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST plplot-5.15.0.tar.gz 15380293 BLAKE2B 41f359c4e86c7a26fe53a9d82a9f02aeb97b5b6f44abca590621640c56e50a62823e8a03165a939689f5456cee419b8292ea34faccd07641bd4a953b6f1d73fe SHA512 54533245569b724a7ef90392cc6e9ae65873e6cbab923df0f841c8b43def5e4307690894c7681802209bd3c8df97f54285310a706428f79b3340cce3207087c8 -DIST plplot_5.15.0+dfsg2-15.debian.tar.xz 76988 BLAKE2B a4be40f40e30a8ea76c5c23e41db578de72847dc1b028bcb3aaf9ce889f27774941abede6eeced22479e867b3f7c1d7a365e94db4c7cb8284f1d9d210ae59634 SHA512 6bcd80d502e51120dd8c1a7d49ecc26ac0ba4e953acd9dc1cf8f3af2e13b01e776ddc8f885d0264e9db9fc3fb9309b204e3ef0b14d1e8b039e17cd9bba2af3e1 diff --git a/sci-libs/plplot/files/plplot-5.15.0_p15-sighandler_t.patch b/sci-libs/plplot/files/plplot-5.15.0_p15-sighandler_t.patch deleted file mode 100644 index 4ee883c1b2de..000000000000 --- a/sci-libs/plplot/files/plplot-5.15.0_p15-sighandler_t.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/drivers/test-drv-info.c -+++ b/drivers/test-drv-info.c -@@ -36,10 +36,10 @@ - #define DRVSPEC_LEN 400 - - // function prototype --RETSIGTYPE catch_segv( int sig ); -+void catch_segv( int sig ); - - // SEGV signal handler --RETSIGTYPE -+void - catch_segv( int PL_UNUSED( sig ) ) - { - fprintf( stderr, "libltdl error: %s\n", lt_dlerror() ); diff --git a/sci-libs/plplot/files/plplot-5.15.0_p6-configure-c99.patch b/sci-libs/plplot/files/plplot-5.15.0_p6-configure-c99.patch deleted file mode 100644 index 60bb7aaf4501..000000000000 --- a/sci-libs/plplot/files/plplot-5.15.0_p6-configure-c99.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://bugs.gentoo.org/879761 -https://sourceforge.net/p/plplot/patches/37/ - -Avoid implicitly declaring exit. Future compilers will not support -implicit function declarations, so this cmake probe will always fail. - ---- a/cmake/modules/TestForHighBitCharacters.c -+++ b/cmake/modules/TestForHighBitCharacters.c -@@ -17,6 +17,6 @@ int - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) -- exit(1); -- exit (0); -+ return 1; -+ return 0; - } - diff --git a/sci-libs/plplot/metadata.xml b/sci-libs/plplot/metadata.xml deleted file mode 100644 index e203bf027c44..000000000000 --- a/sci-libs/plplot/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en">PLplot is a library of functions that are useful for making scientific plots. It can be used from within compiled languages such as C, C++, FORTRAN and Java, as well as interactively from interpreted languages such as Octave, Python, Perl and Tcl. It is capable of producing standard x-y plots, semilog plots, log-log plots, contour plots, 3D surface plots, mesh plots, bar charts and pie charts. Multiple graphs may be composited, and it also supports a large variety of output file devices such as Postscript, PNG, JPEG, LaTeX and others. It is also possible to to use interactive devices such as xwin, tk and xterm as output devices. PLplot also offers support for extended characters inculding the Greek alphabet and a host of mathematical symbols.</longdescription> - <use> - <flag name="dynamic">Build with dynamic drivers</flag> - <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> - <flag name="qhull">Add bindings for <pkg>media-libs/qhull</pkg></flag> - <flag name="shapefile">Enable support for ESRI shapefiles</flag> - </use> - <upstream> - <remote-id type="sourceforge">plplot</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild b/sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild deleted file mode 100644 index a55e30e26fa7..000000000000 --- a/sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild +++ /dev/null @@ -1,292 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER=3.2-gtk3 -FORTRAN_NEEDED=fortran -LUA_COMPAT=( lua5-{1,3,4} luajit ) -PYTHON_COMPAT=( python3_{13..14} ) -# fails with ninja, due to USE=java missing swig output dependencies -CMAKE_MAKEFILE_GENERATOR=emake - -inherit cmake flag-o-matic fortran-2 java-pkg-opt-2 lua-single python-single-r1 virtualx wxwidgets - -DESCRIPTION="Multi-language scientific plotting library" -HOMEPAGE="https://plplot.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P/_p*}.tar.gz - mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}+dfsg2-${PV/*_p}.debian.tar.xz" -S="${WORKDIR}/${P/_p*}" - -LICENSE="LGPL-2" -SLOT="0/14" # SONAME of libplplot.so -KEYWORDS="~amd64 ~x86" - -IUSE="cairo cxx doc +dynamic examples fortran gd java jpeg latex lua ocaml octave pdf - png python qhull shapefile svg tcl test threads tk truetype wxwidgets X" -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - python? ( ${PYTHON_REQUIRED_USE} ) - test? ( latex ) - tk? ( tcl ) -" - -RESTRICT=" - !test? ( test ) - octave? ( test ) -" - -RDEPEND=" - cairo? ( x11-libs/cairo:0=[svg(+)?,X] ) - gd? ( media-libs/gd:2=[jpeg?,png?] ) - java? ( >=virtual/jre-1.8:* ) - latex? ( - app-text/ghostscript-gpl - virtual/latex-base - ) - lua? ( ${LUA_DEPS} ) - ocaml? ( - dev-lang/ocaml:= - dev-ml/camlidl:= - ) - octave? ( sci-mathematics/octave:0= ) - pdf? ( media-libs/libharu:0= ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/numpy-2[${PYTHON_USEDEP}] - ') - ) - qhull? ( media-libs/qhull:0= ) - shapefile? ( sci-libs/shapelib:0= ) - tcl? ( - dev-lang/tcl:0= - dev-tcltk/itcl:0= - tk? ( - dev-lang/tk:0= - dev-tcltk/itk - ) - ) - truetype? ( - media-fonts/freefont - media-libs/lasi:0= - gd? ( media-libs/gd:2=[truetype] ) - ) - wxwidgets? ( - x11-libs/wxGTK:${WX_GTK_VER}=[X] - x11-libs/agg:0=[truetype?] - ) - X? ( - x11-libs/libX11:0= - x11-libs/libXau:0= - x11-libs/libXdmcp:0= - )" - -DEPEND="${RDEPEND} - virtual/pkgconfig - java? ( - >=virtual/jdk-1.8:* - dev-lang/swig - ) - lua? ( dev-lang/swig ) - ocaml? ( dev-ml/findlib ) - octave? ( >=dev-lang/swig-3.0.12 ) - python? ( dev-lang/swig ) - test? ( - media-fonts/font-misc-misc - media-fonts/font-cursor-misc - ) -" - -pkg_setup() { - use python && python-single-r1_pkg_setup - use lua && lua-single_pkg_setup - use java && java-pkg-opt-2_pkg_setup - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - # Debian patches - for p in $(<"${WORKDIR}"/debian/patches/series) ; do - eapply -p1 "${WORKDIR}/debian/patches/${p}" - done - eapply "${FILESDIR}"/${PN}-5.15.0_p6-configure-c99.patch - eapply "${FILESDIR}"/${PN}-5.15.0_p15-sighandler_t.patch - - # avoid installing license - sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die - - # prexify hard-coded /usr/include in cmake modules - sed -i \ - -e "s:/usr/include:${EPREFIX}/usr/include:g" \ - -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \ - -e "s:/usr/share:${EPREFIX}/usr/share:g" \ - cmake/modules/*.cmake || die - - # change default install directories for doc and examples - local f - while IFS="" read -d $'\0' -r f; do - sed -i -e 's:${DATA_DIR}/examples:${DOC_DIR}/examples:g' "${f}" || die - done < <(find "${S}" -name CMakeLists.txt -print0) - - sed -i \ - -e 's:${VERSION}::g' \ - -e "s:doc/\${PACKAGE}:doc/${PF}:" \ - cmake/modules/instdirs.cmake || die - - java-utils-2_src_prepare -} - -src_configure() { - use wxwidgets && setup-wxwidgets - - # - don't build doc, it pulls in a whole stack of horrible dependencies - # - Bindings: - # * Ada is a mess in Gentoo, don't use - # * D has been removed from Gentoo, don't use - # * Qt4 has been disabled, as it is deprecated and unsupported upstream - # - DPLD_* drivers need to use ON/OFF instead of the usex defaults yes/no, as - # the testsuite performs a string comparison to determine which tests to run - - # Octave bindings now require C++11 support, #609980 - append-cxxflags -std=c++11 - - local mycmakeargs=( - # The build system does not honour CMAKE_INSTALL_LIBDIR as a - # relative dir, which is against the spirit of GNUInstallDirs, #610066 - -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) - - ## Features - -DBUILD_DOC=OFF - -DBUILD_DOX_DOC=OFF - -DUSE_RPATH=OFF - -DPREBUILT_DOC=$(usex doc) - -DHAVE_SHAPELIB=$(usex shapefile) - -DWITH_FREETYPE=$(usex truetype) - -DPL_HAVE_PTHREAD=$(usex threads) - -DPL_HAVE_QHULL=$(usex qhull) - -DPLPLOT_USE_QT5=OFF # bug #953991 - - ## Tests - -DBUILD_TEST=$(usex test) - - ## Bindings - -DENABLE_ada=OFF - -DENABLE_d=OFF - -DENABLE_ocaml=$(usex ocaml) - -DENABLE_pyqt4=OFF - -DENABLE_cxx=$(usex cxx) - -DENABLE_DYNDRIVERS=$(usex dynamic) - -DENABLE_fortran=$(usex fortran) - -DENABLE_java=$(usex java) - -DENABLE_lua=$(usex lua) - -DENABLE_octave=$(usex octave) - -DENABLE_python=$(usex python) - -DENABLE_qt=OFF # bug #953991 - -DENABLE_tcl=$(usex tcl) - -DENABLE_itcl=$(usex tcl) - -DENABLE_tk=$(usex tk) - -DENABLE_itk=$(usex tk) - -DENABLE_wxwidgets=$(usex wxwidgets) - - ## Drivers - -DPLD_cgm=OFF - -DPLD_gif=OFF - -DPLD_jpeg=OFF - -DPLD_plmeta=OFF - -DPLD_png=OFF - -DPLD_pstex=OFF - -DPLD_wxpng=OFF - -DPLD_mem=ON - -DPLD_null=ON - -DPLD_wingcc=ON - # Cairo - $(usex cairo "" "-DDEFAULT_NO_CAIRO_DEVICES=ON") - -DPLD_epscairo=$(usex cairo ON OFF) - -DPLD_extcairo=$(usex cairo ON OFF) - -DPLD_memcairo=$(usex cairo ON OFF) - -DPLD_pdfcairo=$(usex cairo ON OFF) - -DPLD_pngcairo=$(usex cairo ON OFF) - -DPLD_pscairo=$(usex cairo ON OFF) - -DPLD_svgcairo=$(usex cairo ON OFF) - -DPLD_xcairo=$(usex cairo ON OFF) - # LaTeX - -DPLD_ps=$(usex latex ON OFF) - # PDF - -DPLD_pdf=$(usex pdf ON OFF) - # Qt - -DPLD_aqt=OFF # bug #953991 - -DPLD_bmpqt=OFF # bug #953991 - -DPLD_epsqt=OFF # bug #953991 - -DPLD_extqt=OFF # bug #953991 - -DPLD_jpgqt=OFF # bug #953991 - -DPLD_memqt=OFF # bug #953991 - -DPLD_pdfqt=OFF # bug #953991 - -DPLD_pngqt=OFF # bug #953991 - -DPLD_ppmqt=OFF # bug #953991 - -DPLD_qtwidget=OFF # bug #953991 - -DPLD_svgqt=OFF # bug #953991 - -DPLD_tiffqt=OFF # bug #953991 - # SVG - -DPLD_svg=$(usex svg ON OFF) - # Tk - -DPLD_ntk=$(usex tk ON OFF) - -DPLD_tk=$(usex tk ON OFF) - -DPLD_tkwin=$(usex tk ON OFF) - # Truetype - -DPLD_psttf=$(usex truetype ON OFF) - # Wx - -DPLD_wxwidgets=$(usex wxwidgets ON OFF) - # X - -DPLD_xfig=$(usex X ON OFF) - -DPLD_xwin=$(usex X ON OFF) - ) - - use truetype && mycmakeargs+=( - -DPL_FREETYPE_FONT_PATH="${EPREFIX}"/usr/share/fonts/freefont - ) - use shapefile && mycmakeargs+=( - -DSHAPELIB_INCLUDE_DIR="${EPREFIX}"/usr/include/libshp - ) - use lua && mycmakeargs+=( - -DREQUIRED_LUA_VERSION=$(lua_get_version) - ) - use ocaml && mycmakeargs+=( - -DOCAML_INSTALL_DIR="$(ocamlc -where)" - ) - use python && mycmakeargs+=( - -DENABLE_pyqt5=OFF # bug #953991 - ) - - cmake_src_configure - - # clean up bloated pkg-config files (help linking properly on prefix) - sed -i \ - -e "/Cflags/s:-I\(${EPREFIX}\|\)/usr/include[[:space:]]::g" \ - -e "/Libs/s:-L\(${EPREFIX}\|\)/usr/lib\(64\|\)[[:space:]]::g" \ - -e "s:${LDFLAGS}::g" \ - "${BUILD_DIR}"/pkgcfg/*pc || die -} - -src_test() { - virtx cmake_src_test -} - -src_install() { - cmake_src_install - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - else - rm -r "${ED}"/usr/share/doc/${PF}/examples || die - fi - - use python && python_optimize - - if use java; then - java-pkg_dojar "${BUILD_DIR}"/examples/java/${PN}.jar - java-pkg_regso "${EPREFIX}"/usr/$(get_libdir)/jni/libplplotjavac_wrap.so - fi -} diff --git a/sci-libs/poselib/Manifest b/sci-libs/poselib/Manifest deleted file mode 100644 index f76945bf8084..000000000000 --- a/sci-libs/poselib/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST poselib-2.0.4.tar.gz 198206 BLAKE2B 483af5c2d4c825cb8d49e5f98df9a679de0e52f7e43fb0b87ae0f26f0b4f4373cbe0e252d68df0fcf4071b5384e80f45e2d28f48562250ca006caa5b92933601 SHA512 adc43c4f0fd8544d2c7ef05538696a8ae614837f5e90c31b8b9c8f4b5a11eb773229c22444e01482de697a0f5b3137d4a63a24ba9fcc72b366a347252d3c16b1 -DIST poselib-2.0.5.tar.gz 240785 BLAKE2B 1b8e22a50322c58be44bddffdd86983969b535adeb41b5c600481abe4a6c968b80371ce6f5d0652f0389e1b98a127d7c38db64beb51e93fb0faf2f2e9fb89025 SHA512 ed56d8cd6a3073776edbfe9d11e2ebf8e2bed4065f7f53a02541323c1631632bf6c161d305fc09674175351b024bf019211dfa9d7a48e74e3c5563941099f1ef diff --git a/sci-libs/poselib/metadata.xml b/sci-libs/poselib/metadata.xml deleted file mode 100644 index f8a8c1127562..000000000000 --- a/sci-libs/poselib/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>spam-to-marten@wadenback.se</email> - <name>Mårten Wadenbäck</name> - </maintainer> - <use> - <flag name="benchmark">Build the benchmark binary.</flag> - </use> - <upstream> - <remote-id type="github">PoseLib/PoseLib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/poselib/poselib-2.0.4.ebuild b/sci-libs/poselib/poselib-2.0.4.ebuild deleted file mode 100644 index e4cd199d51b9..000000000000 --- a/sci-libs/poselib/poselib-2.0.4.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_PN="PoseLib" - -DESCRIPTION="Minimal solvers for calibrated camera pose estimation" -HOMEPAGE="https://github.com/PoseLib/PoseLib" -SRC_URI="https://github.com/PoseLib/PoseLib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="benchmark" - -DEPEND="dev-cpp/eigen" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DWITH_BENCHMARK=$(usex benchmark) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - if use benchmark; then - # As "benchmark" is a too generic name, let's make it more specific. - mv "${ED}/usr/bin/benchmark" "${ED}/usr/bin/${PN}-benchmark" \ - || die "Failed to rename benchmark binary" - fi -} diff --git a/sci-libs/poselib/poselib-2.0.5.ebuild b/sci-libs/poselib/poselib-2.0.5.ebuild deleted file mode 100644 index e4cd199d51b9..000000000000 --- a/sci-libs/poselib/poselib-2.0.5.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -MY_PN="PoseLib" - -DESCRIPTION="Minimal solvers for calibrated camera pose estimation" -HOMEPAGE="https://github.com/PoseLib/PoseLib" -SRC_URI="https://github.com/PoseLib/PoseLib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="benchmark" - -DEPEND="dev-cpp/eigen" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DWITH_BENCHMARK=$(usex benchmark) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - if use benchmark; then - # As "benchmark" is a too generic name, let's make it more specific. - mv "${ED}/usr/bin/benchmark" "${ED}/usr/bin/${PN}-benchmark" \ - || die "Failed to rename benchmark binary" - fi -} diff --git a/sci-libs/primegen/Manifest b/sci-libs/primegen/Manifest deleted file mode 100644 index d2b3ee632339..000000000000 --- a/sci-libs/primegen/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST primegen-0.97.tar.gz 31491 BLAKE2B d9e48075a38456da30a23aa95dcf98143f5ad59e8ec56469ea06b6f33b8b2376261fd254fdb9c40ca55f76fae58b89c82329194dd99be3a6bbb356416f294337 SHA512 d6d8de4d9866dbbec20afd4d4b563e3383528138cd3ec849f706211045d735c28bbf7aa6931b8aa54163664e87c2e7ad028c68f407040ac88efce7856bc8b6f4 diff --git a/sci-libs/primegen/files/primegen-0.97-main-rettype.patch b/sci-libs/primegen/files/primegen-0.97-main-rettype.patch deleted file mode 100644 index 660dc193ab2b..000000000000 --- a/sci-libs/primegen/files/primegen-0.97-main-rettype.patch +++ /dev/null @@ -1,13 +0,0 @@ -Adding return type to main function -Bug: https://bugs.gentoo.org/898288 ---- a/eratspeed.c -+++ b/eratspeed.c -@@ -402,7 +402,7 @@ void countit() - timing t; - timing told; - --main() -+int main() - { - int L = 1; - diff --git a/sci-libs/primegen/files/primegen-0.97-man.patch b/sci-libs/primegen/files/primegen-0.97-man.patch deleted file mode 100644 index f57c4dfce42b..000000000000 --- a/sci-libs/primegen/files/primegen-0.97-man.patch +++ /dev/null @@ -1,24 +0,0 @@ -Fix incorrect man page and include mention of the possibility -of linking to a static libary only. -https://bugs.gentoo.org/show_bug.cgi?id=562570 - ---- a/primegen.3 -+++ b/primegen.3 -@@ -14,13 +14,16 @@ - .br - void \fBprimegen_skipto\fP(&\fIpg\fR,\fIbound\fR); - --struct primegen \fIpg\fR; -+primegen \fIpg\fR; - .br - uint64 \fIbound\fR; - .SH DESCRIPTION - The primegen library generates prime numbers in order: - 2, 3, 5, 7, etc. - It can generate primes as large as 10^15. -+Only a static version of this library is provided, so instead of -+linking your program with -lprimegen you will have to pass the -+full path to the library (e.g. /usr/lib/primegen.a) to the compiler. - - The simplest way to use primegen - is to call diff --git a/sci-libs/primegen/files/primegen-0.97-missing-headers.patch b/sci-libs/primegen/files/primegen-0.97-missing-headers.patch deleted file mode 100644 index 2b15756c8d1b..000000000000 --- a/sci-libs/primegen/files/primegen-0.97-missing-headers.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/eratspeed.c -+++ b/eratspeed.c -@@ -1,6 +1,8 @@ - #define B32 1001 - #define B (B32 * 32) - -+#include <stdio.h> -+#include <stdlib.h> - #include "timing.h" - #include "uint32.h" - ---- a/primegaps.c -+++ b/primegaps.c -@@ -1,4 +1,5 @@ - #include <math.h> -+#include <stdio.h> - #include "primegen.h" - - primegen pg; ---- a/primes.c -+++ b/primes.c -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <stdlib.h> - #include "primegen.h" - #include "fs64.h" - ---- a/primespeed.c -+++ b/primespeed.c -@@ -1,3 +1,5 @@ -+#include <stdio.h> -+#include <stdlib.h> - #include "timing.h" - #include "primegen.h" - #include "primegen_impl.h" ---- a/error.h -+++ b/error.h -@@ -1,7 +1,7 @@ - #ifndef ERROR_H - #define ERROR_H - --extern int errno; -+#include <errno.h> - - extern int error_intr; - extern int error_nomem; diff --git a/sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch b/sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch deleted file mode 100644 index 967c005b08be..000000000000 --- a/sci-libs/primegen/files/primegen-0.97-respect-ar-ranlib.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/make-makelib.sh -+++ b/make-makelib.sh -@@ -1,6 +1,6 @@ - echo 'main="$1"; shift' - echo 'rm -f "$main"' --echo 'ar cr "$main" ${1+"$@"}' -+echo '${AR} cr "$main" ${1+"$@"}' - - case "$1" in - sunos-5.*) ;; -@@ -11,6 +11,6 @@ - hp-ux-*) ;; - sco*) ;; - *) -- echo 'ranlib "$main"' -+ echo '${RANLIB} "$main"' - ;; - esac diff --git a/sci-libs/primegen/metadata.xml b/sci-libs/primegen/metadata.xml deleted file mode 100644 index 3b04521c13df..000000000000 --- a/sci-libs/primegen/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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"> - primegen is a small, fast library to generate prime numbers in - order. It generates the 50847534 primes up to 1000000000 in just 8 - seconds on a Pentium II-350; it prints them in decimal in just 35 - seconds. - - primegen can generate primes up to 1000000000000000, although it - is not optimized for primes past 32 bits. It uses the Sieve of Atkin - instead of the traditional Sieve of Eratosthenes. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/primegen/primegen-0.97-r3.ebuild b/sci-libs/primegen/primegen-0.97-r3.ebuild deleted file mode 100644 index 932b3e20144f..000000000000 --- a/sci-libs/primegen/primegen-0.97-r3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Small, fast library to generate primes in order" -HOMEPAGE="https://cr.yp.to/primegen.html" -SRC_URI="https://cr.yp.to/primegen/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 ~ppc ~x86" - -PATCHES=( - "${FILESDIR}"/${P}-man.patch - "${FILESDIR}"/${P}-missing-headers.patch - "${FILESDIR}"/${P}-respect-ar-ranlib.patch - "${FILESDIR}"/${PN}-0.97-main-rettype.patch -) - -src_prepare() { - default - - local file - while IFS="" read -d $'\0' -r file; do - sed -i -e 's:\(primegen.a\):lib\1:' "${file}" || die - done < <(find . -type f -print0) - mkdir usr || die -} - -src_configure() { - # Fixes bug #161015 - append-flags -fsigned-char - echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS}" > conf-cc || die - echo "${S}/usr" > conf-home || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die - tc-export AR RANLIB -} - -src_test() { - [[ $(./primes 1 100000000 | md5sum ) == "4e2b0027288a27e9c99699364877c9db "* ]] || die "test failed" -} - -src_install() { - dobin primegaps primes primespeed - doman primegaps.1 primes.1 primespeed.1 primegen.3 - dolib.a libprimegen.a - # include the 2 typedefs to avoid collision (bug #248327) - sed -i \ - -e "s/#include \"uint32.h\"/$(grep typedef uint32.h)/" \ - -e "s/#include \"uint64.h\"/$(grep typedef uint64.h)/" \ - primegen.h || die - - doheader primegen.h - dodoc BLURB CHANGES README TODO -} diff --git a/sci-libs/profnet/Manifest b/sci-libs/profnet/Manifest deleted file mode 100644 index 0af20650a462..000000000000 --- a/sci-libs/profnet/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST profnet-1.0.22.tar.gz 203676 BLAKE2B ecee0347d711784c37b71cc3b0812bbd871d2438716a4fa2fb1e2b9c1fe3a9801073fcff3432203feed226325db36d4246d0be64487c57f2f643a192ae33840e SHA512 11c6d180219b60df7c5e144719354b7fbd5845e4ab6e52027315ee80d820c89fca9bce5b9e9e49314aa64058f93196f0cd35089604b53721fee3c050e45d9555 diff --git a/sci-libs/profnet/metadata.xml b/sci-libs/profnet/metadata.xml deleted file mode 100644 index ccdff086e20b..000000000000 --- a/sci-libs/profnet/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/profnet/profnet-1.0.22.ebuild b/sci-libs/profnet/profnet-1.0.22.ebuild deleted file mode 100644 index a82ed08c0be7..000000000000 --- a/sci-libs/profnet/profnet-1.0.22.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Neural network architecture for profacc" -HOMEPAGE="https://rostlab.org/" -SRC_URI="ftp://rostlab.org/profnet/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="sys-libs/libunwind" -DEPEND="${RDEPEND}" - -src_prepare() { - default - sed \ - -e '/$@/s:-o:$(LDFLAGS) -o:g' \ - -i src-phd/Makefile || die -} - -src_compile() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862921 - # No upstream bug. Upstream link seemingly doesn't provide any information - # about this specific project. - filter-lto - - append-fflags $(test-flags-FC -fallow-argument-mismatch) - emake \ - F77="$(tc-getF77)" \ - FFLAGS="${FFLAGS}" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - prefix="${EPREFIX}/usr" \ - install - - # Don't install compressed man pages - find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die -} diff --git a/sci-libs/profphd-utils/Manifest b/sci-libs/profphd-utils/Manifest deleted file mode 100644 index d66e7345cb0c..000000000000 --- a/sci-libs/profphd-utils/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST profphd-utils-1.0.10.tar.gz 388222 BLAKE2B 1985bb9b93a502911f0d3b5c7de9031d633f6060e9ae0b7531d248436b1dacf6f3462bab1bc127add341dc00a8200a88860197dd6515c1430395b840c44b98ca SHA512 c8a777e20bd721e53610ec28da01771300b06f3d284d40b0681ac0e38e8e0b3c7507e1aec7ddc627808d6ce7ccf8d3db94bf87449b958647e00a9c9d98a4300c diff --git a/sci-libs/profphd-utils/metadata.xml b/sci-libs/profphd-utils/metadata.xml deleted file mode 100644 index ccdff086e20b..000000000000 --- a/sci-libs/profphd-utils/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/profphd-utils/profphd-utils-1.0.10-r1.ebuild b/sci-libs/profphd-utils/profphd-utils-1.0.10-r1.ebuild deleted file mode 100644 index 760508f64e07..000000000000 --- a/sci-libs/profphd-utils/profphd-utils-1.0.10-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fortran-2 toolchain-funcs - -DESCRIPTION="Additional utils for profphd" -HOMEPAGE="https://rostlab.org/" -SRC_URI="ftp://rostlab.org/profphd-utils/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND="dev-lang/perl" - -src_compile() { - emake \ - F77="$(tc-getF77)" \ - AM_FFLAGS="" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - prefix="${EPREFIX}"/usr \ - install - dodoc ChangeLog AUTHORS -} diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest deleted file mode 100644 index d3306378e847..000000000000 --- a/sci-libs/proj/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST proj-9.4.1.tar.gz 5665272 BLAKE2B 9751ca658e77650236e5d8888d4d3a5e3da4c5761494d1a544baa565bd0aea967c08d871d7b67de0b0f7ffb07fc16212edbbd3a91532c70677e1702e050a7f7e SHA512 e9e4a80125a9481709fa7a16c8ceed7c5480c1d9152fe0c16ff69cd976081b9f41e23783459ee2a50771ec7f6210f46167de5af9ee943ff274bd27a1de4b6305 -DIST proj-9.6.2.tar.gz 6394614 BLAKE2B 89afb27c72b777e4bdd5907b80412b808e0a123320c88e1468b48133204046cf59c869cb681cacbaa839261b4f73d1dcd8ebcf354f3842a2af67d6f9a91a191e SHA512 f868c27f07544ac5b998f8f10d25033438f68dbce9b8eebe39fe72f8df02cd660eb54e706eac31674829d0a5fdb0aeb0358355bee187d92afc1be9f33bc42416 -DIST proj-9.7.0.tar.gz 5904389 BLAKE2B 713cf395e9bc08b3b311d50c0b4862f0b13762b6254389fbad77dde75b7f3c900200d90adb3459ec9017ac23616661780b0368935cc6f6e17e8627f041d209c1 SHA512 a1ebf827e614ba2fc42aee018022b1591eee9758b2d341451e12d45441be98b3595f04c04def3c138c915736fa595d16e50e88b6b0d68b8254c1573d2ade7fd6 -DIST proj-data-1.18.tar.gz 735652646 BLAKE2B 62ca77e6f0a58992a914ebc6a7558b5ddb4529a5bf20a96eedbc62ef7c1bcc5c05582663846e43e132a1b8eaf821bbbc0be792335bad03028db085422d3ed269 SHA512 805eadd29665697398f568f5e4f45df8eadea6fc2841ce901c703613fab13f6f064e6f187621e76017b9b67bb1ca0c6dc1dd2be9848c5169d7e6ebaa2aeea950 -DIST proj-data-1.23.tar.gz 791943741 BLAKE2B 322dff103a75b1e6683b14a8084c88780fcdb7e806ef3a9eca74f4e1dc31f12fa8a01ff993f6ed69b640dd93a40a30ca4f5a05e272c731b707d5b980e1c1b796 SHA512 6397f2e956b609fe8b3bb3f0775f8f167ed2b2be800dd452f2bd6576588510c9bc8d6a2e1357b36690e9afdd3c8fe0936bcfa80e69de49d52489c173655bddbc diff --git a/sci-libs/proj/files/proj-9.4.1-include-cstdint.patch b/sci-libs/proj/files/proj-9.4.1-include-cstdint.patch deleted file mode 100644 index 482e967805ac..000000000000 --- a/sci-libs/proj/files/proj-9.4.1-include-cstdint.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://github.com/rouault/PROJ/commit/35546a7eb1846b93bd035932562193b980c27520 - -From 35546a7eb1846b93bd035932562193b980c27520 Mon Sep 17 00:00:00 2001 -From: Even Rouault <even.rouault@spatialys.com> -Date: Wed, 7 Aug 2024 11:25:30 +0200 -Subject: [PATCH] Add missing include cstdint - -Fixes #4215 ---- - src/apps/cct.cpp | 1 + - src/apps/cs2cs.cpp | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/apps/cct.cpp b/src/apps/cct.cpp -index f7d46cd655..193fff6e47 100644 ---- a/src/apps/cct.cpp -+++ b/src/apps/cct.cpp -@@ -79,6 +79,7 @@ Thomas Knudsen, thokn@sdfe.dk, 2016-05-25/2017-10-26 - #include <string.h> - - #include <algorithm> -+#include <cstdint> - #include <fstream> // std::ifstream - #include <iostream> - -diff --git a/src/apps/cs2cs.cpp b/src/apps/cs2cs.cpp -index 27caa603cc..88353bf8f0 100644 ---- a/src/apps/cs2cs.cpp -+++ b/src/apps/cs2cs.cpp -@@ -36,6 +36,7 @@ - #include <string.h> - - #include <cassert> -+#include <cstdint> - #include <iostream> - #include <string> - #include <vector> diff --git a/sci-libs/proj/metadata.xml b/sci-libs/proj/metadata.xml deleted file mode 100644 index 748ed63a6c36..000000000000 --- a/sci-libs/proj/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> - <upstream> - <remote-id type="github">OSGeo/PROJ</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/proj/proj-9.4.1.ebuild b/sci-libs/proj/proj-9.4.1.ebuild deleted file mode 100644 index ee0636aa7c6f..000000000000 --- a/sci-libs/proj/proj-9.4.1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="PROJ coordinate transformation software" -HOMEPAGE="https://proj.org/" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/OSGeo/PROJ.git" - EGIT_DATA_REPO_URI="https://github.com/OSGeo/PROJ-data.git" -else - # Check https://proj.org/download.html for latest data tarball - # https://github.com/OSGeo/PROJ-data/releases - PROJ_DATA_PV="1.18" - SRC_URI=" - https://github.com/OSGeo/PROJ/releases/download/${PV}/${P}.tar.gz - https://github.com/OSGeo/PROJ-data/releases/download/${PROJ_DATA_PV}.0/${PN}-data-${PROJ_DATA_PV}.tar.gz - https://download.osgeo.org/proj/${P}.tar.gz - https://download.osgeo.org/proj/${PN}-data-${PROJ_DATA_PV}.tar.gz - " - KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" -fi - -LICENSE="MIT" -SLOT="0/$(ver_cut 1)" -# Changes on every major release -IUSE="curl test +tiff" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-db/sqlite:3 - curl? ( net-misc/curl ) - tiff? ( media-libs/tiff:= ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}/${PN}-9.4.1-include-cstdint.patch" -) - -src_unpack() { - if [[ ${PV} = *9999* ]] ; then - git-r3_src_unpack - - git-r3_fetch "${EGIT_DATA_REPO_URI}" - git-r3_checkout "${EGIT_DATA_REPO_URI}" "${S}/data" - else - unpack "${P}.tar.gz" - - cd "${S}"/data || die - mv README README.DATA || die - - unpack "${PN}-data-${PROJ_DATA_PV}.tar.gz" - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DBUILD_PROJSYNC=$(usex curl) - -DENABLE_CURL=$(usex curl) - -DENABLE_TIFF=$(usex tiff) - ) - - if use test ; then - mycmakeargs+=( - -DUSE_EXTERNAL_GTEST=ON - -DBUILD_BENCHMARKS=OFF - -DRUN_NETWORK_DEPENDENT_TESTS=OFF - ) - fi - - cmake_src_configure -} - -src_test() { - CMAKE_SKIP_TESTS=( - # proj_test_cpp_api: https://lists.osgeo.org/pipermail/proj/2019-September/008836.html - # testprojinfo: Also related to map data? - "proj_test_cpp_api" - "testprojinfo" - ) - - cmake_src_test -} - -src_install() { - cmake_src_install - - cd data || die - dodoc README.DATA - - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/proj/proj-9.6.2.ebuild b/sci-libs/proj/proj-9.6.2.ebuild deleted file mode 100644 index 0af315478798..000000000000 --- a/sci-libs/proj/proj-9.6.2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="PROJ coordinate transformation software" -HOMEPAGE="https://proj.org/" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/OSGeo/PROJ.git" - EGIT_DATA_REPO_URI="https://github.com/OSGeo/PROJ-data.git" -else - # Check https://proj.org/download.html for latest data tarball - # https://github.com/OSGeo/PROJ-data/releases - PROJ_DATA_PV="1.18" - SRC_URI=" - https://github.com/OSGeo/PROJ/releases/download/${PV}/${P}.tar.gz - https://github.com/OSGeo/PROJ-data/releases/download/${PROJ_DATA_PV}.0/${PN}-data-${PROJ_DATA_PV}.tar.gz - https://download.osgeo.org/proj/${P}.tar.gz - https://download.osgeo.org/proj/${PN}-data-${PROJ_DATA_PV}.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -LICENSE="MIT" -SLOT="0/$(ver_cut 1)" -# Changes on every major release -IUSE="curl test +tiff" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-db/sqlite:3 - curl? ( net-misc/curl ) - tiff? ( media-libs/tiff:= ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" - -src_unpack() { - if [[ ${PV} = *9999* ]] ; then - git-r3_src_unpack - - git-r3_fetch "${EGIT_DATA_REPO_URI}" - git-r3_checkout "${EGIT_DATA_REPO_URI}" "${S}/data" - else - unpack "${P}.tar.gz" - - cd "${S}"/data || die - mv README README.DATA || die - - unpack "${PN}-data-${PROJ_DATA_PV}.tar.gz" - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DBUILD_PROJSYNC=$(usex curl) - -DENABLE_CURL=$(usex curl) - -DENABLE_TIFF=$(usex tiff) - ) - - if use test ; then - mycmakeargs+=( - -DUSE_EXTERNAL_GTEST=ON - -DBUILD_BENCHMARKS=OFF - -DRUN_NETWORK_DEPENDENT_TESTS=OFF - ) - fi - - cmake_src_configure -} - -src_test() { - CMAKE_SKIP_TESTS=( - # proj_test_cpp_api: https://lists.osgeo.org/pipermail/proj/2019-September/008836.html - # testprojinfo: Also related to map data? - "proj_test_cpp_api" - "testprojinfo" - ) - - cmake_src_test -} - -src_install() { - cmake_src_install - - cd data || die - dodoc README.DATA - - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/proj/proj-9.7.0.ebuild b/sci-libs/proj/proj-9.7.0.ebuild deleted file mode 100644 index 34315083c214..000000000000 --- a/sci-libs/proj/proj-9.7.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="PROJ coordinate transformation software" -HOMEPAGE="https://proj.org/" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/OSGeo/PROJ.git" - EGIT_DATA_REPO_URI="https://github.com/OSGeo/PROJ-data.git" -else - # Check https://proj.org/download.html for latest data tarball - # https://github.com/OSGeo/PROJ-data/releases - PROJ_DATA_PV="1.23" - SRC_URI=" - https://github.com/OSGeo/PROJ/releases/download/${PV}/${P}.tar.gz - https://github.com/OSGeo/PROJ-data/releases/download/${PROJ_DATA_PV}.0/${PN}-data-${PROJ_DATA_PV}.tar.gz - https://download.osgeo.org/proj/${P}.tar.gz - https://download.osgeo.org/proj/${PN}-data-${PROJ_DATA_PV}.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -LICENSE="MIT" -SLOT="0/$(ver_cut 1)" -# Changes on every major release -IUSE="curl test +tiff" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-db/sqlite:3 - curl? ( net-misc/curl ) - tiff? ( media-libs/tiff:= ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" - -src_unpack() { - if [[ ${PV} = *9999* ]] ; then - git-r3_src_unpack - - git-r3_fetch "${EGIT_DATA_REPO_URI}" - git-r3_checkout "${EGIT_DATA_REPO_URI}" "${S}/data" - else - unpack "${P}.tar.gz" - - cd "${S}"/data || die - mv README README.DATA || die - - unpack "${PN}-data-${PROJ_DATA_PV}.tar.gz" - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DBUILD_PROJSYNC=$(usex curl) - -DENABLE_CURL=$(usex curl) - -DENABLE_TIFF=$(usex tiff) - ) - - if use test ; then - mycmakeargs+=( - -DUSE_EXTERNAL_GTEST=ON - -DBUILD_BENCHMARKS=OFF - -DRUN_NETWORK_DEPENDENT_TESTS=OFF - ) - fi - - cmake_src_configure -} - -src_test() { - CMAKE_SKIP_TESTS=( - # proj_test_cpp_api: https://lists.osgeo.org/pipermail/proj/2019-September/008836.html - # testprojinfo: Also related to map data? - "proj_test_cpp_api" - "testprojinfo" - ) - - cmake_src_test -} - -src_install() { - cmake_src_install - - cd data || die - dodoc README.DATA - - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/proj/proj-9999.ebuild b/sci-libs/proj/proj-9999.ebuild deleted file mode 100644 index 60951bf72e7e..000000000000 --- a/sci-libs/proj/proj-9999.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="PROJ coordinate transformation software" -HOMEPAGE="https://proj.org/" - -if [[ ${PV} = *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/OSGeo/PROJ.git" - EGIT_DATA_REPO_URI="https://github.com/OSGeo/PROJ-data.git" -else - # Check https://proj.org/download.html for latest data tarball - # https://github.com/OSGeo/PROJ-data/releases - PROJ_DATA_PV="1.18" - SRC_URI=" - https://github.com/OSGeo/PROJ/releases/download/${PV}/${P}.tar.gz - https://github.com/OSGeo/PROJ-data/releases/download/${PROJ_DATA_PV}.0/${PN}-data-${PROJ_DATA_PV}.tar.gz - https://download.osgeo.org/proj/${P}.tar.gz - https://download.osgeo.org/proj/${PN}-data-${PROJ_DATA_PV}.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -LICENSE="MIT" -SLOT="0/$(ver_cut 1)" -# Changes on every major release -IUSE="curl test +tiff" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-db/sqlite:3 - curl? ( net-misc/curl ) - tiff? ( media-libs/tiff:= ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/gtest ) -" - -PATCHES=( -) - -src_unpack() { - if [[ ${PV} = *9999* ]] ; then - git-r3_src_unpack - - git-r3_fetch "${EGIT_DATA_REPO_URI}" - git-r3_checkout "${EGIT_DATA_REPO_URI}" "${S}/data" - else - unpack "${P}.tar.gz" - - cd "${S}"/data || die - mv README README.DATA || die - - unpack "${PN}-data-${PROJ_DATA_PV}.tar.gz" - fi -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DBUILD_PROJSYNC=$(usex curl) - -DENABLE_CURL=$(usex curl) - -DENABLE_TIFF=$(usex tiff) - ) - - if use test ; then - mycmakeargs+=( - -DUSE_EXTERNAL_GTEST=ON - -DBUILD_BENCHMARKS=OFF - -DRUN_NETWORK_DEPENDENT_TESTS=OFF - ) - fi - - cmake_src_configure -} - -src_test() { - CMAKE_SKIP_TESTS=( - # proj_test_cpp_api: https://lists.osgeo.org/pipermail/proj/2019-September/008836.html - # testprojinfo: Also related to map data? - "proj_test_cpp_api" - "testprojinfo" - ) - - cmake_src_test -} - -src_install() { - cmake_src_install - - cd data || die - dodoc README.DATA - - find "${ED}" -name '*.la' -type f -delete || die -} diff --git a/sci-libs/punc/Manifest b/sci-libs/punc/Manifest deleted file mode 100644 index 9d943307a4ad..000000000000 --- a/sci-libs/punc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST punc-1.5.tar.gz 7036275 BLAKE2B aa87b824c3426b5573cf1c40575901cea079e4c244565015b39b52adff74424e49086146cd518acb54594545650340a32a0c8438c9add28c5737253d49091093 SHA512 8b454f5de9cd01e87a30083f975ce8901c5d5a2cac7256cb535c8698221ce6d1ddb93a3663b2e903e5cae93ef76b48932ff7f13a816ba7da6bb07ea25490503b diff --git a/sci-libs/punc/files/1.4-doc.patch b/sci-libs/punc/files/1.4-doc.patch deleted file mode 100644 index ad17da322f17..000000000000 --- a/sci-libs/punc/files/1.4-doc.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am -index ca42fe0..264ba82 100644 ---- a/doc/doxygen/Makefile.am -+++ b/doc/doxygen/Makefile.am -@@ -29,13 +29,11 @@ - ## Author: Michael Holst - ## ########################################################################### - --docdir = @prefix@/doc/punc -- - doc_DATA = punc_doc - - punc_doc: - $(doxygen_path) $(top_srcdir)/doc/doxygen/punc.dox - - install-docDATA: -- mkdir -p $(docdir) -- cp -r ../api $(docdir)/ -+ mkdir -p $(DESTDIR)/@docdir@ -+ cp -r ../api $(DESTDIR)/@docdir@/ diff --git a/sci-libs/punc/files/1.5-linking.patch b/sci-libs/punc/files/1.5-linking.patch deleted file mode 100644 index 9e5d5a8ced69..000000000000 --- a/sci-libs/punc/files/1.5-linking.patch +++ /dev/null @@ -1,174 +0,0 @@ - configure.ac | 35 +++++++++++++++++------------------ - src/aaa_lib/Makefile.am | 7 +++---- - src/pmg/Makefile.am | 1 + - 3 files changed, 21 insertions(+), 22 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 1295a9f..f8fd97c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -49,6 +49,8 @@ AC_LANG_C - AC_PROG_CC - AC_PROG_CPP - AC_DISABLE_STATIC -+AC_PROG_F77 -+AC_F77_LIBRARY_LDFLAGS - AM_PROG_LIBTOOL - - dnl 3. checks for libraries -@@ -341,6 +343,10 @@ if test -n "${blas}"; then - else - AC_MSG_RESULT([no ...poking around]) - -+ PKG_CHECK_MODULES([BLAS],[blas],[ -+ blas_lib=${BLAS_LIBS} -+ blas="" -+ ],[ - dnl # BLAS library location ENV specification - AC_MSG_CHECKING([whether your environment defines FETK_BLAS_LIBRARY]) - if test -n "${FETK_BLAS_LIBRARY}"; then -@@ -358,7 +364,7 @@ else - AC_CHECK_LIB(blas,dscal_, - [blas_use="yes";blas_lib="${blas_lib_path}-lblas"], - [blas_use="";blas_lib=""], -- [${blas_lib_path}-lblas -lvf2c]) -+ [${blas_lib_path} $(BLAS_LIBS)]) - if test -z "${blas_use}"; then - AC_MSG_RESULT([** BLAS library missing ...will BUILD **]) - blas="blas"; -@@ -368,7 +374,7 @@ else - fi - - dnl # Return LDFLAGS to normal -- LDFLAGS=${LDFLAGS_SAVE}; -+ LDFLAGS=${LDFLAGS_SAVE};]) - fi - - dnl # Final decisions on BLAS -@@ -414,7 +420,7 @@ dnl lapack_use=""; - dnl AC_CHECK_LIB(lapack,dsysv_, - dnl [lapack_use="yes";lapack_lib="${lapack_lib_path}-llapack"], - dnl [lapack_use="";lapack_lib=""], --dnl [${lapack_lib_path}-llapack ${blas_lib} -lvf2c]) -+dnl [${lapack_lib_path}-llapack ${blas_lib}]) - dnl if test -z "${lapack_use}"; then - dnl AC_MSG_RESULT([** LAPACK library missing ...will BUILD **]) - dnl lapack="lapack"; -@@ -466,10 +472,10 @@ else - LDFLAGS_SAVE=${LDFLAGS}; - LDFLAGS=${amd_lib_path}; - amd_use=""; -- AC_CHECK_LIB(amd,AMD_order, -+ AC_CHECK_LIB(amd,amd_order, - [amd_use="yes";amd_lib="${amd_lib_path}-lamd"], - [amd_use="";amd_lib=""], -- [${amd_lib_path}-lamd ${blas_lib} -lvf2c]) -+ [${amd_lib_path}-lamd ${blas_lib}]) - if test -z "${amd_use}"; then - AC_MSG_RESULT([** AMD library missing ...will BUILD **]) - amd="amd"; -@@ -521,10 +527,10 @@ else - LDFLAGS_SAVE=${LDFLAGS}; - LDFLAGS=${umfpack_lib_path}; - umfpack_use=""; -- AC_CHECK_LIB(umfpack,UMFPACK_numeric, -+ AC_CHECK_LIB(umfpack,umfpack_di_numeric, - [umfpack_use="yes";umfpack_lib="${umfpack_lib_path}-lumfpack"], - [umfpack_use="";umfpack_lib=""], -- [${umfpack_lib_path}-lumfpack ${blas_lib} -lvf2c]) -+ [${umfpack_lib_path}-lumfpack ${blas_lib}]) - if test -z "${umfpack_use}"; then - AC_MSG_RESULT([** UMFPACK library missing ...will BUILD **]) - umfpack="umfpack"; -@@ -579,7 +585,7 @@ else - AC_CHECK_LIB(superlu,Destroy_SuperMatrix_Store, - [superlu_use="yes";superlu_lib="${superlu_lib_path}-lsuperlu"], - [superlu_use="";superlu_lib=""], -- [${superlu_lib_path}-lsuperlu ${lapack_lib} ${blas_lib} -lvf2c]) -+ [${superlu_lib_path}-lsuperlu ${lapack_lib} ${blas_lib}]) - if test -z "${superlu_use}"; then - AC_MSG_RESULT([** SUPERLU library missing ...will BUILD **]) - superlu="superlu"; -@@ -635,7 +641,7 @@ dnl arpack_use=""; - dnl AC_CHECK_LIB(arpack,dsgets_, - dnl [arpack_use="yes";arpack_lib="${arpack_lib_path}-larpack"], - dnl [arpack_use="";arpack_lib=""], --dnl [${arpack_lib_path}-larpack ${blas_lib} -lvf2c]) -+dnl [${arpack_lib_path}-larpack ${blas_lib}]) - dnl if test -z "${arpack_use}"; then - dnl AC_MSG_RESULT([** ARPACK library missing ...will BUILD **]) - dnl arpack="arpack"; -@@ -691,7 +697,7 @@ dnl cgcode_use=""; - dnl AC_CHECK_LIB(cgcode,scgdrv_, - dnl [cgcode_use="yes";cgcode_lib="${cgcode_lib_path}-lcgcode"], - dnl [cgcode_use="";cgcode_lib=""], --dnl [${cgcode_lib_path}-lcgcode ${blas_lib} -lvf2c]) -+dnl [${cgcode_lib_path}-lcgcode ${blas_lib}]) - dnl if test -z "${cgcode_use}"; then - dnl AC_MSG_RESULT([** CGCODE library missing ...will BUILD **]) - dnl cgcode="cgcode"; -@@ -747,7 +753,7 @@ dnl pmg_use=""; - dnl AC_CHECK_LIB(pmg,buildg_, - dnl [pmg_use="yes";pmg_lib="${pmg_lib_path}-lpmg"], - dnl [pmg_use="";pmg_lib=""], --dnl [${pmg_lib_path}-lpmg ${blas_lib} -lvf2c]) -+dnl [${pmg_lib_path}-lpmg ${blas_lib}]) - dnl if test -z "${pmg_use}"; then - dnl AC_MSG_RESULT([** PMG library missing ...will BUILD **]) - dnl pmg="pmg"; -@@ -986,13 +992,6 @@ AC_OUTPUT([ - src/base/Makefile - - src/vf2c/Makefile -- src/blas/Makefile -- src/lapack/Makefile -- src/amd/Makefile -- src/umfpack/Makefile -- src/superlu/Makefile -- src/arpack/Makefile -- src/cgcode/Makefile - src/pmg/Makefile - - src/aaa_inc/Makefile -diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am -index 2e17d41..3cbb9b5 100644 ---- a/src/aaa_lib/Makefile.am -+++ b/src/aaa_lib/Makefile.am -@@ -102,15 +102,14 @@ else - LIBPMG = - endif - --libdir = ${prefix}/lib - lib_LTLIBRARIES = libpunc.la ${LIBVF2C} ${LIBBLAS} ${LIBLAPACK} ${LIBAMD} ${LIBUMFPACK} ${LIBSUPERLU} ${LIBARPACK} ${LIBCGCODE} ${LIBPMG} - - libpunc_la_SOURCES = --libpunc_la_LIBADD = ${BASE_LIBS} -+libpunc_la_LIBADD = ${BASE_LIBS} -lm - libpunc_la_LDFLAGS = -version-info ${FETK_VERSION} - - libvf2c_la_SOURCES = --libvf2c_la_LIBADD = ${VF2C_LIBS} -+libvf2c_la_LIBADD = ${VF2C_LIBS} -lgfortran -lf2c -lm - libvf2c_la_LDFLAGS = -version-info ${FETK_VERSION} - - libblas_la_SOURCES = -@@ -142,6 +141,6 @@ libcgcode_la_LIBADD = ${CGCODE_LIBS} - libcgcode_la_LDFLAGS = -version-info ${FETK_VERSION} - - libpmg_la_SOURCES = --libpmg_la_LIBADD = ${PMG_LIBS} -+libpmg_la_LIBADD = ${PMG_LIBS} ${BASE_LIBS} -lgfortran -lf2c -lmaloc -lm - libpmg_la_LDFLAGS = -version-info ${FETK_VERSION} - -diff --git a/src/pmg/Makefile.am b/src/pmg/Makefile.am -index cae9324..b34ace9 100644 ---- a/src/pmg/Makefile.am -+++ b/src/pmg/Makefile.am -@@ -45,6 +45,7 @@ SRC = buildAd.c buildBd.c buildGd.c buildPd.c cgd.c cgmgd.c cgmgdrvd.c gsd.c mat - libpmg_la_SOURCES = ${SRC} - INCLUDES = @maloc_inc@ - AM_CFLAGS = @profile@ @pedantic_ansi@ -+libpmg_la_LIBADD = -lf2c - - all-local: - # -cp -p ${top_srcdir}/src/${THISLIB}/punc/*.h ../aaa_inc/punc/. diff --git a/sci-libs/punc/files/punc-1.5-explicit-main.patch b/sci-libs/punc/files/punc-1.5-explicit-main.patch deleted file mode 100644 index f952d18c3ab1..000000000000 --- a/sci-libs/punc/files/punc-1.5-explicit-main.patch +++ /dev/null @@ -1,16 +0,0 @@ -Return type of functions must be explicit, C99 -https://bugs.gentoo.org/886461 ---- a/src/vf2c/main.c -+++ b/src/vf2c/main.c -@@ -110,9 +110,9 @@ - #endif - - #ifdef KR_headers --main(argc, argv) int argc; char **argv; -+int main(argc, argv) int argc; char **argv; - #else --main(int argc, char **argv) -+int main(int argc, char **argv) - #endif - { - xargc = argc; diff --git a/sci-libs/punc/metadata.xml b/sci-libs/punc/metadata.xml deleted file mode 100644 index 7356f2ef0ca6..000000000000 --- a/sci-libs/punc/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - PUNC (Portable Understructure for Numerical Computing) is a small standard - collection of software libraries for numerical computing. The PUNC - collection includes reference implementations of the standard (dense matrix) - linear algebra tools BLAS and LAPACK, and also includes some newer (sparse - matrix) linear algebra tools ARPACK, SuperLU, CgCode, and PMG. PUNC also - provides some additional basic infrastructure such as the standard F2C - header and corresponding library (libF2C), to support the use of F2C'd - FORTRAN codes, and some other standard tools used to build numerical - simulation software, such as the HDF5 library. While most of the libraries - included in PUNC are completely stand-alone, and are the reference - implementations developed by the individual library authors, PUNC also - provides some Object-oriented C wrappers (written by the FETK developers) - for use with Object-oriented C/C++ codes such as FETK . This is accomplished - by building PUNC on top of FETK 's MALOC library. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/punc/punc-1.5-r1.ebuild b/sci-libs/punc/punc-1.5-r1.ebuild deleted file mode 100644 index e278c1acc85b..000000000000 --- a/sci-libs/punc/punc-1.5-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools fortran-2 toolchain-funcs - -DESCRIPTION="Portable Understructure for Numerical Computing" -HOMEPAGE="http://fetk.org/codes/punc/index.html" -SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="debug doc mpi" - -RDEPEND=" - dev-libs/maloc[mpi=] - dev-libs/libf2c - sci-libs/amd - sci-libs/cgcode - sci-libs/arpack[mpi=] - sci-libs/superlu - sci-libs/umfpack - virtual/blas - virtual/lapack - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - media-gfx/graphviz - app-text/doxygen - )" - -PATCHES=( - "${FILESDIR}"/${PV}-linking.patch - "${FILESDIR}"/1.4-doc.patch - "${FILESDIR}"/${P}-explicit-main.patch -) - -src_prepare() { - sed 's:punc/slu_ddefs.h:superlu/slu_ddefs.h:g' src/superlu/punc/vsuperlu.h > vsuperlu.h || die - sed 's:punc/umfpack.h:umfpack.h:g' src/umfpack/punc/vumfpack.h > vumfpack.h || die - rm -r src/{amd,blas,lapack,arpack,superlu,umfpack} || die - - cp -f tools/tests/pmg/*.f src/pmg/ || die - cp -f tools/tests/pmg/*.c src/pmg/ || die - cp src/pmg/vpmg.h src/vf2c/punc/vpmg.h || die - - default - eautoreconf -} - -src_configure() { - export FETK_INCLUDE="${ESYSROOT}"/usr/include - export FETK_LIBRARY="${ESYSROOT}"/usr/$(get_libdir) - - export FETK_LAPACK_LIBRARY="$($(tc-getPKG_CONFIG) --libs lapack)" - export FETK_BLAS_LIBRARY="${FETK_LIBRARY}" - export FETK_SUPERLU_LIBRARY="$($(tc-getPKG_CONFIG) --libs superlu)" - export FETK_ARPACK_LIBRARY="${FETK_LIBRARY}" - export FETK_UMFPACK_LIBRARY="${FETK_LIBRARY}" - export FETK_CGCODE_LIBRARY="${FETK_LIBRARY}" - export FETK_AMD_LIBRARY="${FETK_LIBRARY}" - - econf \ - --enable-vf2cforce \ - --disable-static \ - --disable-triplet \ - --with-doxygen=$(usex doc "${BROOT}"/usr/bin/doxygen '') \ - --with-dot=$(usex doc "${BROOT}"/usr/bin/dot '') \ - $(use_enable debug vdebug) -} - -src_install() { - HTML_DOCS=( doc/index.html ) - default - - insinto /usr/include/punc - doins v*.h - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/pyshp/Manifest b/sci-libs/pyshp/Manifest deleted file mode 100644 index a68dbcf3d3b3..000000000000 --- a/sci-libs/pyshp/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST pyshp-2.4.1..gh.tar.gz 2220419 BLAKE2B 3183c41a1a0be1081a44a1d0d479ff3f98353f28a560b62ff3c5f5f14e8e38d26c3bc3135b286df4eb581c4a6f3131dde956c82f2961a614e15ace820380132e SHA512 5bc58c6acb11eb170f851e4631f5befd7a14b3b55475cfb41c0984e3d71386932fe93b6fb982f04d7c5766f7a05cd1aec9329b71c9515cf045b37efb9af3ccc3 -DIST pyshp-3.0.2.post1.tar.gz 2192180 BLAKE2B 41b24de6150b0c4905e0bf5d057a2e171dceea1f6722e589ce2aad29d8c524ba83827a428a42812f36e94cfccf95f5182f9b075f1c64a5e2673623fc39f57576 SHA512 db176cb0092d7d289633eabb6ac8244a8bdda0000ebd9c88ca2db4d3263541124e9f82be47c3b0fc0bb76aa12566ddea16071e5d866228383c78e139c6f431e1 -DIST pyshp-3.0.3.tar.gz 2192568 BLAKE2B 1c5dadee078fd036a11fede2d1a94a4cc5bd265ffdddd16946e552edf9ceee40b66fad8df10b2d6f18c37c36c81cf0409b1e28f0db72480baee5dfbe043186c0 SHA512 08edf732e1dc60f79fd3ace1374fb4d7d226d774d6035f4da26eb6646533218d30fa9081fdf58d320b7e1f731174e899a27150aadf9d1698afbeb6d2d0b411c0 diff --git a/sci-libs/pyshp/metadata.xml b/sci-libs/pyshp/metadata.xml deleted file mode 100644 index 698e51f02c5c..000000000000 --- a/sci-libs/pyshp/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tomjbe@gentoo.org</email> - <name>Thomas Beierlein</name> - </maintainer> - <upstream> - <remote-id type="github">GeospatialPython/pyshp</remote-id> - <remote-id type="pypi">pyshp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/pyshp/pyshp-2.4.1.ebuild b/sci-libs/pyshp/pyshp-2.4.1.ebuild deleted file mode 100644 index b58a047d9c3a..000000000000 --- a/sci-libs/pyshp/pyshp-2.4.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{13..14} ) - -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Pure Python read/write support for ESRI Shapefile format" -HOMEPAGE="https://pypi.org/project/pyshp/" -# pypi tarballs are missing test data -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SRC_URI="https://github.com/GeospatialPython/${PN}/archive/${PV}.tar.gz -> ${P}..gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -python_test() { - epytest test_shapefile.py -m "not network" || die -} diff --git a/sci-libs/pyshp/pyshp-3.0.2_p1.ebuild b/sci-libs/pyshp/pyshp-3.0.2_p1.ebuild deleted file mode 100644 index 02101c8acb4e..000000000000 --- a/sci-libs/pyshp/pyshp-3.0.2_p1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{13..14} ) - -DISTUTILS_USE_PEP517=hatchling -inherit distutils-r1 pypi - -DESCRIPTION="Pure Python read/write support for ESRI Shapefile format" -HOMEPAGE="https://pypi.org/project/pyshp/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_test() { - epytest test_shapefile.py -m "not network" -} diff --git a/sci-libs/pyshp/pyshp-3.0.3.ebuild b/sci-libs/pyshp/pyshp-3.0.3.ebuild deleted file mode 100644 index ef1422a8084f..000000000000 --- a/sci-libs/pyshp/pyshp-3.0.3.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{13..14} ) - -DISTUTILS_USE_PEP517=hatchling -inherit distutils-r1 pypi - -DESCRIPTION="Pure Python read/write support for ESRI Shapefile format" -HOMEPAGE="https://pypi.org/project/pyshp/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_test() { - epytest test_shapefile.py -m "not network" -} diff --git a/sci-libs/qd/Manifest b/sci-libs/qd/Manifest deleted file mode 100644 index d760f8a0a05a..000000000000 --- a/sci-libs/qd/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST qd-2.3.24.tar.gz 812215 BLAKE2B f9520066d8004befc3c17dc9a79dc8f099e39c3eeb676c8909f2914fa2f7d8e4f52e7e906c928d6fecdf018cdf97ac465fa9aa3f9c57b02279d1cbb8b3952246 SHA512 7f233e9d0edcb442da160a49bc97df87acf258c3251828e2d473206022a36581295f38c685ac5f0c78b106605f12698f3d0cc0b4865be220a50b3536820ac1b7 diff --git a/sci-libs/qd/metadata.xml b/sci-libs/qd/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/sci-libs/qd/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/qd/qd-2.3.24.ebuild b/sci-libs/qd/qd-2.3.24.ebuild deleted file mode 100644 index 22544c2ca37c..000000000000 --- a/sci-libs/qd/qd-2.3.24.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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 -} diff --git a/sci-libs/qfits/Manifest b/sci-libs/qfits/Manifest deleted file mode 100644 index c5a05aa49099..000000000000 --- a/sci-libs/qfits/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST qfits-6.2.0.tar.gz 475191 BLAKE2B fea94bf77b07e5fbc9493f4bafbf37387b4f9ae83212ffc5a6c0607cad972a592e3937ba042ee94f053f30fd05cbafb8fcbcf2df1c4cd6ee4d2422bf108d9395 SHA512 a0f6863a9e5b26d08de487cfdf468b3d04218a36a01cd9df8b786b1cdf2ffa61acf12b087f4fbd751ba023f02b5a32410949a4ee08432108a7129a283ab3d824 diff --git a/sci-libs/qfits/files/qfits-6.2.0-includes.patch b/sci-libs/qfits/files/qfits-6.2.0-includes.patch deleted file mode 100644 index 7589b49301a1..000000000000 --- a/sci-libs/qfits/files/qfits-6.2.0-includes.patch +++ /dev/null @@ -1,32 +0,0 @@ -Missing includes in main library and in tests -https://bugs.gentoo.org/886463 ---- a/main/dtfits.c -+++ b/main/dtfits.c -@@ -33,6 +33,7 @@ - #include <string.h> - - #include "qfits_table.h" -+#include "qfits_tools.h" - - /*----------------------------------------------------------------------------- - Define ---- a/main/qextract.c -+++ b/main/qextract.c -@@ -32,6 +32,7 @@ - #include "qfits_table.h" - #include "qfits_image.h" - #include "qfits_rw.h" -+#include "qfits_tools.h" - - /*----------------------------------------------------------------------------- - Function prototypes ---- a/test/test_pixio.c -+++ b/test/test_pixio.c -@@ -41,6 +41,7 @@ - - #include "qfits_header.h" - #include "qfits_image.h" -+#include "qfits_rw.h" - #include "qfits_md5.h" - #include "qfits_memory.h" - diff --git a/sci-libs/qfits/files/qfits-6.2.0-m4.patch b/sci-libs/qfits/files/qfits-6.2.0-m4.patch deleted file mode 100644 index 99b39bdad451..000000000000 --- a/sci-libs/qfits/files/qfits-6.2.0-m4.patch +++ /dev/null @@ -1,36 +0,0 @@ -Missing system inlude in self-defined autoconf tests -https://bugs.gentoo.org/908483 ---- a/m4macros/eso.m4 -+++ b/m4macros/eso.m4 -@@ -252,6 +252,7 @@ - AC_RUN_IFELSE([ - #include <stdio.h> - #include <stdarg.h> -+#include <stdlib.h> - - int - doit(char * s, ...) -@@ -701,6 +702,7 @@ - [ - AC_RUN_IFELSE([ - #include <stdarg.h> -+#include <stdlib.h> - - void f(int i, ...) - { -@@ -733,6 +735,7 @@ - [ - AC_RUN_IFELSE([ - #include <stdarg.h> -+#include <stdlib.h> - - void f(int i, ...) - { -@@ -784,6 +787,7 @@ - [ - AC_RUN_IFELSE([ - #include <stdarg.h> -+#include <stdlib.h> - - void f(int i, ...) - { diff --git a/sci-libs/qfits/files/qfits-6.2.0-open.patch b/sci-libs/qfits/files/qfits-6.2.0-open.patch deleted file mode 100644 index 951970da6dc4..000000000000 --- a/sci-libs/qfits/files/qfits-6.2.0-open.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/qfits_memory.c -+++ b/src/qfits_memory.c -@@ -308,7 +308,7 @@ - /* Create swap file with rights: rw-rw-rw- */ - swapfileid = ++ qfits_memory_table.file_reg ; - fname = qfits_memory_tmpfilename(swapfileid); -- swapfd = open(fname, O_RDWR | O_CREAT); -+ swapfd = open(fname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); - if (swapfd==-1) { - fprintf(stderr, "qfits_mem: cannot create swap file\n"); - exit(-1); diff --git a/sci-libs/qfits/files/qfits-6.2.0-ttest.patch b/sci-libs/qfits/files/qfits-6.2.0-ttest.patch deleted file mode 100644 index a333a32e0a68..000000000000 --- a/sci-libs/qfits/files/qfits-6.2.0-ttest.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/test/test_tfits.c -+++ b/test/test_tfits.c -@@ -322,7 +322,7 @@ - * Test on BINARY tables - */ - say("Test the BINARY table") ; -- strcat(filename, srcdir) ; -+ strcpy(filename, srcdir) ; - strcat(filename, BIN_TABLE_NAME) ; - err += qfits_test_table(filename, 1) ; - diff --git a/sci-libs/qfits/metadata.xml b/sci-libs/qfits/metadata.xml deleted file mode 100644 index e73e6952b883..000000000000 --- a/sci-libs/qfits/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci-astronomy@gentoo.org</email> - <name>Gentoo Astronomy Project</name> -</maintainer> -<longdescription lang="en"> -qfits is a stand-alone library written in C to interact with files -complying with the FITS format. It is fast and portable over any kind -of POSIX-compliant platform. -Rather than going through the FITS format specification and trying to -implement some support for everything that is described there, this -library was built day after day upon request. This guarantees that -all the functions you will find in the library have been written for -some purpose in the VLT pipeline context, and all of them are used -daily in a production environment. -</longdescription> -</pkgmetadata> diff --git a/sci-libs/qfits/qfits-6.2.0-r1.ebuild b/sci-libs/qfits/qfits-6.2.0-r1.ebuild deleted file mode 100644 index 16a846eca854..000000000000 --- a/sci-libs/qfits/qfits-6.2.0-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="ESO stand-alone C library offering easy access to FITS files" -HOMEPAGE="https://www.eso.org/sci/software/eclipse/qfits/" -SRC_URI="ftp://ftp.hq.eso.org/pub/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -PATCHES=( - "${FILESDIR}/${P}-ttest.patch" - "${FILESDIR}/${P}-open.patch" - "${FILESDIR}/${P}-includes.patch" - "${FILESDIR}/${P}-m4.patch" -) - -src_prepare() { - default - - # https://bugs.gentoo.org/908483 - eautoreconf -} - -src_install() { - use doc && HTML_DOCS=( html/. ) - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/qrupdate/Manifest b/sci-libs/qrupdate/Manifest deleted file mode 100644 index 5b1075edea56..000000000000 --- a/sci-libs/qrupdate/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST qrupdate-1.1.2.tar.gz 49734 BLAKE2B e5bf9fb39f6c97ee4b4084e664f929d95bee407f9f11ea4dc6da2bdb06d1694eddc1f2f52e5f673f22d097d11addb293b6dc0fd7c30d09acc84dd050fd1d72e9 SHA512 cc4e466ea91958e15c66be82b0c4c8ad813fbe4643f21259a9cb3ca8e0a411dd764bb2397ece848a7045f322d30316801d1540c4ebf7912030bef6995b44917c -DIST qrupdate-ng-v1.1.5.tar.bz2 598795 BLAKE2B 4b2b08f37f43fcef823c9204268a870eeb72bdf399761255070f16581f08007a75fe464b89e14e0dda25f11769417b3a7f46e9dbe4cbc88003861c62c616aa6e SHA512 788e554887e87f59a98ccedf1d033b7a72ff2fd36446374881ff4711a668c8bb2b3668d03dcbe56dc505a73c2047c72e2515db6ee42a0d4db8bd5e61232273f1 diff --git a/sci-libs/qrupdate/files/qrupdate-1.1.1-Makefiles.patch b/sci-libs/qrupdate/files/qrupdate-1.1.1-Makefiles.patch deleted file mode 100644 index 1fdbd946e99e..000000000000 --- a/sci-libs/qrupdate/files/qrupdate-1.1.1-Makefiles.patch +++ /dev/null @@ -1,91 +0,0 @@ -diff --git a/Makefile b/Makefile -index f9dbe86..2b11b59 100644 ---- a/Makefile -+++ b/Makefile -@@ -32,22 +32,22 @@ help: - @echo " make install - installs everything" - - lib: -- make -C src/ lib -+ $(MAKE) -C src lib - solib: -- make -C src/ solib -+ $(MAKE) -C src solib - test: lib -- make -C test/ -+ $(MAKE) -C test - - clean: - rm -f libqrupdate.a libqrupdate.so -- make -C src/ clean -- make -C test/ clean -+ $(MAKE) -C src clean -+ $(MAKE) -C test clean - - install: -- make -C src/ install -+ $(MAKE) -C src install - - install-shlib: -- make -C src/ install-shlib -+ $(MAKE) -C src install-shlib - - install-staticlib: -- make -C src/ install-staticlib -+ $(MAKE) -C src install-staticlib -diff --git a/src/Makefile b/src/Makefile -index 65ef49a..c338882 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -34,6 +34,8 @@ clup1up.f dlup1up.f slup1up.f zlup1up.f - - OBJS = $(SRC:%.f=%.o) - -+PICOBJS = $(SRC:%.f=%.lo) -+ - lib: ../libqrupdate.a - - ifeq ($(shell uname),Darwin) -@@ -46,19 +48,22 @@ solib: ../libqrupdate$(SOEXT) - ../libqrupdate.a: $(OBJS) - ar -cr $@ $(OBJS) - --../libqrupdate.so: $(OBJS) -- $(FC) $(FFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ -+../libqrupdate.so: $(PICOBJS) -+ $(FC) $(LDFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(PICOBJS) \ - $(BLAS) $(LAPACK) - --../libqrupdate.dylib: $(OBJS) -- $(FC) $(FFLAGS) $(LDFLAGS) -dynamiclib -o $@ -install_name $(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib $(OBJS) \ -+../libqrupdate.dylib: $(PICOBJS) -+ $(FC) $(LDFLAGS) -dynamiclib -o $@ -install_name $(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib $(PICOBJS) \ - $(BLAS) $(LAPACK) - -+$(PICOBJS): %.lo: %.f -+ $(FC) $(FFLAGS) $(FPICFLAGS) -c $< -o $@ -+ - $(OBJS): %.o: %.f -- $(FC) $(FFLAGS) $(FPICFLAGS) -c $< -+ $(FC) $(FFLAGS) -c $< - - clean: -- rm -f $(OBJS) -+ rm -f $(OBJS) $(PICOBJS) - - install: install-shlib install-staticlib - -diff --git a/test/Makefile b/test/Makefile -index 45a843d..3be917f 100644 ---- a/test/Makefile -+++ b/test/Makefile -@@ -41,7 +41,7 @@ utils.o: utils.f - $(FC) $(FFLAGS) -c $< - - ../libqrupdate.a: -- make -C ../ lib -- -+ $(MAKE) -C .. lib -+ - clean: - rm -f *.o $(PROGS) $(OUTS) diff --git a/sci-libs/qrupdate/files/qrupdate-1.1.2-install.patch b/sci-libs/qrupdate/files/qrupdate-1.1.2-install.patch deleted file mode 100644 index 67c5b8f007e1..000000000000 --- a/sci-libs/qrupdate/files/qrupdate-1.1.2-install.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/src/Makefile -+++ b/src/Makefile -@@ -65,14 +65,17 @@ - install-shlib: ../libqrupdate$(SOEXT) install-lib$(SOEXT) - - install-lib.so: -- install -D -m644 ../libqrupdate.so $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(VERSION) -+ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ -+ install -m644 ../libqrupdate.so $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(VERSION) - ln -s libqrupdate.so.$(VERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(MAJOR) - ln -s libqrupdate.so.$(VERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so - - install-lib.dylib: -- install -D -m644 ../libqrupdate.dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(VERSION).dylib -+ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ -+ install -m644 ../libqrupdate.dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(VERSION).dylib - ln -s libqrupdate.$(VERSION).dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib - ln -s libqrupdate.$(VERSION).dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.dylib - - install-staticlib: ../libqrupdate.a -- install -D -m644 ../libqrupdate.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.a -+ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ -+ install -m644 ../libqrupdate.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.a diff --git a/sci-libs/qrupdate/files/qrupdate-1.1.3-cmake.patch b/sci-libs/qrupdate/files/qrupdate-1.1.3-cmake.patch deleted file mode 100644 index 950603d2b0e1..000000000000 --- a/sci-libs/qrupdate/files/qrupdate-1.1.3-cmake.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/CMakeLists.txt 2026-06-02 23:19:52.839492564 +0200 -+++ b/CMakeLists.txt 2026-06-02 23:20:08.205334183 +0200 -@@ -1,4 +1,4 @@ --CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) -+CMAKE_MINIMUM_REQUIRED(VERSION 3.10.0) - CMAKE_POLICY(SET CMP0048 NEW) - PROJECT(qrupdate-ng VERSION 1.1.3 LANGUAGES Fortran) - ENABLE_TESTING() ---- a/lapack-missing/CMakeLists.txt 2026-06-02 23:20:19.487217889 +0200 -+++ b/lapack-missing/CMakeLists.txt 2026-06-02 23:20:32.195086886 +0200 -@@ -1,6 +1,6 @@ - PROJECT(LAPACK_MISSING Fortran) - IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) -- cmake_minimum_required(VERSION 3.0) -+ cmake_minimum_required(VERSION 3.10) - LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules") - - MESSAGE(STATUS "essl-lapack standalone build") diff --git a/sci-libs/qrupdate/metadata.xml b/sci-libs/qrupdate/metadata.xml deleted file mode 100644 index b0288faf7de8..000000000000 --- a/sci-libs/qrupdate/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">qrupdate</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/qrupdate/qrupdate-1.1.2-r2.ebuild b/sci-libs/qrupdate/qrupdate-1.1.2-r2.ebuild deleted file mode 100644 index 5efeb7f954b9..000000000000 --- a/sci-libs/qrupdate/qrupdate-1.1.2-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fortran-2 flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Library for updating of QR and Cholesky decompositions" -HOMEPAGE="https://sourceforge.net/projects/qrupdate" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86" - -RDEPEND="virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-1.1.1-Makefiles.patch - "${FILESDIR}"/${PN}-1.1.2-install.patch -) - -src_prepare() { - default - - # bug #878989 - filter-lto - - # GCC 10 workaround - # bug #741524 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - sed -i Makeconf \ - -e "s|gfortran|$(tc-getFC)|g" \ - -e "s|FFLAGS=.*|FFLAGS=${FFLAGS}|" \ - -e "s|BLAS=.*|BLAS=$($(tc-getPKG_CONFIG) --libs blas)|" \ - -e "s|LAPACK=.*|LAPACK=$($(tc-getPKG_CONFIG) --libs lapack)|" \ - -e "/^LIBDIR=/a\PREFIX=${EPREFIX}/usr" \ - -e "s|LIBDIR=lib|LIBDIR=$(get_libdir)|" \ - || die "Failed to set up Makeconf" -} - -src_compile() { - emake solib -} - -src_install() { - emake DESTDIR="${D}" install-shlib - dosym libqrupdate.so.$(ver_cut 1) /usr/$(get_libdir)/libqrupdate.so - dodoc README ChangeLog -} diff --git a/sci-libs/qrupdate/qrupdate-1.1.5.ebuild b/sci-libs/qrupdate/qrupdate-1.1.5.ebuild deleted file mode 100644 index 132868e97008..000000000000 --- a/sci-libs/qrupdate/qrupdate-1.1.5.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake fortran-2 - -MY_PN=${PN}-ng -MY_P=${MY_PN}-v${PV} - -DESCRIPTION="Library for updating of QR and Cholesky decompositions" -HOMEPAGE="https://sourceforge.net/projects/qrupdate" -SRC_URI="https://gitlab.mpi-magdeburg.mpg.de/koehlerm/${MY_PN}/-/archive/v${PV}/${MY_P}.tar.bz2" - -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND="virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${PN}-1.1.3-cmake.patch ) diff --git a/sci-libs/rocBLAS/Manifest b/sci-libs/rocBLAS/Manifest deleted file mode 100644 index 09f1e8880c44..000000000000 --- a/sci-libs/rocBLAS/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST rocblas-7.2.0.tar.gz 53998359 BLAKE2B dd3eaa641769a7a8e06d21d2f2028935d0f80a7f42ad1eac2fa4e300b5d3be08811f2fc78bb5aa26753740ec0f149e4ad4db826539c0adc6c2e31fb85f0b12fd SHA512 5301a8822c4d3b9ea4223ebe001a80522605d0b2634d11e824043026fe8b148c424c4ffaa4402133dcb28857363c273aa56caa3533b91b0b6147e0289350ca1f -DIST rocm-rocBLAS-6.3.3.tar.gz 57909385 BLAKE2B a51274e2895419cc517ac24a0235c90f3b2551945b6936789abc78a08c8dde151de6d853d6378a702138227604af4cc185bde3acb5bf8999e09699d293bb2b85 SHA512 fcc8718e0c3dde8715f758e83f3a1ca45dde88ac56680e7723e2041dd3c1d7b9f575b1686552d04e7ef12b57188164c8abb5a6e4c568ade03d534edc30846c9e -DIST rocm-rocBLAS-6.4.3.tar.gz 57989956 BLAKE2B 36ed966b9ebeabae20510a20ed5e0503254cddbac25535297baaca6ac52decac2598bcb85c73a720737dd959fc64c2ee542b3b8ed59ae85980aeaf6dbc093681 SHA512 6273122eca037c22e44d56a3c09e04383c2f59d64342b36ac65430ad9f9a963c70b4c5477eb615a31daaf0deea1aedd11b88f2d66bcbada89504cb48cf2c264f -DIST rocm-rocBLAS-7.0.2.tar.gz 58187427 BLAKE2B ce3d054d53499d1d15c1d097f588fbe86e61984dc99a04bfbc9a4e9d9a789774e5808ea6c060a553c96fa3fa860eaf4a52833cf5ed50b7670a62053196881340 SHA512 b74d7fa56b08b513e4acbc6a5e91db95964bb270f4e90977fe0ecf5777b71244e6761d7c5851892c8be6f4fcd5bcccad85961efc5ef8dcad9dd2e90df4014a06 -DIST rocm-rocBLAS-7.1.0.tar.gz 58595432 BLAKE2B cbf0644010cf0addbf54a5e4cb2f0a608b82762302a6b6b5bcdb48f5d7540aeebcb1c157546b753f0828671b6c508a8f46b8b687f91127e6a259c1ac1f680981 SHA512 eae4c940bf8cfbd5f6464c4d2c7a12e8ce8e1473b9ce7f21d533678476f2f8c824a05289b304f33d7852d7c337e1405e442d3e0bbfee662993a226aed336ba89 diff --git a/sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch b/sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch deleted file mode 100644 index cefad2bad61a..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch +++ /dev/null @@ -1,14 +0,0 @@ -Mitigate compilation issue. - -std::bad_alloc is defined in <new> ---- a/clients/include/host_alloc.hpp -+++ b/clients/include/host_alloc.hpp -@@ -22,6 +22,8 @@ - - #pragma once - -+#include <new> -+ - //! - //! @brief Host free memory w/o swap. Returns kB or -1 if unknown. - //! diff --git a/sci-libs/rocBLAS/files/rocBLAS-5.4.2-link-cblas.patch b/sci-libs/rocBLAS/files/rocBLAS-5.4.2-link-cblas.patch deleted file mode 100644 index a0a599ad0de8..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-5.4.2-link-cblas.patch +++ /dev/null @@ -1,12 +0,0 @@ -Fix CPU blas function not found linking issue ---- a/clients/CMakeLists.txt -+++ b/clients/CMakeLists.txt -@@ -119,7 +119,7 @@ if( BUILD_CLIENTS_BENCHMARKS OR BUILD_CLIENTS_TESTS) - set( BLIS_CPP ../common/blis_interface.cpp ) - set( BLAS_LIBRARY ${BUILD_DIR}/deps/blis/lib/libblis.a ) - else() -- set( BLAS_LIBRARY "blas" ) -+ set( BLAS_LIBRARY "blas -lcblas" ) - endif() - else() # WIN32 - set( BLAS_INCLUDE_DIR ${OPENBLAS_DIR}/include CACHE PATH "OpenBLAS library include path" ) diff --git a/sci-libs/rocBLAS/files/rocBLAS-6.0.2-expand-isa-compatibility.patch b/sci-libs/rocBLAS/files/rocBLAS-6.0.2-expand-isa-compatibility.patch deleted file mode 100644 index ca895c4b4ff5..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-6.0.2-expand-isa-compatibility.patch +++ /dev/null @@ -1,96 +0,0 @@ ---- a/library/src/handle.cpp -+++ b/library/src/handle.cpp -@@ -21,6 +21,7 @@ - * ************************************************************************ */ - #include "handle.hpp" - #include <cstdarg> -+#include <cstring> - #include <limits> - #ifdef WIN32 - #include <windows.h> -@@ -80,6 +81,20 @@ static Processor getActiveArch(int deviceId) - // strip out xnack/ecc from name - std::string deviceFullString(deviceProperties.gcnArchName); - std::string deviceString = deviceFullString.substr(0, deviceFullString.find(":")); -+ // coerce to compatible arch -+ int gcnArch = deviceString.substr(0, 3) == "gfx" ? std::stoi(deviceString.substr(3)) : 0; -+ switch(gcnArch) -+ { -+ case 902: case 909: case 912: -+ std::strcpy(deviceProperties.gcnArchName, "gfx900"); -+ break; -+ case 1013: -+ std::strcpy(deviceProperties.gcnArchName, "gfx1010"); -+ break; -+ case 1031: case 1032: case 1033: case 1034: case 1035: case 1036: -+ std::strcpy(deviceProperties.gcnArchName, "gfx1030"); -+ break; -+ } - - if(deviceString.find("gfx803") != std::string::npos) - { ---- a/library/src/rocblas_auxiliary.cpp -+++ b/library/src/rocblas_auxiliary.cpp -@@ -24,6 +24,7 @@ - #include "logging.hpp" - #include "rocblas-auxiliary.h" - #include <cctype> -+#include <cstring> - #include <cstdlib> - #include <memory> - #include <string> -@@ -1242,6 +1243,20 @@ std::string rocblas_internal_get_arch_name() - hipGetDevice(&deviceId); - hipDeviceProp_t deviceProperties; - hipGetDeviceProperties(&deviceProperties, deviceId); -+ // coerce to compatible arch -+ int gcnArch = strncmp(deviceProperties.gcnArchName, "gfx", 3) == 0 ? std::stoi(deviceProperties.gcnArchName + 3) : 0; -+ switch(gcnArch) -+ { -+ case 902: case 909: case 912: -+ std::strcpy(deviceProperties.gcnArchName, "gfx900"); -+ break; -+ case 1013: -+ std::strcpy(deviceProperties.gcnArchName, "gfx1010"); -+ break; -+ case 1031: case 1032: case 1033: case 1034: case 1035: case 1036: -+ std::strcpy(deviceProperties.gcnArchName, "gfx1030"); -+ break; -+ } - return ArchName<hipDeviceProp_t>{}(deviceProperties); - } - ---- a/library/src/tensile_host.cpp -+++ b/library/src/tensile_host.cpp -@@ -45,6 +45,7 @@ extern "C" void rocblas_shutdown(); - #include <Tensile/hip/HipUtils.hpp> - #include <atomic> - #include <complex> -+#include <cstring> - #include <exception> - #include <future> - #include <iomanip> -@@ -802,6 +803,23 @@ namespace - std::string deviceFullString(prop.gcnArchName); - std::string deviceString - = deviceFullString.substr(0, deviceFullString.find(":")); -+ // coerce to compatible arch -+ int gcnArch = deviceString.substr(0, 3) == "gfx" ? std::stoi(deviceString.substr(3)) : 0; -+ switch(gcnArch) -+ { -+ case 902: case 909: case 912: -+ std::strcpy(prop.gcnArchName, "gfx900"); -+ deviceString = prop.gcnArchName; -+ break; -+ case 1013: -+ std::strcpy(prop.gcnArchName, "gfx1010"); -+ deviceString = prop.gcnArchName; -+ break; -+ case 1031: case 1032: case 1033: case 1034: case 1035: case 1036: -+ std::strcpy(prop.gcnArchName, "gfx1030"); -+ deviceString = prop.gcnArchName; -+ break; -+ } - m_devicePropMap[deviceString] = std::make_shared<hipDeviceProp_t>(prop); - } - } diff --git a/sci-libs/rocBLAS/files/rocBLAS-6.3.0-find-cblas.patch b/sci-libs/rocBLAS/files/rocBLAS-6.3.0-find-cblas.patch deleted file mode 100644 index 4afb07789581..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-6.3.0-find-cblas.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/clients/CMakeLists.txt b/clients/CMakeLists.txt -index 4485fee..51eedc9 100644 ---- a/clients/CMakeLists.txt -+++ b/clients/CMakeLists.txt -@@ -140,10 +140,12 @@ if( BUILD_CLIENTS_BENCHMARKS OR BUILD_CLIENTS_TESTS) - set( BLAS_LIBRARY /usr/local/lib/libblis.a ) - set( BLIS_INCLUDE_DIR /usr/local/include/blis ) - else() -- message( WARNING "Could not find libblis" ) -+ message( FATAL_ERROR "Could not find libblis" ) - endif() - else() -- set( BLAS_LIBRARY "blas -lcblas" ) -+ find_package( CBLAS CONFIG REQUIRED ) -+ set( BLAS_LIBRARY ${CBLAS_LIBRARIES} ) -+ set( BLAS_INCLUDE_DIR ${CBLAS_INCLUDE_DIRS} ) - endif() - else() # WIN32 - file(TO_CMAKE_PATH "C:/Program\ Files/AMD/AOCL-Windows/amd-blis/lib/ILP64/AOCL-LibBlis-Win-MT.lib" AOCL_BLAS_LIBRARY) diff --git a/sci-libs/rocBLAS/files/rocBLAS-6.3.0-no-git.patch b/sci-libs/rocBLAS/files/rocBLAS-6.3.0-no-git.patch deleted file mode 100644 index 39ce71a85eb1..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-6.3.0-no-git.patch +++ /dev/null @@ -1,22 +0,0 @@ -Git should not be a required dependency, as hash is not available for releases. ---- a/library/CMakeLists.txt -+++ b/library/CMakeLists.txt -@@ -144,17 +144,8 @@ if( BUILD_VERBOSE ) - message( STATUS "\t==>CMAKE_SHARED_LINKER_FLAGS_RELEASE: ${CMAKE_SHARED_LINKER_FLAGS_RELEASE}" ) - endif( ) - --find_package(Git REQUIRED) -- --# Get the git hash of the rocBLAS branch --execute_process( -- COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD -- WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} -- OUTPUT_VARIABLE GIT_HASH_ROCBLAS -- OUTPUT_STRIP_TRAILING_WHITESPACE) -- - #set the rocBLAS commit hash --set(rocblas_VERSION_COMMIT_ID "${GIT_HASH_ROCBLAS}") -+set(rocblas_VERSION_COMMIT_ID "") - - #set the Tensile commit hash - set(tensile_VERSION_COMMIT_ID "${tensile_tag}") diff --git a/sci-libs/rocBLAS/files/rocBLAS-7.0.2-expand-isa-compatibility.patch b/sci-libs/rocBLAS/files/rocBLAS-7.0.2-expand-isa-compatibility.patch deleted file mode 100644 index 8fa9392635a8..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-7.0.2-expand-isa-compatibility.patch +++ /dev/null @@ -1,96 +0,0 @@ ---- a/library/src/handle.cpp -+++ b/library/src/handle.cpp -@@ -21,6 +21,7 @@ - * ************************************************************************ */ - #include "handle.hpp" - #include <cstdarg> -+#include <cstring> - #include <limits> - - #ifdef WIN32 -@@ -333,6 +334,20 @@ Processor _rocblas_handle::getActiveArch() - // strip out xnack/ecc from name - std::string deviceFullString(device_properties.gcnArchName); - std::string deviceString = deviceFullString.substr(0, deviceFullString.find(":")); -+ // coerce to compatible arch -+ int gcnArch = deviceString.substr(0, 3) == "gfx" ? std::stoi(deviceString.substr(3)) : 0; -+ switch(gcnArch) -+ { -+ case 902: case 909: case 912: -+ std::strcpy(device_properties.gcnArchName, "gfx900"); -+ break; -+ case 1013: -+ std::strcpy(device_properties.gcnArchName, "gfx1010"); -+ break; -+ case 1031: case 1032: case 1033: case 1034: case 1035: case 1036: -+ std::strcpy(device_properties.gcnArchName, "gfx1030"); -+ break; -+ } - - if(deviceString.find("gfx803") != std::string::npos) - { ---- a/library/src/rocblas_auxiliary.cpp -+++ b/library/src/rocblas_auxiliary.cpp -@@ -24,6 +24,7 @@ - #include "logging.hpp" - #include "rocblas-auxiliary.h" - #include <cctype> -+#include <cstring> - #include <cstdlib> - #include <memory> - #include <string> -@@ -924,6 +925,20 @@ std::string rocblas_internal_get_arch_name() - hipGetDevice(&deviceId); - hipDeviceProp_t deviceProperties; - hipGetDeviceProperties(&deviceProperties, deviceId); -+ // coerce to compatible arch -+ int gcnArch = strncmp(deviceProperties.gcnArchName, "gfx", 3) == 0 ? std::stoi(deviceProperties.gcnArchName + 3) : 0; -+ switch(gcnArch) -+ { -+ case 902: case 909: case 912: -+ std::strcpy(deviceProperties.gcnArchName, "gfx900"); -+ break; -+ case 1013: -+ std::strcpy(deviceProperties.gcnArchName, "gfx1010"); -+ break; -+ case 1031: case 1032: case 1033: case 1034: case 1035: case 1036: -+ std::strcpy(deviceProperties.gcnArchName, "gfx1030"); -+ break; -+ } - return ArchName<hipDeviceProp_t>{}(deviceProperties); - } - ---- a/library/src/tensile_host.cpp -+++ b/library/src/tensile_host.cpp -@@ -51,6 +51,7 @@ - #include <Tensile/hip/HipUtils.hpp> - #include <atomic> - #include <complex> -+#include <cstring> - #include <exception> - #include <future> - #include <iomanip> -@@ -831,6 +832,23 @@ namespace - std::string deviceFullString(prop.gcnArchName); - std::string deviceString - = deviceFullString.substr(0, deviceFullString.find(":")); -+ // coerce to compatible arch -+ int gcnArch = deviceString.substr(0, 3) == "gfx" ? std::stoi(deviceString.substr(3)) : 0; -+ switch(gcnArch) -+ { -+ case 902: case 909: case 912: -+ std::strcpy(prop.gcnArchName, "gfx900"); -+ deviceString = prop.gcnArchName; -+ break; -+ case 1013: -+ std::strcpy(prop.gcnArchName, "gfx1010"); -+ deviceString = prop.gcnArchName; -+ break; -+ case 1031: case 1032: case 1033: case 1034: case 1035: case 1036: -+ std::strcpy(prop.gcnArchName, "gfx1030"); -+ deviceString = prop.gcnArchName; -+ break; -+ } - m_devicePropMap[deviceString] = std::make_shared<hipDeviceProp_t>(prop); - } - } diff --git a/sci-libs/rocBLAS/files/rocBLAS-7.1.0-no-git.patch b/sci-libs/rocBLAS/files/rocBLAS-7.1.0-no-git.patch deleted file mode 100644 index c3c76be8217e..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-7.1.0-no-git.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/library/CMakeLists.txt 2025-09-26 20:04:41.000000000 -0000 -+++ b/library/CMakeLists.txt 2025-11-08 09:43:52.885950639 -0000 -@@ -197,18 +197,8 @@ - message( STATUS "\t==>CMAKE_SHARED_LINKER_FLAGS_RELEASE: ${CMAKE_SHARED_LINKER_FLAGS_RELEASE}" ) - endif( ) - --find_package(Git REQUIRED) -- --# Get the git hash of the rocBLAS branch --execute_process( -- COMMAND "${GIT_EXECUTABLE}" log -1 --format=%H . # was rev-parse HEAD -- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} # top rocBLAS directory -- OUTPUT_VARIABLE GIT_HASH_ROCBLAS -- OUTPUT_STRIP_TRAILING_WHITESPACE -- ) -- - #set the rocBLAS commit hash --set(rocblas_VERSION_COMMIT_ID "${GIT_HASH_ROCBLAS}") -+set(rocblas_VERSION_COMMIT_ID "") - - #set the Tensile commit hash - set(tensile_VERSION_COMMIT_ID "${tensile_tag}") diff --git a/sci-libs/rocBLAS/metadata.xml b/sci-libs/rocBLAS/metadata.xml deleted file mode 100644 index 2c60d8f98c1b..000000000000 --- a/sci-libs/rocBLAS/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install rocblas-bench</flag> - <flag name="hipblaslt">Build with <pkg>sci-libs/hipBLASLt</pkg> for some non-batched and strided batched problems on gfx12</flag> - <flag name="roctracer">Enable roctracer (roctx) marker</flag> - <flag name="test">Perform rocblas-test to compare the result between rocBLAS and system BLAS</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild b/sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild deleted file mode 100644 index 07a0bddc3fce..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="docs/doxygen" -DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 19 ) -ROCM_VERSION=${PV} - -inherit cmake docs edo flag-o-matic multiprocessing rocm llvm-r1 - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCm/rocBLAS" -SRC_URI="https://github.com/ROCm/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark hipblaslt test video_cards_amdgpu" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -BDEPEND=" - >=dev-build/rocm-cmake-5.3 - video_cards_amdgpu? ( - dev-util/Tensile:${SLOT} - ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - test? ( dev-cpp/gtest ) -" - -DEPEND=" - >=dev-cpp/msgpack-cxx-6.0.0 - dev-util/hip:${SLOT} - test? ( - virtual/blas - dev-cpp/gtest - llvm-runtimes/openmp - ) - benchmark? ( - virtual/blas - dev-cpp/gtest - llvm-runtimes/openmp - ) -" - -QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch - "${FILESDIR}"/${PN}-5.4.2-link-cblas.patch - "${FILESDIR}"/${PN}-6.0.2-expand-isa-compatibility.patch - "${FILESDIR}"/${PN}-6.3.0-no-git.patch - "${FILESDIR}"/${PN}-6.3.0-find-cblas.patch -) - -src_prepare() { - cmake_src_prepare - sed -e "s:,-rpath=.*\":\":" -i clients/CMakeLists.txt || die -} - -src_configure() { - rocm_use_hipcc - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_WITH_TENSILE="$(usex video_cards_amdgpu)" - -DCMAKE_INSTALL_INCLUDEDIR="include/rocblas" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS="$(usex test ON OFF)" - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DBUILD_WITH_PIP=OFF - -DBUILD_WITH_HIPBLASLT="$(usex hipblaslt ON OFF)" - -DLINK_BLIS=OFF - -Wno-dev - ) - - if usex video_cards_amdgpu; then - mycmakeargs+=( - -DTensile_LOGIC="asm_full" - -DTensile_COMPILER="hipcc" - -DTensile_LIBRARY_FORMAT="msgpack" - -DTensile_CODE_OBJECT_VERSION="default" - -DTensile_ROOT="${EPREFIX}/usr/share/Tensile" - -DTensile_CPU_THREADS="$(makeopts_jobs)" - ) - fi - - cmake_src_configure -} - -src_compile() { - docs_compile - cmake_src_compile -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - export ROCBLAS_TEST_TIMEOUT=3600 ROCBLAS_TENSILE_LIBPATH="${BUILD_DIR}/Tensile/library" - export LD_LIBRARY_PATH="${BUILD_DIR}/clients:${BUILD_DIR}/library/src" - - # `--gtest_filter=*quick*:*pre_checkin*-*known_bug*` is >1h on 7900XTX - edob ./rocblas-test --yaml rocblas_smoke.yaml -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dolib.a clients/librocblas_fortran_client.a - dobin clients/staging/rocblas-bench - fi - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x "/usr/$(get_libdir)/rocblas/library/" -} diff --git a/sci-libs/rocBLAS/rocBLAS-6.4.3-r1.ebuild b/sci-libs/rocBLAS/rocBLAS-6.4.3-r1.ebuild deleted file mode 100644 index cd672f4a5005..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-6.4.3-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="docs/doxygen" -DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 20 ) -ROCM_VERSION=${PV} - -inherit cmake docs edo flag-o-matic multiprocessing rocm llvm-r1 - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCm/rocBLAS" -SRC_URI="https://github.com/ROCm/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark hipblaslt test video_cards_amdgpu" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -BDEPEND=" - >=dev-build/rocm-cmake-5.3 -" - -RDEPEND=" - dev-util/hip:${SLOT} - dev-util/roctracer:${SLOT} - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - benchmark? ( - virtual/blas - dev-cpp/gtest - llvm-runtimes/openmp - ) -" - -DEPEND=" - ${RDEPEND} - >=dev-cpp/msgpack-cxx-6.0.0 - test? ( - virtual/blas - dev-cpp/gtest - llvm-runtimes/openmp - ) - video_cards_amdgpu? ( - dev-util/Tensile:${SLOT} - ) -" - -QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch - "${FILESDIR}"/${PN}-5.4.2-link-cblas.patch - "${FILESDIR}"/${PN}-6.0.2-expand-isa-compatibility.patch - "${FILESDIR}"/${PN}-6.3.0-no-git.patch - "${FILESDIR}"/${PN}-6.3.0-find-cblas.patch -) - -src_prepare() { - cmake_src_prepare - sed -e "s:,-rpath=.*\":\":" -i clients/CMakeLists.txt || die -} - -src_configure() { - llvm_prepend_path "${LLVM_SLOT}" - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_WITH_TENSILE="$(usex video_cards_amdgpu)" - -DCMAKE_INSTALL_INCLUDEDIR="include/rocblas" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS="$(usex test ON OFF)" - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DBUILD_WITH_PIP=OFF - -DBUILD_WITH_HIPBLASLT="$(usex hipblaslt ON OFF)" - -DLINK_BLIS=OFF - -DTensile_CPU_THREADS=$(makeopts_jobs) - -Wno-dev - ) - - if usex video_cards_amdgpu; then - mycmakeargs+=( - -DTensile_COMPILER="hipcc" - -DTensile_ROOT="${EPREFIX}/usr/share/Tensile" - -DTensile_CPU_THREADS="$(makeopts_jobs)" - ) - fi - - cmake_src_configure -} - -src_compile() { - docs_compile - cmake_src_compile -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - export ROCBLAS_TEST_TIMEOUT=3600 ROCBLAS_TENSILE_LIBPATH="${BUILD_DIR}/Tensile/library" - export LD_LIBRARY_PATH="${BUILD_DIR}/clients:${BUILD_DIR}/library/src" - - # `--gtest_filter=*quick*:*pre_checkin*-*known_bug*` is >1h on 7900XTX - edob ./rocblas-test --yaml rocblas_smoke.yaml -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dolib.a clients/librocblas_fortran_client.a - dobin clients/staging/rocblas-bench - fi - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x "/usr/$(get_libdir)/rocblas/library/" -} diff --git a/sci-libs/rocBLAS/rocBLAS-7.0.2-r1.ebuild b/sci-libs/rocBLAS/rocBLAS-7.0.2-r1.ebuild deleted file mode 100644 index 36098ed623e0..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-7.0.2-r1.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="docs/doxygen" -DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 20 ) -ROCM_VERSION=${PV} - -inherit cmake docs edo flag-o-matic multiprocessing rocm llvm-r1 - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocblas" - -if [[ "${PV}" == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ROCm/rocm-libraries.git" - EGIT_BRANCH="develop" - S="${WORKDIR}/${P}/projects/rocblas" - SLOT="0/7.0" -else - SRC_URI="https://github.com/ROCm/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz" - S="${WORKDIR}/${PN}-rocm-${PV}" - SLOT="0/$(ver_cut 1-2)" - KEYWORDS="~amd64" -fi - -LICENSE="MIT BSD" -IUSE="benchmark hipblaslt roctracer test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -BDEPEND=" - dev-build/rocm-cmake:${SLOT} -" - -RDEPEND=" - dev-util/hip:${SLOT} - roctracer? ( dev-util/roctracer:${SLOT} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - benchmark? ( - dev-cpp/gtest - llvm-runtimes/openmp - sci-libs/flexiblas - ) -" - -DEPEND=" - ${RDEPEND} - >=dev-cpp/msgpack-cxx-6.0.0 - test? ( - dev-cpp/gtest - llvm-runtimes/openmp - sci-libs/flexiblas - ) - dev-util/Tensile:${SLOT} -" - -QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch - "${FILESDIR}"/${PN}-7.0.2-expand-isa-compatibility.patch - "${FILESDIR}"/${PN}-6.3.0-no-git.patch -) - -src_prepare() { - cmake_src_prepare - - # Remove RPATH's, fixes multilib compatibility - sed -e "/apply_omp_settings/a return()" -i clients/CMakeLists.txt || die - - # Disable automagic linking with roctracer - sed -e "s/if(ROCTRACER_INCLUDE_DIR/if(ROCBLAS_ENABLE_MARKER AND ROCTRACER_INCLUDE_DIR/" \ - -i library/CMakeLists.txt || die -} - -src_configure() { - llvm_prepend_path "${LLVM_SLOT}" - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DROCM_SYMLINK_LIBS=OFF - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_WITH_TENSILE=ON - -DCMAKE_INSTALL_INCLUDEDIR="include/rocblas" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS="$(usex test ON OFF)" - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DBUILD_WITH_PIP=OFF - -DBUILD_WITH_HIPBLASLT="$(usex hipblaslt ON OFF)" - -DROCBLAS_ENABLE_MARKER="$(usex roctracer ON OFF)" - -DLINK_BLIS=OFF - -DTensile_COMPILER="${CXX}" - -DTensile_ROOT="${EPREFIX}/usr/share/Tensile" - -DTensile_CPU_THREADS="$(makeopts_jobs)" - -Wno-dev - ) - - if use benchmark || use test; then - mycmakeargs+=( - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - ) - fi - - cmake_src_configure -} - -src_compile() { - docs_compile - cmake_src_compile -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - export ROCBLAS_TEST_TIMEOUT=3600 ROCBLAS_TENSILE_LIBPATH="${BUILD_DIR}/Tensile/library" - export LD_LIBRARY_PATH="${BUILD_DIR}/clients:${BUILD_DIR}/library/src" - - # `--gtest_filter=*quick*:*pre_checkin*-*known_bug*` is >1h on 7900XTX - edob ./rocblas-test --yaml rocblas_smoke.yaml -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dolib.a clients/librocblas_fortran_client.a - dobin clients/staging/rocblas-bench - fi - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x "/usr/$(get_libdir)/rocblas/library/" -} diff --git a/sci-libs/rocBLAS/rocBLAS-7.1.0.ebuild b/sci-libs/rocBLAS/rocBLAS-7.1.0.ebuild deleted file mode 100644 index cfbcbb8cd287..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-7.1.0.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="docs/doxygen" -DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 20 ) -ROCM_VERSION=${PV} - -inherit cmake docs edo flag-o-matic multiprocessing rocm llvm-r1 - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocblas" - -if [[ "${PV}" == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ROCm/rocm-libraries.git" - EGIT_BRANCH="develop" - S="${WORKDIR}/${P}/projects/rocblas" - SLOT="0/7.0" -else - SRC_URI="https://github.com/ROCm/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz" - S="${WORKDIR}/${PN}-rocm-${PV}" - SLOT="0/$(ver_cut 1-2)" - KEYWORDS="~amd64" -fi - -LICENSE="MIT BSD" -IUSE="benchmark hipblaslt roctracer test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -BDEPEND=" - dev-build/rocm-cmake:${SLOT} -" - -RDEPEND=" - dev-util/hip:${SLOT} - roctracer? ( dev-util/roctracer:${SLOT} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT} ) - benchmark? ( - dev-cpp/gtest - llvm-runtimes/openmp - sci-libs/flexiblas - ) -" - -DEPEND=" - ${RDEPEND} - >=dev-cpp/msgpack-cxx-6.0.0 - test? ( - dev-cpp/gtest - llvm-runtimes/openmp - sci-libs/flexiblas - ) - dev-util/Tensile:${SLOT} -" - -QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch - "${FILESDIR}"/${PN}-7.0.2-expand-isa-compatibility.patch - "${FILESDIR}"/${PN}-7.1.0-no-git.patch -) - -src_prepare() { - cmake_src_prepare - - # Remove RPATH's, fixes multilib compatibility - sed -e "/apply_omp_settings/a return()" -i clients/CMakeLists.txt || die - - # Disable automagic linking with roctracer - sed -e "s/if(ROCTRACER_INCLUDE_DIR/if(ROCBLAS_ENABLE_MARKER AND ROCTRACER_INCLUDE_DIR/" \ - -i library/CMakeLists.txt || die -} - -src_configure() { - llvm_prepend_path "${LLVM_SLOT}" - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DROCM_SYMLINK_LIBS=OFF - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_WITH_TENSILE=ON - -DCMAKE_INSTALL_INCLUDEDIR="include/rocblas" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS="$(usex test ON OFF)" - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DBUILD_WITH_PIP=OFF - -DBUILD_WITH_HIPBLASLT="$(usex hipblaslt ON OFF)" - -DROCBLAS_ENABLE_MARKER="$(usex roctracer ON OFF)" - -DLINK_BLIS=OFF - -DTensile_COMPILER="${CXX}" - -DTensile_ROOT="${EPREFIX}/usr/share/Tensile" - -DTensile_CPU_THREADS="$(makeopts_jobs)" - -Wno-dev - ) - - if use benchmark || use test; then - mycmakeargs+=( - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - ) - fi - - cmake_src_configure -} - -src_compile() { - docs_compile - cmake_src_compile -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - export ROCBLAS_TEST_TIMEOUT=3600 ROCBLAS_TENSILE_LIBPATH="${BUILD_DIR}/Tensile/library" - export LD_LIBRARY_PATH="${BUILD_DIR}/clients:${BUILD_DIR}/library/src" - - # `--gtest_filter=*quick*:*pre_checkin*-*known_bug*` is >1h on 7900XTX - edob ./rocblas-test --yaml rocblas_smoke.yaml -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dolib.a clients/librocblas_fortran_client.a - dobin clients/staging/rocblas-bench - fi - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x "/usr/$(get_libdir)/rocblas/library/" -} diff --git a/sci-libs/rocBLAS/rocBLAS-7.2.0.ebuild b/sci-libs/rocBLAS/rocBLAS-7.2.0.ebuild deleted file mode 100644 index cca0d8557761..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-7.2.0.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="docs/doxygen" -DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 22 ) -ROCM_VERSION=${PV} - -inherit cmake docs edo flag-o-matic llvm-r2 multiprocessing rocm - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocblas" - -if [[ "${PV}" == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ROCm/rocm-libraries.git" - EGIT_BRANCH="develop" - S="${WORKDIR}/${P}/projects/rocblas" - SLOT="0/9999" - SLOT_NOLIVE="0/7.2" -else - SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocblas.tar.gz -> rocblas-${PV}.tar.gz" - S="${WORKDIR}/rocblas" - SLOT="0/$(ver_cut 1-2)" - SLOT_NOLIVE=${SLOT} - KEYWORDS="~amd64" -fi - -LICENSE="MIT BSD" -IUSE="benchmark hipblaslt roctracer test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -BDEPEND=" - dev-build/rocm-cmake:${SLOT_NOLIVE} -" - -RDEPEND=" - dev-util/hip:${SLOT_NOLIVE} - roctracer? ( dev-util/roctracer:${SLOT_NOLIVE} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT_NOLIVE} ) - benchmark? ( - dev-cpp/gtest:= - dev-util/rocm-smi:${SLOT_NOLIVE} - llvm-runtimes/openmp - sci-libs/flexiblas - ) -" - -DEPEND=" - ${RDEPEND} - >=dev-cpp/msgpack-cxx-6.0.0 - test? ( - dev-cpp/gtest:= - dev-util/rocm-smi:${SLOT_NOLIVE} - llvm-runtimes/openmp - sci-libs/flexiblas - ) - dev-util/Tensile:${SLOT} -" - -QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch - "${FILESDIR}"/${PN}-7.0.2-expand-isa-compatibility.patch - "${FILESDIR}"/${PN}-7.1.0-no-git.patch -) - -src_prepare() { - cmake_src_prepare - - # Remove RPATH's, fixes multilib compatibility - sed -e "/apply_omp_settings/a return()" -i clients/CMakeLists.txt || die - - # Disable automagic linking with roctracer - sed -e "s/if(ROCTRACER_INCLUDE_DIR/if(ROCBLAS_ENABLE_MARKER AND ROCTRACER_INCLUDE_DIR/" \ - -i library/CMakeLists.txt || die -} - -src_configure() { - llvm_prepend_path "${LLVM_SLOT}" - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DROCM_SYMLINK_LIBS=OFF - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_WITH_TENSILE=ON - -DCMAKE_INSTALL_INCLUDEDIR="include/rocblas" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS="$(usex test ON OFF)" - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DBUILD_WITH_PIP=OFF - -DBUILD_WITH_HIPBLASLT="$(usex hipblaslt ON OFF)" - -DROCBLAS_ENABLE_MARKER="$(usex roctracer ON OFF)" - -DLINK_BLIS=OFF - -DTensile_COMPILER="${CXX}" - -DTensile_ROOT="${EPREFIX}/usr/share/Tensile" - -DTensile_CPU_THREADS="$(makeopts_jobs)" - -Wno-dev - ) - - if use benchmark || use test; then - mycmakeargs+=( - -DBLA_PREFER_PKGCONFIG=ON - -DBLA_PKGCONFIG_BLAS=flexiblas - -DBLA_VENDOR=FlexiBLAS - ) - fi - - cmake_src_configure -} - -src_compile() { - docs_compile - cmake_src_compile -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - export ROCBLAS_TEST_TIMEOUT=3600 ROCBLAS_TENSILE_LIBPATH="${BUILD_DIR}/Tensile/library" - export LD_LIBRARY_PATH="${BUILD_DIR}/clients:${BUILD_DIR}/library/src" - - # `--gtest_filter=*quick*:*pre_checkin*-*known_bug*` is >1h on 7900XTX - edob ./rocblas-test --yaml rocblas_smoke.yaml -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dolib.a clients/librocblas_fortran_client.a - dobin clients/staging/rocblas-bench - fi - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x "/usr/$(get_libdir)/rocblas/library/" -} diff --git a/sci-libs/rocBLAS/rocBLAS-9999.ebuild b/sci-libs/rocBLAS/rocBLAS-9999.ebuild deleted file mode 100644 index 98126d7cf42c..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-9999.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="docs/doxygen" -DOCS_DEPEND="media-gfx/graphviz" -LLVM_COMPAT=( 22 ) -ROCM_VERSION=${PV} - -inherit cmake docs edo flag-o-matic llvm-r2 multiprocessing rocm - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocblas" - -if [[ "${PV}" == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ROCm/rocm-libraries.git" - EGIT_BRANCH="develop" - S="${WORKDIR}/${P}/projects/rocblas" - SLOT="0/9999" - SLOT_NOLIVE="0/7.2" -else - SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocblas.tar.gz -> rocblas-${PV}.tar.gz" - S="${WORKDIR}/rocblas" - SLOT="0/$(ver_cut 1-2)" - SLOT_NOLIVE=${SLOT} - KEYWORDS="~amd64" -fi - -LICENSE="MIT BSD" -IUSE="benchmark hipblaslt roctracer test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -BDEPEND=" - dev-build/rocm-cmake:${SLOT_NOLIVE} -" - -RDEPEND=" - dev-util/hip:${SLOT_NOLIVE} - roctracer? ( dev-util/roctracer:${SLOT_NOLIVE} ) - hipblaslt? ( sci-libs/hipBLASLt:${SLOT_NOLIVE} ) - benchmark? ( - dev-cpp/gtest:= - dev-util/rocm-smi:${SLOT_NOLIVE} - llvm-runtimes/openmp - sci-libs/flexiblas - ) -" - -DEPEND=" - ${RDEPEND} - >=dev-cpp/msgpack-cxx-6.0.0 - test? ( - dev-cpp/gtest:= - dev-util/rocm-smi:${SLOT_NOLIVE} - llvm-runtimes/openmp - sci-libs/flexiblas - ) - dev-util/Tensile:${SLOT} -" - -QA_FLAGS_IGNORED="/usr/lib64/rocblas/library/.*" - -PATCHES=( - "${FILESDIR}"/${PN}-5.4.2-add-missing-header.patch -) - -src_prepare() { - cmake_src_prepare - - # Remove RPATH's, fixes multilib compatibility - sed -e "/apply_omp_settings/a return()" -i clients/CMakeLists.txt || die - - # Disable automagic linking with roctracer - sed -e "s/if(ROCTRACER_INCLUDE_DIR/if(ROCBLAS_ENABLE_MARKER AND ROCTRACER_INCLUDE_DIR/" \ - -i library/CMakeLists.txt || die -} - -src_configure() { - llvm_prepend_path "${LLVM_SLOT}" - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DROCM_SYMLINK_LIBS=OFF - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_WITH_TENSILE=ON - -DCMAKE_INSTALL_INCLUDEDIR="include/rocblas" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS="$(usex test ON OFF)" - -DBUILD_CLIENTS_BENCHMARKS="$(usex benchmark ON OFF)" - -DBUILD_WITH_PIP=OFF - -DBUILD_WITH_HIPBLASLT="$(usex hipblaslt ON OFF)" - -DROCBLAS_ENABLE_MARKER="$(usex roctracer ON OFF)" - -DLINK_BLIS=OFF - -DTensile_COMPILER="${CXX}" - -DTensile_ROOT="${EPREFIX}/usr/share/Tensile" - -DTensile_CPU_THREADS="$(makeopts_jobs)" - -Wno-dev - ) - - if use benchmark || use test; then - mycmakeargs+=( - -DBLA_PREFER_PKGCONFIG=ON - -DBLA_PKGCONFIG_BLAS=flexiblas - -DBLA_VENDOR=FlexiBLAS - ) - fi - - cmake_src_configure -} - -src_compile() { - docs_compile - cmake_src_compile -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - export ROCBLAS_TEST_TIMEOUT=3600 ROCBLAS_TENSILE_LIBPATH="${BUILD_DIR}/Tensile/library" - export LD_LIBRARY_PATH="${BUILD_DIR}/clients:${BUILD_DIR}/library/src" - - # `--gtest_filter=*quick*:*pre_checkin*-*known_bug*` is >1h on 7900XTX - edob ./rocblas-test --yaml rocblas_smoke.yaml -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dolib.a clients/librocblas_fortran_client.a - dobin clients/staging/rocblas-bench - fi - - # Stop llvm-strip from removing .strtab section from *.hsaco files, - # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes - dostrip -x "/usr/$(get_libdir)/rocblas/library/" -} diff --git a/sci-libs/rocFFT/Manifest b/sci-libs/rocFFT/Manifest deleted file mode 100644 index 0b33b2cbeae2..000000000000 --- a/sci-libs/rocFFT/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST rocFFT-6.3.3.tar.gz 1386087 BLAKE2B 239f42cbb6ddc2f275a9ea2e356cab1b62670ebea3ed0e660f36ed816703bef650cd6e1181d1bcc4403a379c432ea033a2ee90a308b885bf82f1a4616643c07d SHA512 76dcc4bbb6bca97a5b87f88f7b60badde31ee2ff3254d16e99c3d6c7fb9fb6c7eb5166edd50dfb0dada54f4dbdd2436a9e507c806118a05ec93cea480ac1e1c4 -DIST rocFFT-6.4.3.tar.gz 1429076 BLAKE2B 2254c6c29d75d3ea63d5c61f51a274d9539d6da64981fc703d9f0570a75730918e3e7e7e8a378ab84038664ab912b86fe50ccd39165bc7eeae168204e90ee2e4 SHA512 e92889885aa5825b36a6de2e3fbf5f8d84f3519a25b6a9fe271533df4916644aadb0710cb00e53a29faa560a18e426d656bc7bd47486f80cab8c55f75f9b5071 -DIST rocFFT-7.0.2.tar.gz 1434378 BLAKE2B 1c6a6fe3b90ada9151074ce199464b5e0ba2f8c047078d700b1bf47b6670d2ad2bba8c8d40c0814db8f627550e93c1931912fb2e2e8b631e0ee9208f7f92284f SHA512 4a142396cba47043c2920a1dbe9e5853ac7ba3e85e1b172408f68a93524f466163794a8a0c49d914c21110ac2a5cf78c4a5735689c443e438e45f6e93f4f4773 -DIST rocFFT-7.1.0.tar.gz 1444798 BLAKE2B 9c7b1afe4690b215e7647ae5fadefcd249eeb571a5cd1911c45047722008fa58db783ecae7533ad2bfd26edd535d27d33b2010c03c82c8f7ad6f14aba2570910 SHA512 ce7e1663a98ef00bd266b8ddb0432ca088cc8d330bd7d3122c30be660197c5bfe10e5622076392d7f7caab31407670087433f2efd6067419719301096094f60b -DIST rocfft-7.2.0.tar.gz 1450097 BLAKE2B 5e1d5df826682690f7bfd244f360cf3099b17211ab9cd4a837a38717f4adc0ffa64b517f5b92f07fb1488210dc716d72620bfeda914f10778ea9bc02daf3c150 SHA512 ba8b784fc213aa18cd00c087e533705fc5cb0b2db0d3ffaf38863a533a7593d7e80136aa05caa08714feb951f51cd127253ae5733bd0fdb507ea7316d8d46012 diff --git a/sci-libs/rocFFT/files/rocFFT-5.7.1-fix-rocm-link-path.patch b/sci-libs/rocFFT/files/rocFFT-5.7.1-fix-rocm-link-path.patch deleted file mode 100644 index 03731516d8fb..000000000000 --- a/sci-libs/rocFFT/files/rocFFT-5.7.1-fix-rocm-link-path.patch +++ /dev/null @@ -1,14 +0,0 @@ -ld.lld with "-L/usr/lib -lhiprtc -ldl" fails in attempt to link -64-bit library to 32-bit /usr/lib/libdl.so.2 with: -"ld.lld: error: <...>/Scrt1.o is incompatible with elf32-i386" ---- a/library/src/CMakeLists.txt -+++ b/library/src/CMakeLists.txt -@@ -46,7 +46,7 @@ else() - if( WIN32 ) - set( ROCFFT_RTC_LINK_LIBS "${HIP_PATH}/lib/hiprtc.lib" ) - else() -- set( ROCFFT_RTC_LINK_LIBS -L${ROCM_PATH}/lib -lhiprtc -ldl ) -+ set( ROCFFT_RTC_LINK_LIBS -lhiprtc -ldl ) - endif() - endif() - diff --git a/sci-libs/rocFFT/files/rocFFT-6.1.1-find-hip-use-config.patch b/sci-libs/rocFFT/files/rocFFT-6.1.1-find-hip-use-config.patch deleted file mode 100644 index 27353eee35d1..000000000000 --- a/sci-libs/rocFFT/files/rocFFT-6.1.1-find-hip-use-config.patch +++ /dev/null @@ -1,31 +0,0 @@ -Upstream PR: https://github.com/ROCm/rocFFT/pull/530 -From b29c984bfaaec9d372fb566f5136fe3c473ff22d Mon Sep 17 00:00:00 2001 -From: Yiyang Wu <xgreenlandforwyy@gmail.com> -Date: Sun, 20 Oct 2024 23:22:50 +0800 -Subject: [PATCH] Require rocFFT use hip-config.cmake to find HIP - -Sometimes rocFFT use FindHIP.cmake which is not desired -- it does not -have hip::device and hip::host target imported and result in cmake -generating error. - -Reference: https://bugs.gentoo.org/932155 ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index bcb9819c..da697834 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -186,7 +186,7 @@ set(AMDGPU_TARGETS "${DEFAULT_GPUS}" CACHE STRING "Target default GPUs if AMDGPU - rocm_check_target_ids(AMDGPU_TARGETS TARGETS "${AMDGPU_TARGETS}") - - # HIP is required - library and clients use HIP to access the device --find_package( HIP REQUIRED ) -+find_package( HIP REQUIRED CONFIG ) - - # The nvidia backend can be used to compile for CUDA devices. - # Specify the CUDA prefix in the CUDA_PREFIX variable. --- -2.45.2 - diff --git a/sci-libs/rocFFT/metadata.xml b/sci-libs/rocFFT/metadata.xml deleted file mode 100644 index e4f808d3ee17..000000000000 --- a/sci-libs/rocFFT/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install rocfft benchmark tools</flag> - <flag name="perfscripts">Install rocfft-perf performance visualization suite</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/rocFFT/rocFFT-6.3.3.ebuild b/sci-libs/rocFFT/rocFFT-6.3.3.ebuild deleted file mode 100644 index 69d529a205cc..000000000000 --- a/sci-libs/rocFFT/rocFFT-6.3.3.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake check-reqs edo multiprocessing python-r1 rocm - -DESCRIPTION="Next generation FFT implementation for ROCm" -HOMEPAGE="https://github.com/ROCm/rocFFT" -SRC_URI="https://github.com/ROCm/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz" -S="${WORKDIR}/rocFFT-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# RDEPEND: perfscripts? dev-python/plotly[${PYTHON_USEDEP}] # currently masked by arch/amd64/x32/package.mask -RDEPEND=" -perfscripts? ( - >=media-gfx/asymptote-2.61 - dev-texlive/texlive-latex - dev-tex/latexmk - sys-apps/texinfo - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] ) -${PYTHON_DEPS}" - -DEPEND="=dev-util/hip-6* - ${PYTHON_DEPS} - benchmark? ( - dev-libs/boost - sci-libs/hipRAND:${SLOT}[${ROCM_USEDEP}] - ) - test? ( - dev-cpp/gtest - dev-libs/boost - >=sci-libs/fftw-3 - llvm-runtimes/openmp - sci-libs/hipRAND:${SLOT}[${ROCM_USEDEP}] - ) -" - -BDEPEND=" - >=dev-build/cmake-3.22 - dev-build/rocm-cmake - dev-db/sqlite -" - -CHECKREQS_DISK_BUILD="7G" - -IUSE="benchmark perfscripts test" -REQUIRED_USE="perfscripts? ( benchmark ) ${PYTHON_REQUIRED_USE} ${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-5.7.1-fix-rocm-link-path.patch - "${FILESDIR}"/${PN}-6.1.1-find-hip-use-config.patch -) - -required_mem() { - if use test; then - echo "52G" - else - if [[ -n "${AMDGPU_TARGETS}" ]]; then - # count how many archs user specified in ${AMDGPU_TARGETS} - local NARCH=$(($(awk -F";" '{print NF-1}' <<< "${AMDGPU_TARGETS}" || die)+1)) - else - # The default number of AMDGPU_TARGETS for rocFFT-4.3.0. May change in the future. - local NARCH=7 - fi - echo "$(($(makeopts_jobs)*${NARCH}*25+2200))M" # A linear function estimating how much memory required - fi -} - -pkg_pretend() { - return # leave the disk space check to pkg_setup phase -} - -pkg_setup() { - export CHECKREQS_MEMORY=$(required_mem) - check-reqs_pkg_setup - python_setup -} - -src_prepare() { - if use perfscripts; then - pushd scripts/perf || die - sed -e "/\/opt\/rocm/d" -e "/rocmversion/s,rocm_info.strip(),\"${PV}\"," -i perflib/specs.py || dir - sed -e "/^top/,+1d" -i rocfft-perf suites.py || die - sed -e "s,perflib,${PN}_perflib,g" -i rocfft-perf suites.py perflib/*.py || die - sed -e "/^top = /s,__file__).*$,\"${EPREFIX}/usr/share/${PN}-perflib\")," \ - -i perflib/pdf.py perflib/generators.py || die - popd - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCH=$(usex benchmark ON OFF) - -DSQLITE_USE_SYSTEM_PACKAGE=ON - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - export LD_LIBRARY_PATH=${BUILD_DIR}/library/src/:${BUILD_DIR}/library/src/device - edob ./rocfft-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/clients/staging || die - dobin dyna-rocfft-bench rocfft-bench - dosym dyna-rocfft-bench /usr/bin/dyna-rocfft-rider - dosym rocfft-bench /usr/bin/dyna-rocfft-rider - - if ! use perfscripts; then - # prevent collision with dev-util/perf - rm -rf "${ED}"/usr/bin/perf || die - fi - fi - - if use perfscripts; then - cd "${S}"/scripts/perf || die - python_foreach_impl python_doexe rocfft-perf - python_moduleinto ${PN}_perflib - python_foreach_impl python_domodule perflib/*.py - insinto /usr/share/${PN}-perflib - doins *.asy suites.py - fi -} diff --git a/sci-libs/rocFFT/rocFFT-6.4.3.ebuild b/sci-libs/rocFFT/rocFFT-6.4.3.ebuild deleted file mode 100644 index eef059878ebe..000000000000 --- a/sci-libs/rocFFT/rocFFT-6.4.3.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake check-reqs edo multiprocessing python-r1 rocm - -DESCRIPTION="Next generation FFT implementation for ROCm" -HOMEPAGE="https://github.com/ROCm/rocFFT" -SRC_URI="https://github.com/ROCm/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz" -S="${WORKDIR}/rocFFT-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# RDEPEND: perfscripts? dev-python/plotly[${PYTHON_USEDEP}] # currently masked by arch/amd64/x32/package.mask -RDEPEND=" -perfscripts? ( - >=media-gfx/asymptote-2.61 - dev-texlive/texlive-latex - dev-tex/latexmk - sys-apps/texinfo - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] ) -${PYTHON_DEPS}" - -DEPEND="=dev-util/hip-6* - ${PYTHON_DEPS} - benchmark? ( - dev-libs/boost - sci-libs/hipRAND:${SLOT} - ) - test? ( - dev-cpp/gtest - dev-libs/boost - >=sci-libs/fftw-3 - llvm-runtimes/openmp - sci-libs/hipRAND:${SLOT} - ) -" - -BDEPEND=" - >=dev-build/cmake-3.22 - dev-build/rocm-cmake - dev-db/sqlite -" - -CHECKREQS_DISK_BUILD="7G" - -IUSE="benchmark perfscripts test" -REQUIRED_USE="perfscripts? ( benchmark ) ${PYTHON_REQUIRED_USE} ${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-5.7.1-fix-rocm-link-path.patch -) - -required_mem() { - if use test; then - echo "52G" - else - if [[ -n "${AMDGPU_TARGETS}" ]]; then - # count how many archs user specified in ${AMDGPU_TARGETS} - local NARCH=$(($(awk -F";" '{print NF-1}' <<< "${AMDGPU_TARGETS}" || die)+1)) - else - # The default number of AMDGPU_TARGETS for rocFFT-4.3.0. May change in the future. - local NARCH=7 - fi - echo "$(($(makeopts_jobs)*${NARCH}*25+2200))M" # A linear function estimating how much memory required - fi -} - -pkg_pretend() { - return # leave the disk space check to pkg_setup phase -} - -pkg_setup() { - export CHECKREQS_MEMORY=$(required_mem) - check-reqs_pkg_setup - python_setup -} - -src_prepare() { - if use perfscripts; then - pushd scripts/perf || die - sed -e "/\/opt\/rocm/d" -e "/rocmversion/s,rocm_info.strip(),\"${PV}\"," -i perflib/specs.py || dir - sed -e "/^top/,+1d" -i rocfft-perf suites.py || die - sed -e "s,perflib,${PN}_perflib,g" -i rocfft-perf suites.py perflib/*.py || die - sed -e "/^top = /s,__file__).*$,\"${EPREFIX}/usr/share/${PN}-perflib\")," \ - -i perflib/pdf.py perflib/generators.py || die - popd - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCH=$(usex benchmark ON OFF) - -DSQLITE_USE_SYSTEM_PACKAGE=ON - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - export LD_LIBRARY_PATH=${BUILD_DIR}/library/src/:${BUILD_DIR}/library/src/device - edob ./rocfft-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/clients/staging || die - dobin dyna-rocfft-bench rocfft-bench - dosym dyna-rocfft-bench /usr/bin/dyna-rocfft-rider - dosym rocfft-bench /usr/bin/dyna-rocfft-rider - - if ! use perfscripts; then - # prevent collision with dev-util/perf - rm -rf "${ED}"/usr/bin/perf || die - fi - fi - - if use perfscripts; then - cd "${S}"/scripts/perf || die - python_foreach_impl python_doexe rocfft-perf - python_moduleinto ${PN}_perflib - python_foreach_impl python_domodule perflib/*.py - insinto /usr/share/${PN}-perflib - doins *.asy suites.py - fi -} diff --git a/sci-libs/rocFFT/rocFFT-7.0.2.ebuild b/sci-libs/rocFFT/rocFFT-7.0.2.ebuild deleted file mode 100644 index 84ba647420ad..000000000000 --- a/sci-libs/rocFFT/rocFFT-7.0.2.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake check-reqs edo multiprocessing python-r1 rocm - -DESCRIPTION="Next generation FFT implementation for ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocfft" -SRC_URI="https://github.com/ROCm/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz" -S="${WORKDIR}/rocFFT-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# RDEPEND: perfscripts? dev-python/plotly[${PYTHON_USEDEP}] # currently masked by arch/amd64/x32/package.mask -RDEPEND=" - dev-db/sqlite:3 - dev-util/hip:= - perfscripts? ( - media-gfx/asymptote - dev-texlive/texlive-latex - dev-tex/latexmk - sys-apps/texinfo - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - ${PYTHON_DEPS} - ) -" - -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} - dev-util/hip:${SLOT} - benchmark? ( - dev-db/sqlite:3 - dev-util/hip:= - dev-libs/boost - sci-libs/hipRAND:${SLOT} - ) - test? ( - dev-cpp/gtest - dev-libs/boost - sci-libs/fftw - llvm-runtimes/openmp - sci-libs/hipRAND:${SLOT} - ) -" - -BDEPEND=" - >=dev-build/cmake-3.22 - dev-build/rocm-cmake - dev-db/sqlite -" - -CHECKREQS_DISK_BUILD="7G" - -IUSE="benchmark perfscripts test" -REQUIRED_USE="perfscripts? ( benchmark ) ${PYTHON_REQUIRED_USE} ${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -required_mem() { - if use test; then - echo "52G" - else - if [[ -n "${AMDGPU_TARGETS}" ]]; then - # count how many archs user specified in ${AMDGPU_TARGETS} - local NARCH=$(($(awk -F";" '{print NF-1}' <<< "${AMDGPU_TARGETS}" || die)+1)) - else - # The default number of AMDGPU_TARGETS for rocFFT-4.3.0. May change in the future. - local NARCH=7 - fi - echo "$(($(makeopts_jobs)*${NARCH}*25+2200))M" # A linear function estimating how much memory required - fi -} - -pkg_pretend() { - return # leave the disk space check to pkg_setup phase -} - -pkg_setup() { - export CHECKREQS_MEMORY=$(required_mem) - check-reqs_pkg_setup - python_setup -} - -src_prepare() { - if use perfscripts; then - pushd scripts/perf || die - sed -e "/\/opt\/rocm/d" -e "/rocmversion/s,rocm_info.strip(),\"${PV}\"," -i perflib/specs.py || dir - sed -e "/^top/,+1d" -i rocfft-perf suites.py || die - sed -e "s,perflib,${PN}_perflib,g" -i rocfft-perf suites.py perflib/*.py || die - sed -e "/^top = /s,__file__).*$,\"${EPREFIX}/usr/share/${PN}-perflib\")," \ - -i perflib/pdf.py perflib/generators.py || die - popd || die - fi - - # Silence "QA Notice: Compatibility with CMake < 3.5 has been removed from CMake 4" - sed -e "/CMAKE_MINIMUM_REQUIRED/ s/3.0/3.16/" -i docs/samples/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCH=$(usex benchmark ON OFF) - -DSQLITE_USE_SYSTEM_PACKAGE=ON - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - export LD_LIBRARY_PATH=${BUILD_DIR}/library/src/:${BUILD_DIR}/library/src/device - HIP_VISIBLE_DEVICES=0 edob ./rocfft-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/clients/staging || die - dobin dyna-rocfft-bench rocfft-bench - dosym dyna-rocfft-bench /usr/bin/dyna-rocfft-rider - dosym rocfft-bench /usr/bin/dyna-rocfft-rider - - if ! use perfscripts; then - # prevent collision with dev-util/perf - rm -rf "${ED}"/usr/bin/perf || die - fi - fi - - if use perfscripts; then - cd "${S}"/scripts/perf || die - python_foreach_impl python_doexe rocfft-perf - python_moduleinto ${PN}_perflib - python_foreach_impl python_domodule perflib/*.py - insinto /usr/share/${PN}-perflib - doins *.asy suites.py - fi -} diff --git a/sci-libs/rocFFT/rocFFT-7.1.0.ebuild b/sci-libs/rocFFT/rocFFT-7.1.0.ebuild deleted file mode 100644 index 9ee861a49a1d..000000000000 --- a/sci-libs/rocFFT/rocFFT-7.1.0.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake check-reqs edo multiprocessing python-r1 rocm - -DESCRIPTION="Next generation FFT implementation for ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocfft" -SRC_URI="https://github.com/ROCm/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz" -S="${WORKDIR}/rocFFT-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# RDEPEND: perfscripts? dev-python/plotly[${PYTHON_USEDEP}] # currently masked by arch/amd64/x32/package.mask -RDEPEND=" - dev-db/sqlite:3 - dev-util/hip:= - perfscripts? ( - media-gfx/asymptote - dev-texlive/texlive-latex - dev-tex/latexmk - sys-apps/texinfo - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - ${PYTHON_DEPS} - ) -" - -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} - dev-util/hip:${SLOT} - benchmark? ( - dev-db/sqlite:3 - dev-util/hip:= - dev-libs/boost - sci-libs/hipRAND:${SLOT} - ) - test? ( - dev-cpp/gtest - dev-libs/boost - sci-libs/fftw - llvm-runtimes/openmp - sci-libs/hipRAND:${SLOT} - ) -" - -BDEPEND=" - >=dev-build/cmake-3.22 - dev-build/rocm-cmake - dev-db/sqlite -" - -CHECKREQS_DISK_BUILD="7G" - -IUSE="benchmark perfscripts test" -REQUIRED_USE="perfscripts? ( benchmark ) ${PYTHON_REQUIRED_USE} ${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -required_mem() { - if use test; then - echo "52G" - else - if [[ -n "${AMDGPU_TARGETS}" ]]; then - # count how many archs user specified in ${AMDGPU_TARGETS} - local NARCH=$(($(awk -F";" '{print NF-1}' <<< "${AMDGPU_TARGETS}" || die)+1)) - else - # The default number of AMDGPU_TARGETS for rocFFT-4.3.0. May change in the future. - local NARCH=7 - fi - echo "$(($(makeopts_jobs)*${NARCH}*25+2200))M" # A linear function estimating how much memory required - fi -} - -pkg_pretend() { - return # leave the disk space check to pkg_setup phase -} - -pkg_setup() { - export CHECKREQS_MEMORY=$(required_mem) - check-reqs_pkg_setup - python_setup -} - -src_prepare() { - if use perfscripts; then - pushd scripts/perf || die - sed -e "/\/opt\/rocm/d" -e "/rocmversion/s,rocm_info.strip(),\"${PV}\"," -i perflib/specs.py || dir - sed -e "/^top/,+1d" -i rocfft-perf suites.py || die - sed -e "s,perflib,${PN}_perflib,g" -i rocfft-perf suites.py perflib/*.py || die - sed -e "/^top = /s,__file__).*$,\"${EPREFIX}/usr/share/${PN}-perflib\")," \ - -i perflib/pdf.py perflib/generators.py || die - popd || die - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCH=$(usex benchmark ON OFF) - -DSQLITE_USE_SYSTEM_PACKAGE=ON - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - export LD_LIBRARY_PATH=${BUILD_DIR}/library/src/:${BUILD_DIR}/library/src/device - HIP_VISIBLE_DEVICES=0 edob ./rocfft-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/clients/staging || die - dobin dyna-rocfft-bench rocfft-bench - dosym dyna-rocfft-bench /usr/bin/dyna-rocfft-rider - dosym rocfft-bench /usr/bin/dyna-rocfft-rider - - if ! use perfscripts; then - # prevent collision with dev-util/perf - rm -rf "${ED}"/usr/bin/perf || die - fi - fi - - if use perfscripts; then - cd "${S}"/scripts/perf || die - python_foreach_impl python_doexe rocfft-perf - python_moduleinto ${PN}_perflib - python_foreach_impl python_domodule perflib/*.py - insinto /usr/share/${PN}-perflib - doins *.asy suites.py - fi -} diff --git a/sci-libs/rocFFT/rocFFT-7.2.0.ebuild b/sci-libs/rocFFT/rocFFT-7.2.0.ebuild deleted file mode 100644 index d7e2081c6200..000000000000 --- a/sci-libs/rocFFT/rocFFT-7.2.0.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake check-reqs edo multiprocessing python-r1 rocm - -DESCRIPTION="Next generation FFT implementation for ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocfft" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocfft.tar.gz -> rocfft-${PV}.tar.gz" -S="${WORKDIR}/rocfft" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# RDEPEND: perfscripts? dev-python/plotly[${PYTHON_USEDEP}] # currently masked by arch/amd64/x32/package.mask -RDEPEND=" - dev-db/sqlite:3 - dev-util/hip:= - perfscripts? ( - media-gfx/asymptote - dev-texlive/texlive-latex - dev-tex/latexmk - sys-apps/texinfo - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - ${PYTHON_DEPS} - ) -" - -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} - dev-util/hip:${SLOT} - benchmark? ( - dev-db/sqlite:3 - dev-util/hip:= - dev-libs/boost - sci-libs/hipRAND:${SLOT} - ) - test? ( - dev-cpp/gtest - dev-libs/boost - sci-libs/fftw - llvm-runtimes/openmp - sci-libs/hipRAND:${SLOT} - ) -" - -BDEPEND=" - dev-build/rocm-cmake - dev-db/sqlite -" - -CHECKREQS_DISK_BUILD="7G" - -IUSE="benchmark perfscripts test" -REQUIRED_USE="perfscripts? ( benchmark ) ${PYTHON_REQUIRED_USE} ${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -required_mem() { - if use test; then - echo "52G" - else - if [[ -n "${AMDGPU_TARGETS}" ]]; then - # count how many archs user specified in ${AMDGPU_TARGETS} - local NARCH=$(($(awk -F";" '{print NF-1}' <<< "${AMDGPU_TARGETS}" || die)+1)) - else - # The default number of AMDGPU_TARGETS for rocFFT-4.3.0. May change in the future. - local NARCH=7 - fi - echo "$(($(makeopts_jobs)*${NARCH}*25+2200))M" # A linear function estimating how much memory required - fi -} - -pkg_pretend() { - return # leave the disk space check to pkg_setup phase -} - -pkg_setup() { - export CHECKREQS_MEMORY=$(required_mem) - check-reqs_pkg_setup - python_setup -} - -src_prepare() { - if use perfscripts; then - pushd scripts/perf || die - sed -e "/\/opt\/rocm/d" -e "/rocmversion/s,rocm_info.strip(),\"${PV}\"," -i perflib/specs.py || dir - sed -e "/^top/,+1d" -i rocfft-perf suites.py || die - sed -e "s,perflib,${PN}_perflib,g" -i rocfft-perf suites.py perflib/*.py || die - sed -e "/^top = /s,__file__).*$,\"${EPREFIX}/usr/share/${PN}-perflib\")," \ - -i perflib/pdf.py perflib/generators.py || die - popd || die - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCH=$(usex benchmark ON OFF) - -DSQLITE_USE_SYSTEM_PACKAGE=ON - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - export LD_LIBRARY_PATH=${BUILD_DIR}/library/src/:${BUILD_DIR}/library/src/device - HIP_VISIBLE_DEVICES=0 edob ./rocfft-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/clients/staging || die - dobin dyna-rocfft-bench rocfft-bench - dosym dyna-rocfft-bench /usr/bin/dyna-rocfft-rider - dosym rocfft-bench /usr/bin/dyna-rocfft-rider - - if ! use perfscripts; then - # prevent collision with dev-util/perf - rm -rf "${ED}"/usr/bin/perf || die - fi - fi - - if use perfscripts; then - cd "${S}"/scripts/perf || die - python_foreach_impl python_doexe rocfft-perf - python_moduleinto ${PN}_perflib - python_foreach_impl python_domodule perflib/*.py - insinto /usr/share/${PN}-perflib - doins *.asy suites.py - fi -} diff --git a/sci-libs/rocPRIM/Manifest b/sci-libs/rocPRIM/Manifest deleted file mode 100644 index 6c1c81174a02..000000000000 --- a/sci-libs/rocPRIM/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST rocPRIM-6.3.3.tar.gz 745961 BLAKE2B 7ab15f623390de9052258717fa568b41c0f0dbe2e70c5c59089ad52bd00bdb44905a0f371dd71673af4b6f5d5ca21ab5bc6e41c04721e3b812f9543ad849c236 SHA512 5e216ff18d0a3eeb901f3ad4e8b74f9d8661a0bb943edea064529bdb973f3955e6791c415e492a89456eb0f19376f74528c3b348c4e32755a48e6b3f855a91e2 -DIST rocPRIM-6.4.3.tar.gz 868355 BLAKE2B f9dea0b2089a54033c689593f156a2ec5fa57c9be1d97491ab888667d2f12e919dc191baf3b321cf9450c1c09032a771be286ec9662e3cd4a2e5b18ad64636eb SHA512 1190a5397d30ee659128038c6903188c29808ad8e7e09f9ef648384662bdb6eda331d7a4847b3e00d31eb3c6752977703cfba2516ce0f268b2b0a349c97e5b24 -DIST rocPRIM-7.0.2.tar.gz 917166 BLAKE2B 9437384b8e16b59f6633c71737d66cbc913332e153a92ca4c305e6619158b3a926794cdca71383aa84df20d5e2fa68d78d6decca61f78b24cda519687aa09408 SHA512 7c6b316ef1936726c883cd15b0a2e35b7df26f67c6ed4a04ba1eda761b5e01fc8f827f1361ba7737c677f727d883715663c9385af0d308a349f119873ae46f5e -DIST rocPRIM-7.1.0.tar.gz 943833 BLAKE2B 7b2e7c4120d5128a112664b13e942289ab1dfe14c2fd0fa923410fcd60ee2a0168f3441bb9204e8f969b33c464849117d7a3f58a41a94386a73b4973e9505b81 SHA512 ba2588fd25ba2c2a31221a3deb035276cc0ffc68d5f51e1dcddaf47c6a7e5a2b4f1703249e497b913abc63826ad683cae2836cc5fed1429f64440df5168b9b90 -DIST rocprim-7.2.0.tar.gz 984488 BLAKE2B 02a4c1979bb1197ad7f7048563549b3a74056ace3c89ea2902725a11718e20e50ddbc363fbdda0ff3abcfddaa452ef29b67fa743a2147ebed09751fd503c5dfb SHA512 0129ce5f1ec95679feef13200bc5cb971c983fa928605ac78782f2b7398e91392fa3496d30ef5ab9b98b8984dd81c20c41e4ba109563493e60b0dbdb8eb2e4b5 diff --git a/sci-libs/rocPRIM/files/rocPRIM-6.3.0-expand-isa-compatibility.patch b/sci-libs/rocPRIM/files/rocPRIM-6.3.0-expand-isa-compatibility.patch deleted file mode 100644 index f2cbd29339d7..000000000000 --- a/sci-libs/rocPRIM/files/rocPRIM-6.3.0-expand-isa-compatibility.patch +++ /dev/null @@ -1,32 +0,0 @@ -This patch allows to HSA_OVERRIDE_GFX_VERSION environment variable (library just crashes otherwise) ---- a/rocprim/include/rocprim/device/config_types.hpp -+++ b/rocprim/include/rocprim/device/config_types.hpp -@@ -204,16 +204,23 @@ constexpr bool prefix_equals(const char* lhs, const char* rhs, std::size_t n) - constexpr target_arch get_target_arch_from_name(const char* const arch_name, const std::size_t n) - { - constexpr const char* target_names[] -- = {"gfx803", "gfx900", "gfx906", "gfx908", "gfx90a", "gfx1030", "gfx1100", "gfx1102"}; -+ = {"gfx803", -+ "gfx900", "gfx902", "gfx909", "gfx912", -+ "gfx906", -+ "gfx908", -+ "gfx90a", -+ "gfx1030", "gfx1031", "gfx1032", "gfx1033", "gfx1034", "gfx1035", "gfx1036", -+ "gfx1100", "gfx1101", -+ "gfx1102", "gfx1103", "gfx1150", "gfx1151", "gfx1152", "gfx1153"}; - constexpr target_arch target_architectures[] = { - target_arch::gfx803, -- target_arch::gfx900, -+ target_arch::gfx900, target_arch::gfx900, target_arch::gfx900, target_arch::gfx900, - target_arch::gfx906, - target_arch::gfx908, - target_arch::gfx90a, -- target_arch::gfx1030, -- target_arch::gfx1100, -- target_arch::gfx1102, -+ target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, -+ target_arch::gfx1100, target_arch::gfx1100, -+ target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, - }; - static_assert(sizeof(target_names) / sizeof(target_names[0]) - == sizeof(target_architectures) / sizeof(target_architectures[0]), diff --git a/sci-libs/rocPRIM/files/rocPRIM-6.3.0-fix-clang-template.patch b/sci-libs/rocPRIM/files/rocPRIM-6.3.0-fix-clang-template.patch deleted file mode 100644 index 089ce6187979..000000000000 --- a/sci-libs/rocPRIM/files/rocPRIM-6.3.0-fix-clang-template.patch +++ /dev/null @@ -1,29 +0,0 @@ -Fix compilation with clang-19 -Backports https://github.com/ROCm/rocPRIM/commit/c57b04baea872078bfb5b4af1165c7584fd3a95b ---- a/rocprim/include/rocprim/device/detail/device_radix_sort.hpp -+++ b/rocprim/include/rocprim/device/detail/device_radix_sort.hpp -@@ -526,15 +526,15 @@ ROCPRIM_DEVICE ROCPRIM_FORCE_INLINE void sort_single(KeysInputIterator keys_i - - ROCPRIM_SHARED_MEMORY typename sort_single_helper::storage_type storage; - -- sort_single_helper().template sort_single(keys_input, -- keys_output, -- values_input, -- values_output, -- size, -- decomposer, -- bit, -- current_radix_bits, -- storage); -+ sort_single_helper().template sort_single<>(keys_input, -+ keys_output, -+ values_input, -+ values_output, -+ size, -+ decomposer, -+ bit, -+ current_radix_bits, -+ storage); - } - - template<class T> diff --git a/sci-libs/rocPRIM/files/rocPRIM-6.3.0-fix-libcxx.patch b/sci-libs/rocPRIM/files/rocPRIM-6.3.0-fix-libcxx.patch deleted file mode 100644 index 3827829483fb..000000000000 --- a/sci-libs/rocPRIM/files/rocPRIM-6.3.0-fix-libcxx.patch +++ /dev/null @@ -1,71 +0,0 @@ -Fix ambiguous declarations for libc++, which treats __int128_t as integral. -The issue was fixed in develop branch, but not in release. -Upstream commit: https://github.com/ROCm/rocPRIM/commit/81f6073790dee8d310e5b68cf46aae4b797cc059 ---- a/rocprim/include/rocprim/thread/radix_key_codec.hpp -+++ b/rocprim/include/rocprim/thread/radix_key_codec.hpp -@@ -78,6 +78,7 @@ struct radix_key_codec_integral<Key, - } - }; - -+#ifndef _LIBCPP_VERSION - template<class Key, class BitKey> - struct radix_key_codec_integral< - Key, -@@ -104,6 +105,7 @@ struct radix_key_codec_integral< - return static_cast<unsigned int>(bit_key >> start) & mask; - } - }; -+#endif - - template<class Key, class BitKey> - struct radix_key_codec_integral<Key, -@@ -135,6 +137,7 @@ struct radix_key_codec_integral<Key, - } - }; - -+#ifndef _LIBCPP_VERSION - template<class Key, class BitKey> - struct radix_key_codec_integral<Key, - BitKey, -@@ -164,6 +167,7 @@ struct radix_key_codec_integral<Key, - return static_cast<unsigned int>(bit_key >> start) & mask; - } - }; -+#endif - - template<class Key, class BitKey> - struct radix_key_codec_floating -@@ -225,6 +229,7 @@ struct radix_key_codec_base<Key, typename std::enable_if<::rocprim::is_integral< - : radix_key_codec_integral<Key, typename std::make_unsigned<Key>::type> - {}; - -+#ifndef _LIBCPP_VERSION - template<class Key> - struct radix_key_codec_base<Key, - typename std::enable_if<std::is_same<Key, __int128_t>::value>::type> -@@ -236,6 +241,7 @@ struct radix_key_codec_base<Key, - typename std::enable_if<std::is_same<Key, __uint128_t>::value>::type> - : radix_key_codec_integral<Key, __uint128_t> - {}; -+#endif - - template<> - struct radix_key_codec_base<bool> ---- a/test/rocprim/test_utils_data_generation.hpp -+++ b/test/rocprim/test_utils_data_generation.hpp -@@ -268,6 +268,7 @@ inline OutputIter segmented_generate_n(OutputIter it, size_t size, Generator&& g - return it + size; - } - -+#ifndef _LIBCPP_VERSION - template<class OutputIter, class U, class V, class Generator> - inline auto generate_random_data_n(OutputIter it, size_t size, U min, V max, Generator&& gen) - -> std::enable_if_t<std::is_same<it_value_t<OutputIter>, __int128_t>::value, OutputIter> -@@ -299,6 +300,7 @@ inline auto generate_random_data_n(OutputIter it, size_t size, U min, V max, Gen - - return segmented_generate_n(it, size, [&]() { return static_cast<T>(distribution(gen)); }); - } -+#endif - - template<class OutputIter, class U, class V, class Generator> - inline auto generate_random_data_n(OutputIter it, size_t size, U min, V max, Generator&& gen) diff --git a/sci-libs/rocPRIM/files/rocPRIM-6.4.1-expand-isa-compatibility.patch b/sci-libs/rocPRIM/files/rocPRIM-6.4.1-expand-isa-compatibility.patch deleted file mode 100644 index 455dd55061c5..000000000000 --- a/sci-libs/rocPRIM/files/rocPRIM-6.4.1-expand-isa-compatibility.patch +++ /dev/null @@ -1,38 +0,0 @@ -This patch allows to HSA_OVERRIDE_GFX_VERSION environment variable (library just crashes otherwise) ---- a/rocprim/include/rocprim/device/config_types.hpp -+++ b/rocprim/include/rocprim/device/config_types.hpp -@@ -207,26 +207,26 @@ constexpr bool prefix_equals(const char* lhs, const char* rhs, std::size_t n) - constexpr target_arch get_target_arch_from_name(const char* const arch_name, const std::size_t n) - { - constexpr const char* target_names[] = {"gfx803", -- "gfx900", -+ "gfx900", "gfx902", "gfx909", "gfx912", - "gfx906", - "gfx908", - "gfx90a", - "gfx942", -- "gfx1030", -- "gfx1100", -- "gfx1102", -+ "gfx1030", "gfx1031", "gfx1032", "gfx1033", "gfx1034", "gfx1035", "gfx1036", -+ "gfx1100", "gfx1101", -+ "gfx1102", "gfx1103", "gfx1150", "gfx1151", "gfx1152", "gfx1153", - "gfx1200", - "gfx1201"}; - constexpr target_arch target_architectures[] = { - target_arch::gfx803, -- target_arch::gfx900, -+ target_arch::gfx900, target_arch::gfx900, target_arch::gfx900, target_arch::gfx900, - target_arch::gfx906, - target_arch::gfx908, - target_arch::gfx90a, - target_arch::gfx942, -- target_arch::gfx1030, -- target_arch::gfx1100, -- target_arch::gfx1102, -+ target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, target_arch::gfx1030, -+ target_arch::gfx1100, target_arch::gfx1100, -+ target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, target_arch::gfx1102, - target_arch::gfx1200, - target_arch::gfx1201, - }; diff --git a/sci-libs/rocPRIM/metadata.xml b/sci-libs/rocPRIM/metadata.xml deleted file mode 100644 index 759e8d81157e..000000000000 --- a/sci-libs/rocPRIM/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install benchmark programs</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/rocPRIM/rocPRIM-6.3.3.ebuild b/sci-libs/rocPRIM/rocPRIM-6.3.3.ebuild deleted file mode 100644 index 5610ed3b3605..000000000000 --- a/sci-libs/rocPRIM/rocPRIM-6.3.3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -inherit cmake flag-o-matic rocm - -DESCRIPTION="HIP parallel primitives for developing performant GPU-accelerated code on ROCm" -HOMEPAGE="https://github.com/ROCm/rocPRIM" -SRC_URI="https://github.com/ROCm/rocPRIM/archive/rocm-${PV}.tar.gz -> rocPRIM-${PV}.tar.gz" -S="${WORKDIR}/rocPRIM-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RDEPEND="dev-util/hip - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22" -DEPEND="${RDEPEND}" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.0-expand-isa-compatibility.patch - "${FILESDIR}"/${PN}-6.3.0-fix-clang-template.patch - "${FILESDIR}"/${PN}-6.3.0-fix-libcxx.patch -) - -src_prepare() { - # install benchmark files - if use benchmark; then - sed -e "/get_filename_component/s,\${BENCHMARK_SOURCE},${PN}_\${BENCHMARK_SOURCE}," \ - -e "/add_executable/a\ install(TARGETS \${BENCHMARK_TARGET})" -i benchmark/CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - # too many warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-deprecated-declarations - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCPRIM_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocPRIM/rocPRIM-6.4.3.ebuild b/sci-libs/rocPRIM/rocPRIM-6.4.3.ebuild deleted file mode 100644 index 1797a805129a..000000000000 --- a/sci-libs/rocPRIM/rocPRIM-6.4.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -inherit cmake flag-o-matic rocm - -DESCRIPTION="HIP parallel primitives for developing performant GPU-accelerated code on ROCm" -HOMEPAGE="https://github.com/ROCm/rocPRIM" -SRC_URI="https://github.com/ROCm/rocPRIM/archive/rocm-${PV}.tar.gz -> rocPRIM-${PV}.tar.gz" -S="${WORKDIR}/rocPRIM-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RDEPEND="dev-util/hip - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22" -DEPEND="${RDEPEND}" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4.1-expand-isa-compatibility.patch -) - -src_prepare() { - # install benchmark files - if use benchmark; then - sed -e "/get_filename_component/s,\${BENCHMARK_SOURCE},${PN}_\${BENCHMARK_SOURCE}," \ - -e "/add_executable/a\ install(TARGETS \${BENCHMARK_TARGET})" -i benchmark/CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - # too many warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-deprecated-declarations - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCPRIM_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocPRIM/rocPRIM-7.0.2.ebuild b/sci-libs/rocPRIM/rocPRIM-7.0.2.ebuild deleted file mode 100644 index 3c36739cf670..000000000000 --- a/sci-libs/rocPRIM/rocPRIM-7.0.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -inherit cmake flag-o-matic rocm - -DESCRIPTION="HIP parallel primitives for developing performant GPU-accelerated code on ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocprim" -SRC_URI="https://github.com/ROCm/rocPRIM/archive/rocm-${PV}.tar.gz -> rocPRIM-${PV}.tar.gz" -S="${WORKDIR}/rocPRIM-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RDEPEND=" - benchmark? ( - dev-util/hip:${SLOT} - dev-cpp/benchmark:= - ) -" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} - test? ( dev-cpp/gtest ) -" -BDEPEND=" - dev-build/rocm-cmake - dev-build/cmake -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4.1-expand-isa-compatibility.patch -) - -src_prepare() { - # install benchmark files - if use benchmark; then - sed -e "/get_filename_component/s,\${BENCHMARK_SOURCE},${PN}_\${BENCHMARK_SOURCE}," \ - -e "/add_executable/a\ install(TARGETS \${BENCHMARK_TARGET})" -i benchmark/CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - # too many warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-deprecated-declarations - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCPRIM_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocPRIM/rocPRIM-7.1.0.ebuild b/sci-libs/rocPRIM/rocPRIM-7.1.0.ebuild deleted file mode 100644 index 9b6d81ea6732..000000000000 --- a/sci-libs/rocPRIM/rocPRIM-7.1.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -inherit cmake flag-o-matic rocm - -DESCRIPTION="HIP parallel primitives for developing performant GPU-accelerated code on ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocprim" -SRC_URI="https://github.com/ROCm/rocPRIM/archive/rocm-${PV}.tar.gz -> rocPRIM-${PV}.tar.gz" -S="${WORKDIR}/rocPRIM-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RDEPEND=" - benchmark? ( - dev-util/hip:${SLOT} - dev-cpp/benchmark:= - ) -" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} - test? ( dev-cpp/gtest ) -" -BDEPEND=" - dev-build/rocm-cmake - dev-build/cmake -" - -RESTRICT="!test? ( test )" - -src_prepare() { - # install benchmark files - if use benchmark; then - sed -e "/get_filename_component/s,\${BENCHMARK_SOURCE},${PN}_\${BENCHMARK_SOURCE}," \ - -e "/add_executable/a\ install(TARGETS \${BENCHMARK_TARGET})" -i benchmark/CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - # too many warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-deprecated-declarations - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCPRIM_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocPRIM/rocPRIM-7.2.0.ebuild b/sci-libs/rocPRIM/rocPRIM-7.2.0.ebuild deleted file mode 100644 index 4a3e406ae985..000000000000 --- a/sci-libs/rocPRIM/rocPRIM-7.2.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} -inherit cmake flag-o-matic rocm - -DESCRIPTION="HIP parallel primitives for developing performant GPU-accelerated code on ROCm" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocprim" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocprim.tar.gz -> rocprim-${PV}.tar.gz" -S="${WORKDIR}/rocprim" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RDEPEND=" - benchmark? ( - dev-util/hip:${SLOT} - dev-cpp/benchmark:= - ) -" -DEPEND=" - ${RDEPEND} - dev-util/hip:${SLOT} - test? ( dev-cpp/gtest ) -" -BDEPEND="dev-build/rocm-cmake" - -RESTRICT="!test? ( test )" - -src_prepare() { - # install benchmark files - if use benchmark; then - sed -e "/get_filename_component/s,\${BENCHMARK_SOURCE},${PN}_\${BENCHMARK_SOURCE}," \ - -e "/add_executable/a\ install(TARGETS \${BENCHMARK_TARGET})" -i benchmark/CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - # too many warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class -Wno-deprecated-declarations - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DROCM_SYMLINK_LIBS=OFF - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCPRIM_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocRAND/Manifest b/sci-libs/rocRAND/Manifest deleted file mode 100644 index b88974553e0f..000000000000 --- a/sci-libs/rocRAND/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST rocRAND-6.3.3.tar.gz 44906478 BLAKE2B 018cb0a18c9fce92391a7e3f1047a9702bde1a28d2eddd179326b2f96b0d046e47a5efd14e258586fb1c88ce0cbd2dca9d37ac1fd8054b539044d7d9d246c15c SHA512 4ef056c27e1f964c2dd53a2373fea42ce58965e90e4450246880d099561116853517e0122936dffc0b3548df72ec55b54ed430d99fec86842cf3e83fc531ed4f -DIST rocRAND-6.4.3.tar.gz 44916345 BLAKE2B ee7004d2e519897d0780ca7c672f81e1c77195b88ed84e93a75f99c86de8653674ee4de8e3c31ea719c17361427e3cbf39fd5bcb7e01ed573a4c6360aee31eaa SHA512 58279a4c05ecbeac4ee8d0bfd496f8c338dd2a0d6e81f93d3d8f104883aadcac735866e9cab1e86af92ac77c2189dac02212fe74b720dd21e7494d54cca25999 -DIST rocRAND-7.0.2.tar.gz 44952673 BLAKE2B c7238c5d83ca0c33c0719a451303e10ae69257c2e2d3e94b78f3225cbb250753eda0d0510874a6fb7dadc790ee0052a3ffaa90c14625e6ca907889f6b5e74fc7 SHA512 d43c3777004ca0ead0f42bdfcb3a8480398fb24cb785b93e07192a8bc82d1fb776c400faa463e8e8b2d53ecf990d6d390382d28460561786d2d4f7bbdc08c73f -DIST rocRAND-7.1.0.tar.gz 44957660 BLAKE2B fc9662b281e635e16e0f33d1d78b8e5012fbf48d4adc3c1e5634169c9391ccebf2b43f379aed9497ca800631d492b79d032fb6908b4d23be0b5365ff1a1332b4 SHA512 968a90c5b2d9713c9461af5977c953c25b3b57a1210dcf5b76005072d857b19b44cfd0929f4891c11174905cb03f06a3caa770111b8ddbeb48c3f362bce0f4fc -DIST rocrand-7.2.0.tar.gz 43756032 BLAKE2B 45c43405f50283991c97e25bbf406934606a269e1f58a33d76e8336d3e0ddbf60dffbad1c0a7e1b45ec9c1da81bbc8b67e96b4f989eb2585f73469115aa1e065 SHA512 50a7cef57827eb7811d99dbf8ae2881aaa0491262b7b01d0151e4049dce9c19707b47bfa1a4ec5878019092d6ff7cb54e86cf83f60440a0e4d5745a0fbe86985 diff --git a/sci-libs/rocRAND/files/rocRAND-5.7.1_fix_generator_alignment.patch b/sci-libs/rocRAND/files/rocRAND-5.7.1_fix_generator_alignment.patch deleted file mode 100644 index 84b58266220c..000000000000 --- a/sci-libs/rocRAND/files/rocRAND-5.7.1_fix_generator_alignment.patch +++ /dev/null @@ -1,16 +0,0 @@ -Fix crashes due to unaligned allocations in heap with new of structs when AVX2 or AVX512 is used. -This patch takes the simplest approach just shifts responsibility to the standard. -Similar approach in Eigen is named defined as: EIGEN_HAS_CXX17_OVERALIGN. - -Upstream bug: https://github.com/ROCmSoftwarePlatform/rocRAND/issues/403 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -119,7 +119,7 @@ endif() - option(DISABLE_WERROR "Disable building with Werror" ON) - - # Build CXX flags --set(CMAKE_CXX_STANDARD 11) -+set(CMAKE_CXX_STANDARD 17) - set(CMAKE_CXX_STANDARD_REQUIRED ON) - set(CMAKE_CXX_EXTENSIONS OFF) - if(DISABLE_WERROR) diff --git a/sci-libs/rocRAND/files/rocRAND-6.3.0-benchmark-1.8.patch b/sci-libs/rocRAND/files/rocRAND-6.3.0-benchmark-1.8.patch deleted file mode 100644 index a8afeb1e2f8e..000000000000 --- a/sci-libs/rocRAND/files/rocRAND-6.3.0-benchmark-1.8.patch +++ /dev/null @@ -1,30 +0,0 @@ -Backported from https://github.com/ROCm/rocRAND/commit/ad8cdd8dd0dee6ef4166b0b560fe63127c06e08b -Index: rocRAND-rocm-6.3.0/benchmark/custom_csv_formater.hpp -=================================================================== ---- rocRAND-rocm-6.3.0.orig/benchmark/custom_csv_formater.hpp -+++ rocRAND-rocm-6.3.0/benchmark/custom_csv_formater.hpp -@@ -152,10 +152,8 @@ void customCSVReporter::ReportRuns(const - void customCSVReporter::PrintRunData(const Run& run) - { - std::ostream& Out = GetOutputStream(); -- std::ostream& Err = GetErrorStream(); - - //get the name of the engine and distribution: -- - std::string temp = run.benchmark_name(); - - std::string deviceName = std::string(temp.begin(), temp.begin() + temp.find("<")); -@@ -186,13 +184,6 @@ void customCSVReporter::PrintRunData(con - - Out << engineName << "," << disName << "," << mode << ","; - Out << CsvEscape(run.benchmark_name()) << ","; -- if(run.error_occurred) -- { -- Err << std::string(elements.size() - 3, ','); -- Err << "true,"; -- Err << CsvEscape(run.error_message) << "\n"; -- return; -- } - - // Do not print iteration on bigO and RMS report - if(!run.report_big_o && !run.report_rms) diff --git a/sci-libs/rocRAND/files/rocRAND-7.2.0-no-tests-install.patch b/sci-libs/rocRAND/files/rocRAND-7.2.0-no-tests-install.patch deleted file mode 100644 index 874ea0a37dee..000000000000 --- a/sci-libs/rocRAND/files/rocRAND-7.2.0-no-tests-install.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -108,7 +108,6 @@ function(add_test_target test_src is_internal) - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/test" - ) - add_relative_test(${test_name} ${test_name}) -- rocm_install(TARGETS ${test_name} COMPONENT tests) - if (WIN32 AND NOT DEFINED DLLS_COPIED_TESTS) - set(DLLS_COPIED_TESTS "YES") - set(DLLS_COPIED_TESTS ${DLLS_COPIED_TESTS} PARENT_SCOPE) -@@ -139,10 +138,3 @@ add_subdirectory(linkage) - - # Add tests for the internal APIs - add_subdirectory(internal) -- --rocm_install( -- FILES "${INSTALL_TEST_FILE}" -- DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}" -- COMPONENT tests -- RENAME "CTestTestfile.cmake" --) diff --git a/sci-libs/rocRAND/metadata.xml b/sci-libs/rocRAND/metadata.xml deleted file mode 100644 index 759e8d81157e..000000000000 --- a/sci-libs/rocRAND/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install benchmark programs</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/rocRAND/rocRAND-6.3.3.ebuild b/sci-libs/rocRAND/rocRAND-6.3.3.ebuild deleted file mode 100644 index d5b38455f3d0..000000000000 --- a/sci-libs/rocRAND/rocRAND-6.3.3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Generate pseudo-random and quasi-random numbers" -HOMEPAGE="https://github.com/ROCm/rocRAND" -SRC_URI="https://github.com/ROCm/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/rocRAND-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-5.7.1_fix_generator_alignment.patch - "${FILESDIR}"/${PN}-6.3.0-benchmark-1.8.patch -) - -RDEPEND="dev-util/hip" -DEPEND="${RDEPEND} - dev-build/rocm-cmake - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22" - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}/library" - # uses HMM to fit tests to default <512M iGPU VRAM - ROCRAND_USE_HMM="1" cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/benchmark - dobin benchmark_rocrand_* - fi -} diff --git a/sci-libs/rocRAND/rocRAND-6.4.3.ebuild b/sci-libs/rocRAND/rocRAND-6.4.3.ebuild deleted file mode 100644 index d5b38455f3d0..000000000000 --- a/sci-libs/rocRAND/rocRAND-6.4.3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Generate pseudo-random and quasi-random numbers" -HOMEPAGE="https://github.com/ROCm/rocRAND" -SRC_URI="https://github.com/ROCm/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/rocRAND-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-5.7.1_fix_generator_alignment.patch - "${FILESDIR}"/${PN}-6.3.0-benchmark-1.8.patch -) - -RDEPEND="dev-util/hip" -DEPEND="${RDEPEND} - dev-build/rocm-cmake - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22" - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}/library" - # uses HMM to fit tests to default <512M iGPU VRAM - ROCRAND_USE_HMM="1" cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/benchmark - dobin benchmark_rocrand_* - fi -} diff --git a/sci-libs/rocRAND/rocRAND-7.0.2.ebuild b/sci-libs/rocRAND/rocRAND-7.0.2.ebuild deleted file mode 100644 index 080dfb9bf950..000000000000 --- a/sci-libs/rocRAND/rocRAND-7.0.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Generate pseudo-random and quasi-random numbers" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocrand" -SRC_URI="https://github.com/ROCm/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/rocRAND-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - benchmark? ( dev-cpp/benchmark ) -" -DEPEND="${RDEPEND} - dev-build/rocm-cmake - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22" - -src_configure() { - rocm_use_clang - - export ROCM_PATH="${EPREFIX}/usr" - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}/library" - # uses HMM to fit tests to default <512M iGPU VRAM - ROCRAND_USE_HMM="1" cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/benchmark || die - dobin benchmark_rocrand_* - fi -} diff --git a/sci-libs/rocRAND/rocRAND-7.1.0.ebuild b/sci-libs/rocRAND/rocRAND-7.1.0.ebuild deleted file mode 100644 index 080dfb9bf950..000000000000 --- a/sci-libs/rocRAND/rocRAND-7.1.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Generate pseudo-random and quasi-random numbers" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocrand" -SRC_URI="https://github.com/ROCm/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/rocRAND-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - benchmark? ( dev-cpp/benchmark ) -" -DEPEND="${RDEPEND} - dev-build/rocm-cmake - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22" - -src_configure() { - rocm_use_clang - - export ROCM_PATH="${EPREFIX}/usr" - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}/library" - # uses HMM to fit tests to default <512M iGPU VRAM - ROCRAND_USE_HMM="1" cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/benchmark || die - dobin benchmark_rocrand_* - fi -} diff --git a/sci-libs/rocRAND/rocRAND-7.2.0.ebuild b/sci-libs/rocRAND/rocRAND-7.2.0.ebuild deleted file mode 100644 index 430cf5a328f7..000000000000 --- a/sci-libs/rocRAND/rocRAND-7.2.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Generate pseudo-random and quasi-random numbers" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocrand" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocrand.tar.gz -> rocrand-${PV}.tar.gz" -S="${WORKDIR}/rocrand" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/hip:${SLOT} - benchmark? ( dev-cpp/benchmark ) -" -DEPEND="${RDEPEND} - dev-build/rocm-cmake - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake" - -PATCHES=( - "${FILESDIR}/${PN}-7.2.0-no-tests-install.patch" -) - -src_configure() { - rocm_use_clang - - export ROCM_PATH="${EPREFIX}/usr" - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}/library" - # uses HMM to fit tests to default <512M iGPU VRAM - ROCRAND_USE_HMM="1" cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/benchmark || die - dobin benchmark_rocrand_* - fi -} diff --git a/sci-libs/rocSOLVER/Manifest b/sci-libs/rocSOLVER/Manifest deleted file mode 100644 index bd7eafd805a9..000000000000 --- a/sci-libs/rocSOLVER/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST rocSOLVER-6.3.3.tar.gz 3077208 BLAKE2B b3c5a8377b503b2639f81ae7457d233dd225f8422a9134148826d875cacac2cb03429734915c25ca8971c651c31071daccfad9ad4fcb66a034f38b5b991380aa SHA512 5effc07c9ed5a22bfbb114fc9777e61e9b524c439ea98e0802e63490a27d4e17747de5eee74df59138bf8dcb8700b00a9074079ee3666bba630af2bab800a541 -DIST rocSOLVER-6.4.3.tar.gz 3151118 BLAKE2B 84e533a9af91a6b12c1b7f967c7879c5a3d59a46e12aacb6814905f99f7de7c2cd1b429dd41e5b33b0eb63a5fae1ef6fb7d20a0508466b960a2d5c59b81c7a9a SHA512 84a37d94ca55edfc5038425f1dc6f6658e34fbbfdd3e32be3f3668307e5590895c09c4e0769e4cd89af74a2a651c6311df7124b1bedf1a7375fa519560d95e9f -DIST rocSOLVER-7.0.2.tar.gz 3195696 BLAKE2B 65dae68611804184f82e6828dfd54905f7da0ad4cd56d1aa72f24e35b546e827884965d7acc94d8aba875db84726cb5da92ca8c5676777bfbd9250ccb8c37687 SHA512 8b4f9aa74dbb744daa33536872ae8c78098875533779ea7f5439a3422a0d1fdbb5d8158d3705946e6f19640ace847258b48fe0b612582f4037786dd845d7dae0 -DIST rocm-libraries-7.1.0.tar.gz 685280964 BLAKE2B ff19e082dc4452372b6a1c27bef15585946ae27d7ec03b0bbd598de66870a889fd4807b7baac4d74d37cfad066f41b5a3585f603fa42931d6e2563c64f245186 SHA512 2be789ada4fcba179dec1b23cdde86dcc8539e360b343f46ff8cd28cd817502244445e3b792cea48d707cc5384f605a00cb34796e569def9e7064f7b02c0e717 -DIST rocsolver-7.2.0.tar.gz 3213434 BLAKE2B 228381d27be8c80a40edf70fe300cc1ec148ec5227ea31c8eafd914cfccaa61e3108983104928332c86517e0a7399e1651ff4f7d04a82c91195e281805f0359a SHA512 d7aacae3c92fdbe3928a0cd3d6073524830ae54c010967d7a36336f4d76062062d056ba4518a82a2f31349356ddadf0f9fb83ee36d9a644164723182fdeb9ff8 diff --git a/sci-libs/rocSOLVER/files/rocSOLVER-7.0.1-fix-includes.patch b/sci-libs/rocSOLVER/files/rocSOLVER-7.0.1-fix-includes.patch deleted file mode 100644 index 013be39f53fd..000000000000 --- a/sci-libs/rocSOLVER/files/rocSOLVER-7.0.1-fix-includes.patch +++ /dev/null @@ -1,12 +0,0 @@ -Upstream commit: https://github.com/ROCm/rocm-libraries/commit/7c8d53fee5b3670fa49fb1c09fca506a62cbf724 ---- a/library/src/include/lib_device_helpers.hpp -+++ b/library/src/include/lib_device_helpers.hpp -@@ -27,6 +27,8 @@ - - #pragma once - -+#include <cassert> -+ - #include <hip/hip_runtime.h> - - #include "ideal_sizes.hpp" diff --git a/sci-libs/rocSOLVER/files/rocSOLVER-7.1.0-fix-sparse.patch b/sci-libs/rocSOLVER/files/rocSOLVER-7.1.0-fix-sparse.patch deleted file mode 100644 index 5d9a8709dea0..000000000000 --- a/sci-libs/rocSOLVER/files/rocSOLVER-7.1.0-fix-sparse.patch +++ /dev/null @@ -1,22 +0,0 @@ -Mask unused dlopen/dlsym functions when rocsparse is linked directly -https://github.com/ROCm/rocm-libraries/issues/2585 ---- a/library/src/refact/rocsolver_rfinfo.cpp -+++ b/library/src/refact/rocsolver_rfinfo.cpp -@@ -62,6 +62,8 @@ - } \ - } while(0) - -+#ifndef HAVE_ROCSPARSE -+ - ROCSOLVER_BEGIN_NAMESPACE - - template <typename Fn> -@@ -217,6 +219,8 @@ static bool try_load_rocsparse() - - ROCSOLVER_END_NAMESPACE - -+#endif // HAVE_ROCSPARSE -+ - extern "C" rocblas_status rocsolver_create_rfinfo(rocsolver_rfinfo* rfinfo, rocblas_handle handle) - { - #ifndef HAVE_ROCSPARSE diff --git a/sci-libs/rocSOLVER/metadata.xml b/sci-libs/rocSOLVER/metadata.xml deleted file mode 100644 index ec6d8b9b02cb..000000000000 --- a/sci-libs/rocSOLVER/metadata.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install rocsolver-bench</flag> - <flag name="sparse">Install and link with <pkg>sci-libs/rocSPARSE</pkg> instead of loading it with dlopen</flag> - <flag name="test">Perform rocsolver-test to compare the result between rocSOLVER and system LAPACK</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/rocSOLVER/rocSOLVER-6.3.3.ebuild b/sci-libs/rocSOLVER/rocSOLVER-6.3.3.ebuild deleted file mode 100644 index 0cb4a4616a06..000000000000 --- a/sci-libs/rocSOLVER/rocSOLVER-6.3.3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic rocm - -DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" -HOMEPAGE="https://github.com/ROCm/rocSOLVER" -SRC_URI="https://github.com/ROCm/rocSOLVER/archive/rocm-${PV}.tar.gz -> rocSOLVER-${PV}.tar.gz" -S=${WORKDIR}/${PN}-rocm-${PV} - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="test benchmark" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND="dev-util/hip - sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] - sci-libs/rocSPARSE:${SLOT}[${ROCM_USEDEP}] - dev-libs/libfmt - benchmark? ( virtual/blas )" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-cpp/gtest - >=dev-build/cmake-3.22 - virtual/blas )" - -RESTRICT="!test? ( test )" - -src_configure() { - rocm_use_hipcc - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_SAMPLES=NO - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - # No filters: 64m28s on gfx1100 - # 'checkin*-*known_bug*': 1m35s - HIP_VISIBLE_DEVICES=0 LD_LIBRARY_PATH="${BUILD_DIR}/library/src" \ - edob ./rocsolver-test --gtest_filter='checkin*-*known_bug*:*GVD*batched*' -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsolver-bench - fi -} diff --git a/sci-libs/rocSOLVER/rocSOLVER-6.4.3.ebuild b/sci-libs/rocSOLVER/rocSOLVER-6.4.3.ebuild deleted file mode 100644 index e2214d7f03c3..000000000000 --- a/sci-libs/rocSOLVER/rocSOLVER-6.4.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic rocm - -DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" -HOMEPAGE="https://github.com/ROCm/rocSOLVER" -SRC_URI="https://github.com/ROCm/rocSOLVER/archive/rocm-${PV}.tar.gz -> rocSOLVER-${PV}.tar.gz" -S=${WORKDIR}/${PN}-rocm-${PV} - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="test benchmark" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND="dev-util/hip - sci-libs/rocBLAS:${SLOT} - sci-libs/rocSPARSE:${SLOT} - dev-libs/libfmt - benchmark? ( virtual/blas )" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-cpp/gtest - >=dev-build/cmake-3.22 - virtual/blas )" - -RESTRICT="!test? ( test )" - -src_configure() { - rocm_use_hipcc - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_SAMPLES=NO - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - # No filters: 64m28s on gfx1100 - # 'checkin*-*known_bug*': 1m35s - HIP_VISIBLE_DEVICES=0 LD_LIBRARY_PATH="${BUILD_DIR}/library/src" \ - edob ./rocsolver-test \ - --gtest_filter='checkin*-*known_bug*:*GVD*batched*:*STEDCX*/74:*BDSVDX*:*SYGVDX_INPLACE.__float*' -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsolver-bench - fi -} diff --git a/sci-libs/rocSOLVER/rocSOLVER-7.0.2-r1.ebuild b/sci-libs/rocSOLVER/rocSOLVER-7.0.2-r1.ebuild deleted file mode 100644 index 04812f5361ed..000000000000 --- a/sci-libs/rocSOLVER/rocSOLVER-7.0.2-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic rocm - -DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsolver" -SRC_URI="https://github.com/ROCm/rocSOLVER/archive/rocm-${PV}.tar.gz -> rocSOLVER-${PV}.tar.gz" -S=${WORKDIR}/${PN}-rocm-${PV} - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="benchmark sparse test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND=" - dev-libs/libfmt:= - dev-util/hip:${SLOT} - sci-libs/rocBLAS:${SLOT} - benchmark? ( sci-libs/flexiblas ) - sparse? ( sci-libs/rocSPARSE:${SLOT} ) -" -DEPEND=" - ${RDEPEND} - sci-libs/rocPRIM:${SLOT} -" -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/flexiblas - ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-7.0.1-fix-includes.patch -) - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - ) - - if use benchmark || use test; then - mycmakeargs+=( - -DROCSOLVER_FIND_PACKAGE_LAPACK_CONFIG=OFF - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - # No filters: 64m28s on gfx1100 - # 'checkin*-*known_bug*': 1m35s - HIP_VISIBLE_DEVICES=0 LD_LIBRARY_PATH="${BUILD_DIR}/library/src" \ - edob ./rocsolver-test \ - --gtest_filter='checkin*-*known_bug*:*GVD*batched*:*STEDCX*/74:*BDSVDX*:*SYGVDX_INPLACE.__float*' -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsolver-bench - fi -} diff --git a/sci-libs/rocSOLVER/rocSOLVER-7.1.0-r1.ebuild b/sci-libs/rocSOLVER/rocSOLVER-7.1.0-r1.ebuild deleted file mode 100644 index 1bb5d5bdf38f..000000000000 --- a/sci-libs/rocSOLVER/rocSOLVER-7.1.0-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic rocm - -DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsolver" - -# ROCm/rocSOLVER 7.1.0 release is incorrect - https://github.com/ROCm/rocm-libraries/issues/2582 -SRC_URI="https://github.com/ROCm/rocm-libraries/archive/refs/tags/rocm-${PV}.tar.gz -> rocm-libraries-${PV}.tar.gz" -S="${WORKDIR}/rocm-libraries-rocm-${PV}/projects/rocsolver" - -LICENSE="BSD-2 BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="benchmark sparse test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND=" - dev-libs/libfmt:= - dev-util/hip:${SLOT} - sci-libs/rocBLAS:${SLOT} - benchmark? ( sci-libs/flexiblas ) - sparse? ( sci-libs/rocSPARSE:${SLOT} ) -" -DEPEND=" - ${RDEPEND} - sci-libs/rocPRIM:${SLOT} -" -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/flexiblas - ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-7.1.0-fix-sparse.patch -) - -src_unpack() { - local ROCSOLVER="rocm-libraries-rocm-${PV}/projects/rocsolver" - tar -xzf "${DISTDIR}/${A}" "${ROCSOLVER}" -C "${WORKDIR}" || die -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - -Wno-dev - ) - - if use benchmark || use test; then - mycmakeargs+=( - -DROCSOLVER_FIND_PACKAGE_LAPACK_CONFIG=OFF - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - # No filters: 64m28s on gfx1100 - # 'checkin*-*known_bug*': 1m35s - HIP_VISIBLE_DEVICES=0 LD_LIBRARY_PATH="${BUILD_DIR}/library/src" \ - edob ./rocsolver-test \ - --gtest_filter='checkin*-*known_bug*:*GVD*batched*:*STEDCX*/74:*BDSVDX*:*SYGVDX_INPLACE.__float*' -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsolver-bench - fi -} diff --git a/sci-libs/rocSOLVER/rocSOLVER-7.2.0.ebuild b/sci-libs/rocSOLVER/rocSOLVER-7.2.0.ebuild deleted file mode 100644 index 647bd10b9246..000000000000 --- a/sci-libs/rocSOLVER/rocSOLVER-7.2.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic rocm - -DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsolver" - -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocsolver.tar.gz -> rocsolver-${PV}.tar.gz" -S="${WORKDIR}/rocsolver" - -LICENSE="BSD-2 BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE="benchmark sparse test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocBLAS:${SLOT} - benchmark? ( sci-libs/flexiblas ) - sparse? ( sci-libs/rocSPARSE:${SLOT} ) -" -DEPEND=" - ${RDEPEND} - dev-libs/libfmt:= - sci-libs/rocPRIM:${SLOT} -" -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/flexiblas - ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-7.1.0-fix-sparse.patch -) - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_WITH_SPARSE=$(usex sparse ON OFF) - -Wno-dev - ) - - if use benchmark || use test; then - mycmakeargs+=( - -DROCSOLVER_FIND_PACKAGE_LAPACK_CONFIG=OFF - -DBLA_PKGCONFIG_BLAS=ON - -DBLA_VENDOR=FlexiBLAS - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - # No filters: 64m28s on gfx1100 - # 'checkin*-*known_bug*': 1m35s - HIP_VISIBLE_DEVICES=0 LD_LIBRARY_PATH="${BUILD_DIR}/library/src" \ - edob ./rocsolver-test \ - --gtest_filter='checkin*-*known_bug*:*GVD*batched*:*STEDCX*/74:*BDSVDX*:*SYGVDX_INPLACE.__float*' -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsolver-bench - fi -} diff --git a/sci-libs/rocSPARSE/Manifest b/sci-libs/rocSPARSE/Manifest deleted file mode 100644 index ee2694141e37..000000000000 --- a/sci-libs/rocSPARSE/Manifest +++ /dev/null @@ -1,29 +0,0 @@ -DIST rocSPARSE-6.3.3.tar.gz 1490318 BLAKE2B 5df9d3af2904bf793714c5e5d79f7e102eade2ddcf693e41724e02e52f65827c36d6ae1ba48311ccefa63304ecb692a5e3f02a02f866b43e22523c0f5efcd981 SHA512 e91108da47e7f3b742fcc33be3b2dae44e388c5445963ad8cb98e63e0e01013628c6df3cfe19e5522763d565164d49c0287cd2ea6117040a00f03b90c670a6c5 -DIST rocSPARSE-6.4.3.tar.gz 1539584 BLAKE2B f41f925bc82e980d2ebd1dbe61b76254933e0deae3c450105e9c3f53b1397f457cb43711feb267a0924bce5afa76f2b09ac8ec35922b873795cfae960b96b605 SHA512 e82a15ac726c16c418bcaf253817fbca919cedb8c25085793cfd0a984816ea6ffe8d98c0dca867a1bc56b4cd36a03fa3abb3c40a63e9c222c4a230aadd370b7d -DIST rocSPARSE-7.0.2.tar.gz 1648331 BLAKE2B b80467bece3448be9a2198caa4b7a1991b7243d52b977d875aea41c3b575531540684fa876f34ef43df4ee955d783fe331743cef7e943d2f01db9f14a40af17a SHA512 e6c50164de0cf49930fc165c4bab2e01f4f74b5c13a58abb9e27d2b475474480706a5900a263cc176945a6ec323431898d5addeeb0f14cb646905f821093d269 -DIST rocSPARSE-7.1.0.tar.gz 1680368 BLAKE2B 2fe56ef4ade3d3df25e6f884307007c0acb7292079cf06123db66dc30529f4c878a4d6e1ad7a7d3fe81ddb8bc0f0cdb087b402e9520962119fce3c268fb36f6d SHA512 4b6771698296aaa77f04b3e5f48e9ce728cc85b26f30d88b46e5a1c294ab4f9d691a5e7f4e94b2726205bb059013b1d07e850b0e56d2f00992f27f258a2d28f0 -DIST rocSPARSE_ASIC_320k.tar.gz 11301444 BLAKE2B a00cc4a3ededab3fb56339319e34e936645ddce2dee3c630153b37e337384c207b0a2829227fb7f4c2db1fe33383e97410ab7ad459d391c025f5410843d51cf2 SHA512 1db3af391c30a371c1ac0087436e266721474273a39d5b2b6d56408d950dcbbee004750e4dce4e3dbc4cb512f38f6d945676d7f29b62c52fd5a7fed0fe789e03 -DIST rocSPARSE_Chebyshev4.tar.gz 50165660 BLAKE2B f1a95554c8f38937f501488fabfd406b773eb980d7463cadac0de162529ac2f834c655cadd2b65f4c42a8487bc2d67c749601ae33bd789051f9e4d1e157196a0 SHA512 fdec4947a4af923d28b4be8d23690fd6d356c58f8344a5dcdd2e3fa61769d83e47a84d65316b527e6e82d9f988de2675a852367d406e44b44d784137a90b95c0 -DIST rocSPARSE_Chevron2.tar.gz 3210636 BLAKE2B 919bc19931cbcb32c09e6b623c9d3890400895dfd65e83845d351a8e3dd8b30ef43374c3c0ca3ee9708c81b5fb8886f1a4adbea6086495f08f9498f19a2279d5 SHA512 22b71deddec4f1af5b239d4065089230cf70e521102803a77ab3f16b34a0d69534817e54d81dfa7f8d1f299932c0f0424237baeb3d8289bcfffa4b902b00e256 -DIST rocSPARSE_Chevron3.tar.gz 15315390 BLAKE2B 72d06664f17ffb0190f27438244fbbdaab495d7fdda087f48608a8c3afbd52d9409bd9f96de5790e70d59ff2ae225a0992b50144746db3ca6b3853a03fd7530c SHA512 db80fd3c61c1b6e7cf1eb28b6e142cd4dbc61ad274003f1fcc8bd35e74d36add2f746550abc1b967cd46389a8f9b2a93016802777733b3f5a56338f753fe49ed -DIST rocSPARSE_Chevron4.tar.gz 30454185 BLAKE2B 42f906acde4046c1ca10b5c8a88356da0ae90875129b72805fc3c69954d194f712a26ee1a05093953e3d2f6d2af498aa4d28389ff8c2cb5a88389a0db3b34f9d SHA512 0b9fe82d58e9cdae8b9a585d57f12122708bdad453885c259ff5345b7756474bd15ecac26c10456eca8020b84c520a8b46c06bdd2414cb56efd5bd3ae07ade36 -DIST rocSPARSE_amazon0312.tar.gz 11303646 BLAKE2B 388947a29380253bb5eecb22d3a3b6f3378711044b3fe98d6d2517cd27330f11b3d12fdb96320a2889e139224f1a6a5ad1c455ff8e91a262aa2aadbe16301330 SHA512 aed2d62581763742d9c7faf3dcaf1eaa983caa1e2e7ad4abebe97c5e7c2aec9942e0e32291092b348b60052c92b130e721ec19ed59bda22e1b233ef72ac7d2ff -DIST rocSPARSE_bibd_22_8.tar.gz 20548479 BLAKE2B b6d0f7b7eb9c3b4ccade55313ca29f5706dde264c03d5d342f16ff27d7cf38ff2648dabea0342683257a6bb16cae85259c7e102a56c70d1e81c8a334c36f3d91 SHA512 3df85485f679c82e7554e8f6dff9d498bc9135bfc70aa81e85d83dbef457f31831dfc23b8d83425289329efc45fdcd41eef1e79f5205500479992892bbcf11fe -DIST rocSPARSE_bmwcra_1.tar.gz 67958791 BLAKE2B 8be4e73cf837fd717e77042c416dee81995cd39bae39bdc1b7f6e6b309ee263130774f030ce7883ae89234227fec115d0178cfe1b2589af79fde6e2a3270b01c SHA512 049722d3524fb7397c4f00ce9a034e75612b839353bbbd7b963900ec19eeb5a4ec54a780882b4929fc4dd6932efb2f676432d444c3d256f9b57d5f392e5241ca -DIST rocSPARSE_mac_econ_fwd500.tar.gz 12051668 BLAKE2B cd59723ea4fa8b0b4024c3534b3c3b42541754353319eca88628ca8216fb619dce3b1e774d6b823155c8afc9b5a65b3ea113edb36f6141c72e1189e97bfcbd37 SHA512 f279d2d71c92456bb0a5168bf3d8bc77eb991f4cbef6eea2c98d038be9ab2f2b576480e081099f766fe888480e91026a619a8de9d04758c26ee316ac4a09fdb5 -DIST rocSPARSE_mc2depi.tar.gz 10874561 BLAKE2B 89fd12479a76a9ec2f488aeadcf58688a2bf9dbc0e1065a7002b0a458bfa48704711ab69d1be6a25396c3c3e48ee4f6b6866984c1ff76074619898eeebb951bc SHA512 82e5bd935d5d6fb83801b5a7848bf7dc636459ba7b14b327a135c5e88528bdc47e4822927aa44c8e21316b538e5f6563024152253c5deb606dbaec77ff986594 -DIST rocSPARSE_mplate.tar.gz 499620 BLAKE2B 794b2e3b054ea40274115db8b981f475e9420982ded0e381fe0670350bda3918d36fdc5d21b1df417423dcce35f85d7c7dfa591d177c5a4491892abfceefdb4f SHA512 61f27e268fb17c24faeddca8279ca4747b076d6c7f98f2caaf814fcbbb9ccd374d133d6b7943dc4f1f7197a64a9fbc4366d194c51bad515bf48ceb5a73a0b1c8 -DIST rocSPARSE_nos1.tar.gz 3025 BLAKE2B cb0630782e996fd8717f845dfecc979abf9d59e5573c00226990a9575a9ec4b14d25197c3a0602baa5bf3e9073e14484374f28ce43108e3df680c1f62995cc77 SHA512 6eb5b65ba2230bb2468d93526990772ce7508faffe0fa5b0c5767859cd0fb0acbdc2d94dab3e5097a4a47dc4d7b0313891037d8a29720eb803cfaf26ae529495 -DIST rocSPARSE_nos2.tar.gz 10313 BLAKE2B 15e83686358285746b4d51e4d69d27bf058ea29aa448745fde76e3cb9ed6f1f8612f94739d980ff830e3610da7a9afe8ee9f6eb86e28e41bf8df74032a23ad63 SHA512 2e50b3bf99e2bedb1eabf58d0293bf9484713204340b2f68ae919d9e842a8c6e4ca917b7d61d4e171ae9e4002ced034913d83c5de6e75f16dae9079467cc424a -DIST rocSPARSE_nos3.tar.gz 34282 BLAKE2B 741257a8c0945cfacce808ad56ee5c306a6d7ea96c8c36183bd3b5b24ddef586d78bbfb5dfdb251ab8e6905842b63ebfa9c481c272d598ff195558248a566e01 SHA512 cb260dec5947765004f497249c0b46d15271e2dd69e99bc2925352d52ac75d27bb9635b1d4bb445b1d79de03aa6803a219a5c80a242fcf7ff74c7e80c0f8f59c -DIST rocSPARSE_nos4.tar.gz 1760 BLAKE2B 24b9dadfd42a6c5f1988c98ef01319d8ae20f447293ce334723f9290f76b878311df4e0ae0fe7788081f27303359392b8694e06b7dc0a64a69fac00a3168d59a SHA512 2f0c40c971d5eea986efc389fc6770f5e8099c8924c7221b1c46ab0be44641d499f20d536b313999d2b31b356568255c98cbba3b0804a00de18a95a052431e0b -DIST rocSPARSE_nos5.tar.gz 13125 BLAKE2B 3b5e7166dfae258e9b6667eaa7b172d862eb3fc755751f6f9e63e76b16b5a0b14bf2f58a59ed5513fc641eb7df7f478e1cacc45940a6a49ec87eb1007c3209c3 SHA512 6151b9de84498495f3e03d11ff26d7013b5109068474abbee6018b3fe90a5e518823a06a9cc8c62013cd61925061b45d3f5aabaa01da61286665039d8cb06655 -DIST rocSPARSE_nos6.tar.gz 7644 BLAKE2B 1690af9969bcd2eee760571874a04e36ef4dd76a8349a307c0cc4d02cbc59ed12df0646509528e3b136836230d887a8eb4e1095b7423737a3831e5680ea07e9e SHA512 22dbbb825648948fd3d2eb7a2ca8c45d6746b5b386406b1dacbeb575f1ebeeb14ff49f62e5fbdc8a784def398c319f810537991180740f6efffe4e94fdb15aef -DIST rocSPARSE_nos7.tar.gz 9639 BLAKE2B 5d63cfbe45f2f968a62cd8bcf0c25b831f485cd9dd0d95bdb248ab7b62ab67476c60ed8a4ad811f7db158a893e08a753beb3b1e7ed6f727219b985d932570eb0 SHA512 39109bbe3d0d791a0a2eeb272f2359bad34332191c53db7487a01770ac4c7ea1af2cc5e05a0ff5744f413113b7fcbe493a36cfc880436af274fe7dc6c39d6e11 -DIST rocSPARSE_qc2534.tar.gz 1247151 BLAKE2B 9e0515d5fa20019bf436e45b72be6ee6d832388e59194516a393c9c6efc52fdbc6dee64e75d72576b495886324acc81be3642b7cde2f07dff2072059fbf5ebf9 SHA512 d2a18d73122362484944cddca55c28cbb41ba351257481b6803452295a41563976fcf7c73ef00e7b693550c0b32bad2af1220b67a14ac727c023fe80b4abb271 -DIST rocSPARSE_rma10.tar.gz 19466055 BLAKE2B bb8ac5fe06bb6d7814864b3d43f9ddd1d2daafe55c31bdd9153cf6744d3d113fff878c4396a26d1a021bf9612c08798964c3bd9de8ea9829b202b912fb31db2e SHA512 c8ce8fc8fa7192ba2ac240439c90701080a590945dfb92bb80886f513205a0360ff8e5fd19819ad97d1eb58c3d83b57e5482e5361199cc9626e2afee8d84f4ac -DIST rocSPARSE_scircuit.tar.gz 8635362 BLAKE2B 3f1d6e35a6a774664bd653dd466fa3c07818bfdee4a2633bfcacd5936569194863753fe7ebd0e1497ecdabbc716617ca6012801242e8d733f5d5d189e8d3feb2 SHA512 4949c869c17a66f19660cbe21b61615fb468d5afb1a773f9d6fe09cbc45b4c6245b647148dbab102b45599c53acaf4ed96ab815e17e538068c927a4d25b9bd2a -DIST rocSPARSE_shipsec1.tar.gz 22175245 BLAKE2B f1d34482b8c3d3ee48033097d7d6f9b648e3c396a5ab2379efdc7de218adec519a235e2e94904f85a4f24c8d4ff15af096ca089379e00db47519023f64b85c16 SHA512 e027097e74f8ffc058339855b1c38cab52c68b661058318b429487e7188e11e907f6734894f9c71d1e38d262986525fba8d0f165bc0a1b4632d7e25be8db4f17 -DIST rocSPARSE_sme3Dc.tar.gz 42483568 BLAKE2B f0d16b58f6ea28e67727637697a812a0b10d524c73aeb82f702411b9ebaea3670780e762ed0701aae80c6829e950233f74555523ef2d6c5740b007c7a65c03d4 SHA512 c5a0be2db919a45310a73ea1dd96d0d30168135f887a8c5c3d7ca11e2c3d12ea7d1331be20968d0135bd18da4ef2b043db68eeb7567b6f0f8daf782b87083c3a -DIST rocSPARSE_webbase-1M.tar.gz 11360460 BLAKE2B 01b1d06adb5fb32fa402ed888d25a7e52a34779b078fc2e21c60e688d03579bb4ca8694f5ee4a824f7859952d55590a1fd9449dc80d6fe894d7b662b918882d4 SHA512 6401a965b8f6dd5392879956fde3c94f77fe1801a4a43428c03b6d639031575c647eab47b1babe53f4ecc2c3b8fc183e8339536b78dcd0d94ce62bfedd87c161 -DIST rocsparse-7.2.0.tar.gz 1731214 BLAKE2B 37f9b44d5195314c3bcf2f74f70d8caaad2ecf6cc092d0a6c009e835392cfc9f20b5de05e99388cfa17df67193b65039bc0887bfe9f14ae6f7b3a977963f7fdc SHA512 ba33e7f3440699dbfe45d80f1ca35df28103f5b6099f1e46f4488409775a2743f6db2f0daa9e3a85defe83374654e52499d881b694a7638311663d805d5438d0 diff --git a/sci-libs/rocSPARSE/metadata.xml b/sci-libs/rocSPARSE/metadata.xml deleted file mode 100644 index 3071f6425bf6..000000000000 --- a/sci-libs/rocSPARSE/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install rocblas-bench</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/rocSPARSE/rocSPARSE-6.3.3.ebuild b/sci-libs/rocSPARSE/rocSPARSE-6.3.3.ebuild deleted file mode 100644 index 1ac4feab34ea..000000000000 --- a/sci-libs/rocSPARSE/rocSPARSE-6.3.3.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic python-any-r1 toolchain-funcs rocm - -DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" -HOMEPAGE="https://github.com/ROCm/rocSPARSE" - -SRC_URI="https://github.com/ROCm/rocSPARSE/archive/rocm-${PV}.tar.gz -> rocSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> ${PN}_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> ${PN}_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> ${PN}_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> ${PN}_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> ${PN}_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> ${PN}_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> ${PN}_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> ${PN}_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> ${PN}_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> ${PN}_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> ${PN}_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> ${PN}_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> ${PN}_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> ${PN}_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> ${PN}_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> ${PN}_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> ${PN}_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> ${PN}_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> ${PN}_shipsec1.tar.gz -http://sparse-files.engr.tamu.edu/MM/Cote/mplate.tar.gz -> ${PN}_mplate.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bai/qc2534.tar.gz -> ${PN}_qc2534.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron2.tar.gz -> ${PN}_Chevron2.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron3.tar.gz -> ${PN}_Chevron3.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron4.tar.gz -> ${PN}_Chevron4.tar.gz -)" - -S="${WORKDIR}/rocSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND="=dev-util/hip-6* - sci-libs/rocPRIM:${SLOT}" -DEPEND="${RDEPEND}" -BDEPEND="test? ( - dev-cpp/gtest - >=dev-build/cmake-3.22 - $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') -) -" - -RESTRICT="!test? ( test )" - -python_check_deps() { - if use test; then - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - # use python interpreter specifyied by python-any-r1 - sed -e "s/\${python}/${EPYTHON}/" \ - -i clients/tests/CMakeLists.txt || die - - cmake_src_prepare - - # Test need download data from https://sparse-files.engr.tamu.edu (or other mirror site), check MD5, - # unpack and convert them into csr format - # This process is handled default by ${S}/cmake/ClientMatrices.cmake, but should be the responsibility of portage. - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").csr - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_hipcc - - # tons of warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - LD_LIBRARY_PATH="${BUILD_DIR}/library" edob ./rocsparse-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsparse-bench - fi -} diff --git a/sci-libs/rocSPARSE/rocSPARSE-6.4.3-r1.ebuild b/sci-libs/rocSPARSE/rocSPARSE-6.4.3-r1.ebuild deleted file mode 100644 index 3f2ce36e6c58..000000000000 --- a/sci-libs/rocSPARSE/rocSPARSE-6.4.3-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic python-any-r1 toolchain-funcs rocm - -DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" -HOMEPAGE="https://github.com/ROCm/rocSPARSE" - -SRC_URI="https://github.com/ROCm/rocSPARSE/archive/rocm-${PV}.tar.gz -> rocSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> ${PN}_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> ${PN}_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> ${PN}_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> ${PN}_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> ${PN}_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> ${PN}_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> ${PN}_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> ${PN}_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> ${PN}_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> ${PN}_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> ${PN}_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> ${PN}_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> ${PN}_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> ${PN}_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> ${PN}_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> ${PN}_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> ${PN}_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> ${PN}_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> ${PN}_shipsec1.tar.gz -http://sparse-files.engr.tamu.edu/MM/Cote/mplate.tar.gz -> ${PN}_mplate.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bai/qc2534.tar.gz -> ${PN}_qc2534.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron2.tar.gz -> ${PN}_Chevron2.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron3.tar.gz -> ${PN}_Chevron3.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron4.tar.gz -> ${PN}_Chevron4.tar.gz -)" - -S="${WORKDIR}/rocSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - sci-libs/rocBLAS:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND="test? ( - dev-cpp/gtest - >=dev-build/cmake-3.22 - $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') -) -" - -RESTRICT="!test? ( test )" - -python_check_deps() { - if use test; then - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - # use python interpreter specifyied by python-any-r1 - sed -e "s/\${python}/${EPYTHON}/" \ - -i clients/tests/CMakeLists.txt || die - - cmake_src_prepare - - # Test need download data from https://sparse-files.engr.tamu.edu (or other mirror site), check MD5, - # unpack and convert them into csr format - # This process is handled default by ${S}/cmake/ClientMatrices.cmake, but should be the responsibility of portage. - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").csr - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_hipcc - - # tons of warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - LD_LIBRARY_PATH="${BUILD_DIR}/library" edob ./rocsparse-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsparse-bench - fi -} diff --git a/sci-libs/rocSPARSE/rocSPARSE-7.0.2.ebuild b/sci-libs/rocSPARSE/rocSPARSE-7.0.2.ebuild deleted file mode 100644 index 28ea60879fe7..000000000000 --- a/sci-libs/rocSPARSE/rocSPARSE-7.0.2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic python-any-r1 toolchain-funcs rocm - -DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsparse" - -SRC_URI="https://github.com/ROCm/rocSPARSE/archive/rocm-${PV}.tar.gz -> rocSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> ${PN}_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> ${PN}_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> ${PN}_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> ${PN}_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> ${PN}_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> ${PN}_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> ${PN}_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> ${PN}_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> ${PN}_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> ${PN}_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> ${PN}_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> ${PN}_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> ${PN}_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> ${PN}_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> ${PN}_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> ${PN}_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> ${PN}_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> ${PN}_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> ${PN}_shipsec1.tar.gz -http://sparse-files.engr.tamu.edu/MM/Cote/mplate.tar.gz -> ${PN}_mplate.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bai/qc2534.tar.gz -> ${PN}_qc2534.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron2.tar.gz -> ${PN}_Chevron2.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron3.tar.gz -> ${PN}_Chevron3.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron4.tar.gz -> ${PN}_Chevron4.tar.gz -)" - -S="${WORKDIR}/rocSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - sci-libs/rocBLAS:${SLOT} - dev-util/roctracer:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND="test? ( - dev-cpp/gtest - >=dev-build/cmake-3.22 - $(python_gen_any_dep "dev-python/pyyaml[\${PYTHON_USEDEP}]") -) -" - -RESTRICT="!test? ( test )" - -python_check_deps() { - if use test; then - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - # If BUILD_WITH_ROCBLAS is ON, make rocblas required (with any version) - # Bug: https://github.com/ROCm/rocm-libraries/issues/2074 - sed -e "/find_package(rocblas / s/ 4.1.0 QUIET/ REQUIRED/" -i CMakeLists.txt || die - - cmake_src_prepare - - # Test need download data from https://sparse-files.engr.tamu.edu (or other mirror site), check MD5, - # unpack and convert them into csr format - # This process is handled default by ${S}/cmake/ClientMatrices.cmake, but should be the responsibility of portage. - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").csr - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_hipcc - - # tons of warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_WITH_ROCBLAS=ON - ) - - use test && mycmakeargs+=( -DPython3_EXECUTABLE=${PYTHON} ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - LD_LIBRARY_PATH="${BUILD_DIR}/library" edob ./rocsparse-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsparse-bench - fi -} diff --git a/sci-libs/rocSPARSE/rocSPARSE-7.1.0.ebuild b/sci-libs/rocSPARSE/rocSPARSE-7.1.0.ebuild deleted file mode 100644 index 28ea60879fe7..000000000000 --- a/sci-libs/rocSPARSE/rocSPARSE-7.1.0.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic python-any-r1 toolchain-funcs rocm - -DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsparse" - -SRC_URI="https://github.com/ROCm/rocSPARSE/archive/rocm-${PV}.tar.gz -> rocSPARSE-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> ${PN}_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> ${PN}_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> ${PN}_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> ${PN}_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> ${PN}_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> ${PN}_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> ${PN}_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> ${PN}_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> ${PN}_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> ${PN}_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> ${PN}_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> ${PN}_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> ${PN}_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> ${PN}_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> ${PN}_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> ${PN}_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> ${PN}_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> ${PN}_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> ${PN}_shipsec1.tar.gz -http://sparse-files.engr.tamu.edu/MM/Cote/mplate.tar.gz -> ${PN}_mplate.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bai/qc2534.tar.gz -> ${PN}_qc2534.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron2.tar.gz -> ${PN}_Chevron2.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron3.tar.gz -> ${PN}_Chevron3.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron4.tar.gz -> ${PN}_Chevron4.tar.gz -)" - -S="${WORKDIR}/rocSPARSE-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - sci-libs/rocBLAS:${SLOT} - dev-util/roctracer:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND="test? ( - dev-cpp/gtest - >=dev-build/cmake-3.22 - $(python_gen_any_dep "dev-python/pyyaml[\${PYTHON_USEDEP}]") -) -" - -RESTRICT="!test? ( test )" - -python_check_deps() { - if use test; then - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - # If BUILD_WITH_ROCBLAS is ON, make rocblas required (with any version) - # Bug: https://github.com/ROCm/rocm-libraries/issues/2074 - sed -e "/find_package(rocblas / s/ 4.1.0 QUIET/ REQUIRED/" -i CMakeLists.txt || die - - cmake_src_prepare - - # Test need download data from https://sparse-files.engr.tamu.edu (or other mirror site), check MD5, - # unpack and convert them into csr format - # This process is handled default by ${S}/cmake/ClientMatrices.cmake, but should be the responsibility of portage. - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").csr - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_hipcc - - # tons of warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_WITH_ROCBLAS=ON - ) - - use test && mycmakeargs+=( -DPython3_EXECUTABLE=${PYTHON} ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - LD_LIBRARY_PATH="${BUILD_DIR}/library" edob ./rocsparse-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsparse-bench - fi -} diff --git a/sci-libs/rocSPARSE/rocSPARSE-7.2.0.ebuild b/sci-libs/rocSPARSE/rocSPARSE-7.2.0.ebuild deleted file mode 100644 index a1e19aeb6179..000000000000 --- a/sci-libs/rocSPARSE/rocSPARSE-7.2.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -ROCM_VERSION=${PV} - -inherit cmake edo flag-o-matic python-any-r1 toolchain-funcs rocm - -DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocsparse" - -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocsparse.tar.gz -> rocsparse-${PV}.tar.gz -test? ( -http://sparse-files.engr.tamu.edu/MM/SNAP/amazon0312.tar.gz -> ${PN}_amazon0312.tar.gz -http://sparse-files.engr.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> ${PN}_Chebyshev4.tar.gz -http://sparse-files.engr.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> ${PN}_sme3Dc.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/webbase-1M.tar.gz -> ${PN}_webbase-1M.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bova/rma10.tar.gz -> ${PN}_rma10.tar.gz -http://sparse-files.engr.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> ${PN}_bibd_22_8.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> ${PN}_mac_econ_fwd500.tar.gz -http://sparse-files.engr.tamu.edu/MM/Williams/mc2depi.tar.gz -> ${PN}_mc2depi.tar.gz -http://sparse-files.engr.tamu.edu/MM/Hamm/scircuit.tar.gz -> ${PN}_scircuit.tar.gz -http://sparse-files.engr.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> ${PN}_ASIC_320k.tar.gz -http://sparse-files.engr.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> ${PN}_bmwcra_1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos1.tar.gz -> ${PN}_nos1.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos2.tar.gz -> ${PN}_nos2.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos3.tar.gz -> ${PN}_nos3.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos4.tar.gz -> ${PN}_nos4.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos5.tar.gz -> ${PN}_nos5.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos6.tar.gz -> ${PN}_nos6.tar.gz -http://sparse-files.engr.tamu.edu/MM/HB/nos7.tar.gz -> ${PN}_nos7.tar.gz -http://sparse-files.engr.tamu.edu/MM/DNVS/shipsec1.tar.gz -> ${PN}_shipsec1.tar.gz -http://sparse-files.engr.tamu.edu/MM/Cote/mplate.tar.gz -> ${PN}_mplate.tar.gz -http://sparse-files.engr.tamu.edu/MM/Bai/qc2534.tar.gz -> ${PN}_qc2534.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron2.tar.gz -> ${PN}_Chevron2.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron3.tar.gz -> ${PN}_Chevron3.tar.gz -http://sparse-files.engr.tamu.edu/MM/Chevron/Chevron4.tar.gz -> ${PN}_Chevron4.tar.gz -)" - -S="${WORKDIR}/rocsparse" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND=" - dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - sci-libs/rocBLAS:${SLOT} - dev-util/roctracer:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND="test? ( - dev-cpp/gtest - >=dev-build/cmake-3.22 - $(python_gen_any_dep "dev-python/pyyaml[\${PYTHON_USEDEP}]") -) -" - -RESTRICT="!test? ( test )" - -python_check_deps() { - if use test; then - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - # If BUILD_WITH_ROCBLAS is ON, make rocblas required (with any version) - # Bug: https://github.com/ROCm/rocm-libraries/issues/2074 - sed -e "/find_package(rocblas / s/ 4.1.0 QUIET/ REQUIRED/" -i CMakeLists.txt || die - - cmake_src_prepare - - # Test need download data from https://sparse-files.engr.tamu.edu (or other mirror site), check MD5, - # unpack and convert them into csr format - # This process is handled default by ${S}/cmake/ClientMatrices.cmake, but should be the responsibility of portage. - if use test; then - mkdir -p "${BUILD_DIR}"/clients/matrices - # compile and use the mtx2csr converter. Do not use any optimization flags, because it causes error! - edo $(tc-getCXX) deps/convert.cpp -o deps/convert - find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex ".*/(.*)/\1\.mtx" -print0 | - while IFS= read -r -d '' mtxfile; do - destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' "${mtxfile}").csr - ebegin "Converting ${mtxfile} to ${destination}" - deps/convert "${mtxfile}" "${destination}" - eend $? - done - fi -} - -src_configure() { - rocm_use_clang - - # tons of warnings in tests - append-cxxflags -Wno-explicit-specialization-storage-class - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_CLIENTS_SAMPLES=OFF - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_WITH_ROCBLAS=ON - ) - - use test && mycmakeargs+=( -DPython3_EXECUTABLE=${PYTHON} ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}/clients/staging" || die - LD_LIBRARY_PATH="${BUILD_DIR}/library" edob ./rocsparse-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsparse-bench - fi -} diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest deleted file mode 100644 index 87206838140f..000000000000 --- a/sci-libs/rocThrust/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST rocThrust-6.3.3.tar.gz 1205828 BLAKE2B 4b65353de456558fbc4ad43630353d89336d23a4a9da00df21c34caedbcc25b9b05e0a3e4048f3709a63eb9a8882d60a906b2e7cf4976fd3953b089e9bcb04b7 SHA512 964ef583485d4885b4cf6e95a0cb65d54f1690ab4af9c18a9909d9356e19d3b431f510801ac0a26cd31b8539857840fc218e0bdf779e9a4ab7b03bb0e31f73da -DIST rocThrust-6.4.3.tar.gz 1228363 BLAKE2B de9160cc29608094c44e3c36c5ae4fba286c65b1ccd3f28ee7db9a982c02019e16ced1385e449b776662ae10c6b97293f8f7b56292ad8f45e745f35e5e2f816e SHA512 77995e4e61f059a767b2df891e037513c43204b2d09181286ecc3579ac825a555c29bd3db41f185e48572a913b6b6a7c0ac5d16133498efa0eb76115fa1d6fea -DIST rocThrust-7.0.2.tar.gz 1184612 BLAKE2B 9df9ece9b9e46f61d880841989a5cfc91b8a269970e7c3d6b40c6c3be050009181574c9bafb2d718c1ccbf5e7dd7781b0c85475ad7e99276a3d2884004f22ea8 SHA512 b1274f7e1cb5818e18aa3992de68060d0740ed65dada14b6dd5a9e00d0c669819e6c30e9cc72a663d7e03d9a1376ac39fa1ec87c8e99711068270818d7a07e3d -DIST rocThrust-7.1.0.tar.gz 1238877 BLAKE2B 3332fdfb49db87e801b0ef076c6a292503e331d0fc2886aba04bb8b75bc9c5c82639d3fe9498922eaa45e1b276963b938222e8fcae2e762624bb212209b579a2 SHA512 8126c3214cbdd0f3b095cc5419d25e7f86e908c6ba5cf3b2df01cf1f3f4fb8fa483975a73334f9a2052feb6770ac53df1f174594c659ac68db0777a067f84208 -DIST rocthrust-7.2.0.tar.gz 1274401 BLAKE2B 1c8dc25066f05c948916ff63ac9f0e6009a6cb51f7b2bad7287392c8266c38abc167475f72e72541baeea8e13bf6d3b831066e320b30a00a93e2854a0ff6b0a4 SHA512 1f6d136cd26cf97518236adb8d53a7525d5f376673ed2849997d2ec7bc4459373062bf337928629942db2d5cc53d9c6c41bc21486ca94dabe598e9e51c22b666 -DIST sqlite-amalgamation-3430200.zip 2676699 BLAKE2B b09c59772c920ddef7ba0b15b1721645541678bad9ecb23fb8ecfbb1733177cad836d1d75db8e0722ea7ab4701cfaca187b72c127e9959f7e4f116f1ec7fe41c SHA512 5ef0e65ee92a088187376fa82ccb182dffa35391dd4dbcb3fafeb0a6f1602ced1e212753837079a9cad007d73d3f5b8a67ca1a6596eba6cf0c695052fa307392 diff --git a/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch b/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch deleted file mode 100644 index 2b78fd0053ed..000000000000 --- a/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch +++ /dev/null @@ -1,29 +0,0 @@ -# Use copy assignment instead of copy constructor to avoid unavailability of placement new operator. -# But more likely there is another hidden bug, since this syntax is actually correct. -# There are still similar syntax remain in other headers, which may cause identical compilation error. - -# Suggested by Yuyi Wang <strawberry_str@hotmail.com> -diff --color -uprN rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_copy.h rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_copy.h ---- rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_copy.h 2021-01-21 20:42:44.439246148 +0800 -+++ rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_copy.h 2021-01-21 21:13:20.926840762 +0800 -@@ -62,7 +62,7 @@ namespace __uninitialized_copy - InputType const& in = raw_reference_cast(input[idx]); - OutputType& out = raw_reference_cast(output[idx]); - -- ::new(static_cast<void*>(&out)) OutputType(in); -+ out = in; - } - }; // struct functor - -diff --color -uprN rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_fill.h rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_fill.h ---- rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_fill.h 2021-01-21 20:42:44.439246148 +0800 -+++ rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_fill.h 2021-01-21 21:13:07.022489406 +0800 -@@ -59,7 +59,7 @@ namespace __uninitialized_fill - { - value_type& out = raw_reference_cast(items[idx]); - -- ::new(static_cast<void*>(&out)) value_type(value); -+ out = value; - } - }; // struct functor - } // namespace __uninitialized_copy diff --git a/sci-libs/rocThrust/files/rocThrust-6.3.0-fix-libcxx.patch b/sci-libs/rocThrust/files/rocThrust-6.3.0-fix-libcxx.patch deleted file mode 100644 index 2db69a71bd20..000000000000 --- a/sci-libs/rocThrust/files/rocThrust-6.3.0-fix-libcxx.patch +++ /dev/null @@ -1,13 +0,0 @@ -_VSTD macro was removed from libcxx -Upstream commit: https://github.com/ROCm/rocThrust/commit/bc24ef2613e282d57d96dcf4263e2fa2cab171e4 ---- a/thrust/type_traits/is_contiguous_iterator.h -+++ b/thrust/type_traits/is_contiguous_iterator.h -@@ -139,7 +139,7 @@ struct is_libcxx_wrap_iter : false_type {}; - #if defined(_LIBCPP_VERSION) - template <typename Iterator> - struct is_libcxx_wrap_iter< -- _VSTD::__wrap_iter<Iterator> -+ std::__wrap_iter<Iterator> - > : true_type {}; - #endif - diff --git a/sci-libs/rocThrust/files/rocThrust-6.4.1-fix-libcxx.patch b/sci-libs/rocThrust/files/rocThrust-6.4.1-fix-libcxx.patch deleted file mode 100644 index aaf99b77ddf3..000000000000 --- a/sci-libs/rocThrust/files/rocThrust-6.4.1-fix-libcxx.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/thrust/type_traits/is_contiguous_iterator.h b/thrust/type_traits/is_contiguous_iterator.h -index 252ed69..c542929 100644 ---- a/thrust/type_traits/is_contiguous_iterator.h -+++ b/thrust/type_traits/is_contiguous_iterator.h -@@ -131,7 +131,7 @@ struct is_libcxx_wrap_iter : false_type {}; - #if defined(_LIBCPP_VERSION) - template <typename Iterator> - struct is_libcxx_wrap_iter< --# if _LIBCPP_VERSION < 14000 || THRUST_DEVICE_COMPILER == THRUST_DEVICE_COMPILER_HIP -+# if _LIBCPP_VERSION < 14000 - _VSTD::__wrap_iter<Iterator> - # else - std::__wrap_iter<Iterator> diff --git a/sci-libs/rocThrust/files/rocThrust-6.4.1-no-tests-install.patch b/sci-libs/rocThrust/files/rocThrust-6.4.1-no-tests-install.patch deleted file mode 100644 index f94ab3ca473d..000000000000 --- a/sci-libs/rocThrust/files/rocThrust-6.4.1-no-tests-install.patch +++ /dev/null @@ -1,22 +0,0 @@ -Disable installation of test files. ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -106,7 +106,6 @@ function(add_rocthrust_test TEST) - LABELS "hip" - ) - endif() -- rocm_install(TARGETS ${TEST_TARGET} COMPONENT tests) - if (WIN32 AND NOT DEFINED DLLS_COPIED) - set(DLLS_COPIED "YES") - set(DLLS_COPIED ${DLLS_COPIED} PARENT_SCOPE) -@@ -266,10 +265,3 @@ if(BUILD_HIPSTDPAR_TEST) - endif() - endif() - endif() -- --rocm_install( -- FILES "${INSTALL_TEST_FILE}" -- DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}" -- COMPONENT tests -- RENAME "CTestTestfile.cmake" --) diff --git a/sci-libs/rocThrust/files/rocThrust-6.4.3-gbenchmark-1.9.2.patch b/sci-libs/rocThrust/files/rocThrust-6.4.3-gbenchmark-1.9.2.patch deleted file mode 100644 index 194898d3ee23..000000000000 --- a/sci-libs/rocThrust/files/rocThrust-6.4.3-gbenchmark-1.9.2.patch +++ /dev/null @@ -1,40 +0,0 @@ -Fix compilation with Google Benchmark >= 1.9.2 - -Bug: https://bugs.gentoo.org/960483 ---- a/benchmarks/bench_utils/custom_reporter.hpp -+++ b/benchmarks/bench_utils/custom_reporter.hpp -@@ -88,6 +88,21 @@ static std::string FormatString(const char* msg, ...) - return tmp; - } - -+// 'run.memory_result' is a pointer (Google Benchmark < 1.9.2). -+inline const benchmark::MemoryManager::Result* -+GetMemoryResultPtr(const benchmark::MemoryManager::Result* p) { -+ return p; -+} -+ -+// 'run.memory_result' is an object (Google Benchmark >= 1.9.2). -+inline const benchmark::MemoryManager::Result* -+GetMemoryResultPtr(const benchmark::MemoryManager::Result& v) { -+ if (v.memory_iterations > 0) { -+ return &v; -+ } -+ return nullptr; -+} -+ - std::string get_complexity(const benchmark::BigO& complexity) - { - switch(complexity) -@@ -658,9 +673,10 @@ class CustomJSONReporter : public benchmark::JSONReporter - } - } - -- if (run.memory_result) -+ const benchmark::MemoryManager::Result* mem_result = GetMemoryResultPtr(run.memory_result); -+ if (mem_result) - { -- const benchmark::MemoryManager::Result memory_result = *run.memory_result; -+ const benchmark::MemoryManager::Result& memory_result = *mem_result; - output_format("allocs_per_iter", run.allocs_per_iter); - output_format("max_bytes_used", memory_result.max_bytes_used); - diff --git a/sci-libs/rocThrust/metadata.xml b/sci-libs/rocThrust/metadata.xml deleted file mode 100644 index ee537caf4690..000000000000 --- a/sci-libs/rocThrust/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocm-libraries</remote-id> - </upstream> - <use> - <flag name="benchmark">Build and install benchmark binary</flag> - </use> -</pkgmetadata> diff --git a/sci-libs/rocThrust/rocThrust-6.3.3.ebuild b/sci-libs/rocThrust/rocThrust-6.3.3.ebuild deleted file mode 100644 index 9588f9f0fc74..000000000000 --- a/sci-libs/rocThrust/rocThrust-6.3.3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" -HOMEPAGE="https://github.com/ROCm/rocThrust" -SRC_URI=" - https://github.com/ROCm/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz - test? ( https://www.sqlite.org/2023/sqlite-amalgamation-3430200.zip ) -" -S="${WORKDIR}/rocThrust-rocm-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip - sci-libs/rocPRIM:${SLOT}[${ROCM_USEDEP}] - test? ( dev-cpp/gtest ) - benchmark? ( - dev-cpp/benchmark - sci-libs/rocRAND:${SLOT}[${ROCM_USEDEP}] - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - test? ( app-arch/unzip ) -" - -PATCHES=( - "${FILESDIR}/${PN}-4.0-operator_new.patch" - "${FILESDIR}/${PN}-6.3.0-fix-libcxx.patch" -) - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_SQLITE_LOCAL="${WORKDIR}"/sqlite-amalgamation-3430200 - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCTHRUST_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocThrust/rocThrust-6.4.3.ebuild b/sci-libs/rocThrust/rocThrust-6.4.3.ebuild deleted file mode 100644 index 0ac52a4cf406..000000000000 --- a/sci-libs/rocThrust/rocThrust-6.4.3.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" -HOMEPAGE="https://github.com/ROCm/rocThrust" -SRC_URI=" - https://github.com/ROCm/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz - test? ( https://www.sqlite.org/2023/sqlite-amalgamation-3430200.zip ) -" -S="${WORKDIR}/rocThrust-rocm-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - test? ( dev-cpp/gtest ) - benchmark? ( - dev-cpp/benchmark:= - sci-libs/rocRAND:${SLOT} - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - test? ( app-arch/unzip ) -" - -PATCHES=( - "${FILESDIR}/${PN}-4.0-operator_new.patch" - "${FILESDIR}/${PN}-6.4.1-fix-libcxx.patch" - "${FILESDIR}/${PN}-6.4.1-no-tests-install.patch" - "${FILESDIR}/${PN}-6.4.3-gbenchmark-1.9.2.patch" -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_SQLITE_LOCAL="${WORKDIR}"/sqlite-amalgamation-3430200 - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCTHRUST_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocThrust/rocThrust-7.0.2.ebuild b/sci-libs/rocThrust/rocThrust-7.0.2.ebuild deleted file mode 100644 index 44183fa47a43..000000000000 --- a/sci-libs/rocThrust/rocThrust-7.0.2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocthrust" -SRC_URI=" - https://github.com/ROCm/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz - test? ( https://www.sqlite.org/2023/sqlite-amalgamation-3430200.zip ) -" -S="${WORKDIR}/rocThrust-rocm-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - test? ( dev-cpp/gtest ) - benchmark? ( - dev-cpp/benchmark:= - sci-libs/rocRAND:${SLOT} - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - test? ( app-arch/unzip ) -" - -PATCHES=( - "${FILESDIR}/${PN}-6.4.1-fix-libcxx.patch" - "${FILESDIR}/${PN}-6.4.1-no-tests-install.patch" -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - -Wno-dev - ) - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_SQLITE_LOCAL="${WORKDIR}"/sqlite-amalgamation-3430200 - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCTHRUST_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocThrust/rocThrust-7.1.0.ebuild b/sci-libs/rocThrust/rocThrust-7.1.0.ebuild deleted file mode 100644 index 44183fa47a43..000000000000 --- a/sci-libs/rocThrust/rocThrust-7.1.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocthrust" -SRC_URI=" - https://github.com/ROCm/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz - test? ( https://www.sqlite.org/2023/sqlite-amalgamation-3430200.zip ) -" -S="${WORKDIR}/rocThrust-rocm-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - test? ( dev-cpp/gtest ) - benchmark? ( - dev-cpp/benchmark:= - sci-libs/rocRAND:${SLOT} - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - test? ( app-arch/unzip ) -" - -PATCHES=( - "${FILESDIR}/${PN}-6.4.1-fix-libcxx.patch" - "${FILESDIR}/${PN}-6.4.1-no-tests-install.patch" -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARKS=$(usex benchmark ON OFF) - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - -Wno-dev - ) - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_SQLITE_LOCAL="${WORKDIR}"/sqlite-amalgamation-3430200 - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCTHRUST_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocThrust/rocThrust-7.2.0.ebuild b/sci-libs/rocThrust/rocThrust-7.2.0.ebuild deleted file mode 100644 index 4a7b92839ab4..000000000000 --- a/sci-libs/rocThrust/rocThrust-7.2.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocthrust" -SRC_URI=" - https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocthrust.tar.gz -> rocthrust-${PV}.tar.gz - test? ( https://www.sqlite.org/2023/sqlite-amalgamation-3430200.zip ) -" -S="${WORKDIR}/rocthrust" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE=" - benchmark? ( ${ROCM_REQUIRED_USE} ) - test? ( ${ROCM_REQUIRED_USE} ) -" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} - test? ( dev-cpp/gtest ) - benchmark? ( - dev-cpp/benchmark:= - sci-libs/rocRAND:${SLOT} - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - test? ( app-arch/unzip ) -" - -PATCHES=( - "${FILESDIR}/${PN}-6.4.1-fix-libcxx.patch" - "${FILESDIR}/${PN}-6.4.1-no-tests-install.patch" -) - -src_prepare() { - sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" \ - -i cmake/ROCMExportTargetsHeaderOnly.cmake || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - -Wno-dev - ) - - if use test; then - mycmakeargs+=( - -DFETCHCONTENT_SOURCE_DIR_SQLITE_LOCAL="${WORKDIR}"/sqlite-amalgamation-3430200 - ) - fi - - cmake_src_configure -} - -src_test() { - check_amdgpu - # uses HMM to fit tests to default <512M iGPU VRAM - ROCTHRUST_USE_HMM="1" cmake_src_test -j1 -} diff --git a/sci-libs/rocWMMA/Manifest b/sci-libs/rocWMMA/Manifest deleted file mode 100644 index bbecb1edc867..000000000000 --- a/sci-libs/rocWMMA/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST rocWMMA-6.3.3.tar.gz 3225632 BLAKE2B ff3fc4b8d980233052236c4850346c171147d25b5c0e32d81271f22eb1b844150f3998e10cfb5d01797cb8d03630406226eb33ce71d9c6004b0aacc4e40da772 SHA512 e775b1e540baaa67caf65b6bb1815fab860b28e3431a52e8158afab5c4b358407ca4085e9bb68eeb9117f7147d9872baa47fac1bcefac4fc87982c543ce35c9b -DIST rocWMMA-6.4.3.tar.gz 3284060 BLAKE2B d2a5eb06ff51f4a6d5e1a5350e73aac2ff130b9e302574e009760bd0829e52c1d7070c924b1fbbf833839b054f72b984f76b5bd558ef4f2555465d0ae6bdf200 SHA512 7ee4f7ddf5fd65fbd62fd571dda4d77d5752d496b606a0d5e03be0a7c8f6fca0a065af5312e3dd0a993b213c01c0cc78010ab20243de85a41ef45286f2b79093 -DIST rocWMMA-7.0.2.tar.gz 3349405 BLAKE2B 9b62582f89c5c5134da415c6921c0fd15012239ec1d3ba235277abf99d906ef39d69f8abc9a0e09e5ce2fe9f49df072e1c2d44805d497ffa65d7bfcab8a6b69c SHA512 bfa1124e69eb96671e83d4d4d8879f1c7458560e76189e3af02ee6e65d50ab5fe89926641d951918f62a794d501e52b6d687b238b24762fd5f17cf90140f8e77 -DIST rocWMMA-7.1.0.tar.gz 3349479 BLAKE2B 0cff4bf75d9bdef5a6f6476066ddc22efb3f5a08c5dab5fdfdfc15b27dbe4eeb7489b9ed657ae08f5cb7456f5a541f99a7a1742e66e7fe2ff3bc5b9a43068489 SHA512 a28dda114ab5e5b78532a1e895a454cc4b2c17f39420a734f47ec96ccd9b96bc650e0b34714af82006b24e3546d4c2e00e92442b1f6c3eea998fcc3c6dcfb244 -DIST rocwmma-7.2.0.tar.gz 3369221 BLAKE2B 9ba06c7308757874d1e93ab8ed1dae1cedeb0252a511f5fea4c2405db3b859cb648eabb22b0460ec8307f2d4ec13776ff22b6c6de52d1854c0567dba393d87ae SHA512 129c77b87a07bb6a86aa3da7b5a28b4c7e624693ae764f62471dbb490283a34c2c69aa7e72ddd040f0cc52b295e28c0cc25b522ba08132b5a37c25a4546f9630 diff --git a/sci-libs/rocWMMA/files/rocWMMA-6.1.1-no-test-install.patch b/sci-libs/rocWMMA/files/rocWMMA-6.1.1-no-test-install.patch deleted file mode 100644 index d4219baf3496..000000000000 --- a/sci-libs/rocWMMA/files/rocWMMA-6.1.1-no-test-install.patch +++ /dev/null @@ -1,25 +0,0 @@ -Don't install tests into /usr/bin ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -114,11 +114,6 @@ function(add_rocwmma_test TEST_TARGET TEST_SOURCE) - add_test(NAME ${TEST_TARGET} COMMAND ${TEST_TARGET}) - set_property(TEST ${TEST_TARGET} PROPERTY SKIP_REGULAR_EXPRESSION "no ROCm-capable device" "unsupported host device") - -- rocm_install_targets( -- TARGETS ${TEST_TARGET} -- COMPONENT tests -- ) -- - get_target_property(EXE_NAME ${TEST_TARGET} RUNTIME_OUTPUT_NAME) - if(EXE_NAME STREQUAL "EXE_NAME-NOTFOUND") - get_target_property(EXE_NAME ${TEST_TARGET} OUTPUT_NAME) -@@ -148,9 +143,3 @@ add_subdirectory(gemm) - add_subdirectory(unit) - add_subdirectory(dlrm) - --rocm_install( -- FILES "${INSTALL_TEST_FILE}" -- DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}" -- COMPONENT tests -- RENAME "CTestTestfile.cmake" --) diff --git a/sci-libs/rocWMMA/files/rocWMMA-7.2.0-no-test-install.patch b/sci-libs/rocWMMA/files/rocWMMA-7.2.0-no-test-install.patch deleted file mode 100644 index 12e021018ac7..000000000000 --- a/sci-libs/rocWMMA/files/rocWMMA-7.2.0-no-test-install.patch +++ /dev/null @@ -1,15 +0,0 @@ -Don't install tests into /usr/bin ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -114,11 +114,6 @@ function(add_rocwmma_test TEST_TARGET TEST_SOURCE) - add_test(NAME ${TEST_TARGET} COMMAND ${TEST_TARGET}) - set_property(TEST ${TEST_TARGET} PROPERTY SKIP_REGULAR_EXPRESSION "no ROCm-capable device" "unsupported host device") - -- rocm_install_targets( -- TARGETS ${TEST_TARGET} -- COMPONENT tests -- ) -- - get_target_property(EXE_NAME ${TEST_TARGET} RUNTIME_OUTPUT_NAME) - if(EXE_NAME STREQUAL "EXE_NAME-NOTFOUND") - get_target_property(EXE_NAME ${TEST_TARGET} OUTPUT_NAME) diff --git a/sci-libs/rocWMMA/metadata.xml b/sci-libs/rocWMMA/metadata.xml deleted file mode 100644 index 06b1e0e7e3b5..000000000000 --- a/sci-libs/rocWMMA/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rocWMMA</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/rocWMMA/rocWMMA-6.3.3.ebuild b/sci-libs/rocWMMA/rocWMMA-6.3.3.ebuild deleted file mode 100644 index 5a803b20ae90..000000000000 --- a/sci-libs/rocWMMA/rocWMMA-6.3.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 - -inherit cmake rocm - -DESCRIPTION="library for accelerating mixed precision matrix multiply-accumulate operations" -HOMEPAGE="https://github.com/ROCm/rocWMMA" -SRC_URI="https://github.com/ROCm/rocWMMA/archive/rocm-${PV}.tar.gz -> rocWMMA-${PV}.tar.gz" -S="${WORKDIR}/rocWMMA-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -DEPEND="dev-util/hip:${SLOT}" - -IUSE_TARGETS=( gfx908 gfx90a gfx940 gfx941 gfx942 gfx1100 gfx1101 gfx1102 ) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -ROCM_USEDEP_OPTFLAGS=${IUSE_TARGETS[*]/%/(-)?} -ROCM_USEDEP=${ROCM_USEDEP_OPTFLAGS// /,} -ROCM_REQUIRED_USE=" || ( ${IUSE_TARGETS[*]} )" - -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] - ) - dev-build/rocm-cmake -" - -IUSE="${IUSE_TARGETS[*]/#/+} test" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-no-test-install.patch -) - -src_prepare() { - # unknown arguments for hipcc - sed -e "s/ -parallel-jobs=4//" \ - -e "s/ -Xclang -fallow-half-arguments-and-returns//" \ - -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_SYMLINK_LIBS=OFF - -DROCWMMA_BUILD_SAMPLES=OFF - -DROCWMMA_BUILD_TESTS="$(usex test)" - ) - use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON) - cmake_src_configure -} - -src_test() { - check_amdgpu - - # Expected time on gfx1100 is 1260s (-j1) or 936s (-j32) - # Visible devices are limited to the first one to exclude APU (if not disabled in the BIOS) - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/rocWMMA/rocWMMA-6.4.3.ebuild b/sci-libs/rocWMMA/rocWMMA-6.4.3.ebuild deleted file mode 100644 index f6aafe273485..000000000000 --- a/sci-libs/rocWMMA/rocWMMA-6.4.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 - -inherit cmake rocm - -DESCRIPTION="library for accelerating mixed precision matrix multiply-accumulate operations" -HOMEPAGE="https://github.com/ROCm/rocWMMA" -SRC_URI="https://github.com/ROCm/rocWMMA/archive/rocm-${PV}.tar.gz -> rocWMMA-${PV}.tar.gz" -S="${WORKDIR}/rocWMMA-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -DEPEND="dev-util/hip:${SLOT}" - -IUSE_TARGETS=( gfx908 gfx90a gfx940 gfx941 gfx942 gfx1100 gfx1101 gfx1102 gfx1200 gfx1201 ) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -ROCM_USEDEP_OPTFLAGS=${IUSE_TARGETS[*]/%/(-)?} -ROCM_USEDEP=${ROCM_USEDEP_OPTFLAGS// /,} -ROCM_REQUIRED_USE=" || ( ${IUSE_TARGETS[*]} )" - -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/rocBLAS:${SLOT} - ) - dev-build/rocm-cmake -" - -IUSE="${IUSE_TARGETS[*]/#/+} test" - -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-no-test-install.patch -) - -src_prepare() { - # unknown arguments for hipcc - sed -e "s/ -parallel-jobs=4//" \ - -e "s/ -Xclang -fallow-half-arguments-and-returns//" \ - -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_SYMLINK_LIBS=OFF - -DROCWMMA_BUILD_SAMPLES=OFF - -DROCWMMA_BUILD_TESTS="$(usex test)" - ) - use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON) - cmake_src_configure -} - -src_test() { - check_amdgpu - - # Expected time on gfx1100 is 1260s (-j1) or 936s (-j32) - # Visible devices are limited to the first one to exclude APU (if not disabled in the BIOS) - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/rocWMMA/rocWMMA-7.0.2.ebuild b/sci-libs/rocWMMA/rocWMMA-7.0.2.ebuild deleted file mode 100644 index 0b8f746fc666..000000000000 --- a/sci-libs/rocWMMA/rocWMMA-7.0.2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 - -inherit cmake rocm - -DESCRIPTION="library for accelerating mixed precision matrix multiply-accumulate operations" -HOMEPAGE="https://github.com/ROCm/rocWMMA" -SRC_URI="https://github.com/ROCm/rocWMMA/archive/rocm-${PV}.tar.gz -> rocWMMA-${PV}.tar.gz" -S="${WORKDIR}/rocWMMA-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE_TARGETS=( gfx908 gfx90a gfx942 gfx950 gfx1100 gfx1101 gfx1102 gfx1151 gfx1200 gfx1201 ) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -ROCM_REQUIRED_USE=" || ( ${IUSE_TARGETS[*]} )" - -IUSE="${IUSE_TARGETS[*]/#/+} test" -REQUIRED_USE="test? ( ${ROCM_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" - -DEPEND=" - dev-util/hip:${SLOT} - dev-util/rocm-smi:${SLOT} -" -# interface dependencies of header library -RDEPEND="${DEPEND}" - -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/rocBLAS:${SLOT} - ) - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-no-test-install.patch -) - -src_prepare() { - # unknown arguments for hipcc - sed -e "s/ -parallel-jobs=4//" \ - -e "s/ -Xclang -fallow-half-arguments-and-returns//" \ - -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DROCWMMA_BUILD_SAMPLES=OFF - -DROCWMMA_BUILD_TESTS="$(usex test)" - ) - use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON) - cmake_src_configure -} - -src_test() { - check_amdgpu - - # Expected time on gfx1100 is 1260s (-j1) or 936s (-j32) - # Visible devices are limited to the first one to exclude APU (if not disabled in the BIOS) - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/rocWMMA/rocWMMA-7.1.0.ebuild b/sci-libs/rocWMMA/rocWMMA-7.1.0.ebuild deleted file mode 100644 index 0b8f746fc666..000000000000 --- a/sci-libs/rocWMMA/rocWMMA-7.1.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 - -inherit cmake rocm - -DESCRIPTION="library for accelerating mixed precision matrix multiply-accumulate operations" -HOMEPAGE="https://github.com/ROCm/rocWMMA" -SRC_URI="https://github.com/ROCm/rocWMMA/archive/rocm-${PV}.tar.gz -> rocWMMA-${PV}.tar.gz" -S="${WORKDIR}/rocWMMA-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE_TARGETS=( gfx908 gfx90a gfx942 gfx950 gfx1100 gfx1101 gfx1102 gfx1151 gfx1200 gfx1201 ) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -ROCM_REQUIRED_USE=" || ( ${IUSE_TARGETS[*]} )" - -IUSE="${IUSE_TARGETS[*]/#/+} test" -REQUIRED_USE="test? ( ${ROCM_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" - -DEPEND=" - dev-util/hip:${SLOT} - dev-util/rocm-smi:${SLOT} -" -# interface dependencies of header library -RDEPEND="${DEPEND}" - -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/rocBLAS:${SLOT} - ) - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.1.1-no-test-install.patch -) - -src_prepare() { - # unknown arguments for hipcc - sed -e "s/ -parallel-jobs=4//" \ - -e "s/ -Xclang -fallow-half-arguments-and-returns//" \ - -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DROCWMMA_BUILD_SAMPLES=OFF - -DROCWMMA_BUILD_TESTS="$(usex test)" - ) - use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON) - cmake_src_configure -} - -src_test() { - check_amdgpu - - # Expected time on gfx1100 is 1260s (-j1) or 936s (-j32) - # Visible devices are limited to the first one to exclude APU (if not disabled in the BIOS) - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/rocWMMA/rocWMMA-7.2.0.ebuild b/sci-libs/rocWMMA/rocWMMA-7.2.0.ebuild deleted file mode 100644 index f7ddd3acd444..000000000000 --- a/sci-libs/rocWMMA/rocWMMA-7.2.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_SKIP_GLOBALS=1 - -inherit cmake rocm - -DESCRIPTION="library for accelerating mixed precision matrix multiply-accumulate operations" -HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/rocwmma" -SRC_URI="https://github.com/ROCm/rocm-libraries/releases/download/rocm-${PV}/rocwmma.tar.gz -> rocwmma-${PV}.tar.gz" -S="${WORKDIR}/rocwmma" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -IUSE_TARGETS=( gfx908 gfx90a gfx942 gfx950 gfx1100 gfx1101 gfx1102 gfx1150 gfx1151 gfx1152 gfx1153 gfx1200 gfx1201 ) -IUSE_TARGETS=( "${IUSE_TARGETS[@]/#/amdgpu_targets_}" ) -ROCM_REQUIRED_USE=" || ( ${IUSE_TARGETS[*]} )" - -IUSE="${IUSE_TARGETS[*]/#/+} test" -REQUIRED_USE="test? ( ${ROCM_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" - -DEPEND=" - dev-util/hip:${SLOT} - dev-util/rocm-smi:${SLOT} -" -# interface dependencies of header library -RDEPEND="${DEPEND}" - -BDEPEND=" - test? ( - dev-cpp/gtest - sci-libs/rocBLAS:${SLOT} - ) - dev-build/rocm-cmake -" - -PATCHES=( - "${FILESDIR}"/${PN}-7.2.0-no-test-install.patch -) - -src_prepare() { - # unknown arguments for hipcc - sed -e "s/ -parallel-jobs=4//" \ - -e "s/ -Xclang -fallow-half-arguments-and-returns//" \ - -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - rocm_use_clang - - local mycmakeargs=( - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DROCWMMA_BUILD_SAMPLES=OFF - -DROCWMMA_BUILD_TESTS="$(usex test)" - ) - use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON) - cmake_src_configure -} - -src_test() { - check_amdgpu - - # Expected time on gfx1100 is 1260s (-j1) or 936s (-j32) - # Visible devices are limited to the first one to exclude APU (if not disabled in the BIOS) - HIP_VISIBLE_DEVICES=0 cmake_src_test -} diff --git a/sci-libs/rpp/Manifest b/sci-libs/rpp/Manifest deleted file mode 100644 index bb009d9a3dd1..000000000000 --- a/sci-libs/rpp/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST rpp-6.3.3.tar.gz 56093678 BLAKE2B de0933386d7c6a3cce88a36e22c25bea0cdda766dbc9a297bb6f5271b7a310670faa2d1dd3cc56f52e2752946f930ad02c4de2680dea3456e09ca97d4fa6c520 SHA512 024211ab05d95fbe0bb960a08b083e5b777d4842dd717a6280b1de84402426f5f9016e3b258ef81042281d775bd5504b285dd06d246f4d3479ffe57e59935184 -DIST rpp-6.4.3.tar.gz 66049573 BLAKE2B cf4a31c4595e3148030a75a4c47a3bcce99002880b273fbc151948eae32639bce21126be911f18b1832d4892756b39925d79423ce455597f892fee30271f0a80 SHA512 fda88addba7a3b8ea28bcdf559a28adbf4cfd522d7071ed64c4846777a6bf1ac1143ec43719f8f83f3b948e28658a1ccbc51eccada128ddfa73aed3002506ae9 -DIST rpp-7.0.2.tar.gz 73713099 BLAKE2B 939af01b4a63c659c708b17ab603ed122d8b99fd2fbb031d4ff00733f4ff36892df6014b6311bd731593085da2657442e5b8922da3c4c6edf09faa26fc1709b4 SHA512 26810258932e4d9c7b40375792f32a792f8a1b464d922b27753ee863002b9981b3a109e7e773f937808d5bdd2b87875d408e8d4e009d6b877fd31bd0224bbb17 -DIST rpp-7.1.0.tar.gz 77796456 BLAKE2B 3d7f7ba529f2e23fb25f0d87d9cf022cda24e3395fffa3515128e5fe70d8eb0e2329a3a1a067eb4fbb983bf6f3c8baae1f2f5fa6c6ade8da9d889bcf7c370557 SHA512 68707f3fb20e7a425fedff87c8eaaf0dac125bb833ef5855d4b5a619dbb22df79e289dcd7f533607e267f3f5abb2737ed50a912f217c6b0e04ca5c6b0092a928 -DIST rpp-7.2.0.tar.gz 89243041 BLAKE2B b584a2dd34e26d1e6d07f4b6aa8c9010f5f5c218ef074868a8a0b2a36fee367a4c705653a2214ac1259db9d474cb6951910711227be0dd766767d3787a85779b SHA512 9db2339be85d6e5d66cd72544c922888754be6bd1c79e0950acf65c0263539858483bcdf27a6049deaa42c6dc6e30282287ee9a887eec2c802dcde53f4b2240c diff --git a/sci-libs/rpp/metadata.xml b/sci-libs/rpp/metadata.xml deleted file mode 100644 index 8c062e51c03a..000000000000 --- a/sci-libs/rpp/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>lockalsash@gmail.com</email> - <name>Sv. Lockal</name> - <description>Primary maintainer</description> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>xgreenlandforwyy@gmail.com</email> - <name>Yiyang Wu</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - <description>General GPGPU stuff</description> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">ROCm/rpp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/rpp/rpp-6.3.3.ebuild b/sci-libs/rpp/rpp-6.3.3.ebuild deleted file mode 100644 index 4088548c165a..000000000000 --- a/sci-libs/rpp/rpp-6.3.3.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake flag-o-matic rocm - -DESCRIPTION="AMD ROCm Performance Primitives (RPP) high-performance computer vision library" -HOMEPAGE="https://github.com/ROCm/rpp" -SRC_URI="https://github.com/ROCm/rpp/archive/refs/tags/rocm-${PV}.tar.gz -> rpp-${PV}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# pkgcheck warning: RequiredUseDefaults -REQUIRED_USE=" - cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c - ${ROCM_REQUIRED_USE} -" - -RDEPEND=" - dev-util/hip:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - >=dev-libs/half-1.12.0-r1 - test? ( - dev-cpp/gtest - media-libs/opencv:= - ) -" - -IUSE="cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c test" -RESTRICT="!test? ( test )" - -DOCS=( CHANGELOG.md LICENSE README.md ) - -rcc_test_wrapper() { - local S="${WORKDIR}/${PN}-rocm-${PV}/utilities/rpp-unittests/HIP_NEW" - local CMAKE_USE_DIR="${S}" - local BUILD_DIR="${BUILD_DIR}/utilities/rpp-unittests/HIP_NEW" - cd "${S}" || die - $@ -} - -src_prepare() { - sed -e "s:\${ROCM_PATH}/llvm/bin/clang++:hipcc:" \ - -i CMakeLists.txt || die - - cmake_src_prepare - if use test; then - local PATCHES=() - rcc_test_wrapper cmake_src_prepare - fi -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_PATH=/usr - -DBACKEND=HIP - -DBUILD_WITH_AMD_ADVANCE=OFF - ) - - cmake_src_configure - - if use test; then - append-cxxflags -I"${S}/include" - append-ldflags -L"${BUILD_DIR}/lib64" - local mycmakeargs=(-DROCM_PATH=/usr) - use test && rcc_test_wrapper cmake_src_configure - fi -} - -src_compile() { - cmake_src_compile - use test && rcc_test_wrapper cmake_src_compile -} - -src_install() { - cmake_src_install - - # remove unneeded copy - rm -r "${ED}/usr/share/doc/${PF}-asan" || die -} - -src_test() { - check_amdgpu - - cd "${BUILD_DIR}"/utilities/rpp-unittests/HIP_NEW || die - for params in "0 0" "0 1" "1 1" "2 1" "5 1" "0 2" "0 3" "0 4" "0 5" "0 8"; do - LD_LIBRARY_PATH="${BUILD_DIR}"/lib64 ./uniqueFunctionalities_hip $params || die - done -} diff --git a/sci-libs/rpp/rpp-6.4.3.ebuild b/sci-libs/rpp/rpp-6.4.3.ebuild deleted file mode 100644 index c88a9cc31903..000000000000 --- a/sci-libs/rpp/rpp-6.4.3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake flag-o-matic rocm - -DESCRIPTION="AMD ROCm Performance Primitives (RPP) high-performance computer vision library" -HOMEPAGE="https://github.com/ROCm/rpp" -SRC_URI="https://github.com/ROCm/rpp/archive/refs/tags/rocm-${PV}.tar.gz -> rpp-${PV}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# pkgcheck warning: RequiredUseDefaults -REQUIRED_USE=" - cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c - ${ROCM_REQUIRED_USE} -" - -RDEPEND=" - dev-util/hip:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - >=dev-libs/half-1.12.0-r1 - test? ( - dev-cpp/gtest - media-libs/opencv:= - ) -" - -IUSE="cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c test" -RESTRICT="!test? ( test )" - -DOCS=( CHANGELOG.md LICENSE README.md ) - -rcc_test_wrapper() { - local S="${WORKDIR}/${PN}-rocm-${PV}/utilities/rpp-unittests/HIP_NEW" - local CMAKE_USE_DIR="${S}" - local BUILD_DIR="${BUILD_DIR}/utilities/rpp-unittests/HIP_NEW" - cd "${S}" || die - $@ -} - -src_prepare() { - cmake_src_prepare - if use test; then - local PATCHES=() - rcc_test_wrapper cmake_src_prepare - fi -} - -src_configure() { - rocm_use_hipcc - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_PATH=/usr - -DBACKEND=HIP - ) - - cmake_src_configure - - if use test; then - append-cxxflags -I"${S}/include" - append-ldflags -L"${BUILD_DIR}/lib64" - local mycmakeargs=(-DROCM_PATH=/usr) - use test && rcc_test_wrapper cmake_src_configure - fi -} - -src_compile() { - cmake_src_compile - use test && rcc_test_wrapper cmake_src_compile -} - -src_install() { - cmake_src_install - - # remove unneeded copy - rm -r "${ED}/usr/share/doc/${PF}-asan" || die -} - -src_test() { - check_amdgpu - - cd "${BUILD_DIR}"/utilities/rpp-unittests/HIP_NEW || die - for params in "0 0" "0 1" "1 1" "2 1" "5 1" "0 2" "0 3" "0 4" "0 5" "0 8"; do - LD_LIBRARY_PATH="${BUILD_DIR}"/lib64 ./uniqueFunctionalities_hip $params || die - done -} diff --git a/sci-libs/rpp/rpp-7.0.2.ebuild b/sci-libs/rpp/rpp-7.0.2.ebuild deleted file mode 100644 index 69c5f32b1340..000000000000 --- a/sci-libs/rpp/rpp-7.0.2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake flag-o-matic rocm - -DESCRIPTION="AMD ROCm Performance Primitives (RPP) high-performance computer vision library" -HOMEPAGE="https://github.com/ROCm/rpp" -SRC_URI="https://github.com/ROCm/rpp/archive/refs/tags/rocm-${PV}.tar.gz -> rpp-${PV}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# pkgcheck warning: RequiredUseDefaults -REQUIRED_USE=" - cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c - ${ROCM_REQUIRED_USE} -" - -RDEPEND=" - dev-util/hip:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - >=dev-libs/half-1.12.0-r1 - test? ( - dev-cpp/gtest - media-libs/opencv:= - ) -" - -IUSE="cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c test" -RESTRICT="!test? ( test )" - -DOCS=( CHANGELOG.md LICENSE README.md ) - -rcc_test_wrapper() { - local S="${WORKDIR}/${PN}-rocm-${PV}/utilities/rpp-unittests/HIP_NEW" - local CMAKE_USE_DIR="${S}" - local BUILD_DIR="${BUILD_DIR}/utilities/rpp-unittests/HIP_NEW" - cd "${S}" || die - $@ -} - -src_prepare() { - sed -e "s/COMPONENT asan/COMPONENT asan EXCLUDE_FROM_ALL/" -i CMakeLists.txt || die - cmake_src_prepare - if use test; then - local PATCHES=() - rcc_test_wrapper cmake_src_prepare - fi -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-deprecated-ofast -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_PATH=/usr - -DBACKEND=HIP - -DRPP_AUDIO_SUPPORT=ON - -DRPP_LEGACY_SUPPORT=OFF - ) - - cmake_src_configure - - if use test; then - append-cxxflags -I"${S}/include" - append-ldflags -L"${BUILD_DIR}/lib64" - local mycmakeargs=(-DROCM_PATH=/usr) - use test && rcc_test_wrapper cmake_src_configure - fi -} - -src_compile() { - cmake_src_compile - use test && rcc_test_wrapper cmake_src_compile -} - -src_test() { - check_amdgpu - - cd "${BUILD_DIR}"/utilities/rpp-unittests/HIP_NEW || die - for params in "0 0" "0 1" "1 1" "2 1" "5 1" "0 2" "0 3" "0 4" "0 5" "0 8"; do - LD_LIBRARY_PATH="${BUILD_DIR}"/lib64 ./uniqueFunctionalities_hip $params || die - done -} diff --git a/sci-libs/rpp/rpp-7.1.0.ebuild b/sci-libs/rpp/rpp-7.1.0.ebuild deleted file mode 100644 index 69c5f32b1340..000000000000 --- a/sci-libs/rpp/rpp-7.1.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake flag-o-matic rocm - -DESCRIPTION="AMD ROCm Performance Primitives (RPP) high-performance computer vision library" -HOMEPAGE="https://github.com/ROCm/rpp" -SRC_URI="https://github.com/ROCm/rpp/archive/refs/tags/rocm-${PV}.tar.gz -> rpp-${PV}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# pkgcheck warning: RequiredUseDefaults -REQUIRED_USE=" - cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c - ${ROCM_REQUIRED_USE} -" - -RDEPEND=" - dev-util/hip:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-build/cmake-3.22 - >=dev-libs/half-1.12.0-r1 - test? ( - dev-cpp/gtest - media-libs/opencv:= - ) -" - -IUSE="cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c test" -RESTRICT="!test? ( test )" - -DOCS=( CHANGELOG.md LICENSE README.md ) - -rcc_test_wrapper() { - local S="${WORKDIR}/${PN}-rocm-${PV}/utilities/rpp-unittests/HIP_NEW" - local CMAKE_USE_DIR="${S}" - local BUILD_DIR="${BUILD_DIR}/utilities/rpp-unittests/HIP_NEW" - cd "${S}" || die - $@ -} - -src_prepare() { - sed -e "s/COMPONENT asan/COMPONENT asan EXCLUDE_FROM_ALL/" -i CMakeLists.txt || die - cmake_src_prepare - if use test; then - local PATCHES=() - rcc_test_wrapper cmake_src_prepare - fi -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-deprecated-ofast -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_PATH=/usr - -DBACKEND=HIP - -DRPP_AUDIO_SUPPORT=ON - -DRPP_LEGACY_SUPPORT=OFF - ) - - cmake_src_configure - - if use test; then - append-cxxflags -I"${S}/include" - append-ldflags -L"${BUILD_DIR}/lib64" - local mycmakeargs=(-DROCM_PATH=/usr) - use test && rcc_test_wrapper cmake_src_configure - fi -} - -src_compile() { - cmake_src_compile - use test && rcc_test_wrapper cmake_src_compile -} - -src_test() { - check_amdgpu - - cd "${BUILD_DIR}"/utilities/rpp-unittests/HIP_NEW || die - for params in "0 0" "0 1" "1 1" "2 1" "5 1" "0 2" "0 3" "0 4" "0 5" "0 8"; do - LD_LIBRARY_PATH="${BUILD_DIR}"/lib64 ./uniqueFunctionalities_hip $params || die - done -} diff --git a/sci-libs/rpp/rpp-7.2.0.ebuild b/sci-libs/rpp/rpp-7.2.0.ebuild deleted file mode 100644 index 83afee2f65cb..000000000000 --- a/sci-libs/rpp/rpp-7.2.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake flag-o-matic rocm - -DESCRIPTION="AMD ROCm Performance Primitives (RPP) high-performance computer vision library" -HOMEPAGE="https://github.com/ROCm/rpp" -SRC_URI="https://github.com/ROCm/rpp/archive/refs/tags/rocm-${PV}.tar.gz -> rpp-${PV}.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -# pkgcheck warning: RequiredUseDefaults -REQUIRED_USE=" - cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c - ${ROCM_REQUIRED_USE} -" - -RDEPEND=" - dev-util/hip:${SLOT} -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-libs/half-1.12.0-r1 - test? ( - dev-cpp/gtest - media-libs/opencv:= - ) -" - -IUSE="cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_f16c test" -RESTRICT="!test? ( test )" - -DOCS=( CHANGELOG.md LICENSE README.md ) - -rcc_test_wrapper() { - local S="${WORKDIR}/${PN}-rocm-${PV}/utilities/rpp-unittests/HIP_NEW" - local CMAKE_USE_DIR="${S}" - local BUILD_DIR="${BUILD_DIR}/utilities/rpp-unittests/HIP_NEW" - cd "${S}" || die - $@ -} - -src_prepare() { - sed -e "s/COMPONENT asan/COMPONENT asan EXCLUDE_FROM_ALL/" -i CMakeLists.txt || die - cmake_src_prepare - if use test; then - local PATCHES=() - rcc_test_wrapper cmake_src_prepare - fi -} - -src_configure() { - rocm_use_clang - - # too many warnings - append-cxxflags -Wno-deprecated-ofast -Wno-unused-value - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DGPU_TARGETS="$(get_amdgpu_flags)" - -DROCM_PATH=/usr - -DBACKEND=HIP - -DRPP_AUDIO_SUPPORT=ON - -DRPP_LEGACY_SUPPORT=OFF - ) - - cmake_src_configure - - if use test; then - append-cxxflags -I"${S}/include" - append-ldflags -L"${BUILD_DIR}/lib64" - local mycmakeargs=(-DROCM_PATH=/usr) - use test && rcc_test_wrapper cmake_src_configure - fi -} - -src_compile() { - cmake_src_compile - use test && rcc_test_wrapper cmake_src_compile -} - -src_test() { - check_amdgpu - - cd "${BUILD_DIR}"/utilities/rpp-unittests/HIP_NEW || die - for params in "0 0" "0 1" "1 1" "2 1" "5 1" "0 2" "0 3" "0 4" "0 5" "0 8"; do - LD_LIBRARY_PATH="${BUILD_DIR}"/lib64 ./uniqueFunctionalities_hip $params || die - done -} diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest deleted file mode 100644 index bcdf76d1a00b..000000000000 --- a/sci-libs/rtabmap/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST rtabmap-0.21.13.tar.gz 22123997 BLAKE2B 166c31ac915519ba219cea4c7b12b603164b519dae5d60d5e784f41849bef339792d3384cda0e961a670275887b56a6d0689d08a9307dd217c9568bbd91a199f SHA512 aa7cb389e426c75b69243ec3f4789c48c1cff6103e752df1f69710138213d2c8fbd9f0dbe226ed9eee159db71ed99723adabf5f4323bfb9317f83a8dc7c5647a diff --git a/sci-libs/rtabmap/metadata.xml b/sci-libs/rtabmap/metadata.xml deleted file mode 100644 index 96a27a14dfb3..000000000000 --- a/sci-libs/rtabmap/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>aballier@gentoo.org</email> - <name>Alexis Ballier</name> - </maintainer> - <use> - <flag name="openni2">Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI2</pkg>.</flag> - </use> - <upstream> - <remote-id type="github">introlab/rtabmap</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/rtabmap/rtabmap-0.21.13.ebuild b/sci-libs/rtabmap/rtabmap-0.21.13.ebuild deleted file mode 100644 index b0cf07cfac2e..000000000000 --- a/sci-libs/rtabmap/rtabmap-0.21.13.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VER_SUFFIX=noetic -inherit cmake - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/introlab/rtabmap" -else - SRC_URI="https://github.com/introlab/rtabmap/archive/refs/tags/${PV}-${VER_SUFFIX}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${P}-${VER_SUFFIX}" - KEYWORDS="~amd64" -fi - -DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)" -HOMEPAGE="https://introlab.github.io/rtabmap/" - -LICENSE="BSD" -SLOT="0" -IUSE="examples ieee1394 openni2 qt6" - -RDEPEND=" - dev-cpp/yaml-cpp:= - dev-libs/boost:= - media-libs/opencv:=[qt6(-)?] - sci-libs/octomap:= - sci-libs/pcl:=[openni,vtk,qt6(-)?] - sci-libs/vtk:=[qt6(-)?] - virtual/zlib:= - ieee1394? ( media-libs/libdc1394:2= ) - openni2? ( dev-libs/OpenNI2 ) - qt6? ( - dev-qt/qtbase:6[gui,widgets] - dev-qt/qtsvg:6 - ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DRTABMAP_QT_VERSION=6 - -DWITH_QT=$(usex qt6) - -DWITH_DC1394=$(usex ieee1394) - -DWITH_OPENNI2=$(usex openni2) - -DBUILD_EXAMPLES=$(usex examples) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - # Needed since we force ros crawling to be done only in - # /usr/share/ros_packages/ - insinto /usr/share/ros_packages/${PN} - doins "${ED}/usr/share/${PN}/package.xml" -} diff --git a/sci-libs/rtabmap/rtabmap-9999.ebuild b/sci-libs/rtabmap/rtabmap-9999.ebuild deleted file mode 100644 index b0cf07cfac2e..000000000000 --- a/sci-libs/rtabmap/rtabmap-9999.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VER_SUFFIX=noetic -inherit cmake - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/introlab/rtabmap" -else - SRC_URI="https://github.com/introlab/rtabmap/archive/refs/tags/${PV}-${VER_SUFFIX}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${P}-${VER_SUFFIX}" - KEYWORDS="~amd64" -fi - -DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)" -HOMEPAGE="https://introlab.github.io/rtabmap/" - -LICENSE="BSD" -SLOT="0" -IUSE="examples ieee1394 openni2 qt6" - -RDEPEND=" - dev-cpp/yaml-cpp:= - dev-libs/boost:= - media-libs/opencv:=[qt6(-)?] - sci-libs/octomap:= - sci-libs/pcl:=[openni,vtk,qt6(-)?] - sci-libs/vtk:=[qt6(-)?] - virtual/zlib:= - ieee1394? ( media-libs/libdc1394:2= ) - openni2? ( dev-libs/OpenNI2 ) - qt6? ( - dev-qt/qtbase:6[gui,widgets] - dev-qt/qtsvg:6 - ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DRTABMAP_QT_VERSION=6 - -DWITH_QT=$(usex qt6) - -DWITH_DC1394=$(usex ieee1394) - -DWITH_OPENNI2=$(usex openni2) - -DBUILD_EXAMPLES=$(usex examples) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - # Needed since we force ros crawling to be done only in - # /usr/share/ros_packages/ - insinto /usr/share/ros_packages/${PN} - doins "${ED}/usr/share/${PN}/package.xml" -} diff --git a/sci-libs/scalapack/Manifest b/sci-libs/scalapack/Manifest deleted file mode 100644 index 5e0156db5e06..000000000000 --- a/sci-libs/scalapack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST scalapack-2.2.0_p20240704.tar.gz 4776451 BLAKE2B 927f6af5196c350cb48bdc0e2a6af40e8212045150b976367852926decabafa13dd5a9b680ad4aa1fce051b5fe3987ee9c034042ffdbba7fde4175847313f96b SHA512 ddd37cd4291f00fbdd9c27d23849238d2f32807b0fba86301cb73a6463f1b4feaf97a5c492ab6ac1c01139f0d1d7d06af898ec90366e5812b6524538812a53ea diff --git a/sci-libs/scalapack/files/scalapack-2.2.0-cmake.patch b/sci-libs/scalapack/files/scalapack-2.2.0-cmake.patch deleted file mode 100644 index 63168d031fbe..000000000000 --- a/sci-libs/scalapack/files/scalapack-2.2.0-cmake.patch +++ /dev/null @@ -1,66 +0,0 @@ -https://github.com/Reference-ScaLAPACK/scalapack/commit/41ac62c28fab33cd9ccc1b010c9c215b5f05201b -https://github.com/Reference-ScaLAPACK/scalapack/commit/afbc20a9465b79dea14f65c76090fbaecc9c417b - -From 41ac62c28fab33cd9ccc1b010c9c215b5f05201b Mon Sep 17 00:00:00 2001 -From: Cristian Le <git@lecris.dev> -Date: Mon, 31 Mar 2025 11:03:15 +0200 -Subject: [PATCH] Adjust CI to test for CMake versions - ---- - BLACS/INSTALL/CMakeLists.txt | 2 +- - CMakeLists.txt | 2 +- - 3 files changed, 19 insertions(+), 4 deletions(-) - -diff --git a/BLACS/INSTALL/CMakeLists.txt b/BLACS/INSTALL/CMakeLists.txt -index c75773cd..257813e8 100644 ---- a/BLACS/INSTALL/CMakeLists.txt -+++ b/BLACS/INSTALL/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8) -+cmake_minimum_required(VERSION 2.8...4.0) - project(INSTALL C Fortran) - - add_executable(xintface Fintface.f Cintface.c) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0d599305..23f8ea70 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.9) -+cmake_minimum_required(VERSION 3.9...4.0) - - project(SCALAPACK VERSION 2.2.2 LANGUAGES C Fortran) - - -From afbc20a9465b79dea14f65c76090fbaecc9c417b Mon Sep 17 00:00:00 2001 -From: Cristian Le <git@lecris.dev> -Date: Mon, 31 Mar 2025 18:30:54 +0200 -Subject: [PATCH] Bump minimum CMake to 3.26 - -Signed-off-by: Cristian Le <git@lecris.dev> ---- - BLACS/INSTALL/CMakeLists.txt | 2 +- - CMakeLists.txt | 2 +- - 3 files changed, 6 insertions(+), 14 deletions(-) - -diff --git a/BLACS/INSTALL/CMakeLists.txt b/BLACS/INSTALL/CMakeLists.txt -index 257813e8..acbb7430 100644 ---- a/BLACS/INSTALL/CMakeLists.txt -+++ b/BLACS/INSTALL/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8...4.0) -+cmake_minimum_required(VERSION 3.26...4.0) - project(INSTALL C Fortran) - - add_executable(xintface Fintface.f Cintface.c) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d59f7936..c80c11ee 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.9...4.0) -+cmake_minimum_required(VERSION 3.26...4.0) - - project(SCALAPACK VERSION 2.2.2 LANGUAGES C Fortran) - - diff --git a/sci-libs/scalapack/metadata.xml b/sci-libs/scalapack/metadata.xml deleted file mode 100644 index 09aa43fb3d1e..000000000000 --- a/sci-libs/scalapack/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines - redesigned for distributed memory MIMD parallel computers. It is currently - written in a Single-Program-Multiple-Data style using explicit message - passing for interprocessor communication. It assumes matrices are laid out - in a two-dimensional block cyclic decomposition. - </longdescription> - <upstream> - <remote-id type="github">Reference-ScaLAPACK/scalapack</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild b/sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild deleted file mode 100644 index d842857dfd7f..000000000000 --- a/sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -# 2024/07/04 master branch containing 45 commits on top of 2.2.0 -COMMIT_HASH="0234af94c6578c53ac4c19f2925eb6e5c4ad6f0f" - -DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous (MPI) computing" -HOMEPAGE="https://www.netlib.org/scalapack/" -SRC_URI="https://github.com/Reference-ScaLAPACK/${PN}//archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT_HASH}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - virtual/lapack - virtual/mpi[fortran] -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.0-cmake.patch -) - -src_prepare() { - cmake_src_prepare - - if use static-libs; then - mkdir "${WORKDIR}/${PN}_static" || die - fi - # mpi does not have a pc file - sed -i -e 's/mpi//' scalapack.pc.in || die -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/862924 - # https://github.com/Reference-ScaLAPACK/scalapack/issues/95 - # - # Do not trust it for LTO either. - append-flags -fno-strict-aliasing - filter-lto - - # https://github.com/Reference-ScaLAPACK/scalapack/issues/31 - append-cflags -std=gnu89 - - scalapack_configure() { - local mycmakeargs=( - -DUSE_OPTIMIZED_LAPACK_BLAS=ON - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" - -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)" - -DBUILD_TESTING=$(usex test) - $@ - ) - cmake_src_configure - } - - scalapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF - use static-libs && \ - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" scalapack_configure \ - -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -} - -src_compile() { - cmake_src_compile - use static-libs && \ - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake_src_compile -} - -src_install() { - cmake_src_install - use static-libs && \ - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake_src_install - - insinto /usr/include/blacs - doins BLACS/SRC/*.h - - insinto /usr/include/scalapack - doins PBLAS/SRC/*.h -} diff --git a/sci-libs/scotch/Manifest b/sci-libs/scotch/Manifest deleted file mode 100644 index ee0a3d23531e..000000000000 --- a/sci-libs/scotch/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST scotch-v7.0.11.tar.bz2 7990752 BLAKE2B 1b2aee2f5baf16be7b8f44a07241c97e9e88d6ed38a289760969491388fbc5e85a1a3e48badd74657187078f61a6deb722eaf30ccc556c951103544ecde2bd0a SHA512 3477d365fdf5a022828afbdd112525f98242deddb8a3dacb1c7577ba2a4c1248eeae3f019452a0e2ffe32263732d37518db0dfc7337f3b26b0e91eb4e7620680 -DIST scotch-v7.0.8.tar.bz2 7310306 BLAKE2B 06a4edcd6b8c729c84a37887a7edde14fb1941a691189fd577dea562e8d853174103e7321350b138bc67d0175b3da706dc68d89dfae899f5656a24b21936afc2 SHA512 83e9a4b601bc7e7405a427ee6b429b02700b8e8fa54d699eb5351110eaea3ec6b6768b6f9d925c6295215fc9a89a4b05cc1dde358096ab02a838b5233c7c4ca1 diff --git a/sci-libs/scotch/files/scotch-7.0.1-fixtest.patch b/sci-libs/scotch/files/scotch-7.0.1-fixtest.patch deleted file mode 100644 index f86ee0ddd4a2..000000000000 --- a/sci-libs/scotch/files/scotch-7.0.1-fixtest.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/check/Makefile 2026-05-31 21:22:26.421017889 +0200 -+++ b/src/check/Makefile 2026-05-31 21:22:57.352697002 +0200 -@@ -368,7 +368,7 @@ - - check_scotch_graph_dump : test_scotch_graph_dump2 - $(EXECS) ./test_scotch_graph_dump2 $(TMPDIR)/m16x16_b1.grf -- $(PROGDIFF) "data/bump_b1.grf" "$(TMPDIR)/bump_b1.grf" -+ $(PROGDIFF) "data/m16x16_b1.grf" "$(TMPDIR)/m16x16_b1.grf" - - test_scotch_graph_dump2 : test_scotch_graph_dump2.c \ - $(SCOTCHLIBDIR)/libscotch$(LIB) diff --git a/sci-libs/scotch/metadata.xml b/sci-libs/scotch/metadata.xml deleted file mode 100644 index be2e61baf3fd..000000000000 --- a/sci-libs/scotch/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<use> - <flag name="int64">Build the 64 bits integer library (needed for > 2^31 vertices)</flag> - <flag name="tools">Provides the graph, mesh, architecture, mapping/ordering, output handling programs (see Scotch User's Guide).</flag> -</use> -<longdescription lang="en"> - SCOTCH is a software package and libraries for graph, mesh and - hypergraph partitioning, static mapping, and sparse matrix block - ordering. - Its purpose of Scotch is to apply graph theory, with a divide and - conquer approach, to scientific computing problems such as graph and - mesh partitioning, static mapping, and sparse matrix ordering, in - application domains ranging from structural mechanics to operating - systems or bio-chemistry. - The SCOTCH distribution is a set of programs and libraries which - implement the static mapping and sparse matrix reordering algorithms - developed within the SCOTCH project. -</longdescription> -</pkgmetadata> diff --git a/sci-libs/scotch/scotch-7.0.11.ebuild b/sci-libs/scotch/scotch-7.0.11.ebuild deleted file mode 100644 index f8917e814d5e..000000000000 --- a/sci-libs/scotch/scotch-7.0.11.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs flag-o-matic multilib - -SOVER=$(ver_cut 1) - -DESCRIPTION="Software for graph, mesh and hypergraph partitioning" -HOMEPAGE="https://www.labri.u-bordeaux.fr/perso/pelegrin/scotch/ https://gitlab.inria.fr/scotch/scotch" -SRC_URI="https://gitlab.inria.fr/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" -S="${WORKDIR}/${PN}-v${PV}" - -LICENSE="CeCILL-2" -SLOT="0/${SOVER}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="doc int64 mpi static-libs test tools +threads" -# bug #532620 -REQUIRED_USE="test? ( threads )" -RESTRICT="!test? ( test )" - -DEPEND=" - virtual/zlib:= - mpi? ( virtual/mpi )" -RDEPEND="${DEPEND}" - -static_to_shared() { - local libstatic=${1}; shift - local libname=$(basename ${libstatic%.a}) - local soname=${libname}$(get_libname ${SOVER}) - local libdir=$(dirname ${libstatic}) - - einfo "Making ${soname} from ${libstatic}" - if [[ ${CHOST} == *-darwin* ]] ; then - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ - -Wl,-all_load -Wl,${libstatic} \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - else - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - ln -s ${soname} ${libdir}/${libname}$(get_libname) || die - fi -} - -src_prepare() { - default - use int64 && append-cflags -DIDXSIZE64 - if use threads; then - append-cflags "-DSCOTCH_PTHREAD_NUMBER=$(nproc)" - else - append-cflags "-DSCOTCH_PTHREAD_NUMBER=1" - sed -i \ - -e 's/ -DSCOTCH_PTHREAD//' \ - src/Make.inc/Makefile.inc.i686_pc_linux3 || die - fi - - # Be careful with replacing here, bug #577272 - sed -e "s/= gcc$/= $(tc-getCC)/" \ - -e "s/-O3/${CFLAGS} -pthread/" \ - -e "s/= ar$/= $(tc-getAR)/" \ - -e "s/= ranlib$/= $(tc-getRANLIB)/" \ - -e "/^LDFLAGS/ s/$/ ${LDFLAGS}/" \ - src/Make.inc/Makefile.inc.i686_pc_linux3 > src/Makefile.inc || die -} - -src_compile() { - emake -C src CLIBFLAGS=-fPIC scotch esmumps - static_to_shared lib/libscotcherr.a - static_to_shared lib/libscotcherrexit.a - static_to_shared lib/libscotch.a -Llib -lz -lm -lrt -lpthread -lscotcherr - static_to_shared lib/libesmumps.a -Llib -lscotch - static_to_shared lib/libscotchmetisv3.a -Llib -lscotch - static_to_shared lib/libscotchmetisv5.a -Llib -lscotch - - if use mpi; then - emake -C src CLIBFLAGS=-fPIC ptscotch ptesmumps - export LINK=mpicc - static_to_shared lib/libptscotcherr.a - static_to_shared lib/libptscotcherrexit.a - static_to_shared lib/libptscotch.a -Llib -lscotch -lptscotcherr -lz -lm -lrt - static_to_shared lib/libptesmumps.a -Llib -lscotch -lptscotch - fi - if use static-libs; then - emake -C src clean - emake -C src - use mpi && emake -C src ptscotch - fi -} - -src_test() { - tc-export FC - LD_LIBRARY_PATH="${S}/lib" emake -C src check -} - -src_install() { - dolib.so lib/lib*$(get_libname)* - use static-libs && dolib.a lib/*.a - - # Install metis headers into a subdir - # to allow usage of real metis and scotch - # in the same code - insinto /usr/include/scotch/metis - doins include/*metis* - rm include/*metis* || die - - insinto /usr/include/scotch - doins include/* - - cat <<-EOF > scotchmetis.pc || die - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: scotchmetis - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -lscotchmetis -lscotcherr -lscotch - Private: -lm -lz -lrt - Cflags: -I\${includedir}/scotch/metis - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins scotchmetis.pc - - # Not sure it is actually a full replacement of metis - #alternatives_for metis scotch 0 \ - # /usr/$(get_libdir)/pkgconfig/metis.pc scotchmetis.pc - - if use mpi; then - cat <<-EOF > ptscotchparmetis.pc || die - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ptscotchparmetis - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -lptscotchparmetis -lptscotcherr -lptscotch - Private: -lm -lz -lrt - Cflags: -I\${includedir}/scotch/metis - Requires: scotchmetis - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ptscotchparmetis.pc - # Not sure it is actually a full replacement of parmetis - #alternatives_for metis-mpi ptscotch 0 \ - # /usr/$(get_libdir)/pkgconfig/metis-mpi.pc ptscotchparmetis.pc - fi - - dodoc README.txt - - if use tools; then - local b m - pushd bin > /dev/null || die - for b in *; do - newbin ${b} scotch_${b} - done - popd > /dev/null || die - - pushd man/man1 > /dev/null || die - for m in *.1; do - newman ${m} scotch_${m} - done - popd > /dev/null || die - fi - - use doc && dodoc doc/*.pdf -} diff --git a/sci-libs/scotch/scotch-7.0.8.ebuild b/sci-libs/scotch/scotch-7.0.8.ebuild deleted file mode 100644 index d15491ac11a7..000000000000 --- a/sci-libs/scotch/scotch-7.0.8.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs flag-o-matic multilib - -SOVER=$(ver_cut 1) - -DESCRIPTION="Software for graph, mesh and hypergraph partitioning" -HOMEPAGE="https://www.labri.u-bordeaux.fr/perso/pelegrin/scotch/ https://gitlab.inria.fr/scotch/scotch" -SRC_URI="https://gitlab.inria.fr/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" -S="${WORKDIR}/${PN}-v${PV}" - -LICENSE="CeCILL-2" -SLOT="0/${SOVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86" -IUSE="doc int64 mpi static-libs test tools +threads" -# bug #532620 -REQUIRED_USE="test? ( threads )" -RESTRICT="!test? ( test )" - -DEPEND=" - virtual/zlib:= - mpi? ( virtual/mpi )" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-7.0.1-fixtest.patch ) - -static_to_shared() { - local libstatic=${1}; shift - local libname=$(basename ${libstatic%.a}) - local soname=${libname}$(get_libname ${SOVER}) - local libdir=$(dirname ${libstatic}) - - einfo "Making ${soname} from ${libstatic}" - if [[ ${CHOST} == *-darwin* ]] ; then - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ - -Wl,-all_load -Wl,${libstatic} \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - else - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - ln -s ${soname} ${libdir}/${libname}$(get_libname) || die - fi -} - -src_prepare() { - default - use int64 && append-cflags -DIDXSIZE64 - if use threads; then - append-cflags "-DSCOTCH_PTHREAD_NUMBER=$(nproc)" - else - append-cflags "-DSCOTCH_PTHREAD_NUMBER=1" - sed -i \ - -e 's/ -DSCOTCH_PTHREAD//' \ - src/Make.inc/Makefile.inc.i686_pc_linux3 || die - fi - append-cflags "-D_GNU_SOURCE" # Fix build on musl bug #834726 - - # Be careful with replacing here, bug #577272 - sed -e "s/= gcc$/= $(tc-getCC)/" \ - -e "s/-O3/${CFLAGS} -pthread/" \ - -e "s/= ar$/= $(tc-getAR)/" \ - -e "s/= ranlib$/= $(tc-getRANLIB)/" \ - -e "/^LDFLAGS/ s/$/ ${LDFLAGS}/" \ - src/Make.inc/Makefile.inc.i686_pc_linux3 > src/Makefile.inc || die -} - -src_compile() { - emake -C src CLIBFLAGS=-fPIC scotch esmumps - static_to_shared lib/libscotcherr.a - static_to_shared lib/libscotcherrexit.a - static_to_shared lib/libscotch.a -Llib -lz -lm -lrt -lpthread -lscotcherr - static_to_shared lib/libesmumps.a -Llib -lscotch - static_to_shared lib/libscotchmetisv3.a -Llib -lscotch - static_to_shared lib/libscotchmetisv5.a -Llib -lscotch - - if use mpi; then - emake -C src CLIBFLAGS=-fPIC ptscotch ptesmumps - export LINK=mpicc - static_to_shared lib/libptscotcherr.a - static_to_shared lib/libptscotcherrexit.a - static_to_shared lib/libptscotch.a -Llib -lscotch -lptscotcherr -lz -lm -lrt - static_to_shared lib/libptesmumps.a -Llib -lscotch -lptscotch - fi - if use static-libs; then - emake -C src clean - emake -C src - use mpi && emake -C src ptscotch - fi -} - -src_test() { - tc-export FC - LD_LIBRARY_PATH="${S}/lib" emake -C src check -} - -src_install() { - dolib.so lib/lib*$(get_libname)* - use static-libs && dolib.a lib/*.a - - # Install metis headers into a subdir - # to allow usage of real metis and scotch - # in the same code - insinto /usr/include/scotch/metis - doins include/*metis* - rm include/*metis* || die - - insinto /usr/include/scotch - doins include/* - - cat <<-EOF > scotchmetis.pc || die - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: scotchmetis - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -lscotchmetis -lscotcherr -lscotch - Private: -lm -lz -lrt - Cflags: -I\${includedir}/scotch/metis - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins scotchmetis.pc - - # Not sure it is actually a full replacement of metis - #alternatives_for metis scotch 0 \ - # /usr/$(get_libdir)/pkgconfig/metis.pc scotchmetis.pc - - if use mpi; then - cat <<-EOF > ptscotchparmetis.pc || die - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ptscotchparmetis - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -lptscotchparmetis -lptscotcherr -lptscotch - Private: -lm -lz -lrt - Cflags: -I\${includedir}/scotch/metis - Requires: scotchmetis - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ptscotchparmetis.pc - # Not sure it is actually a full replacement of parmetis - #alternatives_for metis-mpi ptscotch 0 \ - # /usr/$(get_libdir)/pkgconfig/metis-mpi.pc ptscotchparmetis.pc - fi - - dodoc README.txt - - if use tools; then - local b m - pushd bin > /dev/null || die - for b in *; do - newbin ${b} scotch_${b} - done - popd > /dev/null || die - - pushd man/man1 > /dev/null || die - for m in *.1; do - newman ${m} scotch_${m} - done - popd > /dev/null || die - fi - - use doc && dodoc doc/*.pdf -} diff --git a/sci-libs/shapelib/Manifest b/sci-libs/shapelib/Manifest deleted file mode 100644 index cb2bd7c8559c..000000000000 --- a/sci-libs/shapelib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST shapelib-1.6.0.tar.gz 528882 BLAKE2B 02561b947ede10dcbb04ebe4d007b99ac2421ab56251a981e0bf4033b33bc5ae3a09a919c295a41797e7c295424d027a5f650848196f945918f7d6aeea177f89 SHA512 cc0b5841da5039c0467291994b9cd3aa99bebe70adf8db01719336a0eb2f0d7362395806f99228ba1f7ec68f0c5ecf9f7f5f1018093cf8dad9e06f0ae147c3fc diff --git a/sci-libs/shapelib/metadata.xml b/sci-libs/shapelib/metadata.xml deleted file mode 100644 index 080560a80ec2..000000000000 --- a/sci-libs/shapelib/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/shapelib/shapelib-1.6.0.ebuild b/sci-libs/shapelib/shapelib-1.6.0.ebuild deleted file mode 100644 index be4831792b27..000000000000 --- a/sci-libs/shapelib/shapelib-1.6.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library for manipulating ESRI Shapefiles" -HOMEPAGE="http://shapelib.maptools.org/" -SRC_URI="https://download.osgeo.org/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0/4" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="doc static-libs" - -src_prepare() { - default - rm -f m4/* || die - eautoreconf -} - -src_configure() { - local myeconfargs=( - --includedir="${EPREFIX}"/usr/include/libshp - --prefix="${EPREFIX}"/usr - ) - econf "${myeconfargs[@]}" -} - -src_install() { - use doc && HTML_DOCS=( web/. ) - default - - if ! use static-libs; then - find "${ED}" \( -name '*.la' -o -name '*.a' \) -delete || die - fi -} diff --git a/sci-libs/spglib/Manifest b/sci-libs/spglib/Manifest deleted file mode 100644 index 85217d000783..000000000000 --- a/sci-libs/spglib/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST spglib-2.6.0.tar.gz 2438640 BLAKE2B 99befe83edf51fbffdb815315e89e5bc9a882298e08ca79631ce2fbb17d302be529b6f4f326d60ee07bef330b8f217aa0111acaa1ec8f0562f2fb12be498db24 SHA512 a70a318dcfb0cfffca1d68605ec3afea6c5ff18ada6a4a1c0ea1c09f23ab8585d093aaf322939bc83cff28e8bb3b1b42ec65edce9208e4f69288504326e4cf2f -DIST spglib-2.7.0.tar.gz 2442495 BLAKE2B ddba5b5ea401b277b45c1e3b9b3df91da68f56d89eecf8e5f8be5aefd22df841fa79f4638cfe857005000b8c6095e192e052fc38b8d760f19bd3bff32908d16a SHA512 38b5e5c50bdda2c530f0b3f24d0f89e12965d0c2d1067e6d8501e677926c49de875fbcbd548185724427c0969aa6df328cc86dd077d3c692630b3cd26fa66476 diff --git a/sci-libs/spglib/files/spglib-2.6.0-dist_sources.patch b/sci-libs/spglib/files/spglib-2.6.0-dist_sources.patch deleted file mode 100644 index 4b628ba2fae7..000000000000 --- a/sci-libs/spglib/files/spglib-2.6.0-dist_sources.patch +++ /dev/null @@ -1,48 +0,0 @@ -Always use sources instead of a hypothetical installed package. -diff '--color=auto' -uNr a/fortran/CMakeLists.txt b/fortran/CMakeLists.txt ---- a/fortran/CMakeLists.txt 2025-03-12 19:45:47.109635926 -0000 -+++ b/fortran/CMakeLists.txt 2025-03-12 19:46:51.964594152 -0000 -@@ -77,11 +77,8 @@ - - # Get Spglib if it's run as stand-alone project - if (NOT TARGET Spglib::symspg) -- find_package(Spglib CONFIG) -- if (NOT Spglib_FOUND) - message(STATUS "Using bundled spglib sources") - add_subdirectory(${PROJECT_SOURCE_DIR}/.. _deps/spglib-build) -- endif () - endif () - - #[=============================================================================[ -diff '--color=auto' -uNr a/python/CMakeLists.txt b/python/CMakeLists.txt ---- a/python/CMakeLists.txt 2025-03-12 19:45:47.113635861 -0000 -+++ b/python/CMakeLists.txt 2025-03-12 19:47:13.720244693 -0000 -@@ -47,11 +47,8 @@ - - # Get Spglib if it's run as stand-alone project - if (NOT TARGET Spglib::symspg) -- find_package(Spglib CONFIG) -- if (NOT Spglib_FOUND) - message(STATUS "Using bundled spglib sources") - add_subdirectory(${PROJECT_SOURCE_DIR}/.. _deps/spglib-build) -- endif () - endif () - - #[=============================================================================[ -diff '--color=auto' -uNr a/test/CMakeLists.txt b/test/CMakeLists.txt ---- a/test/CMakeLists.txt 2025-03-12 19:45:47.113635861 -0000 -+++ b/test/CMakeLists.txt 2025-03-12 19:47:43.499766319 -0000 -@@ -75,13 +75,11 @@ - - # Get Spglib if it's run as stand-alone project - if (NOT TARGET Spglib::symspg) -- set(spglib_find_package_args) - if (SPGLIB_WITH_Fortran) - list(APPEND - COMPONENTS Fortran - ) - endif () -- find_package(Spglib REQUIRED CONFIG ${spglib_find_package_args}) - endif () - - set(BUILD_GMOCK OFF) diff --git a/sci-libs/spglib/files/spglib-2.6.0-pyproject.patch b/sci-libs/spglib/files/spglib-2.6.0-pyproject.patch deleted file mode 100644 index 523d55c3baa5..000000000000 --- a/sci-libs/spglib/files/spglib-2.6.0-pyproject.patch +++ /dev/null @@ -1,29 +0,0 @@ -Invalid type for license -Prevent variables relevant only for a standalone python-pkg ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -8,7 +8,6 @@ - name = "spglib" - requires-python = ">=3.9" - description = "This is the spglib module." --license = "BSD-3-Clause" - license-files = ["COPYING"] - readme = "python/README.rst" - dynamic = ["version"] -@@ -89,16 +88,6 @@ - metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" - sdist.include = ["python/spglib/_version.py"] - --[tool.scikit-build.cmake.define] --SPGLIB_WITH_Python = "ON" --SPGLIB_WITH_TESTS = "OFF" --SPGLIB_USE_OMP = "OFF" -- --[[tool.scikit-build.overrides]] --if.env.CIBUILDWHEEL = true --# Make sure cibuildwheel builds with a bundled spglib --cmake.define.CMAKE_DISABLE_FIND_PACKAGE_Spglib = "ON" -- - [tool.setuptools_scm] - write_to = "python/spglib/_version.py" - diff --git a/sci-libs/spglib/metadata.xml b/sci-libs/spglib/metadata.xml deleted file mode 100644 index 9363fa8ccdbe..000000000000 --- a/sci-libs/spglib/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> - <upstream> - <remote-id type="github">atztogo/spglib</remote-id><!-- old --> - <remote-id type="github">spglib/spglib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/spglib/spglib-2.6.0-r1.ebuild b/sci-libs/spglib/spglib-2.6.0-r1.ebuild deleted file mode 100644 index ff65d829ff16..000000000000 --- a/sci-libs/spglib/spglib-2.6.0-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=scikit-build-core -PYTHON_COMPAT=( python3_{13..14} ) -FORTRAN_NEEDED=fortran -inherit cmake distutils-r1 fortran-2 toolchain-funcs - -DESCRIPTION="Spglib is a C library for finding and handling crystal symmetries" -HOMEPAGE="https://github.com/spglib/spglib/" -SRC_URI="https://github.com/spglib/spglib/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/2" -KEYWORDS="~amd64 ~x86" -IUSE="fortran openmp python test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ') - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.11 3.12) - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - python? ( - ${DISTUTILS_DEPS} - ${PYTHON_DEPS} - test? ( $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') ) - ) - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-2.6.0-pyproject.patch - "${FILESDIR}"/${PN}-2.6.0-dist_sources.patch -) - -distutils_enable_tests pytest - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use fortran && fortran-2_pkg_setup - use python && python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - use python && distutils-r1_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DSPGLIB_SHARED_LIBS=ON - -DSPGLIB_USE_OMP="$(usex openmp)" - -DSPGLIB_WITH_Fortran="$(usex fortran)" - -DSPGLIB_WITH_Python="$(usex python)" - -DSPGLIB_WITH_TESTS="$(usex test)" - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use python && distutils-r1_src_compile -} - -src_test() { - local -x LD_LIBRARY_PATH="${BUILD_DIR}" - cmake_src_test - use python && distutils-r1_src_test -} - -src_install() { - cmake_src_install - if use python; then - distutils-r1_src_install - - # remove duplicate headers/lib - rm -r "${ED}"/$(python_get_sitedir)/spglib/{$(get_libdir),include} || die - fi -} diff --git a/sci-libs/spglib/spglib-2.7.0.ebuild b/sci-libs/spglib/spglib-2.7.0.ebuild deleted file mode 100644 index f1e2f01086ef..000000000000 --- a/sci-libs/spglib/spglib-2.7.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 -DISTUTILS_USE_PEP517=scikit-build-core -PYTHON_COMPAT=( python3_{13..14} ) -FORTRAN_NEEDED=fortran -inherit cmake distutils-r1 fortran-2 toolchain-funcs - -DESCRIPTION="Spglib is a C library for finding and handling crystal symmetries" -HOMEPAGE="https://github.com/spglib/spglib/" -SRC_URI="https://github.com/spglib/spglib/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/2" -KEYWORDS="~amd64 ~x86" -IUSE="fortran openmp python test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - python? ( - ${PYTHON_DEPS} - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.11 3.12) - ) -" -DEPEND=" - ${RDEPEND} - python? ( dev-python/pybind11[${PYTHON_USEDEP}] ) -" -BDEPEND=" - python? ( - ${DISTUTILS_DEPS} - ${PYTHON_DEPS} - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) - ) - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-2.6.0-pyproject.patch - "${FILESDIR}"/${PN}-2.6.0-dist_sources.patch -) - -distutils_enable_tests pytest - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use fortran && fortran-2_pkg_setup - use python && python_setup -} - -src_prepare() { - cmake_src_prepare - use python && distutils-r1_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DSPGLIB_SHARED_LIBS=ON - -DSPGLIB_USE_OMP="$(usex openmp)" - -DSPGLIB_WITH_Fortran="$(usex fortran)" - -DSPGLIB_WITH_Python="$(usex python)" - -DSPGLIB_WITH_TESTS="$(usex test)" - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use python && distutils-r1_src_compile -} - -src_test() { - CMAKE_SKIP_TESTS=( - # the testsuites are already quite extensive - example-* - ) - local -x LD_LIBRARY_PATH="${BUILD_DIR}:${BUILD_DIR}/fortran" - cmake_src_test - use python && distutils-r1_src_test -} - -python_install() { - distutils-r1_python_install - - # remove duplicate headers/lib - rm -r "${ED}"/$(python_get_sitedir)/spglib/{$(get_libdir),include} || die -} - -src_install() { - cmake_src_install - use python && distutils-r1_src_install -} diff --git a/sci-libs/spqr/Manifest b/sci-libs/spqr/Manifest deleted file mode 100644 index e2d8ce184a09..000000000000 --- a/sci-libs/spqr/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST spqr-2.0.9.tar.bz2 2161068 BLAKE2B a662983d2543a65ce36a367749db5585308acb56b016f69a35c46a84e9c12a678f57a3cfd459cc2e887fff2819b00f99981efaadb73831f1b4c54cbef5e1c367 SHA512 54b203e0d68b266473b8a2b7b3b3a55476df54a3ebd5748b70faa7bad1d0a5a7387197f0674ba5f9a5d45887daa736117f8d6ffbbc2eb02482b3374a3babf721 diff --git a/sci-libs/spqr/metadata.xml b/sci-libs/spqr/metadata.xml deleted file mode 100644 index ca887f817722..000000000000 --- a/sci-libs/spqr/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> - SuiteSparseQR is an implementation of the multifrontal sparse QR - factorization method. Parallelism is exploited both in the BLAS and - across different frontal matrices using Intel's Threading Building - Blocks. It can obtain a substantial fraction of the theoretical - peak performance of a multicore computer. -</longdescription> -<use> - <flag name="partition"> - Use the partition module of <pkg>sci-libs/cholmod</pkg> for partitioning - </flag> - <flag name="tbb">Enable multithreading with the Intel Threads - Building Block <pkg>dev-cpp/tbb</pkg></flag> -</use> -<upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> -</upstream> -</pkgmetadata> diff --git a/sci-libs/spqr/spqr-2.0.9-r4.ebuild b/sci-libs/spqr/spqr-2.0.9-r4.ebuild deleted file mode 100644 index 975f72260efd..000000000000 --- a/sci-libs/spqr/spqr-2.0.9-r4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit libtool - -DESCRIPTION="Multithreaded multifrontal sparse QR factorization library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86" -IUSE="doc partition tbb" - -BDEPEND=" - virtual/pkgconfig - doc? ( virtual/latex-base ) -" -# We require the cholmod supernodal module that is enabled with -# USE=lapack, and cholmod has to have partition support if spqr is going -# to have it (the ./configure script for spqr checks this). Note that -# spqr links to metis directly, too. -DEPEND=" - virtual/lapack - =sci-libs/cholmod-3*:=[lapack,partition?] - sci-libs/suitesparseconfig - - partition? ( >=sci-libs/metis-5.1.0 ) - tbb? ( <dev-cpp/tbb-2021:= ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - default - elibtoolize - - # Should be able to drop this workaround with newer versions. - # upstream fix it by replace \htmladdnormallink{...} with \url{} - sed -e '/^\\usepackage{hyperref}$/i \\\\usepackage{html}' \ - -i Doc/spqr_user_guide.tex || die -} - -src_configure() { - econf \ - $(use_with doc) \ - $(use_with partition) \ - $(use_with tbb) -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/spqr/spqr-3.0.3.ebuild b/sci-libs/spqr/spqr-3.0.3.ebuild deleted file mode 100644 index 5b2b67d6b45c..000000000000 --- a/sci-libs/spqr/spqr-3.0.3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib toolchain-funcs - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Multithreaded multifrontal sparse QR factorization library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -LICENSE="GPL-2+" -SLOT="0/3" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="doc openmp test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.0.3 - >=sci-libs/colamd-3.0.3 - >=sci-libs/cholmod-4.0.3:= - virtual/blas -" -RDEPEND="${DEPEND}" -BDEPEND=" - doc? ( virtual/latex-base ) -" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -multilib_src_configure() { - local mycmakeargs=( - -DNSTATIC=ON - -DNOPENMP=$(usex openmp OFF ON) - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run demo files - ./qrsimple < "${S}"/Matrix/ash219.mtx || die "failed testing" - ./qrsimplec < "${S}"/Matrix/ash219.mtx || die "failed testing" - ./qrsimple < "${S}"/Matrix/west0067.mtx || die "failed testing" - ./qrsimplec < "${S}"/Matrix/west0067.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/a2.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/r2.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/a04.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/a2.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/west0067.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/c2.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/a0.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/lfat5b.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/bfwa62.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/LFAT5.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/b1_ss.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/bcspwr01.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/lpi_galenet.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/lpi_itest6.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/ash219.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/a4.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/s32.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/c32.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/lp_share1b.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/a1.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/GD06_theory.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/GD01_b.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/Tina_AskCal_perm.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/Tina_AskCal.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/GD98_a.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/Ragusa16.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/young1c.mtx || die "failed testing" - ./qrdemo < "${S}"/Matrix/lp_e226_transposed.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/a2.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/r2.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/a04.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/a2.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/west0067.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/c2.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/a0.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/lfat5b.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/bfwa62.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/LFAT5.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/b1_ss.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/bcspwr01.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/lpi_galenet.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/lpi_itest6.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/ash219.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/a4.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/s32.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/c32.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/lp_share1b.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/a1.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/GD06_theory.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/GD01_b.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/Tina_AskCal_perm.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/Tina_AskCal.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/GD98_a.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/Ragusa16.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/young1c.mtx || die "failed testing" - ./qrdemoc < "${S}"/Matrix/lp_e226_transposed.mtx || die "failed testing" -} - -multilib_src_install() { - if use doc; then - pushd "${S}/Doc" - emake clean - rm -rf *.pdf - emake - popd - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/spqr/spqr-4.3.6.ebuild b/sci-libs/spqr/spqr-4.3.6.ebuild deleted file mode 100644 index 6e909e56c696..000000000000 --- a/sci-libs/spqr/spqr-4.3.6.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Multithreaded multifrontal sparse QR factorization library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="GPL-2+" -SLOT="0/4" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="cuda doc test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/cholmod-5.3.4 - virtual/blas - cuda? ( - dev-util/nvidia-cuda-toolkit - x11-drivers/nvidia-drivers - )" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( - virtual/latex-base - dev-texlive/texlive-plaingeneric -)" - -src_configure() { - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSPQR_USE_CUDA=$(usex cuda) - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - - local simple=( - ash219 - west0067 - ) - local demo=( - a04 - a0 - a1 - a2 - a4 - ash219 - b1_ss - bcspwr01 - bfwa62 - c2 - c32 - GD01_b - GD06_theory - GD98_a - lfat5b - LFAT5 - lp_e226_transposed - lpi_galenet - lpi_itest6 - lp_share1b - r2 - Ragusa16 - s32 - Tina_AskCal - Tina_AskCal_perm - west0067 - young1c - ) - - declare -A testsuite - local i - local j - for i in qrsimple qrsimplec; do - testsuite["${i}"]=${simple[@]} - done - for i in qrdemo qrdemoc; do - testsuite["${i}"]=${demo[@]} - done - # Run demo files - for i in ${!testsuite[@]}; do - for j in ${testsuite[${i[@]}]}; do - ./${i} < "${S}"/Matrix/${j}.mtx || die "failed testing ${i} with ${j}" - done - done - einfo "All tests passed" -} - -src_install() { - if use doc; then - pushd "${S}/Doc" || die - emake clean - rm -rf *.pdf || die - emake - popd || die - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/spr/Manifest b/sci-libs/spr/Manifest deleted file mode 100644 index c085c1b16b7e..000000000000 --- a/sci-libs/spr/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST SPR-3.3.2.tar.gz 2512059 BLAKE2B bb789e2f854f98901e72f9172be5198d4ac25754158314de59a7ed57ed957a0bd97b05afd473d6b9834a9f3d38831a18f7bc4ca1b0a7a68f7275e8cca74e59cd SHA512 5fc5cd90de87385ac2bc6c4b7f54be2fe5e1548c2c5b9fbd4fd9958f443bd25233b59b773186dc3c38efdfb90b622420f1a0ab585937df75e7ed049500a59a9d diff --git a/sci-libs/spr/files/spr-3.3.2-autotools.patch b/sci-libs/spr/files/spr-3.3.2-autotools.patch deleted file mode 100644 index d04d1806dda8..000000000000 --- a/sci-libs/spr/files/spr-3.3.2-autotools.patch +++ /dev/null @@ -1,169 +0,0 @@ -diff -Nur SPR-3.3.2.orig/configure.ac SPR-3.3.2/configure.ac ---- SPR-3.3.2.orig/configure.ac 2011-03-29 05:52:30.000000000 +0100 -+++ SPR-3.3.2/configure.ac 2011-05-04 00:48:43.000000000 +0100 -@@ -35,9 +35,6 @@ - AC_FUNC_STAT - AC_CHECK_FUNCS([gettimeofday pow sqrt]) - --## Default compiler flags --DEFAULTCXXFLAGS="-O4" -- - ## ROOT installation - AC_ARG_VAR([ROOTPATH], [path to ROOT installation]) - AC_ARG_WITH([root], AC_HELP_STRING([--with-root], [path to ROOT installation]), -@@ -97,7 +94,6 @@ - ## Test ROOT libs - AC_MSG_CHECKING([ROOT libraries]) - if test -f ${ROOTLIBPATH}/libCore.so; then -- DEFAULTCXXFLAGS="-O2" - AC_MSG_RESULT([using ROOT libraries in $ROOTLIBPATH]) - else - AC_MSG_WARN([ROOT libraries not found under $ROOTLIBPATH... disabling ROOT]) -@@ -117,16 +113,6 @@ - ################################ - - --## Set default compiler flags if CXXFLAGS not defined --if test -z "$CXXFLAGS"; then -- CXXFLAGS=$DEFAULTCXXFLAGS --fi -- -- --AM_CXXFLAGS="-ansi -pedantic" --AC_SUBST(AM_CPPFLAGS) --AC_SUBST(AM_CXXFLAGS) --AC_SUBST(CXXFLAGS) - - AC_CONFIG_FILES(Makefile) - AC_CONFIG_FILES(math/Makefile) -diff -Nur SPR-3.3.2.orig/data/Makefile.am SPR-3.3.2/data/Makefile.am ---- SPR-3.3.2.orig/data/Makefile.am 2011-03-29 05:52:30.000000000 +0100 -+++ SPR-3.3.2/data/Makefile.am 2011-03-29 05:54:19.000000000 +0100 -@@ -1,4 +1,5 @@ --dist_data_DATA = \ -+ -+pkgdata_DATA = \ - discrete_square.pat gausscorr_uniform_2d_train.pat \ - gauss2_uniform_2d_train.pat trainRoot.pat \ - gauss2_uniform_2d_valid.pat triangle_square_00_train.pat \ -@@ -9,4 +10,4 @@ - lambda-test.pat cmc.data \ - gauss2_uniform_2d_train_root.pat mlp_root.pat \ - tmva_root.pat cleveland.data \ --samplematrixindicator.cfg -\ No newline at end of file -+samplematrixindicator.cfg -diff -Nur SPR-3.3.2.orig/src/Makefile.am SPR-3.3.2/src/Makefile.am ---- SPR-3.3.2.orig/src/Makefile.am 2011-03-29 05:52:30.000000000 +0100 -+++ SPR-3.3.2/src/Makefile.am 2011-05-04 00:45:22.000000000 +0100 -@@ -1,20 +1,14 @@ - lib_LTLIBRARIES = libSPR.la - - AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) --AM_LDFLAGS = -L/usr/lib -L$(top_srcdir)/src --AM_LIBS = -lSPR --APPLDADD = -lSPR -+ - if WITH_ROOT -- AM_CXXFLAGS += $(ROOTCXXFLAGS) -O2 -+ AM_CXXFLAGS = $(ROOTCXXFLAGS) - AM_CPPFLAGS += $(ROOTCPPFLAGS) -DSPRROOTTUPLE -- AM_LDFLAGS += $(ROOTLDFLAGS) -- AM_LIBS += $(ROOTLIBS) -- APPLDADD += $(ROOTLIBS) --else -- AM_CXXFLAGS += -O4 -+ AM_LDFLAGS = $(ROOTLDFLAGS) - endif - --libSPR_la_LIBADD = $(top_srcdir)/math/libSPRmath.la -+libSPR_la_LIBADD = $(top_srcdir)/math/libSPRmath.la $(ROOTLIBS) - libSPR_la_SOURCES = \ - SprDataMoments.cc SprDecisionTree.cc \ - SprFisher.cc SprFomCalculator.cc \ -@@ -60,81 +54,52 @@ - ##################################################################### - - -+LDADD = libSPR.la - --noinst_PROGRAMS = exampleBootstrapVarianceEst exampleCorrTest \ -+check_PROGRAMS = exampleBootstrapVarianceEst exampleCorrTest \ - exampleUserCuts exampleMatrixTest - - exampleBootstrapVarianceEst_SOURCES = exampleBootstrapVarianceEst.cc --exampleBootstrapVarianceEst_LDADD = $(APPLDADD) - exampleCorrTest_SOURCES = exampleCorrTest.cc --exampleCorrTest_LDADD = $(APPLDADD) - exampleMatrixTest_SOURCES = exampleMatrixTest.cc --exampleMatrixTest_LDADD = $(APPLDADD) - - bin_PROGRAMS = SprFisherLogitApp SprDecisionTreeApp SprExploratoryAnalysisApp \ - SprMultiClassApp SprGoFDecisionTreeApp SprAdaBoostBinarySplitApp \ - SprRBFNetApp SprAdaBoostDecisionTreeApp SprStdBackpropApp \ - SprCombinerApp SprBaggerDecisionTreeApp SprBumpHunterApp \ - SprInteractiveAnalysisApp SprOutputAnalyzerApp SprOutputWriterApp \ -- SprBoosterApp SprBaggerApp exampleUserCuts \ -+ SprBoosterApp SprBaggerApp \ - SprVariableImportanceApp SprIOTestApp SprAddBaggersApp \ - SprTransformationApp SprSplitterApp SprAddNRemoveRApp \ - SprGEPApp SprCrossValidatorApp SprAddColumnsForMCLApp \ - SprIndicatorMatrixApp - - SprFisherLogitApp_SOURCES = SprFisherLogitApp.cc --SprFisherLogitApp_LDADD = $(APPLDADD) - SprDecisionTreeApp_SOURCES = SprDecisionTreeApp.cc --SprDecisionTreeApp_LDADD = $(APPLDADD) - SprExploratoryAnalysisApp_SOURCES = SprExploratoryAnalysisApp.cc --SprExploratoryAnalysisApp_LDADD = $(APPLDADD) - SprMultiClassApp_SOURCES = SprMultiClassApp.cc --SprMultiClassApp_LDADD = $(APPLDADD) - SprGoFDecisionTreeApp_SOURCES = SprGoFDecisionTreeApp.cc --SprGoFDecisionTreeApp_LDADD = $(APPLDADD) - SprAdaBoostBinarySplitApp_SOURCES = SprAdaBoostBinarySplitApp.cc --SprAdaBoostBinarySplitApp_LDADD = $(APPLDADD) - SprRBFNetApp_SOURCES = SprRBFNetApp.cc --SprRBFNetApp_LDADD = $(APPLDADD) - SprAdaBoostDecisionTreeApp_SOURCES = SprAdaBoostDecisionTreeApp.cc --SprAdaBoostDecisionTreeApp_LDADD = $(APPLDADD) - SprStdBackpropApp_SOURCES = SprStdBackpropApp.cc --SprStdBackpropApp_LDADD = $(APPLDADD) - SprCombinerApp_SOURCES = SprCombinerApp.cc --SprCombinerApp_LDADD = $(APPLDADD) - SprBaggerDecisionTreeApp_SOURCES = SprBaggerDecisionTreeApp.cc --SprBaggerDecisionTreeApp_LDADD = $(APPLDADD) - SprBumpHunterApp_SOURCES = SprBumpHunterApp.cc --SprBumpHunterApp_LDADD = $(APPLDADD) - SprInteractiveAnalysisApp_SOURCES = SprInteractiveAnalysisApp.cc --SprInteractiveAnalysisApp_LDADD = $(APPLDADD) - SprOutputAnalyzerApp_SOURCES = SprOutputAnalyzerApp.cc --SprOutputAnalyzerApp_LDADD = $(APPLDADD) - SprOutputWriterApp_SOURCES = SprOutputWriterApp.cc --SprOutputWriterApp_LDADD = $(APPLDADD) - SprBoosterApp_SOURCES = SprBoosterApp.cc --SprBoosterApp_LDADD = $(APPLDADD) - SprBaggerApp_SOURCES = SprBaggerApp.cc --SprBaggerApp_LDADD = $(APPLDADD) - exampleUserCuts_SOURCES = exampleUserCuts.cc --exampleUserCuts_LDADD = $(APPLDADD) - SprVariableImportanceApp_SOURCES = SprVariableImportanceApp.cc --SprVariableImportanceApp_LDADD = $(APPLDADD) - SprIOTestApp_SOURCES = SprIOTestApp.cc --SprIOTestApp_LDADD = $(APPLDADD) - SprAddBaggersApp_SOURCES = SprAddBaggersApp.cc --SprAddBaggersApp_LDADD = $(APPLDADD) - SprTransformationApp_SOURCES = SprTransformationApp.cc --SprTransformationApp_LDADD = $(APPLDADD) - SprSplitterApp_SOURCES = SprSplitterApp.cc --SprSplitterApp_LDADD = $(APPLDADD) - SprAddNRemoveRApp_SOURCES = SprAddNRemoveRApp.cc --SprAddNRemoveRApp_LDADD = $(APPLDADD) - SprGEPApp_SOURCES = SprGEPApp.cc --SprGEPApp_LDADD = $(APPLDADD) - SprCrossValidatorApp_SOURCES = SprCrossValidatorApp.cc --SprCrossValidatorApp_LDADD = $(APPLDADD) - SprAddColumnsForMCLApp_SOURCES = SprAddColumnsForMCLApp.cc --SprAddColumnsForMCLApp_LDADD = $(APPLDADD) - SprIndicatorMatrixApp_SOURCES = SprIndicatorMatrixApp.cc --SprIndicatorMatrixApp_LDADD = $(APPLDADD) -+ diff --git a/sci-libs/spr/files/spr-3.3.2-fix-c++14.patch b/sci-libs/spr/files/spr-3.3.2-fix-c++14.patch deleted file mode 100644 index fc2939281b3f..000000000000 --- a/sci-libs/spr/files/spr-3.3.2-fix-c++14.patch +++ /dev/null @@ -1,68 +0,0 @@ -Fix building with C++14, which errors out due to bool -> T* conversions -See also: https://bugs.gentoo.org/show_bug.cgi?id=594376 - ---- a/src/SprBinaryEncoder.cc -+++ b/src/SprBinaryEncoder.cc -@@ -165,7 +165,7 @@ - if( found != vars.end() ) { - cerr << "Variable " << sclass.c_str() << " is already included " - << "in the input list for SprBinaryEncoder." << endl; -- return false; -+ return NULL; - } - vars.push_back(sclass); - ---- a/src/SprDecisionTree.cc -+++ b/src/SprDecisionTree.cc -@@ -362,7 +362,7 @@ - { - // header - char s [200]; -- sprintf(s,"Trained DecisionTree %-6i signal nodes. Overall FOM=%-10g W0=%-10g W1=%-10g N0=%-10i N1=%-10i Version=%s",nodes1_.size(),fom_,w0_,w1_,n0_,n1_,SprVersion.c_str()); -+ sprintf(s,"Trained DecisionTree %-6lu signal nodes. Overall FOM=%-10g W0=%-10g W1=%-10g N0=%-10i N1=%-10i Version=%s",nodes1_.size(),fom_,w0_,w1_,n0_,n1_,SprVersion.c_str()); - os << s << endl; - os << "-------------------------------------------------------" << endl; - ---- a/src/SprVarTransformerReader.cc -+++ b/src/SprVarTransformerReader.cc -@@ -50,7 +50,7 @@ - nLine++; - if( !getline(is,line) ) { - cerr << "Unable to read VarTransformer from line " << nLine << endl; -- return 0; -+ return NULL; - } - istringstream ist(line); - string dummy, transformerName, version; -@@ -59,9 +59,9 @@ - // decode name - if( transformerName.empty() ) { - cerr << "Unable to read VarTransformer name on line " << nLine << endl; -- return false; -+ return NULL; - } -- SprAbsVarTransformer* t = 0; -+ SprAbsVarTransformer* t = NULL; - if( transformerName == "PCA" ) - t = SprVarTransformerReader::readPCATransformer(is,nLine); - else if( transformerName == "InputNormalizer" ) -@@ -72,16 +72,16 @@ - t = SprVarTransformerReader::readTransformerSequence(is,nLine); - else { - cerr << "Unknown VarTransformer name specified on line " << nLine << endl; -- return 0; -+ return NULL; - } -- if( t == 0 ) return 0; -+ if( t == NULL ) return NULL; - - // read vars - vector<string> oldVars, newVars; - if( !SprVarTransformerReader::readVars(is,nLine,oldVars,newVars) || - oldVars.empty() || newVars.empty() ) { - cerr << "Unable to read VarTransformer variables." << endl; -- return 0; -+ return NULL; - } - t->setOldVars(oldVars); - t->setNewVars(newVars); diff --git a/sci-libs/spr/files/spr-3.3.2-gcc46.patch b/sci-libs/spr/files/spr-3.3.2-gcc46.patch deleted file mode 100644 index 715d2ab21ede..000000000000 --- a/sci-libs/spr/files/spr-3.3.2-gcc46.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Nur SPR-3.3.2.orig/src/SprAddBaggersApp.cc SPR-3.3.2/src/SprAddBaggersApp.cc ---- SPR-3.3.2.orig/src/SprAddBaggersApp.cc 2011-03-29 05:52:30.000000000 +0100 -+++ SPR-3.3.2/src/SprAddBaggersApp.cc 2011-05-04 00:58:45.000000000 +0100 -@@ -6,6 +6,7 @@ - #include "StatPatternRecognition/SprClassifierReader.hh" - #include "StatPatternRecognition/SprStringParser.hh" - -+#include <cstdio> - #include <stdlib.h> - #include <unistd.h> - #include <iostream> -diff -Nur SPR-3.3.2.orig/src/SprAddColumnsForMCLApp.cc SPR-3.3.2/src/SprAddColumnsForMCLApp.cc ---- SPR-3.3.2.orig/src/SprAddColumnsForMCLApp.cc 2011-03-29 05:52:30.000000000 +0100 -+++ SPR-3.3.2/src/SprAddColumnsForMCLApp.cc 2011-05-04 00:59:02.000000000 +0100 -@@ -4,6 +4,7 @@ - #include "StatPatternRecognition/SprMultiClassReader.hh" - #include "StatPatternRecognition/SprTrainedMultiClassLearner.hh" - -+#include <cstdio> - #include <stdlib.h> - #include <unistd.h> - #include <iostream> -diff -Nur SPR-3.3.2.orig/src/SprIndicatorMatrixApp.cc SPR-3.3.2/src/SprIndicatorMatrixApp.cc ---- SPR-3.3.2.orig/src/SprIndicatorMatrixApp.cc 2011-03-29 05:52:30.000000000 +0100 -+++ SPR-3.3.2/src/SprIndicatorMatrixApp.cc 2011-05-04 00:59:31.000000000 +0100 -@@ -4,6 +4,7 @@ - #include "StatPatternRecognition/SprIndicatorMatrix.hh" - #include "StatPatternRecognition/SprConfig.hh" - -+#include <cstdio> - #include <iostream> - #include <string> - #include <unistd.h> diff --git a/sci-libs/spr/metadata.xml b/sci-libs/spr/metadata.xml deleted file mode 100644 index 6094956ffc79..000000000000 --- a/sci-libs/spr/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-physics@gentoo.org</email> - <name>Gentoo Physics Project</name> - </maintainer> - <longdescription lang="en"> - The package implements a variety of tools for categorization of - multivariate data such as boosted decision trees, bagging and - random forest, bump hunting, a multi-class learner and others. - It is used mostly in High Energy Physics. - </longdescription> - <use> - <flag name="root">Add <pkg>sci-physics/root</pkg> graphics and i/o - support</flag> - </use> - <upstream> - <remote-id type="sourceforge">statpatrec</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/spr/spr-3.3.2-r2.ebuild b/sci-libs/spr/spr-3.3.2-r2.ebuild deleted file mode 100644 index dc980c4bc817..000000000000 --- a/sci-libs/spr/spr-3.3.2-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Statistical analysis and machine learning library" -HOMEPAGE="https://statpatrec.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/statpatrec/${P^^}.tar.gz" -S="${WORKDIR}/${P^^}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="root static-libs" - -DEPEND="root? ( sci-physics/root )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-autotools.patch - "${FILESDIR}"/${P}-gcc46.patch - "${FILESDIR}"/${P}-fix-c++14.patch -) - -src_prepare() { - default - rm aclocal.m4 || die - eautoreconf - cp data/gauss* src/ || die -} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_with root) -} - -src_install() { - default - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die - fi -} diff --git a/sci-libs/stellarsolver/Manifest b/sci-libs/stellarsolver/Manifest deleted file mode 100644 index 003e14f8bfc1..000000000000 --- a/sci-libs/stellarsolver/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST stellarsolver-2.7.tar.gz 26567114 BLAKE2B cacf5fad2055ad3e4e30b623be1f07742076939d59dca17854d0e0a8fec7862464b235690e1681daf72ea17f11fa9446c38c1bbb44004cd55c7ef6d47edd5e61 SHA512 f666023bcc4e5c83d5a88224ebe524a490852d7b2aab89a52f596aa891f965367a6057997592eab50035f55565e330cf0a48074d2bf339fbaa78afdf56fda876 diff --git a/sci-libs/stellarsolver/files/stellarsolver-2.7-cmake-minreqver-3.10.patch b/sci-libs/stellarsolver/files/stellarsolver-2.7-cmake-minreqver-3.10.patch deleted file mode 100644 index 24cdfeb2cd68..000000000000 --- a/sci-libs/stellarsolver/files/stellarsolver-2.7-cmake-minreqver-3.10.patch +++ /dev/null @@ -1,32 +0,0 @@ -Source: https://github.com/rlancaste/stellarsolver/pull/168 - -From 06bfa26fd4831ee178415ea54eabfa8edf422aaf Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Thu, 23 Oct 2025 10:57:14 +0200 -Subject: [PATCH] Raise CMake minimum to 3.10 - -CMake >=3.31 warns about compat. for <3.10 being removed in the future. - -CMake Policies changed up to 3.10: -https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html#policies-introduced-by-cmake-3-10 - -CMake 3.10 was released in 2017. - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 29b2942..03ea518 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.10) - PROJECT(StellarSolver C CXX) - set(CMAKE_CXX_STANDARD 17) - if(APPLE) --- -2.51.1 - diff --git a/sci-libs/stellarsolver/files/stellarsolver-2.7-file-descriptor-leak.patch b/sci-libs/stellarsolver/files/stellarsolver-2.7-file-descriptor-leak.patch deleted file mode 100644 index e0f3e5230688..000000000000 --- a/sci-libs/stellarsolver/files/stellarsolver-2.7-file-descriptor-leak.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 9abe16cd615715ec961f6b2e61870d480861c93d Mon Sep 17 00:00:00 2001 -From: John Evans <john.e.evans.email@googlemail.com> -Date: Mon, 16 Jun 2025 07:46:38 +0100 -Subject: [PATCH] fix file descriptor leak on index files - ---- - stellarsolver/astrometry/qfits-an/qfits_rw.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/stellarsolver/astrometry/qfits-an/qfits_rw.c b/stellarsolver/astrometry/qfits-an/qfits_rw.c -index e388a33..20746cf 100644 ---- a/stellarsolver/astrometry/qfits-an/qfits_rw.c -+++ b/stellarsolver/astrometry/qfits-an/qfits_rw.c -@@ -229,6 +229,9 @@ int qfits_is_fits(const char * filename) - magic = qfits_calloc(FITS_MAGIC_SZ+1, sizeof(char)); - if (fread(magic, 1, FITS_MAGIC_SZ, fp) != FITS_MAGIC_SZ) { - qfits_error("failed to read file [%s]: %s", filename, strerror(errno)); -+ // Tidy up to avoid leaking file descriptors -+ fclose(fp); -+ qfits_free(magic); - return -1; - } - fclose(fp); diff --git a/sci-libs/stellarsolver/metadata.xml b/sci-libs/stellarsolver/metadata.xml deleted file mode 100644 index e383da8ef9b1..000000000000 --- a/sci-libs/stellarsolver/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <maintainer type="project"> - <email>sci-astronomy@gentoo.org</email> - <name>Gentoo Astronomy project</name> - </maintainer> - <upstream> - <remote-id type="github">rlancaste/stellarsolver</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/stellarsolver/stellarsolver-2.7.ebuild b/sci-libs/stellarsolver/stellarsolver-2.7.ebuild deleted file mode 100644 index 73530c4227a8..000000000000 --- a/sci-libs/stellarsolver/stellarsolver-2.7.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Cross-platform Sextractor and Astrometry.net-Based internal astrometric solver" -HOMEPAGE="https://github.com/rlancaste/stellarsolver" -SRC_URI="https://github.com/rlancaste/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-3" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-qt/qtbase:6[concurrent,gui,network,widgets] - sci-libs/cfitsio:= - sci-libs/gsl:= - sci-astronomy/wcslib:= -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-file-descriptor-leak.patch" # git master - "${FILESDIR}/${P}-cmake-minreqver-3.10.patch" # bug #965002 -) - -src_configure() { - # bug #862930 - filter-lto - - local mycmakeargs=( - -DUSE_QT5=OFF - -DBUILD_CLI=OFF # nothing is installed (yet?) - ) - - cmake_src_configure -} diff --git a/sci-libs/suitesparse/metadata.xml b/sci-libs/suitesparse/metadata.xml deleted file mode 100644 index 0982900cf6db..000000000000 --- a/sci-libs/suitesparse/metadata.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> - SuiteSparse is a suite of sparse matrix libraries from University of - Florida Computer Science Department. Currently, this includes: - * AMD: symmetric approximate minimum degree - * BTF: permutation to block triangular form - * CAMD: symmetric approximate minimum degree - * CCOLAMD: constrained column approximate minimum degree - * COLAMD: column approximate minimum degree - * CHOLMOD: sparse supernodal Cholesky factorization and update/downdate - * CSparse: a concise sparse matrix package - * CXSparse: an extended version of CSparse - * KLU: sparse LU factorization, for circuit simulation - * LDL: a simple LDL^T factorization - * SPQR: multifrontal sparse QT factorization - * UMFPACK: sparse multifrontal LU factorization - * SuiteSparse_config: common configuration for all but CSparse - The Gentoo package does not include the suitesparse MATLAB tools from - upstream, from the packages above and the following MATLAB-only packages: - * RBio: MATLAB toolbox for reading/writing sparse matrices - * LINFACTOR: solve Ax=b using LU or CHOL - * MESHND: 2D and 3D mesh generation and nested dissection - * SSMULT: sparse matrix times sparse matrix -</longdescription> -<use> - <flag name="partition"> - Enable graph partitioning and graph-partition-based orderings - through <pkg>sci-libs/metis</pkg> or <pkg>sci-libs/parmetis</pkg> - </flag> - <flag name="tbb"> - Enable multithreading with the Intel Threads Building Block - <pkg>dev-cpp/tbb</pkg> - </flag> -</use> -</pkgmetadata> diff --git a/sci-libs/suitesparse/suitesparse-5.4.0.ebuild b/sci-libs/suitesparse/suitesparse-5.4.0.ebuild deleted file mode 100644 index 411c7c26b63a..000000000000 --- a/sci-libs/suitesparse/suitesparse-5.4.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Metapackage for a suite of sparse matrix tools" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" - -LICENSE="metapackage" -SLOT="0" - -KEYWORDS="amd64 arm64 ~hppa ~ppc ppc64 ~sparc ~x86" -IUSE="cuda doc lapack partition tbb" -DEPEND="" -RDEPEND=" - ~sci-libs/suitesparseconfig-${PV} - ~sci-libs/amd-2.4.6[doc?] - ~sci-libs/btf-1.2.6 - ~sci-libs/camd-2.4.6[doc?] - ~sci-libs/ccolamd-2.9.6 - ~sci-libs/cholmod-3.0.13[cuda?,doc?,partition?,lapack?] - ~sci-libs/colamd-2.9.6 - ~sci-libs/cxsparse-3.2.0 - ~sci-libs/klu-1.3.9[doc?] - ~sci-libs/ldl-2.2.6[doc?] - ~sci-libs/spqr-2.0.9[doc?,partition?,tbb?] - ~sci-libs/umfpack-5.7.9[doc?,cholmod]" diff --git a/sci-libs/suitesparseconfig/Manifest b/sci-libs/suitesparseconfig/Manifest deleted file mode 100644 index 4ef15af16628..000000000000 --- a/sci-libs/suitesparseconfig/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST suitesparseconfig-5.4.0.tar.bz2 257352 BLAKE2B 3832e34281c742a7d704dde866c53c742420486d782075e047b605fb2062d77353cda8670138c4bef62c73d16e123a8a74f65272a01766f124c1e53f9ba32e9d SHA512 e91f60f426b73add473c6341e30512b8fbe65b7850cd83f3852e78f1e74ce067b7ae1577ccc795698e680a841a9d32c2ca073651a4fe95f0b723578721aec874 diff --git a/sci-libs/suitesparseconfig/metadata.xml b/sci-libs/suitesparseconfig/metadata.xml deleted file mode 100644 index c79fd37845bc..000000000000 --- a/sci-libs/suitesparseconfig/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - SuiteSparse_config is a set of configuration files for the SuiteSparse matrix libraries - from CISE at University of Florida. It contains some headers and makefiles. - </longdescription> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild b/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild deleted file mode 100644 index 8ace59b58772..000000000000 --- a/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib-minimal - -DESCRIPTION="Common configurations for all packages in suitesparse" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -# Upstream says, "no licensing restrictions apply to this file or to the -# SuiteSparse_config directory". -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="static-libs" - -multilib_src_configure() { - ECONF_SOURCE="${S}" \ - econf \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - if ! use static-libs; then - find "${ED}" -name "*.la" -delete || die - fi -} diff --git a/sci-libs/suitesparseconfig/suitesparseconfig-7.0.0.ebuild b/sci-libs/suitesparseconfig/suitesparseconfig-7.0.0.ebuild deleted file mode 100644 index 92520e6f90cc..000000000000 --- a/sci-libs/suitesparseconfig/suitesparseconfig-7.0.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib toolchain-funcs - -Sparse_PV=$(ver_rs 3 '.') -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Common configurations for all packages in suitesparse" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="openmp" - -# BLAS availability is checked for at configuration time and will fail if it is not present. -BDEPEND="virtual/blas" - -S="${WORKDIR}/${Sparse_P}/SuiteSparse_config" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -multilib_src_configure() { - # Make sure we always include the Fortran interface. - # It doesn't require a Fortran compiler to be present - # and simplifies the configuration for dependencies. - local mycmakeargs=( - -DNSTATIC=ON - -DNFORTRAN=OFF - -DNOPENMP=$(usex openmp OFF ON) - ) - cmake_src_configure -} diff --git a/sci-libs/suitesparseconfig/suitesparseconfig-7.12.2-r1.ebuild b/sci-libs/suitesparseconfig/suitesparseconfig-7.12.2-r1.ebuild deleted file mode 100644 index 2ba376cc5acd..000000000000 --- a/sci-libs/suitesparseconfig/suitesparseconfig-7.12.2-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -Sparse_PV=$(ver_rs 3 '.') -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Common configurations for all packages in suitesparse" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/SuiteSparse_config" -LICENSE="BSD" -SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="openmp" - -# we need to depend on blas as the cmake file looks for it. -# It is also a runtime dependency as it has headers to link with blas -DEPEND="virtual/blas" -RDEPEND="${DEPEND}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # Make sure we always include the Fortran interface. - # It doesn't require a Fortran compiler to be present - # and simplifies the configuration for dependencies. - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_USE_FORTRAN=ON - -DSUITESPARSE_USE_OPENMP=$(usex openmp ON OFF) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - - if has_version 'virtual/blas[index64]'; then - mycmakeargs+=( -DSUITESPARSE_USE_64BIT_BLAS=ON ) - fi - - if has_version 'virtual/blas[flexiblas]'; then - mycmakeargs+=( -DBLA_VENDOR=FlexiBLAS ) - else - mycmakeargs+=( -DBLA_VENDOR=Generic ) - fi - # TODO: Figure out how to make sci-libs/mkl work. Bug 974246 - - cmake_src_configure -} diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest deleted file mode 100644 index c29637b81283..000000000000 --- a/sci-libs/sundials/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -DIST sundials-5.8.0.tar.gz 24012815 BLAKE2B f707ad7465218532f3dc4df7627b87933b2bc52be6f1ad290b91ab83a3414ae83bc64503126af8772daa000f58a89855d7ca35fe74fa21bd91180695582442c7 SHA512 d22e699aaddaeef026e91e18dd070d06278c75b6980b36c6fb2e50203ba6445420e4a8e0612a6317dcaa521aeffbdf62ab88737be235ef70cef3a8be02a13dbb -DIST sundials-6.2.0.tar.gz 82410068 BLAKE2B c6aa9735198465bb458590ef1a90101e246202632afd6bd7f48970b9a2752810ce8c5be7983097cd816189cb994efbddf8d34706665846c67d6442bd7c12db38 SHA512 0dd0a2bf6390a13a5846caf440aa6d459f3890f6d13c0eff8c8180a92a636d6eae7f64679d45acd2048de742d4c644e2ae112cb09028b3fdef10a247bee44c0b -DIST sundials-6.5.0.tar.gz 89142911 BLAKE2B 3605686f813928fe55e5aafd409c478cf782411b5d2e510121fe15cc15eae84a5d0fe7470c7c0c976fbe11e7f0fd0e9fb449ae45b4c34aa077ac1acb25255cf5 SHA512 30ad3d3f998df6a6381a14b0c8fe247a5507e386ed1b9b55afae87b976f15026d7b4e8609c3cf8423ad79e1b55bade40dc66b274dc3422e040cb12fec981d502 -DIST sundials-7.0.0.tar.gz 91813927 BLAKE2B 5fab34e674473078812e9a7be43d19ac2595adf7d6f7b71f90375546578eaf42f7e45d1d6297dbedbbc454fb84f741c4e5a4e43766dfc2774ac5dadfcb3295d7 SHA512 4f818124985d6083c6c1a9d34ae2f7d8e6f9a5ca1c1c01e8d00d2b516fdd34eb634c9e601c8a0d1515f198a70d3c1f11118da99a48b4d067464312b02d8265a9 -DIST sundials-7.1.1.tar.gz 93104639 BLAKE2B 0bd6197c776dffc1621d2212611eb93e69a4691765474eb005759334afbba344cd120fa9d1a5b3fe5bc8cb67cd0eeb210e730fa00aaa6e022490fd5278aa2570 SHA512 5dc1329f8baf94601133e66def9db95e3d62dc954c1f2d52612aea121600b93f188089d361ff0fc7bdf0264daee13b9b062174705dc06ceecbde2eb2121856a2 -DIST sundials-7.3.0.tar.gz 92369377 BLAKE2B ea29e29c1421adccc09d092a889b47eb097b449e6de74c5412f0ae8bdb2be361b7cca3ff2c068b8e006004a9f92e08914b73f69ba20a5eba30854b42f6e7bcd1 SHA512 74a7fabde28fe0878881f748d7863e751f8dd7303a2cd26c0ae6b81f86953e93cc402da5872bcbecdc01baac960fb18f756349495993a83c06e84cacd0a56d08 -DIST sundials-7.5.0.tar.gz 92920912 BLAKE2B 8bdf6b24860838b6d979faa736b04436835e8a9f90164c78d8e31713413241f6c7b7b24b090481bc3b35a953dfcbd867b5fd5b00f8ece0aae17919064436aeca SHA512 4ae4417552bbfa53fc49e82061e37c3aa9f2f17bf0d8dbf46e2d85d55a4fbe8fbcd10e4e573ae78b3c4fa25adfaa758e31adbb58a7300bee1174d67dbc2ef58f -DIST sundials-7.7.0.tar.gz 25610795 BLAKE2B 72e3a5cc5b8df85eeadc8a917444eed7ee0849423633dabff43964875adea665f2cb3684006edca6d36acf9786619f4914c96e834866ac4f6c36838e82eb5f73 SHA512 390ad55789c7be3084474c9979bf9e0d7c0823844061e54ce5e3590981897c5b0d5488f63a5251ff489f4bed4e8d862279b0427654c272df67b84cf6ea04fcc8 diff --git a/sci-libs/sundials/files/sundials-5.8.0-fix-license-install-path.patch b/sci-libs/sundials/files/sundials-5.8.0-fix-license-install-path.patch deleted file mode 100644 index d4e5fd929b3c..000000000000 --- a/sci-libs/sundials/files/sundials-5.8.0-fix-license-install-path.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 554a760daeda3a04049bfa4cf882aae1207f833d Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl-gentoo@posteo.net> -Date: Fri, 30 Apr 2021 11:58:25 +0200 -Subject: [PATCH] fix license install path - -Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> ---- - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 40a650e..d57ca7b 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -231,10 +231,10 @@ endif() - - # install license and notice files - install(FILES "${PROJECT_SOURCE_DIR}/LICENSE" -- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials" -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}" - ) - install(FILES "${PROJECT_SOURCE_DIR}/NOTICE" -- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials" -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}" - ) - - # create package version file --- -2.31.1 diff --git a/sci-libs/sundials/files/sundials-7.3.0-fix-license-install-path.patch b/sci-libs/sundials/files/sundials-7.3.0-fix-license-install-path.patch deleted file mode 100644 index 18151ca02c70..000000000000 --- a/sci-libs/sundials/files/sundials-7.3.0-fix-license-install-path.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0b76779..dfa0e29 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -259,9 +259,9 @@ endif() - - # install license and notice files - install(FILES "${PROJECT_SOURCE_DIR}/LICENSE" -- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials") -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}") - install(FILES "${PROJECT_SOURCE_DIR}/NOTICE" -- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials") -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}") - - # create package version file - include(CMakePackageConfigHelpers) diff --git a/sci-libs/sundials/metadata.xml b/sci-libs/sundials/metadata.xml deleted file mode 100644 index 3a9a3b121469..000000000000 --- a/sci-libs/sundials/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Scientific Project</name> - </maintainer> - <longdescription lang="en"> - SUite of Nonlinear and DIfferential/ALgebraic equation Solvers was - implemented with the goal of providing robust time integrators and - nonlinear solvers that can easily be incorporated into existing - simulation codes. The primary design goals were to require minimal - information from the user, allow users to easily supply their own - data structures underneath the solvers, and allow for easy - incorporation of user-supplied linear solvers and preconditioners. - </longdescription> - <use> - <flag name="hypre">Build with <pkg>sci-libs/hypre</pkg> conditioners</flag> - <flag name="int64">Use index size of 64 rather than 32 bits</flag> - <flag name="sparse">Enable support for <pkg>sci-libs/klu</pkg> sparse solver</flag> - <flag name="superlumt">Build with <pkg>sci-libs/superlu_mt</pkg></flag> - </use> - <upstream> - <remote-id type="github">LLNL/sundials</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild deleted file mode 100644 index 9692e004a1ae..000000000000 --- a/sci-libs/sundials/sundials-5.8.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( int64 static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN77_INTERFACE=$(usex fortran) - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - -DUSE_GENERIC_MATH=ON - ) - if use examples; then - mycmakeargs+=( - -DEXAMPLES_ENABLE_C=ON - -DEXAMPLES_ENABLE_CXX=ON - ) - if use fortran; then - mycmakeargs+=( - -DEXAMPLES_ENABLE_F77=ON - -DEXAMPLES_ENABLE_F90=ON - -DEXAMPLES_ENABLE_F2003=ON - ) - fi - fi - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/sundials/sundials-6.2.0.ebuild b/sci-libs/sundials/sundials-6.2.0.ebuild deleted file mode 100644 index 4d6b74bea934..000000000000 --- a/sci-libs/sundials/sundials-6.2.0.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( int64 static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - -DUSE_GENERIC_MATH=ON - ) - - if use examples; then - mycmakeargs+=( - -DEXAMPLES_ENABLE_C=ON - -DEXAMPLES_ENABLE_CXX=ON - ) - if use fortran; then - mycmakeargs+=( - -DEXAMPLES_ENABLE_F77=ON - -DEXAMPLES_ENABLE_F90=ON - -DEXAMPLES_ENABLE_F2003=ON - ) - fi - fi - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/sundials/sundials-6.5.0.ebuild b/sci-libs/sundials/sundials-6.5.0.ebuild deleted file mode 100644 index 771861e17b8e..000000000000 --- a/sci-libs/sundials/sundials-6.5.0.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( int64 static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - -DUSE_GENERIC_MATH=ON - ) - - if use examples; then - mycmakeargs+=( - -DEXAMPLES_ENABLE_C=ON - -DEXAMPLES_ENABLE_CXX=ON - ) - if use fortran; then - mycmakeargs+=( - -DEXAMPLES_ENABLE_F2003=ON - ) - fi - fi - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - - cmake_src_configure -} - -src_compile() { - if use fortran; then - cmake_src_compile -j1 - else - cmake_src_compile - fi -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/sundials/sundials-7.0.0.ebuild b/sci-libs/sundials/sundials-7.0.0.ebuild deleted file mode 100644 index 71ef2c31049b..000000000000 --- a/sci-libs/sundials/sundials-7.0.0.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( int64 static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - ) - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/sundials/sundials-7.1.1.ebuild b/sci-libs/sundials/sundials-7.1.1.ebuild deleted file mode 100644 index 30474cddcdea..000000000000 --- a/sci-libs/sundials/sundials-7.1.1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - ) - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/sundials/sundials-7.3.0.ebuild b/sci-libs/sundials/sundials-7.3.0.ebuild deleted file mode 100644 index f3a0cb847535..000000000000 --- a/sci-libs/sundials/sundials-7.3.0.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - ) - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/sundials/sundials-7.5.0.ebuild b/sci-libs/sundials/sundials-7.5.0.ebuild deleted file mode 100644 index 778f55a55763..000000000000 --- a/sci-libs/sundials/sundials-7.5.0.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-7.3.0-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - ) - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/sundials/sundials-7.7.0.ebuild b/sci-libs/sundials/sundials-7.7.0.ebuild deleted file mode 100644 index 7ad8d3230aa8..000000000000 --- a/sci-libs/sundials/sundials-7.7.0.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD="77 90 2003" -# if FFLAGS and FCFLAGS are set then should be equal - -inherit cmake flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION="Suite of nonlinear solvers" -HOMEPAGE="https://computing.llnl.gov/projects/sundials" -SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads" -REQUIRED_USE=" - fortran? ( static-libs ) - hypre? ( mpi ) -" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - lapack? ( virtual/lapack ) - mpi? ( - sci-libs/hypre:=[fortran?,mpi?] - virtual/mpi[fortran?] - ) - sparse? ( sci-libs/klu ) - superlumt? ( sci-libs/superlu_mt:=[int64=] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-7.3.0-fix-license-install-path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #707240 - append-cflags -fcommon - use threads && append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - # undefined reference to `psolve' - # undefined reference to `psetup' - # https://bugs.gentoo.org/862933 - # https://github.com/LLNL/sundials/issues/97 - filter-lto - - mycmakeargs+=( - -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_LIBS=$(usex static-libs) - -DENABLE_HYPRE=$(usex hypre) - -DENABLE_KLU=$(usex sparse) - -DENABLE_LAPACK=$(usex lapack) - -DENABLE_MPI=$(usex mpi) - -DENABLE_OPENMP=$(usex openmp) - -DENABLE_PTHREAD=$(usex threads) - -DENABLE_SUPERLUMT=$(usex superlumt) - -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" - -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="-lsuperlu_mt" - ) - - if use fortran; then - mycmakeargs+=( - -DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran" - ) - fi - - if use hypre; then - mycmakeargs+=( - -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" - -DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so" - ) - fi - - if use sparse; then - mycmakeargs+=( - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" - ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc doc/*/*.pdf -} diff --git a/sci-libs/superlu/Manifest b/sci-libs/superlu/Manifest deleted file mode 100644 index e363a7d2451c..000000000000 --- a/sci-libs/superlu/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST superlu-5.3.0.tar.gz 2483070 BLAKE2B 2e877c12b698fae6649d3146d4a22a8c701df813d1fa037b7707081229de09e102660e75dd32138264ad9e01e5b3e820012106cd2b0d46cc2a1c37dc5eaafec2 SHA512 1461b52bc18a8b0345beb70fdd46e07df497a13be840bcc061158ea1d0e61c8745806d1ad21cb2723db80f5ed762c3741f9c0ded2b2013df46da0e8bb6b77b83 -DIST superlu-7.0.1.tar.gz 2512312 BLAKE2B b8d593f243905bfae38051012846e092ec7a3a5b190571e32c52dce1d1ea3f86ef09d05840681278cc66df1f6aa3fbd411e231e7032f7db06ec5111113334f2e SHA512 1825cf6ac37b68043ade790d182628233b82692cf3b84a2f217e0db34383995d0281ac73d7fe0392f24c43a540d4ea869fc5b46984709107d39888a37b70938d -DIST superlu_4.3.new.tar.gz 2875951 BLAKE2B 4208edb7df0babc0bb7e21077c6e0a00a10766a2d01b2da47f05ecdb232ca3309a2bce00f2cd1b709a8c01b7de2276e4f7d63856ace2e93c3598f1cdcdc12712 SHA512 57799051c5cd394e4cb1b89481a4706ee0a21159f06941bab4a39dfe30f4b6ccdf67042c6ec2c479a12deee0ed26c3707069a5b53281fb26b6c752ca77102aad diff --git a/sci-libs/superlu/files/superlu-4.3-autotools.patch b/sci-libs/superlu/files/superlu-4.3-autotools.patch deleted file mode 100644 index 5deeba83cf3f..000000000000 --- a/sci-libs/superlu/files/superlu-4.3-autotools.patch +++ /dev/null @@ -1,558 +0,0 @@ ---- a/EXAMPLE/Makefile -+++ b/EXAMPLE/Makefile -@@ -1,4 +1,3 @@ --include ../make.inc - - ####################################################################### - # This makefile creates the example programs for the linear equation -@@ -32,7 +31,9 @@ include ../make.inc - # - ####################################################################### - --HEADER = ../SRC -+HEADER = $(shell ${PKG_CONFIG} --cflags superlu) -+LIBS = $(shell ${PKG_CONFIG} --libs superlu) -+CDEFS = -DAdd_ - - SLINEXM = slinsol.o - SLINEXM1 = slinsol1.o -@@ -67,7 +68,6 @@ ZLINXEXM2 = zlinsolx2.o - ZITSOL = zitersol.o zfgmr.o - ZITSOL1 = zitersol1.o zfgmr.o - -- - all: single double complex complex16 - - single: slinsol slinsol1 slinsolx slinsolx1 slinsolx2 sitersol sitersol1 -@@ -77,97 +77,97 @@ complex: clinsol clinsol1 clinsolx clinsolx1 clinsolx2 citersol citersol1 - complex16: zlinsol zlinsol1 zlinsolx zlinsolx1 zlinsolx2 zitersol zitersol1 - - slinsol: $(SLINEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SLINEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SLINEXM) $(LIBS) -o $@ - - slinsol1: $(SLINEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SLINEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SLINEXM1) $(LIBS) -o $@ - - slinsolx: $(SLINXEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SLINXEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SLINXEXM) $(LIBS) -o $@ - - slinsolx1: $(SLINXEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SLINXEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SLINXEXM1) $(LIBS) -o $@ - - slinsolx2: $(SLINXEXM2) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SLINXEXM2) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SLINXEXM2) $(LIBS) -o $@ - - sitersol: $(SITSOL) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SITSOL) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SITSOL) $(LIBS) -o $@ - - sitersol1: $(SITSOL1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SITSOL1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SITSOL1) $(LIBS) -o $@ - - dlinsol: $(DLINEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(DLINEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(DLINEXM) $(LIBS) -o $@ - - dlinsol1: $(DLINEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(DLINEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(DLINEXM1) $(LIBS) -o $@ - - dlinsolx: $(DLINXEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(DLINXEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(DLINXEXM) $(LIBS) -o $@ - - dlinsolx1: $(DLINXEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(DLINXEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(DLINXEXM1) $(LIBS) -o $@ - - dlinsolx2: $(DLINXEXM2) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(DLINXEXM2) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(DLINXEXM2) $(LIBS) -o $@ - - superlu: $(SUPERLUEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(SUPERLUEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(SUPERLUEXM) $(LIBS) -o $@ - - ditersol: $(DITSOL) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(DITSOL) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(DITSOL) $(LIBS) -o $@ - - ditersol1: $(DITSOL1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(DITSOL1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(DITSOL1) $(LIBS) -o $@ - - clinsol: $(CLINEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(CLINEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(CLINEXM) $(LIBS) -o $@ - - clinsol1: $(CLINEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(CLINEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(CLINEXM1) $(LIBS) -o $@ - - clinsolx: $(CLINXEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(CLINXEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(CLINXEXM) $(LIBS) -o $@ - - clinsolx1: $(CLINXEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(CLINXEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(CLINXEXM1) $(LIBS) -o $@ - - clinsolx2: $(CLINXEXM2) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(CLINXEXM2) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(CLINXEXM2) $(LIBS) -o $@ - - citersol: $(CITSOL) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(CITSOL) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(CITSOL) $(LIBS) -o $@ - - citersol1: $(CITSOL1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(CITSOL1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(CITSOL1) $(LIBS) -o $@ - - zlinsol: $(ZLINEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(ZLINEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(ZLINEXM) $(LIBS) -o $@ - - zlinsol1: $(ZLINEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(ZLINEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(ZLINEXM1) $(LIBS) -o $@ - - zlinsolx: $(ZLINXEXM) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(ZLINXEXM) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(ZLINXEXM) $(LIBS) -o $@ - - zlinsolx1: $(ZLINXEXM1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(ZLINXEXM1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(ZLINXEXM1) $(LIBS) -o $@ - - zlinsolx2: $(ZLINXEXM2) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(ZLINXEXM2) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(ZLINXEXM2) $(LIBS) -o $@ - - zitersol: $(ZITSOL) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(ZITSOL) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAGS) $(ZITSOL) $(LIBS) -o $@ - - zitersol1: $(ZITSOL1) $(SUPERLULIB) -- $(LOADER) $(LOADOPTS) $(ZITSOL1) $(LIBS) -lm -o $@ -+ $(LD) $(LDFLAG) $(ZITSOL1) $(LIBS) -o $@ - - .c.o: -- $(CC) $(CFLAGS) $(CDEFS) -I$(HEADER) -c $< $(VERBOSE) -+ $(CC) $(CFLAGS) $(CDEFS) $(HEADER) -c $< $(VERBOSE) - - .f.o: -- $(FORTRAN) $(FFLAGS) -c $< $(VERBOSE) -+ $(FC) $(FFLAGS) -c $< $(VERBOSE) - - clean: - rm -f *.o *linsol *linsol1 *linsolx *linsolx1 *linsolx2 \ ---- a/FORTRAN/Makefile -+++ b/FORTRAN/Makefile -@@ -1,12 +1,12 @@ --include ../make.inc -+#include ../make.inc - - ####################################################################### - # This makefile creates the Fortran example interface to use the - # C routines in SuperLU. - ####################################################################### - --HEADER = ../SRC --LIBS = $(SUPERLULIB) $(BLASLIB) -lm -+HEADER = $(shell ${PKG_CONFIG} --cflags superlu) -+LIBS = $(shell ${PKG_CONFIG} --libs superlu) - - # double real - F77EXM = f77_main.o hbcode1.o c_fortran_dgssv.o -@@ -17,19 +17,19 @@ ZF77EXM = z_f77_main.o zhbcode1.o c_fortran_zgssv.o - all: f77exm zf77exm - - f77exm: $(F77EXM) $(SUPERLULIB) -- $(FORTRAN) $(LOADOPTS) $(F77EXM) $(LIBS) -o $@ -+ $(FC) $(LDFLAGS) $(F77EXM) $(LIBS) -o $@ - - zf77exm: $(ZF77EXM) $(SUPERLULIB) - $(FORTRAN) $(LOADOPTS) $(ZF77EXM) $(LIBS) -o $@ - - c_fortran_zgssv.o: c_fortran_zgssv.c -- $(CC) $(CFLAGS) $(CDEFS) -I$(HEADER) -c $< $(VERBOSE) -+ $(CC) $(CFLAGS) $(CDEFS) $(HEADER) -c $< $(VERBOSE) - - .c.o: -- $(CC) $(CFLAGS) $(CDEFS) -I$(HEADER) -c $< $(VERBOSE) -+ $(CC) $(CFLAGS) $(CDEFS) $(HEADER) -c $< $(VERBOSE) - - .f.o: -- $(FORTRAN) $(FFLAGS) -c $< $(VERBOSE) -+ $(FC) $(FFLAGS) -c $< $(VERBOSE) - - clean: - rm -f *.o f77exm zf77exm -index 0000000..7e51046 ---- /dev/null -+++ b/Makefile.am -@@ -0,0 +1,4 @@ -+SUBDIRS = SRC -+ -+pkgconfigdir = $(libdir)/pkgconfig -+pkgconfig_DATA = superlu.pc -index 0000000..748e5e9 ---- /dev/null -+++ b/SRC/Makefile.am -@@ -0,0 +1,110 @@ -+AM_CPPFLAGS = -DAdd_ -+ -+### headers -+noinst_HEADERS = \ -+ colamd.h \ -+ html_mainpage.h -+ -+src_includedir = $(includedir)/superlu -+src_include_HEADERS = \ -+ slu_cdefs.h \ -+ slu_ddefs.h \ -+ slu_sdefs.h \ -+ slu_zdefs.h \ -+ slu_Cnames.h \ -+ slu_dcomplex.h \ -+ slu_scomplex.h \ -+ slu_util.h \ -+ superlu_enum_consts.h \ -+ supermatrix.h -+ -+### LAPACK -+LAAUX = lsame.c xerbla.c -+SLASRC = slacon.c -+DLASRC = dlacon.c -+CLASRC = clacon.c scsum1.c icmax1.c -+ZLASRC = zlacon.c dzsum1.c izmax1.c -+ -+ -+################################## -+# Do not optimize these routines # -+################################## -+CFLAGS_SAV=@CFLAGS@ -+CFLAGS= -+noinst_LTLIBRARIES = libnoopt.la -+libnoopt_la_SOURCES = slamch.c dlamch.c superlu_timer.c -+libnoopt_la_CFLAGS = -O0 -+ -+### SuperLU -+ALLAUX = util.c memory.c get_perm_c.c mmd.c \ -+ sp_coletree.c sp_preorder.c sp_ienv.c relax_snode.c \ -+ heap_relax_snode.c colamd.c \ -+ ilu_relax_snode.c ilu_heap_relax_snode.c mark_relax.c \ -+ mc64ad.f qselect.f -+ -+SLUSRC = \ -+ sgssv.c sgssvx.c \ -+ ssp_blas2.c ssp_blas3.c sgscon.c \ -+ slangs.c sgsequ.c slaqgs.c spivotgrowth.c \ -+ sgsrfs.c sgstrf.c sgstrs.c scopy_to_ucol.c \ -+ ssnode_dfs.c ssnode_bmod.c \ -+ spanel_dfs.c spanel_bmod.c sreadhb.c \ -+ scolumn_dfs.c scolumn_bmod.c spivotL.c spruneL.c \ -+ smemory.c sutil.c smyblas2.c \ -+ sgsisx.c sgsitrf.c sldperm.c \ -+ ilu_sdrop_row.c ilu_ssnode_dfs.c \ -+ ilu_scolumn_dfs.c ilu_spanel_dfs.c ilu_scopy_to_ucol.c \ -+ ilu_spivotL.c sdiagonal.c -+ -+DLUSRC = \ -+ dgssv.c dgssvx.c \ -+ dsp_blas2.c dsp_blas3.c dgscon.c \ -+ dlangs.c dgsequ.c dlaqgs.c dpivotgrowth.c \ -+ dgsrfs.c dgstrf.c dgstrs.c dcopy_to_ucol.c \ -+ dsnode_dfs.c dsnode_bmod.c \ -+ dpanel_dfs.c dpanel_bmod.c dreadhb.c \ -+ dcolumn_dfs.c dcolumn_bmod.c dpivotL.c dpruneL.c \ -+ dmemory.c dutil.c dmyblas2.c \ -+ dgsisx.c dgsitrf.c \ -+ dldperm.c \ -+ ilu_ddrop_row.c ilu_dsnode_dfs.c \ -+ ilu_dcolumn_dfs.c ilu_dpanel_dfs.c ilu_dcopy_to_ucol.c \ -+ ilu_dpivotL.c ddiagonal.c -+ -+CLUSRC = \ -+ scomplex.c cgssv.c cgssvx.c csp_blas2.c csp_blas3.c cgscon.c \ -+ clangs.c cgsequ.c claqgs.c cpivotgrowth.c \ -+ cgsrfs.c cgstrf.c cgstrs.c ccopy_to_ucol.c \ -+ csnode_dfs.c csnode_bmod.c \ -+ cpanel_dfs.c cpanel_bmod.c creadhb.c \ -+ ccolumn_dfs.c ccolumn_bmod.c cpivotL.c cpruneL.c \ -+ cmemory.c cutil.c cmyblas2.c \ -+ cgsisx.c cgsitrf.c cldperm.c \ -+ ilu_cdrop_row.c ilu_csnode_dfs.c \ -+ ilu_ccolumn_dfs.c ilu_cpanel_dfs.c ilu_ccopy_to_ucol.c \ -+ ilu_cpivotL.c cdiagonal.c -+ -+ZLUSRC = \ -+ dcomplex.c zgssv.c zgssvx.c zsp_blas2.c zsp_blas3.c zgscon.c \ -+ zlangs.c zgsequ.c zlaqgs.c zpivotgrowth.c \ -+ zgsrfs.c zgstrf.c zgstrs.c zcopy_to_ucol.c \ -+ zsnode_dfs.c zsnode_bmod.c \ -+ zpanel_dfs.c zpanel_bmod.c zreadhb.c \ -+ zcolumn_dfs.c zcolumn_bmod.c zpivotL.c zpruneL.c \ -+ zmemory.c zutil.c zmyblas2.c \ -+ zgsisx.c zgsitrf.c zldperm.c \ -+ ilu_zdrop_row.c ilu_zsnode_dfs.c \ -+ ilu_zcolumn_dfs.c ilu_zpanel_dfs.c ilu_zcopy_to_ucol.c \ -+ ilu_zpivotL.c zdiagonal.c -+ -+lib_LTLIBRARIES = libsuperlu.la -+libsuperlu_la_SOURCES = \ -+ $(NOOPTAUX) \ -+ $(ALLAUX) $(LAAUX) \ -+ $(SLUSRC) $(SLASRC) \ -+ $(DLUSRC) $(DLASRC) \ -+ $(CLUSRC) $(CLASRC) \ -+ $(ZLUSRC) $(ZLASRC) -+libsuperlu_la_CFLAGS = $(CFLAGS_SAV) -+libsuperlu_la_LIBADD = $(BLAS_LIBS) libnoopt.la -+libsuperlu_la_LDFLAGS = -no-undefined -version-info 4:2:0 ---- /dev/null -+++ b/ax_blas.m4 -@@ -0,0 +1,201 @@ -+# =========================================================================== -+# http://www.gnu.org/software/autoconf-archive/ax_blas.html -+# =========================================================================== -+# -+# SYNOPSIS -+# -+# AX_BLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) -+# -+# DESCRIPTION -+# -+# This macro looks for a library that implements the BLAS linear-algebra -+# interface (see http://www.netlib.org/blas/). On success, it sets the -+# BLAS_LIBS output variable to hold the requisite library linkages. -+# -+# To link with BLAS, you should link with: -+# -+# $BLAS_LIBS $LIBS $FLIBS -+# -+# in that order. FLIBS is the output variable of the -+# AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is -+# sometimes necessary in order to link with F77 libraries. Users will also -+# need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the same -+# reason. -+# -+# Many libraries are searched for, from ATLAS to CXML to ESSL. The user -+# may also use --with-blas=<lib> in order to use some specific BLAS -+# library <lib>. In order to link successfully, however, be aware that you -+# will probably need to use the same Fortran compiler (which can be set -+# via the F77 env. var.) as was used to compile the BLAS library. -+# -+# ACTION-IF-FOUND is a list of shell commands to run if a BLAS library is -+# found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is -+# not found. If ACTION-IF-FOUND is not specified, the default action will -+# define HAVE_BLAS. -+# -+# LICENSE -+# -+# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> -+# -+# This program is free software: you can redistribute it and/or modify it -+# under the terms of the GNU General Public License as published by the -+# Free Software Foundation, either version 3 of the License, or (at your -+# option) any later version. -+# -+# This program is distributed in the hope that it will be useful, but -+# WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -+# Public License for more details. -+# -+# You should have received a copy of the GNU General Public License along -+# with this program. If not, see <http://www.gnu.org/licenses/>. -+# -+# As a special exception, the respective Autoconf Macro's copyright owner -+# gives unlimited permission to copy, distribute and modify the configure -+# scripts that are the output of Autoconf when processing the Macro. You -+# need not follow the terms of the GNU General Public License when using -+# or distributing such scripts, even though portions of the text of the -+# Macro appear in them. The GNU General Public License (GPL) does govern -+# all other use of the material that constitutes the Autoconf Macro. -+# -+# This special exception to the GPL applies to versions of the Autoconf -+# Macro released by the Autoconf Archive. When you make and distribute a -+# modified version of the Autoconf Macro, you may extend this special -+# exception to the GPL to apply to your modified version as well. -+ -+#serial 11 -+ -+AU_ALIAS([ACX_BLAS], [AX_BLAS]) -+AC_DEFUN([AX_BLAS], [ -+AC_PREREQ(2.50) -+AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS]) -+ax_blas_ok=no -+ -+AC_ARG_WITH(blas, -+ [AS_HELP_STRING([--with-blas=<lib>], [use BLAS library <lib>])]) -+case $with_blas in -+ yes | "") ;; -+ no) ax_blas_ok=disable ;; -+ -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;; -+ *) BLAS_LIBS="-l$with_blas" ;; -+esac -+ -+# Get fortran linker names of BLAS functions to check for. -+AC_F77_FUNC(sgemm) -+AC_F77_FUNC(dgemm) -+ -+ax_blas_save_LIBS="$LIBS" -+LIBS="$LIBS $FLIBS" -+ -+# First, check BLAS_LIBS environment variable -+if test $ax_blas_ok = no; then -+if test "x$BLAS_LIBS" != x; then -+ save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS" -+ AC_MSG_CHECKING([for $sgemm in $BLAS_LIBS]) -+ AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes], [BLAS_LIBS=""]) -+ AC_MSG_RESULT($ax_blas_ok) -+ LIBS="$save_LIBS" -+fi -+fi -+ -+# BLAS linked to by default? (happens on some supercomputers) -+if test $ax_blas_ok = no; then -+ save_LIBS="$LIBS"; LIBS="$LIBS" -+ AC_MSG_CHECKING([if $sgemm is being linked in already]) -+ AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes]) -+ AC_MSG_RESULT($ax_blas_ok) -+ LIBS="$save_LIBS" -+fi -+ -+# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/) -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(atlas, ATL_xerbla, -+ [AC_CHECK_LIB(f77blas, $sgemm, -+ [AC_CHECK_LIB(cblas, cblas_dgemm, -+ [ax_blas_ok=yes -+ BLAS_LIBS="-lcblas -lf77blas -latlas"], -+ [], [-lf77blas -latlas])], -+ [], [-latlas])]) -+fi -+ -+# BLAS in PhiPACK libraries? (requires generic BLAS lib, too) -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(blas, $sgemm, -+ [AC_CHECK_LIB(dgemm, $dgemm, -+ [AC_CHECK_LIB(sgemm, $sgemm, -+ [ax_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"], -+ [], [-lblas])], -+ [], [-lblas])]) -+fi -+ -+# BLAS in Intel MKL library? -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(mkl, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-lmkl"]) -+fi -+ -+# BLAS in Apple vecLib library? -+if test $ax_blas_ok = no; then -+ save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS" -+ AC_MSG_CHECKING([for $sgemm in -framework vecLib]) -+ AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"]) -+ AC_MSG_RESULT($ax_blas_ok) -+ LIBS="$save_LIBS" -+fi -+ -+# BLAS in Alpha CXML library? -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(cxml, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-lcxml"]) -+fi -+ -+# BLAS in Alpha DXML library? (now called CXML, see above) -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(dxml, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-ldxml"]) -+fi -+ -+# BLAS in Sun Performance library? -+if test $ax_blas_ok = no; then -+ if test "x$GCC" != xyes; then # only works with Sun CC -+ AC_CHECK_LIB(sunmath, acosp, -+ [AC_CHECK_LIB(sunperf, $sgemm, -+ [BLAS_LIBS="-xlic_lib=sunperf -lsunmath" -+ ax_blas_ok=yes],[],[-lsunmath])]) -+ fi -+fi -+ -+# BLAS in SCSL library? (SGI/Cray Scientific Library) -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(scs, $sgemm, [ax_blas_ok=yes; BLAS_LIBS="-lscs"]) -+fi -+ -+# BLAS in SGIMATH library? -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(complib.sgimath, $sgemm, -+ [ax_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"]) -+fi -+ -+# BLAS in IBM ESSL library? (requires generic BLAS lib, too) -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(blas, $sgemm, -+ [AC_CHECK_LIB(essl, $sgemm, -+ [ax_blas_ok=yes; BLAS_LIBS="-lessl -lblas"], -+ [], [-lblas $FLIBS])]) -+fi -+ -+# Generic BLAS library? -+if test $ax_blas_ok = no; then -+ AC_CHECK_LIB(blas, $sgemm, [ax_blas_ok=yes; BLAS_LIBS="-lblas"]) -+fi -+ -+AC_SUBST(BLAS_LIBS) -+ -+LIBS="$ax_blas_save_LIBS" -+ -+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -+if test x"$ax_blas_ok" = xyes; then -+ ifelse([$1],,AC_DEFINE(HAVE_BLAS,1,[Define if you have a BLAS library.]),[$1]) -+ : -+else -+ ax_blas_ok=no -+ $2 -+fi -+])dnl AX_BLAS ---- /dev/null -+++ b/configure.ac -@@ -0,0 +1,16 @@ -+# -*- Autoconf -*- -+AC_PREREQ(2.59) -+AC_INIT(superlu, 4.3, xsli@lbl.gov) -+AM_INIT_AUTOMAKE([foreign]) -+AC_CONFIG_HEADER([config.h]) -+AC_PROG_INSTALL -+AC_PROG_LIBTOOL -+AC_PROG_F77 -+sinclude(ax_blas.m4) -+AX_BLAS -+if test x"$BLAS_LIBS" = x; then -+ AC_MSG_ERROR([Cannot find blas libraries]) -+fi -+AC_CHECK_LIB([m], [floor]) -+AC_CONFIG_FILES([Makefile SRC/Makefile superlu.pc]) -+AC_OUTPUT ---- /dev/null -+++ b/superlu.pc.in -@@ -0,0 +1,13 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: @PACKAGE_NAME@ -+Description: Sparse LU factorization library -+Version: @PACKAGE_VERSION@ -+URL: http://crd.lbl.gov/~xiaoye/SuperLU/ -+Libs: -L${libdir} -lsuperlu -+Libs.private: -lm @FLIBS@ -+Requires: blas -+Cflags: -I${includedir}/superlu diff --git a/sci-libs/superlu/files/superlu-4.3-format-security.patch b/sci-libs/superlu/files/superlu-4.3-format-security.patch deleted file mode 100644 index a2fee7e7c20c..000000000000 --- a/sci-libs/superlu/files/superlu-4.3-format-security.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/SRC/util.c -+++ b/SRC/util.c -@@ -29,7 +29,7 @@ - - void superlu_abort_and_exit(char* msg) - { -- fprintf(stderr, msg); -+ fprintf(stderr, "%s", msg); - exit (-1); - } - diff --git a/sci-libs/superlu/files/superlu-5.2.2-no-internal-blas.patch b/sci-libs/superlu/files/superlu-5.2.2-no-internal-blas.patch deleted file mode 100644 index cbfc013141b5..000000000000 --- a/sci-libs/superlu/files/superlu-5.2.2-no-internal-blas.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -121,13 +121,7 @@ if(BLAS_FOUND) - set(BLAS_LIB_EXPORT ${BLAS_LIB_STR}) - else() - message("-- Did not find or specify BLAS so configure to build internal CBLAS ...") -- add_subdirectory(CBLAS) -- set(BLAS_LIB blas) -- if (BUILD_SHARED_LIBS) # export to be referenced by downstream makefile -- set(BLAS_LIB_EXPORT ${CMAKE_INSTALL_PREFIX}/CBLAS/libblas.so) -- else() -- set(BLAS_LIB_EXPORT ${CMAKE_INSTALL_PREFIX}/CBLAS/libblas.a) -- endif() -+ message( FATAL_ERROR "Could not find BLAS, refusing to use internal copy" ) - endif() - - ###################################################################### diff --git a/sci-libs/superlu/metadata.xml b/sci-libs/superlu/metadata.xml deleted file mode 100644 index bf22e5324b94..000000000000 --- a/sci-libs/superlu/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - SuperLU is a general purpose library for the direct solution of large, - sparse, nonsymmetric systems of linear equations on high performance - machines. The library is written in C and is callable from either C or - Fortran. The library routines will perform an LU decomposition with - partial pivoting and triangular system solves through forward and back - substitution. The LU factorization routines can handle non-square - matrices but the triangular solves are performed only for square - matrices. The matrix columns may be preordered (before factorization) - either through library or user supplied routines. This preordering for - sparsity is completely separate from the factorization. Working - precision iterative refinement subroutines are provided for improved - backward stability. Routines are also provided to equilibrate the - system, estimate the condition number, calculate the relative backward - error, and estimate error bounds for the refined solutions. - </longdescription> - <upstream> - <remote-id type="github">xiaoyeli/superlu</remote-id> - </upstream> - -</pkgmetadata> diff --git a/sci-libs/superlu/superlu-4.3-r4.ebuild b/sci-libs/superlu/superlu-4.3-r4.ebuild deleted file mode 100644 index 65536c880b3b..000000000000 --- a/sci-libs/superlu/superlu-4.3-r4.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools fortran-2 multilib toolchain-funcs flag-o-matic - -MY_PN=SuperLU - -DESCRIPTION="Sparse LU factorization library" -HOMEPAGE="https://crd-legacy.lbl.gov/~xiaoye/SuperLU/" -# See bug #862597 for .new, can drop on next version -SRC_URI="https://portal.nersc.gov/project/sparse/${PN}/${PN}_${PV}.tar.gz -> ${PN}_${PV}.new.tar.gz" -S="${WORKDIR}/${MY_PN}_${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND="virtual/blas" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - test? ( app-shells/tcsh ) -" - -PATCHES=( - "${FILESDIR}"/${P}-autotools.patch - "${FILESDIR}"/${P}-format-security.patch -) - -src_prepare() { - unset VERBOSE - append-cflags -std=gnu89 - sed \ - -e "s:= ar:= $(tc-getAR):g" \ - -e "s:= ranlib:= $(tc-getRANLIB):g" \ - -i make.inc || die - - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" - ) - - tc-export PKG_CONFIG - - econf "${myeconfargs[@]}" - - rm EXAMPLE/*itersol1 || die -} - -src_test() { - cd TESTING || die - emake -j1 \ - CC="$(tc-getCC)" \ - FORTRAN="$(tc-getFC)" \ - LOADER="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ - FFLAGS="${FFLAGS}" \ - LOADOPTS="${LDFLAGS}" \ - BLASLIB="$($(tc-getPKG_CONFIG) --libs blas)" \ - SUPERLULIB="${S}/SRC/.libs/libsuperlu$(get_libname)" \ - LD_LIBRARY_PATH="${S}/SRC/.libs" \ - DYLD_LIBRARY_PATH="${S}/SRC/.libs" -} - -src_install() { - default - - if use doc; then - dodoc DOC/ug.pdf - dodoc -r DOC/html/. - fi - - if use examples; then - docinto examples - dodoc -r EXAMPLE FORTRAN - fi - - find "${ED}" -name "*.a" -or -name "*.la" -delete || die -} diff --git a/sci-libs/superlu/superlu-5.3.0.ebuild b/sci-libs/superlu/superlu-5.3.0.ebuild deleted file mode 100644 index bcffdc44f40f..000000000000 --- a/sci-libs/superlu/superlu-5.3.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_STANDARD=77 - -inherit cmake fortran-2 - -DESCRIPTION="Sparse LU factorization library" -HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/" -SRC_URI="https://github.com/xiaoyeli/superlu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - test? ( app-shells/tcsh ) -" -RDEPEND="virtual/blas" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.2.2-no-internal-blas.patch -) - -src_prepare() { - cmake_src_prepare - # respect user's CFLAGS - sed -i -e 's/O3//' CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs+=( - -DCMAKE_INSTALL_INCLUDEDIR="include/superlu" - -DBUILD_SHARED_LIBS=ON - -Denable_internal_blaslib=OFF - -Denable_tests=$(usex test) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc -r DOC/html - if use examples; then - docinto examples - dodoc -r EXAMPLE FORTRAN - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/sci-libs/superlu/superlu-7.0.1.ebuild b/sci-libs/superlu/superlu-7.0.1.ebuild deleted file mode 100644 index daa7ebf248c1..000000000000 --- a/sci-libs/superlu/superlu-7.0.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_STANDARD=77 - -inherit cmake fortran-2 - -DESCRIPTION="Sparse LU factorization library" -HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/" -SRC_URI="https://github.com/xiaoyeli/superlu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - test? ( app-shells/tcsh ) -" -RDEPEND="virtual/blas" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-5.2.2-no-internal-blas.patch -) - -src_prepare() { - cmake_src_prepare - # respect user's CFLAGS - sed -i -e 's/O3//' CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_INCLUDEDIR="include/superlu" - -DBUILD_SHARED_LIBS=ON - -Denable_internal_blaslib=OFF - -Denable_tests=$(usex test) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc -r DOC/html - if use examples; then - docinto examples - dodoc -r EXAMPLE FORTRAN - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/sci-libs/superlu_mt/Manifest b/sci-libs/superlu_mt/Manifest deleted file mode 100644 index 42c36162c82a..000000000000 --- a/sci-libs/superlu_mt/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST superlu_mt-4.0.2.tar.gz 1800129 BLAKE2B 07582afc403c7f4f4378705efa1221c2e63daab66542c20bc8c0adc665180ea347a754f83c861570e501c0a1b15edf8d73c0abacc488475d333a7d43dc981b6b SHA512 65b3b412123622b1226bced7179c63a74c7956ffb13e0b8c0e085effb82d57f1c4b32329ea988c9df54727729e078f8dd8b35e3b4a0d9587cb6a15cb7004cfaf -DIST superlu_mt_3.1.tar.gz 1824440 BLAKE2B 6355c624eca13a6ad7fa0e6100b3a548215d93aafc5958b9a0e693b3333006e4b1e98facddf352f62ef1632c8528cb39a85ca15509abf046d32f8d97335749c5 SHA512 41b8d9808f6a9c3f8d9e983ab253b0c5aec486df1cc419d043a201bd950034fa4bdd5465410e1198a2314d072b92cb388fc117165a06f820922f04060c755971 diff --git a/sci-libs/superlu_mt/files/superlu_mt-3.1-duplicate-symbols.patch b/sci-libs/superlu_mt/files/superlu_mt-3.1-duplicate-symbols.patch deleted file mode 100644 index cc82c2692b5c..000000000000 --- a/sci-libs/superlu_mt/files/superlu_mt-3.1-duplicate-symbols.patch +++ /dev/null @@ -1,240 +0,0 @@ ---- a/SRC/smatgen.c 2016-12-28 01:06:35.529467943 +0000 -+++ b/SRC/smatgen.c 2016-12-28 01:06:06.949710330 +0000 -@@ -102,77 +102,3 @@ - - xa[n] = lasta; - } -- --double dlaran_(int *iseed) --{ --/* -- LAPACK auxiliary routine (version 2.0) -- -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., -- Courant Institute, Argonne National Lab, and Rice University -- February 29, 1992 -- -- Purpose -- ======= -- -- DLARAN returns a random real number from a uniform (0,1) -- distribution. -- -- Arguments -- ========= -- -- ISEED (input/output) INT array, dimension (4) -- On entry, the seed of the random number generator; the array -- -- elements must be between 0 and 4095, and ISEED(4) must be -- odd. -- On exit, the seed is updated. -- -- Further Details -- =============== -- -- This routine uses a multiplicative congruential method with modulus -- 2**48 and multiplier 33952834046453 (see G.S.Fishman, -- 'Multiplicative congruential random number generators with modulus -- 2**b: an exhaustive analysis for b = 32 and a partial analysis for -- b = 48', Math. Comp. 189, pp 331-344, 1990). -- -- 48-bit integers are stored in 4 integer array elements with 12 bits -- per element. Hence the routine is portable across machines with -- integers of 32 bits or more. -- -- ===================================================================== --*/ -- -- /* Local variables */ -- int it1, it2, it3, it4; -- -- --iseed; -- -- /* multiply the seed by the multiplier modulo 2**48 */ -- it4 = iseed[4] * 2549; -- it3 = it4 / 4096; -- it4 -= it3 << 12; -- it3 = it3 + iseed[3] * 2549 + iseed[4] * 2508; -- it2 = it3 / 4096; -- it3 -= it2 << 12; -- it2 = it2 + iseed[2] * 2549 + iseed[3] * 2508 + iseed[4] * 322; -- it1 = it2 / 4096; -- it2 -= it1 << 12; -- it1 = it1 + iseed[1] * 2549 + iseed[2] * 2508 + iseed[3] * 322 + iseed[4] -- * 494; -- it1 %= 4096; -- -- /* return updated seed */ -- -- iseed[1] = it1; -- iseed[2] = it2; -- iseed[3] = it3; -- iseed[4] = it4; -- -- /* convert 48-bit integer to a real number in the interval (0,1) */ -- -- return ((double) it1 + -- ((double) it2 + ((double) it3 + (double) it4 * 2.44140625e-4) * -- 2.44140625e-4) * 2.44140625e-4) * 2.44140625e-4; -- --} /* dlaran_ */ -- ---- a/SRC/zmatgen.c 2016-12-28 01:07:05.819211056 +0000 -+++ b/SRC/zmatgen.c 2016-12-28 01:07:26.329037112 +0000 -@@ -102,77 +102,3 @@ - - xa[n] = lasta; - } -- --double dlaran_(int *iseed) --{ --/* -- LAPACK auxiliary routine (version 2.0) -- -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., -- Courant Institute, Argonne National Lab, and Rice University -- February 29, 1992 -- -- Purpose -- ======= -- -- DLARAN returns a random real number from a uniform (0,1) -- distribution. -- -- Arguments -- ========= -- -- ISEED (input/output) INT array, dimension (4) -- On entry, the seed of the random number generator; the array -- -- elements must be between 0 and 4095, and ISEED(4) must be -- odd. -- On exit, the seed is updated. -- -- Further Details -- =============== -- -- This routine uses a multiplicative congruential method with modulus -- 2**48 and multiplier 33952834046453 (see G.S.Fishman, -- 'Multiplicative congruential random number generators with modulus -- 2**b: an exhaustive analysis for b = 32 and a partial analysis for -- b = 48', Math. Comp. 189, pp 331-344, 1990). -- -- 48-bit integers are stored in 4 integer array elements with 12 bits -- per element. Hence the routine is portable across machines with -- integers of 32 bits or more. -- -- ===================================================================== --*/ -- -- /* Local variables */ -- int it1, it2, it3, it4; -- -- --iseed; -- -- /* multiply the seed by the multiplier modulo 2**48 */ -- it4 = iseed[4] * 2549; -- it3 = it4 / 4096; -- it4 -= it3 << 12; -- it3 = it3 + iseed[3] * 2549 + iseed[4] * 2508; -- it2 = it3 / 4096; -- it3 -= it2 << 12; -- it2 = it2 + iseed[2] * 2549 + iseed[3] * 2508 + iseed[4] * 322; -- it1 = it2 / 4096; -- it2 -= it1 << 12; -- it1 = it1 + iseed[1] * 2549 + iseed[2] * 2508 + iseed[3] * 322 + iseed[4] -- * 494; -- it1 %= 4096; -- -- /* return updated seed */ -- -- iseed[1] = it1; -- iseed[2] = it2; -- iseed[3] = it3; -- iseed[4] = it4; -- -- /* convert 48-bit integer to a real number in the interval (0,1) */ -- -- return ((double) it1 + -- ((double) it2 + ((double) it3 + (double) it4 * 2.44140625e-4) * -- 2.44140625e-4) * 2.44140625e-4) * 2.44140625e-4; -- --} /* dlaran_ */ -- ---- a/SRC/cmatgen.c 2016-12-28 00:57:45.513963020 +0000 -+++ b/SRC/cmatgen.c 2016-12-28 00:58:46.413446529 +0000 -@@ -102,77 +102,3 @@ - - xa[n] = lasta; - } -- --double dlaran_(int *iseed) --{ --/* -- LAPACK auxiliary routine (version 2.0) -- -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., -- Courant Institute, Argonne National Lab, and Rice University -- February 29, 1992 -- -- Purpose -- ======= -- -- DLARAN returns a random real number from a uniform (0,1) -- distribution. -- -- Arguments -- ========= -- -- ISEED (input/output) INT array, dimension (4) -- On entry, the seed of the random number generator; the array -- -- elements must be between 0 and 4095, and ISEED(4) must be -- odd. -- On exit, the seed is updated. -- -- Further Details -- =============== -- -- This routine uses a multiplicative congruential method with modulus -- 2**48 and multiplier 33952834046453 (see G.S.Fishman, -- 'Multiplicative congruential random number generators with modulus -- 2**b: an exhaustive analysis for b = 32 and a partial analysis for -- b = 48', Math. Comp. 189, pp 331-344, 1990). -- -- 48-bit integers are stored in 4 integer array elements with 12 bits -- per element. Hence the routine is portable across machines with -- integers of 32 bits or more. -- -- ===================================================================== --*/ -- -- /* Local variables */ -- int it1, it2, it3, it4; -- -- --iseed; -- -- /* multiply the seed by the multiplier modulo 2**48 */ -- it4 = iseed[4] * 2549; -- it3 = it4 / 4096; -- it4 -= it3 << 12; -- it3 = it3 + iseed[3] * 2549 + iseed[4] * 2508; -- it2 = it3 / 4096; -- it3 -= it2 << 12; -- it2 = it2 + iseed[2] * 2549 + iseed[3] * 2508 + iseed[4] * 322; -- it1 = it2 / 4096; -- it2 -= it1 << 12; -- it1 = it1 + iseed[1] * 2549 + iseed[2] * 2508 + iseed[3] * 322 + iseed[4] -- * 494; -- it1 %= 4096; -- -- /* return updated seed */ -- -- iseed[1] = it1; -- iseed[2] = it2; -- iseed[3] = it3; -- iseed[4] = it4; -- -- /* convert 48-bit integer to a real number in the interval (0,1) */ -- -- return ((double) it1 + -- ((double) it2 + ((double) it3 + (double) it4 * 2.44140625e-4) * -- 2.44140625e-4) * 2.44140625e-4) * 2.44140625e-4; -- --} /* dlaran_ */ -- diff --git a/sci-libs/superlu_mt/files/superlu_mt-3.1-fix-predefs.patch b/sci-libs/superlu_mt/files/superlu_mt-3.1-fix-predefs.patch deleted file mode 100644 index 95c64675a87b..000000000000 --- a/sci-libs/superlu_mt/files/superlu_mt-3.1-fix-predefs.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/INSTALL/Makefile -+++ b/INSTALL/Makefile -@@ -19,7 +19,7 @@ slamch.o: slamch.c ; $(CC) $(NOOPTS) -c $< - dlamch.o: dlamch.c ; $(CC) $(NOOPTS) -c $< - superlu_timer.o: superlu_timer.c; $(CC) $(NOOPTS) -c $< - --.c.o: ; $(CC) $(CFLAGS) -c $< -+.c.o: ; $(CC) $(PREDEFS) $(CFLAGS) -c $< - - clean: - rm -f *.o test* *.out ---- a/SRC/Makefile -+++ b/SRC/Makefile -@@ -130,7 +130,7 @@ await.o: await.c - $(CC) -c $(NOOPTS) $< $(VERBOSE) - - .c.o: -- $(CC) $(CFLAGS) $(CDEFS) $(BLASDEF) -c $< $(VERBOSE) -+ $(CC) ${PREDEFS} $(CFLAGS) $(CDEFS) $(BLASDEF) -c $< $(VERBOSE) - - clean: - rm -f *.o core ../lib/$(SUPERLULIB) diff --git a/sci-libs/superlu_mt/files/superlu_mt-3.1-proto.patch b/sci-libs/superlu_mt/files/superlu_mt-3.1-proto.patch deleted file mode 100644 index 193138a04ad9..000000000000 --- a/sci-libs/superlu_mt/files/superlu_mt-3.1-proto.patch +++ /dev/null @@ -1,616 +0,0 @@ ---- a/SRC/smatgen.c 2026-05-05 10:09:56.551955544 +0200 -+++ b/SRC/smatgen.c 2026-05-05 10:10:36.422464887 +0200 -@@ -32,7 +32,7 @@ - int_t *asub, *xa; - float *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - printf("A banded matrix."); - sallocateA(n, nonz, nzval, rowind, colptr); /* Allocate storage */ -@@ -73,7 +73,7 @@ - int_t *asub, *xa; - float *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - n = bs * nb; - printf("A block diagonal matrix: nb " IFMT ", bs " IFMT ", n " IFMT "\n", nb, bs, n); ---- a/SRC/slu_mt_sdefs.h 2026-05-05 10:35:08.073768931 +0200 -+++ b/SRC/slu_mt_sdefs.h 2026-05-05 10:35:36.110435758 +0200 -@@ -281,7 +281,7 @@ - int_t *, int_t *, pxgstrf_shared_t *); - extern int_t sParallelInit (int_t, pxgstrf_relax_t *, superlumt_options_t *, - pxgstrf_shared_t *); --extern int_t ParallelFinalize (); -+extern int_t ParallelFinalize (pxgstrf_shared_t *); - extern void psgstrf_StackFree (); - extern int_t queue_init (queue_t *, int_t); - extern int_t queue_destroy (queue_t *); -@@ -462,7 +462,7 @@ - -------------------*/ - extern double SuperLU_timer_(); - extern int_t sp_ienv(int_t); --extern double slamch_(); -+extern double slamch_(char *); - extern int lsame_(char *, char *); - extern int xerbla_(char *, int *); - extern void superlu_abort_and_exit(char *); -@@ -480,7 +480,8 @@ - extern void sCompRow_to_CompCol(int_t m, int_t n, int_t nnz, - float *a, int_t *colind, int_t *rowptr, - float **at, int_t **rowind, int_t **colptr); -- -+extern void sp_colorder(SuperMatrix *, int_t *, superlumt_options_t *, -+ SuperMatrix *); - - /* ----------------------- - Routines for debugging ---- a/SRC/psmemory.c 2026-05-05 10:23:51.580836840 +0200 -+++ b/SRC/psmemory.c 2026-05-05 10:24:23.540456533 +0200 -@@ -869,7 +869,7 @@ - int_t *map_in_sup; /* memory mapping function; values irrelevant on entry. */ - int_t *colcnt; /* column count of Lc or H */ - int_t *super_bnd; /* supernodes partition in H */ -- char *snode_env, *getenv(); -+ char *snode_env; - - snode_env = getenv("SuperLU_DYNAMIC_SNODE_STORE"); - if ( snode_env != NULL ) { ---- a/SRC/sgstrs.c 2026-05-05 10:28:37.203432482 +0200 -+++ b/SRC/sgstrs.c 2026-05-05 10:29:03.340120543 +0200 -@@ -89,7 +89,7 @@ - float *Lval, *Uval, *Bmat; - float *work, *work_col, *rhs_work, *soln; - flops_t solve_ops; -- void sprint_soln(); -+ void sprint_soln(int_t n, int_t nrhs, float *soln); - - /* Test input parameters ... */ - *info = 0; ---- a/SRC/psgstrf_thread_init.c 2026-05-05 10:30:38.273987506 +0200 -+++ b/SRC/psgstrf_thread_init.c 2026-05-05 10:32:57.364327454 +0200 -@@ -11,6 +11,18 @@ - - #include "slu_mt_sdefs.h" - -+extern void -+pxgstrf_relax_snode( -+ const int_t, -+ superlumt_options_t *, -+ pxgstrf_relax_t * -+ ); -+ -+extern int_t -+ParallelInit(int_t n, pxgstrf_relax_t *pxgstrf_relax, -+ superlumt_options_t *superlumt_options, -+ pxgstrf_shared_t *pxgstrf_shared); -+ - psgstrf_threadarg_t * - psgstrf_thread_init(SuperMatrix *A, SuperMatrix *L, SuperMatrix *U, - superlumt_options_t *options, ---- a/SRC/sp_colorder.c 2026-05-05 10:37:48.706860063 +0200 -+++ b/SRC/sp_colorder.c 2026-05-05 10:41:06.366511201 +0200 -@@ -11,6 +11,18 @@ - - #include "slu_mt_ddefs.h" - -+extern int_t -+sp_symetree( -+ int_t *, int_t *, -+ int_t *, /* row indices of A */ -+ int_t, /* dimension of A */ -+ int_t * -+ ); -+ -+extern int_t cholnzcnt(int_t, int_t *, int_t *, -+ int_t *, int_t *, int_t *, -+ int_t *, int_t *, int_t *); -+ - void - sp_colorder(SuperMatrix *A, int_t *perm_c, superlumt_options_t *options, - SuperMatrix *AC) -@@ -281,7 +293,7 @@ - dPrintSuperPart(char *pname, int_t n, int_t *part_super) - { - register int_t i; -- FILE *fopen(), *fp; -+ FILE *fp; - char fname[20]; - strcpy(fname, pname); - strcat(fname, ".dat"); ---- a/SRC/slu_mt_ddefs.h 2026-05-05 10:42:47.203312916 +0200 -+++ b/SRC/slu_mt_ddefs.h 2026-05-05 10:43:24.531870105 +0200 -@@ -281,7 +281,7 @@ - int_t *, int_t *, pxgstrf_shared_t *); - extern int_t dParallelInit (int_t, pxgstrf_relax_t *, superlumt_options_t *, - pxgstrf_shared_t *); --extern int_t ParallelFinalize (); -+extern int_t ParallelFinalize (pxgstrf_shared_t *); - extern void pdgstrf_StackFree (); - extern int_t queue_init (queue_t *, int_t); - extern int_t queue_destroy (queue_t *); -@@ -462,7 +462,7 @@ - -------------------*/ - extern double SuperLU_timer_(); - extern int_t sp_ienv(int_t); --extern double dlamch_(); -+extern double dlamch_(char *); - extern int lsame_(char *, char *); - extern int xerbla_(char *, int *); - extern void superlu_abort_and_exit(char *); -@@ -480,6 +480,8 @@ - extern void dCompRow_to_CompCol(int_t m, int_t n, int_t nnz, - double *a, int_t *colind, int_t *rowptr, - double **at, int_t **rowind, int_t **colptr); -+extern void sp_colorder(SuperMatrix *, int_t *, superlumt_options_t *, -+ SuperMatrix *); - - - /* ----------------------- ---- a/SRC/dmatgen.c 2026-05-05 10:45:55.595085553 +0200 -+++ b/SRC/dmatgen.c 2026-05-05 10:47:25.676021395 +0200 -@@ -32,7 +32,7 @@ - int_t *asub, *xa; - double *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - printf("A banded matrix."); - dallocateA(n, nonz, nzval, rowind, colptr); /* Allocate storage */ -@@ -73,7 +73,7 @@ - int_t *asub, *xa; - double *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - n = bs * nb; - printf("A block diagonal matrix: nb " IFMT ", bs " IFMT ", n " IFMT "\n", nb, bs, n); ---- a/SRC/dgstrs.c 2026-05-05 10:53:26.071802281 +0200 -+++ b/SRC/dgstrs.c 2026-05-05 10:54:16.615226353 +0200 -@@ -89,7 +89,7 @@ - double *Lval, *Uval, *Bmat; - double *work, *work_col, *rhs_work, *soln; - flops_t solve_ops; -- void dprint_soln(); -+ void dprint_soln(int_t, int_t, double *); - - /* Test input parameters ... */ - *info = 0; ---- a/SRC/pdmemory.c 2026-05-05 10:55:14.990561181 +0200 -+++ b/SRC/pdmemory.c 2026-05-05 10:55:33.001355952 +0200 -@@ -869,7 +869,7 @@ - int_t *map_in_sup; /* memory mapping function; values irrelevant on entry. */ - int_t *colcnt; /* column count of Lc or H */ - int_t *super_bnd; /* supernodes partition in H */ -- char *snode_env, *getenv(); -+ char *snode_env; - - snode_env = getenv("SuperLU_DYNAMIC_SNODE_STORE"); - if ( snode_env != NULL ) { ---- a/SRC/pdgstrf_thread_init.c 2026-05-05 11:03:48.119015513 +0200 -+++ b/SRC/pdgstrf_thread_init.c 2026-05-05 11:10:40.213391852 +0200 -@@ -11,6 +11,18 @@ - - #include "slu_mt_ddefs.h" - -+extern void -+pxgstrf_relax_snode( -+ const int_t, -+ superlumt_options_t *, -+ pxgstrf_relax_t * -+ ); -+ -+extern int_t -+ParallelInit(int_t, pxgstrf_relax_t *, -+ superlumt_options_t *, -+ pxgstrf_shared_t *); -+ - pdgstrf_threadarg_t * - pdgstrf_thread_init(SuperMatrix *A, SuperMatrix *L, SuperMatrix *U, - superlumt_options_t *options, ---- a/SRC/cmatgen.c 2026-05-05 11:11:45.293654751 +0200 -+++ b/SRC/cmatgen.c 2026-05-05 11:12:15.972305898 +0200 -@@ -32,7 +32,7 @@ - int_t *asub, *xa; - complex *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - printf("A banded matrix."); - callocateA(n, nonz, nzval, rowind, colptr); /* Allocate storage */ -@@ -73,7 +73,7 @@ - int_t *asub, *xa; - complex *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - n = bs * nb; - printf("A block diagonal matrix: nb " IFMT ", bs " IFMT ", n " IFMT "\n", nb, bs, n); ---- a/SRC/slu_mt_cdefs.h 2026-05-05 11:14:23.487852880 +0200 -+++ b/SRC/slu_mt_cdefs.h 2026-05-05 11:14:46.556585558 +0200 -@@ -282,7 +282,7 @@ - int_t *, int_t *, pxgstrf_shared_t *); - extern int_t cParallelInit (int_t, pxgstrf_relax_t *, superlumt_options_t *, - pxgstrf_shared_t *); --extern int_t ParallelFinalize (); -+extern int_t ParallelFinalize (pxgstrf_shared_t *); - extern void pcgstrf_StackFree (); - extern int_t queue_init (queue_t *, int_t); - extern int_t queue_destroy (queue_t *); -@@ -463,7 +463,7 @@ - -------------------*/ - extern double SuperLU_timer_(); - extern int_t sp_ienv(int_t); --extern double slamch_(); -+extern double slamch_(char *); - extern int lsame_(char *, char *); - extern int xerbla_(char *, int *); - extern void superlu_abort_and_exit(char *); -@@ -481,7 +481,8 @@ - extern void cCompRow_to_CompCol(int_t m, int_t n, int_t nnz, - complex *a, int_t *colind, int_t *rowptr, - complex **at, int_t **rowind, int_t **colptr); -- -+extern void sp_colorder(SuperMatrix *, int_t *, superlumt_options_t *, -+ SuperMatrix *); - - /* ----------------------- - Routines for debugging ---- a/SRC/cgstrs.c 2026-05-05 11:18:40.593866234 +0200 -+++ b/SRC/cgstrs.c 2026-05-05 11:19:21.743390809 +0200 -@@ -90,7 +90,7 @@ - complex *Lval, *Uval, *Bmat; - complex *work, *work_col, *rhs_work, *soln; - flops_t solve_ops; -- void cprint_soln(); -+ void cprint_soln(int_t, int_t, complex *); - - /* Test input parameters ... */ - *info = 0; ---- a/SRC/clacon.c 2026-05-05 11:20:54.665317808 +0200 -+++ b/SRC/clacon.c 2026-05-05 11:21:10.446137656 +0200 -@@ -22,6 +22,8 @@ - #include "slu_mt_util.h" - #include "slu_scomplex.h" - -+extern int ccopy_(int *, complex *, int *, complex *, int *); -+ - int_t - clacon_(int_t *n, complex *v, complex *x, float *est, int_t *kase) - ---- a/SRC/pcmemory.c 2026-05-05 11:22:02.888539416 +0200 -+++ b/SRC/pcmemory.c 2026-05-05 11:22:17.075377580 +0200 -@@ -869,7 +869,7 @@ - int_t *map_in_sup; /* memory mapping function; values irrelevant on entry. */ - int_t *colcnt; /* column count of Lc or H */ - int_t *super_bnd; /* supernodes partition in H */ -- char *snode_env, *getenv(); -+ char *snode_env; - - snode_env = getenv("SuperLU_DYNAMIC_SNODE_STORE"); - if ( snode_env != NULL ) { ---- a/SRC/zmatgen.c 2026-05-05 11:36:18.769814971 +0200 -+++ b/SRC/zmatgen.c 2026-05-05 11:36:43.606534396 +0200 -@@ -32,7 +32,7 @@ - int_t *asub, *xa; - doublecomplex *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - printf("A banded matrix."); - zallocateA(n, nonz, nzval, rowind, colptr); /* Allocate storage */ -@@ -73,7 +73,7 @@ - int_t *asub, *xa; - doublecomplex *val; - int_t *row; -- extern double dlaran_(); -+ extern double dlaran_(int *); - - n = bs * nb; - printf("A block diagonal matrix: nb " IFMT ", bs " IFMT ", n " IFMT "\n", nb, bs, n); ---- a/SRC/slu_mt_zdefs.h 2026-05-05 11:39:18.749788299 +0200 -+++ b/SRC/slu_mt_zdefs.h 2026-05-05 11:39:38.844563218 +0200 -@@ -282,7 +282,7 @@ - int_t *, int_t *, pxgstrf_shared_t *); - extern int_t zParallelInit (int_t, pxgstrf_relax_t *, superlumt_options_t *, - pxgstrf_shared_t *); --extern int_t ParallelFinalize (); -+extern int_t ParallelFinalize (pxgstrf_shared_t *); - extern void pzgstrf_StackFree (); - extern int_t queue_init (queue_t *, int_t); - extern int_t queue_destroy (queue_t *); -@@ -463,7 +463,7 @@ - -------------------*/ - extern double SuperLU_timer_(); - extern int_t sp_ienv(int_t); --extern double dlamch_(); -+extern double dlamch_(char *); - extern int lsame_(char *, char *); - extern int xerbla_(char *, int *); - extern void superlu_abort_and_exit(char *); -@@ -481,7 +481,8 @@ - extern void zCompRow_to_CompCol(int_t m, int_t n, int_t nnz, - doublecomplex *a, int_t *colind, int_t *rowptr, - doublecomplex **at, int_t **rowind, int_t **colptr); -- -+extern void sp_colorder(SuperMatrix *, int_t *, superlumt_options_t *, -+ SuperMatrix *); - - /* ----------------------- - Routines for debugging ---- a/SRC/pcgstrf_thread_init.c 2026-05-05 12:05:57.119705690 +0200 -+++ b/SRC/pcgstrf_thread_init.c 2026-05-05 12:07:06.996911214 +0200 -@@ -11,6 +11,18 @@ - - #include "slu_mt_cdefs.h" - -+extern void -+pxgstrf_relax_snode( -+ const int_t, -+ superlumt_options_t *, -+ pxgstrf_relax_t * -+ ); -+ -+extern int_t -+ParallelInit(int_t n, pxgstrf_relax_t *pxgstrf_relax, -+ superlumt_options_t *superlumt_options, -+ pxgstrf_shared_t *pxgstrf_shared); -+ - pcgstrf_threadarg_t * - pcgstrf_thread_init(SuperMatrix *A, SuperMatrix *L, SuperMatrix *U, - superlumt_options_t *options, ---- a/SRC/zgstrs.c 2026-05-05 12:08:31.386951973 +0200 -+++ b/SRC/zgstrs.c 2026-05-05 12:10:40.157489714 +0200 -@@ -90,7 +90,7 @@ - doublecomplex *Lval, *Uval, *Bmat; - doublecomplex *work, *work_col, *rhs_work, *soln; - flops_t solve_ops; -- void zprint_soln(); -+ void zprint_soln(int_t, int_t, doublecomplex *); - - /* Test input parameters ... */ - *info = 0; ---- a/SRC/zlacon.c 2026-05-05 12:12:03.765540303 +0200 -+++ b/SRC/zlacon.c 2026-05-05 12:12:18.397374128 +0200 -@@ -22,6 +22,8 @@ - #include "slu_mt_util.h" - #include "slu_dcomplex.h" - -+extern int zcopy_(int *, doublecomplex *, int *, doublecomplex *, int *); -+ - int_t - zlacon_(int_t *n, doublecomplex *v, doublecomplex *x, double *est, int_t *kase) - ---- a/SRC/pzmemory.c 2026-05-05 12:17:37.675748558 +0200 -+++ b/SRC/pzmemory.c 2026-05-05 12:17:49.844610399 +0200 -@@ -869,7 +869,7 @@ - int_t *map_in_sup; /* memory mapping function; values irrelevant on entry. */ - int_t *colcnt; /* column count of Lc or H */ - int_t *super_bnd; /* supernodes partition in H */ -- char *snode_env, *getenv(); -+ char *snode_env; - - snode_env = getenv("SuperLU_DYNAMIC_SNODE_STORE"); - if ( snode_env != NULL ) { ---- a/SRC/pzgstrf_thread_init.c 2026-05-05 12:21:42.037973715 +0200 -+++ b/SRC/pzgstrf_thread_init.c 2026-05-05 12:22:43.862271681 +0200 -@@ -11,6 +11,18 @@ - - #include "slu_mt_zdefs.h" - -+extern void -+pxgstrf_relax_snode( -+ const int_t, -+ superlumt_options_t *, -+ pxgstrf_relax_t * -+ ); -+ -+extern int_t -+ParallelInit(int_t n, pxgstrf_relax_t *pxgstrf_relax, -+ superlumt_options_t *superlumt_options, -+ pxgstrf_shared_t *pxgstrf_shared); -+ - pzgstrf_threadarg_t * - pzgstrf_thread_init(SuperMatrix *A, SuperMatrix *L, SuperMatrix *U, - superlumt_options_t *options, ---- a/TESTING/MATGEN/slatb4.c 2026-05-05 13:10:13.950870321 +0200 -+++ b/TESTING/MATGEN/slatb4.c 2026-05-05 13:10:38.470591452 +0200 -@@ -4,6 +4,7 @@ - */ - - #include "f2c.h" -+#include <string.h> - - /* Table of constant values */ - ---- a/TESTING/MATGEN/dlatb4.c 2026-05-05 13:11:35.253945640 +0200 -+++ b/TESTING/MATGEN/dlatb4.c 2026-05-05 13:11:52.800746076 +0200 -@@ -4,6 +4,7 @@ - */ - - #include "f2c.h" -+#include <string.h> - - /* Table of constant values */ - ---- a/TESTING/MATGEN/clatb4.c 2026-05-05 13:12:17.512465024 +0200 -+++ b/TESTING/MATGEN/clatb4.c 2026-05-05 13:12:32.620293201 +0200 -@@ -4,6 +4,7 @@ - */ - - #include "f2c.h" -+#include <string.h> - - /* Table of constant values */ - ---- a/TESTING/MATGEN/zlatb4.c 2026-05-05 13:13:05.652917505 +0200 -+++ b/TESTING/MATGEN/zlatb4.c 2026-05-05 13:13:22.765722880 +0200 -@@ -4,6 +4,7 @@ - */ - - #include "f2c.h" -+#include <string.h> - - /* Table of constant values */ - ---- a/TESTING/psdrive.c 2026-05-05 13:15:31.884254371 +0200 -+++ b/TESTING/psdrive.c 2026-05-05 13:17:22.832992359 +0200 -@@ -10,6 +10,7 @@ - */ - - #include <string.h> -+#include <unistd.h> - #include "slu_mt_sdefs.h" - - #define NTESTS 5 /* Number of test types */ -@@ -28,7 +29,7 @@ - #endif - - --main(int argc, char *argv[]) -+int main(int argc, char *argv[]) - { - /* - * -- SuperLU MT routine (version 2.0) -- -@@ -89,7 +90,9 @@ - trans_t trans; - equed_t equed; - yes_no_t refact, usepr; -- void parse_command_line(); -+ void parse_command_line(int argc, char *argv[], char *matrix_type, -+ int *nprocs, int *n, int *w, int *relax, int *nrhs, -+ int *maxsuper, int *rowblk, int *colblk, int *lwork); - - /* Fixed set of parameters */ - int iseed[] = {1994, 1995, 1996, 1997}; ---- a/TESTING/psgst04.c 2026-05-05 13:19:05.014826490 +0200 -+++ b/TESTING/psgst04.c 2026-05-05 13:19:54.612260605 +0200 -@@ -12,6 +12,8 @@ - #include <math.h> - #include "slu_mt_sdefs.h" - -+extern int idamax_(int *, float *, int *); -+ - int_t psgst04(int_t n, int_t nrhs, float *x, int_t ldx, float *xact, - int_t ldxact, float rcond, float *resid) - { ---- a/TESTING/pddrive.c 2026-05-05 13:21:13.468360864 +0200 -+++ b/TESTING/pddrive.c 2026-05-05 13:22:24.459550868 +0200 -@@ -10,6 +10,7 @@ - */ - - #include <string.h> -+#include <unistd.h> - #include "slu_mt_ddefs.h" - - #define NTESTS 5 /* Number of test types */ -@@ -28,7 +29,7 @@ - #endif - - --main(int argc, char *argv[]) -+int main(int argc, char *argv[]) - { - /* - * -- SuperLU MT routine (version 2.0) -- -@@ -89,7 +90,9 @@ - trans_t trans; - equed_t equed; - yes_no_t refact, usepr; -- void parse_command_line(); -+ void parse_command_line(int argc, char *argv[], char *matrix_type, -+ int *nprocs, int *n, int *w, int *relax, int *nrhs, -+ int *maxsuper, int *rowblk, int *colblk, int *lwork); - - /* Fixed set of parameters */ - int iseed[] = {1994, 1995, 1996, 1997}; ---- a/TESTING/pcdrive.c 2026-05-05 13:24:00.625453637 +0200 -+++ b/TESTING/pcdrive.c 2026-05-05 13:24:40.085003414 +0200 -@@ -9,6 +9,7 @@ - at the top-level directory. - */ - -+#include <unistd.h> - #include <string.h> - #include "slu_mt_cdefs.h" - -@@ -28,7 +29,7 @@ - #endif - - --main(int argc, char *argv[]) -+int main(int argc, char *argv[]) - { - /* - * -- SuperLU MT routine (version 2.0) -- -@@ -89,7 +90,9 @@ - trans_t trans; - equed_t equed; - yes_no_t refact, usepr; -- void parse_command_line(); -+ void parse_command_line(int argc, char *argv[], char *matrix_type, -+ int *nprocs, int *n, int *w, int *relax, int *nrhs, -+ int *maxsuper, int *rowblk, int *colblk, int *lwork); - - /* Fixed set of parameters */ - int iseed[] = {1994, 1995, 1996, 1997}; ---- a/TESTING/pcgst04.c 2026-05-05 13:25:23.588507043 +0200 -+++ b/TESTING/pcgst04.c 2026-05-05 13:26:57.516435352 +0200 -@@ -12,6 +12,8 @@ - #include <math.h> - #include "slu_mt_cdefs.h" - -+extern int idamax_(int *, complex *, int *); -+ - int_t pcgst04(int_t n, int_t nrhs, complex *x, int_t ldx, complex *xact, - int_t ldxact, float rcond, float *resid) - { ---- a/TESTING/pzdrive.c 2026-05-05 13:27:38.190971265 +0200 -+++ b/TESTING/pzdrive.c 2026-05-05 13:28:20.082493292 +0200 -@@ -10,6 +10,7 @@ - */ - - #include <string.h> -+#include <unistd.h> - #include "slu_mt_zdefs.h" - - #define NTESTS 5 /* Number of test types */ -@@ -28,7 +29,7 @@ - #endif - - --main(int argc, char *argv[]) -+int main(int argc, char *argv[]) - { - /* - * -- SuperLU MT routine (version 2.0) -- -@@ -89,7 +90,9 @@ - trans_t trans; - equed_t equed; - yes_no_t refact, usepr; -- void parse_command_line(); -+ void parse_command_line(int argc, char *argv[], char *matrix_type, -+ int *nprocs, int *n, int *w, int *relax, int *nrhs, -+ int *maxsuper, int *rowblk, int *colblk, int *lwork); - - /* Fixed set of parameters */ - int iseed[] = {1994, 1995, 1996, 1997}; ---- a/TESTING/pzgst04.c 2026-05-05 13:29:02.476009592 +0200 -+++ b/TESTING/pzgst04.c 2026-05-05 13:31:18.533457212 +0200 -@@ -12,6 +12,8 @@ - #include <math.h> - #include "slu_mt_zdefs.h" - -+extern int idamax_(int *, doublecomplex *, int *); -+ - int_t pzgst04(int_t n, int_t nrhs, doublecomplex *x, int_t ldx, doublecomplex *xact, - int_t ldxact, double rcond, double *resid) - { diff --git a/sci-libs/superlu_mt/files/superlu_mt-4.0.2-gentoo.patch b/sci-libs/superlu_mt/files/superlu_mt-4.0.2-gentoo.patch deleted file mode 100644 index 8d29d7224fe4..000000000000 --- a/sci-libs/superlu_mt/files/superlu_mt-4.0.2-gentoo.patch +++ /dev/null @@ -1,202 +0,0 @@ ---- a/SRC/CMakeLists.txt 2026-05-22 18:54:31.445818114 +0200 -+++ b/SRC/CMakeLists.txt 2026-05-22 18:56:42.921385043 +0200 -@@ -1,32 +1,33 @@ - - file (GLOB sources "*.c") --add_library (superlu_mt${PLAT} ${sources}) --set_target_properties (superlu_mt${PLAT} PROPERTIES POSITION_INDEPENDENT_CODE ON) -+add_library (superlu_mt ${sources}) -+set_target_properties (superlu_mt PROPERTIES POSITION_INDEPENDENT_CODE ON) -+set_target_properties (superlu_mt PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION 4) - --set_property(TARGET superlu_mt${PLAT} PROPERTY C_STANDARD 99) -+set_property(TARGET superlu_mt PROPERTY C_STANDARD 99) - - if (HAVE_LIB_M) -- target_link_libraries (superlu_mt${PLAT} PRIVATE m) -+ target_link_libraries (superlu_mt PRIVATE m) - endif () - --target_link_libraries (superlu_mt${PLAT} PRIVATE ${BLAS_LIB}) --target_compile_definitions (superlu_mt${PLAT} PRIVATE Add_) -+target_link_libraries (superlu_mt PRIVATE ${BLAS_LIB}) -+target_compile_definitions (superlu_mt PRIVATE Add_) - - if (PLAT STREQUAL "_PTHREAD") -- target_compile_definitions (superlu_mt${PLAT} PUBLIC __PTHREAD) -- target_link_libraries (superlu_mt${PLAT} PRIVATE ${CMAKE_THREAD_LIBS_INIT}) -+ target_compile_definitions (superlu_mt PUBLIC __PTHREAD) -+ target_link_libraries (superlu_mt PRIVATE ${CMAKE_THREAD_LIBS_INIT}) - elseif (PLAT STREQUAL "_OPENMP") -- target_compile_definitions (superlu_mt${PLAT} PUBLIC __OPENMP) -- target_link_libraries (superlu_mt${PLAT} PRIVATE OpenMP::OpenMP_C) -+ target_compile_definitions (superlu_mt PUBLIC __OPENMP) -+ target_link_libraries (superlu_mt PRIVATE OpenMP::OpenMP_C) - endif () - - if (LONGINT) -- target_compile_definitions (superlu_mt${PLAT} PUBLIC _LONGINT) -+ target_compile_definitions (superlu_mt PUBLIC _LONGINT) - endif () - --target_include_directories (superlu_mt${PLAT} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) --target_include_directories (superlu_mt${PLAT} INTERFACE $<INSTALL_INTERFACE:include>) --install (TARGETS superlu_mt${PLAT} DESTINATION ${CMAKE_INSTALL_LIBDIR}) -+target_include_directories (superlu_mt PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) -+target_include_directories (superlu_mt INTERFACE $<INSTALL_INTERFACE:include>) -+install (TARGETS superlu_mt DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - file (GLOB headers "*.h") - install (FILES ${headers} DESTINATION ${SUPERLUMT_INSTALL_INCLUDEDIR}) ---- a/TESTING/MATGEN/CMakeLists.txt 2026-05-22 19:05:33.122576739 +0200 -+++ b/TESTING/MATGEN/CMakeLists.txt 2026-05-22 19:05:57.296311914 +0200 -@@ -107,4 +107,4 @@ - endif() - - add_library(matgen ${sources}) --target_link_libraries(matgen superlu_mt${PLAT}) -+target_link_libraries(matgen superlu_mt) ---- a/TESTING/CMakeLists.txt 2026-05-22 19:07:38.919198655 +0200 -+++ b/TESTING/CMakeLists.txt 2026-05-22 19:08:27.072671097 +0200 -@@ -52,7 +52,7 @@ - add_executable(pstest - psdrive.c sp_sconvert.c psgst01.c psgst02.c psgst04.c psgst07.c - psgssv.c psgssvx.c sp_ienv.c ) -- target_link_libraries(pstest ${test_link_libs}) -+ target_link_libraries(pstest ${test_link_libs} ${BLAS_LIB}) - add_superlumt_test(pstest g10) - endif() - -@@ -61,7 +61,7 @@ - add_executable(pdtest - pddrive.c sp_dconvert.c pdgst01.c pdgst02.c pdgst04.c pdgst07.c - pdgssv.c pdgssvx.c sp_ienv.c ) -- target_link_libraries(pdtest ${test_link_libs}) -+ target_link_libraries(pdtest ${test_link_libs} ${BLAS_LIB}) - add_superlumt_test(pdtest g10) - endif() - -@@ -69,7 +69,7 @@ - add_executable(pctest - pcdrive.c sp_cconvert.c pcgst01.c pcgst02.c pcgst04.c pcgst07.c - pcgssv.c pcgssvx.c sp_ienv.c ) -- target_link_libraries(pctest ${test_link_libs}) -+ target_link_libraries(pctest ${test_link_libs} ${BLAS_LIB}) - add_superlumt_test(pctest cg20.cua) - endif() - -@@ -77,6 +77,6 @@ - add_executable(pztest - pzdrive.c sp_zconvert.c pzgst01.c pzgst02.c pzgst04.c pzgst07.c - pzgssv.c pzgssvx.c sp_ienv.c ) -- target_link_libraries(pztest ${test_link_libs}) -+ target_link_libraries(pztest ${test_link_libs} ${BLAS_LIB}) - add_superlumt_test(pztest cg20.cua) - endif() ---- a/EXAMPLE/CMakeLists.txt 2026-05-22 19:46:35.843324532 +0200 -+++ b/EXAMPLE/CMakeLists.txt 2026-05-22 19:47:44.266558926 +0200 -@@ -32,80 +32,80 @@ - - # examples for complex - add_executable(pclinsol ${_DEPENDENCY_ALL} pclinsol.c) --target_link_libraries(pclinsol superlu_mt${PLAT}) -+target_link_libraries(pclinsol superlu_mt) - - add_executable(pclinsolx ${_DEPENDENCY_ALL} pclinsolx.c) --target_link_libraries(pclinsolx superlu_mt${PLAT}) -+target_link_libraries(pclinsolx superlu_mt) - - add_executable(pclinsolx1 ${_DEPENDENCY_ALL} pclinsolx1.c) --target_link_libraries(pclinsolx1 superlu_mt${PLAT}) -+target_link_libraries(pclinsolx1 superlu_mt) - - add_executable(pclinsolx2 ${_DEPENDENCY_ALL} pclinsolx2.c) --target_link_libraries(pclinsolx2 superlu_mt${PLAT}) -+target_link_libraries(pclinsolx2 superlu_mt) - - add_executable(pcrepeat ${_DEPENDENCY_ALL} pcrepeat.c) --target_link_libraries(pcrepeat superlu_mt${PLAT}) -+target_link_libraries(pcrepeat superlu_mt) - - add_executable(pcspmd ${_DEPENDENCY_ALL} pcspmd.c) --target_link_libraries(pcspmd superlu_mt${PLAT}) -+target_link_libraries(pcspmd superlu_mt) - - # examples for double - add_executable(pdlinsol ${_DEPENDENCY_ALL} pdlinsol.c) --target_link_libraries(pdlinsol superlu_mt${PLAT}) -+target_link_libraries(pdlinsol superlu_mt) - - add_executable(pdlinsolx ${_DEPENDENCY_ALL} pdlinsolx.c) --target_link_libraries(pdlinsolx superlu_mt${PLAT}) -+target_link_libraries(pdlinsolx superlu_mt) - - add_executable(pdlinsolx1 ${_DEPENDENCY_ALL} pdlinsolx1.c) --target_link_libraries(pdlinsolx1 superlu_mt${PLAT}) -+target_link_libraries(pdlinsolx1 superlu_mt) - - add_executable(pdlinsolx2 ${_DEPENDENCY_ALL} pdlinsolx2.c) --target_link_libraries(pdlinsolx2 superlu_mt${PLAT}) -+target_link_libraries(pdlinsolx2 superlu_mt) - - add_executable(pdrepeat ${_DEPENDENCY_ALL} pdrepeat.c) --target_link_libraries(pdrepeat superlu_mt${PLAT}) -+target_link_libraries(pdrepeat superlu_mt) - - add_executable(pdspmd ${_DEPENDENCY_ALL} pdspmd.c) --target_link_libraries(pdspmd superlu_mt${PLAT}) -+target_link_libraries(pdspmd superlu_mt) - - # examples for float - add_executable(pslinsol ${_DEPENDENCY_ALL} pslinsol.c) --target_link_libraries(pslinsol superlu_mt${PLAT}) -+target_link_libraries(pslinsol superlu_mt) - - add_executable(pslinsolx ${_DEPENDENCY_ALL} pslinsolx.c) --target_link_libraries(pslinsolx superlu_mt${PLAT}) -+target_link_libraries(pslinsolx superlu_mt) - - add_executable(pslinsolx1 ${_DEPENDENCY_ALL} pslinsolx1.c) --target_link_libraries(pslinsolx1 superlu_mt${PLAT}) -+target_link_libraries(pslinsolx1 superlu_mt) - - add_executable(pslinsolx2 ${_DEPENDENCY_ALL} pslinsolx2.c) --target_link_libraries(pslinsolx2 superlu_mt${PLAT}) -+target_link_libraries(pslinsolx2 superlu_mt) - - add_executable(psrepeat ${_DEPENDENCY_ALL} psrepeat.c) --target_link_libraries(psrepeat superlu_mt${PLAT}) -+target_link_libraries(psrepeat superlu_mt) - - add_executable(psspmd ${_DEPENDENCY_ALL} psspmd.c) --target_link_libraries(psspmd superlu_mt${PLAT}) -+target_link_libraries(psspmd superlu_mt) - - - # examples for double complex - add_executable(pzlinsol ${_DEPENDENCY_ALL} pzlinsol.c) --target_link_libraries(pzlinsol superlu_mt${PLAT}) -+target_link_libraries(pzlinsol superlu_mt) - - add_executable(pzlinsolx ${_DEPENDENCY_ALL} pzlinsolx.c) --target_link_libraries(pzlinsolx superlu_mt${PLAT}) -+target_link_libraries(pzlinsolx superlu_mt) - - add_executable(pzlinsolx1 ${_DEPENDENCY_ALL} pzlinsolx1.c) --target_link_libraries(pzlinsolx1 superlu_mt${PLAT}) -+target_link_libraries(pzlinsolx1 superlu_mt) - - add_executable(pzlinsolx2 ${_DEPENDENCY_ALL} pzlinsolx2.c) --target_link_libraries(pzlinsolx2 superlu_mt${PLAT}) -+target_link_libraries(pzlinsolx2 superlu_mt) - - add_executable(pzrepeat ${_DEPENDENCY_ALL} pzrepeat.c) --target_link_libraries(pzrepeat superlu_mt${PLAT}) -+target_link_libraries(pzrepeat superlu_mt) - - add_executable(pzspmd ${_DEPENDENCY_ALL} pzspmd.c) --target_link_libraries(pzspmd superlu_mt${PLAT}) -+target_link_libraries(pzspmd superlu_mt) - - - if(MSVC AND WinGetOpt_FOUND) diff --git a/sci-libs/superlu_mt/files/superlu_mt-4.0.2-proto.patch b/sci-libs/superlu_mt/files/superlu_mt-4.0.2-proto.patch deleted file mode 100644 index 606e6d2dcfee..000000000000 --- a/sci-libs/superlu_mt/files/superlu_mt-4.0.2-proto.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- a/EXAMPLE/pclinsol.c 2026-05-22 19:38:53.437498482 +0200 -+++ b/EXAMPLE/pclinsol.c 2026-05-22 19:39:23.801158738 +0200 -@@ -19,6 +19,9 @@ - #include <unistd.h> - #include "slu_mt_cdefs.h" - -+void -+parse_command_line(int argc, char *argv[], int_t *procs, int_t *n, -+ int_t *b, int_t *w, int_t *r, int_t *maxsup); - int main(int argc, char *argv[]) - { - SuperMatrix A; -@@ -39,7 +42,6 @@ - trans_t trans; - complex *xact, *rhs; - superlu_memusage_t superlu_memusage; -- void parse_command_line(); - - nrhs = 1; - trans = NOTRANS; ---- a/EXAMPLE/pdlinsol.c 2026-05-22 19:40:45.760241681 +0200 -+++ b/EXAMPLE/pdlinsol.c 2026-05-22 19:41:12.516942298 +0200 -@@ -19,6 +19,9 @@ - #include <unistd.h> - #include "slu_mt_ddefs.h" - -+void -+parse_command_line(int argc, char *argv[], int_t *procs, int_t *n, -+ int_t *b, int_t *w, int_t *r, int_t *maxsup); - int main(int argc, char *argv[]) - { - SuperMatrix A; -@@ -39,7 +42,6 @@ - trans_t trans; - double *xact, *rhs; - superlu_memusage_t superlu_memusage; -- void parse_command_line(); - - nrhs = 1; - trans = NOTRANS; ---- a/EXAMPLE/pslinsol.c 2026-05-22 19:42:19.429193597 +0200 -+++ b/EXAMPLE/pslinsol.c 2026-05-22 19:43:09.011638806 +0200 -@@ -19,6 +19,9 @@ - #include <unistd.h> - #include "slu_mt_sdefs.h" - -+void -+parse_command_line(int argc, char *argv[], int_t *procs, int_t *n, -+ int_t *b, int_t *w, int_t *r, int_t *maxsup); - int main(int argc, char *argv[]) - { - SuperMatrix A; -@@ -39,7 +42,6 @@ - trans_t trans; - float *xact, *rhs; - superlu_memusage_t superlu_memusage; -- void parse_command_line(); - - nrhs = 1; - trans = NOTRANS; diff --git a/sci-libs/superlu_mt/metadata.xml b/sci-libs/superlu_mt/metadata.xml deleted file mode 100644 index 632ef3ef240c..000000000000 --- a/sci-libs/superlu_mt/metadata.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - SuperLU is a general purpose library for the direct solution of - large, sparse, nonsymmetric systems of linear equations on high - performance machines. The library is written in C and is callable - from either C or Fortran. The library routines will perform an LU - decomposition with partial pivoting and triangular system solves - through forward and back substitution. The LU factorization routines - can handle non-square matrices but the triangular solves are - performed only for square matrices. The matrix columns may be - preordered (before factorization) either through library or user - supplied routines. This preordering for sparsity is completely - separate from the factorization. Working precision iterative - refinement subroutines are provided for improved backward - stability. Routines are also provided to equilibrate the system, - estimate the condition number, calculate the relative backward - error, and estimate error bounds for the refined solutions. - This is the multi-threaded version (POSIX threads or OpenMP). - </longdescription> - <use> - <flag name="int64">Build the 64 bits integer library</flag> - </use> - <upstream> - <remote-id type="github">xiaoyeli/superlu_mt</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild deleted file mode 100644 index 615aaa82aad7..000000000000 --- a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MY_PN=SuperLU_MT -SOVERSION=$(ver_cut 1) - -DESCRIPTION="Multithreaded sparse LU factorization library" -HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/" -SRC_URI="https://portal.nersc.gov/project/sparse/superlu/${PN}_${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/${SOVERSION}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc examples int64 openmp static-libs test threads" -RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( openmp threads )" - -RDEPEND="virtual/blas" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - test? ( app-shells/tcsh )" - -S="${WORKDIR}/${MY_PN}_${PV}" - -PATCHES=( - "${FILESDIR}"/${PN}-3.1-duplicate-symbols.patch - "${FILESDIR}"/${PN}-3.1-fix-predefs.patch - "${FILESDIR}"/${P}-proto.patch - #"${FILESDIR}"/${P}-prototype.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && ! use threads && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && ! use threads && tc-check-openmp -} - -src_prepare() { - default - cat <<-EOF > make.inc - CC=$(tc-getCC) - LOADER=$(tc-getCC) - ARCH=$(tc-getAR) - RANLIB=$(tc-getRANLIB) - PREDEFS=${CPPFLAGS} -DUSE_VENDOR_BLAS -DPRNTlevel=0 -DDEBUGlevel=0 $(use int64 && echo -D_LONGINT) - CDEFS=-DAdd_ - CFLAGS=${CFLAGS} ${CTHREADS} \$(PIC) - BLASLIB=$($(tc-getPKG_CONFIG) --libs blas) - MATHLIB=-lm - NOOPTS=-O0 \$(PIC) - ARCHFLAGS=cr - LOADOPTS=${LDFLAGS} ${LDTHREADS} - SUPERLULIB=lib${PN}.a - TMGLIB=libtmglib.a - EOF - SONAME=lib${PN}.so.${SOVERSION} - sed -e "s|../SRC|${EPREFIX}/usr/include/${PN}|" \ - -e '/:.*$(SUPERLULIB)/s|../lib/$(SUPERLULIB)||g' \ - -e 's|../lib/$(SUPERLULIB)|-lsuperlu_mt|g' \ - -i EXAMPLE/Makefile || die - - if use openmp && ! use threads; then - CTHREADS="-D__OPENMP" - LDTHREADS="-fopenmp" - else - CTHREADS="-D__PTHREAD" - LDTHREADS="-pthread" - fi -} - -src_compile() { - # shared library - emake PIC="-fPIC" \ - ARCH="echo" \ - ARCHFLAGS="" \ - RANLIB="echo" \ - superlulib - $(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} SRC/*.o \ - $($(tc-getPKG_CONFIG) --libs blas) -lm -o lib/${SONAME} || die - ln -s ${SONAME} lib/libsuperlu_mt.so || die - - use static-libs && rm -f SRC/*.o && \ - emake PIC="" superlulib -} - -src_test() { - emake -j1 tmglib - LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \ - emake SUPERLULIB="${SONAME}" testing -} - -src_install() { - dolib.so lib/*so* - use static-libs && dolib.a lib/*.a - insinto /usr/include/${PN} - doins SRC/*h - dodoc README - use doc && dodoc DOC/ug.pdf - if use examples; then - docinto /examples - dodoc -r EXAMPLE/* make.inc - fi -} diff --git a/sci-libs/superlu_mt/superlu_mt-4.0.2.ebuild b/sci-libs/superlu_mt/superlu_mt-4.0.2.ebuild deleted file mode 100644 index 430538a19fc7..000000000000 --- a/sci-libs/superlu_mt/superlu_mt-4.0.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -MY_PN=SuperLU_MT -SOVERSION=$(ver_cut 1) - -DESCRIPTION="Multithreaded sparse LU factorization library" -HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/" -SRC_URI="https://github.com/xiaoyeli/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${SOVERSION}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="doc examples int64 openmp test threads" -RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( openmp threads )" - -RDEPEND="virtual/blas" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - test? ( app-shells/tcsh )" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-proto.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && ! use threads && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && ! use threads && tc-check-openmp -} - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DLONGINT=$(usex int64) - -Denable_examples=$(usex examples) - -Denable_tests=$(usex test) - ) - if use openmp && ! use threads; then - mycmakeargs+=( -DPLAT=_OPENMP ) - else - mycmakeargs+=( -DPLAT=_PTHREAD ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - use doc && dodoc DOC/ug.pdf - if use examples; then - docinto /examples - dodoc -r EXAMPLE/* - fi -} diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest deleted file mode 100644 index 157d7b868070..000000000000 --- a/sci-libs/symengine/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST symengine-0.14.0.gh.tar.gz 944589 BLAKE2B f5c52080153f548e866aa98afee6296888b020b633b7738109fa839b7fd70cda5059c079ba119604571060639b33d46692818d99d8c7b9a371a59efd14eb9dce SHA512 2b6012ed65064ff81c8828032c5a3148340582274e3604db2a43797ddbaa191520ed97da41efc2e842ba4a25326f53becc51f1e98935e8c34625bc5eaac8397f diff --git a/sci-libs/symengine/files/symengine-0.14.0-cmake4.patch b/sci-libs/symengine/files/symengine-0.14.0-cmake4.patch deleted file mode 100644 index bd50ace7a8f9..000000000000 --- a/sci-libs/symengine/files/symengine-0.14.0-cmake4.patch +++ /dev/null @@ -1,44 +0,0 @@ -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/files/symengine-0.14.0-llvm.patch b/sci-libs/symengine/files/symengine-0.14.0-llvm.patch deleted file mode 100644 index a18b9fe109b4..000000000000 --- a/sci-libs/symengine/files/symengine-0.14.0-llvm.patch +++ /dev/null @@ -1,149 +0,0 @@ -From de7305e5e2fee97d80c25164a8f8c9f7ecfc9953 Mon Sep 17 00:00:00 2001 -From: Liam Keegan <liam@keegan.ch> -Date: Thu, 26 Jun 2025 14:51:50 +0200 -Subject: [PATCH] Fix issues when compiled against LLVM 20 built with - assertions enabled - -- `Assertion `Level != OptimizationLevel::O0 && "Must request optimizations!"'` - - skip simplification pipeline for O0 - - copied from https://github.com/symengine/symengine/issues/2076#issue-2764070679 -- `Assertion `GV->hasName() && "Global must have name."'` - - give the function a name -- `getDeclaration` is deprecated in llvm 20 and will be removed in next version - - use replacement `getOrInsertDeclaration` for llvm >= 20 -- resolves #2076 ---- - symengine/llvm_double.cpp | 34 +++++++++++++++++++++------------- - 1 file changed, 21 insertions(+), 13 deletions(-) - -diff --git a/symengine/llvm_double.cpp b/symengine/llvm_double.cpp -index fe06ebcc7..8ae3b4adf 100644 ---- a/symengine/llvm_double.cpp -+++ b/symengine/llvm_double.cpp -@@ -52,6 +52,12 @@ using CodeGenOptLevel = llvm::CodeGenOpt::Level; - using CodeGenOptLevel = llvm::CodeGenOptLevel; - #endif - -+#if (LLVM_VERSION_MAJOR < 20) -+const auto &GetDeclaration = llvm::Intrinsic::getDeclaration; -+#else -+const auto &GetDeclaration = llvm::Intrinsic::getOrInsertDeclaration; -+#endif -+ - #if (LLVM_VERSION_MAJOR >= 21) - #define AddNoCapture(A) A.addCapturesAttr(llvm::CaptureInfo::none()) - #else -@@ -85,8 +91,8 @@ llvm::Function *LLVMVisitor::get_function_type(llvm::LLVMContext *context) - } - llvm::FunctionType *function_type = llvm::FunctionType::get( - llvm::Type::getVoidTy(*context), inp, /*isVarArgs=*/false); -- auto F = llvm::Function::Create(function_type, -- llvm::Function::InternalLinkage, "", mod); -+ auto F = llvm::Function::Create( -+ function_type, llvm::Function::InternalLinkage, "symengine_func", mod); - F->setCallingConv(llvm::CallingConv::C); - #if (LLVM_VERSION_MAJOR < 5) - { -@@ -265,16 +271,19 @@ void LLVMVisitor::init(const vec_basic &inputs, const vec_basic &outputs, - } else if (opt_level == 2) { - pb_opt_level = OptimizationLevel::O2; - } -+ -+ if (opt_level != 0) { - #if (LLVM_VERSION_MAJOR < 6) -- FPM = PB.buildFunctionSimplificationPipeline(pb_opt_level); -+ FPM = PB.buildFunctionSimplificationPipeline(pb_opt_level); - #elif (LLVM_VERSION_MAJOR < 12) -- FPM = PB.buildFunctionSimplificationPipeline( -- pb_opt_level, llvm::PassBuilder::ThinLTOPhase::None); -+ FPM = PB.buildFunctionSimplificationPipeline( -+ pb_opt_level, llvm::PassBuilder::ThinLTOPhase::None); - #else -- FPM = PB.buildFunctionSimplificationPipeline( -- pb_opt_level, llvm::ThinOrFullLTOPhase::None); -+ FPM = PB.buildFunctionSimplificationPipeline( -+ pb_opt_level, llvm::ThinOrFullLTOPhase::None); - #endif -- FPM.run(*F, FAM); -+ FPM.run(*F, FAM); -+ } - - // std::cout << "Optimized LLVM IR" << std::endl; - // module->print(llvm::errs(), nullptr); -@@ -293,7 +302,7 @@ void LLVMVisitor::init(const vec_basic &inputs, const vec_basic &outputs, - { - public: - std::string &ss_; -- MemoryBufferRefCallback(std::string &ss) : ss_(ss) {} -+ explicit MemoryBufferRefCallback(std::string &ss) : ss_(ss) {} - - void notifyObjectCompiled(const llvm::Module *M, - llvm::MemoryBufferRef obj) override -@@ -306,7 +315,7 @@ void LLVMVisitor::init(const vec_basic &inputs, const vec_basic &outputs, - std::unique_ptr<llvm::MemoryBuffer> - getObject(const llvm::Module *M) override - { -- return NULL; -+ return nullptr; - } - }; - -@@ -492,15 +501,14 @@ llvm::Function *LLVMVisitor::get_powi() - #if (LLVM_VERSION_MAJOR > 12) - arg_type.push_back(llvm::Type::getInt32Ty(mod->getContext())); - #endif -- return llvm::Intrinsic::getDeclaration(mod, llvm::Intrinsic::powi, -- arg_type); -+ return GetDeclaration(mod, llvm::Intrinsic::powi, arg_type); - } - - llvm::Function *get_float_intrinsic(llvm::Type *type, llvm::Intrinsic::ID id, - unsigned n, llvm::Module *mod) - { - std::vector<llvm::Type *> arg_type(n, type); -- return llvm::Intrinsic::getDeclaration(mod, id, arg_type); -+ return GetDeclaration(mod, id, arg_type); - } - - void LLVMVisitor::bvisit(const Pow &x) -From 899a130e071768e76da8f749341b5303ca1ab6e9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 20 Jul 2025 19:02:16 +0200 -Subject: [PATCH] Fix LLVM dylib use in installed CMake config -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This is a followup to #2075 that fixes linking against LLVM dylib -in reverse dependencies of SymEngine (e.g. the Python package). -Unfortunately, my original patch missed this second occurrence. - -Given that we permit overriding the dylib use via a cache variable -and it is unlikely for a dylib install to suddenly become non-dylib -let's store the value in the config file. - -Signed-off-by: Michał Górny <mgorny@gentoo.org> ---- - cmake/SymEngineConfig.cmake.in | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/cmake/SymEngineConfig.cmake.in b/cmake/SymEngineConfig.cmake.in -index 8465298a7..45e46ed75 100644 ---- a/cmake/SymEngineConfig.cmake.in -+++ b/cmake/SymEngineConfig.cmake.in -@@ -84,8 +84,13 @@ 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_LINKED_LLVM_DYLIB @WITH_LLVM_DYLIB@) -+ if (SYMENGINE_LINKED_LLVM_DYLIB) -+ set(llvm_libs LLVM) -+ else() -+ llvm_map_components_to_libnames(llvm_libs_direct ${SYMENGINE_LLVM_COMPONENTS}) -+ llvm_expand_dependencies(llvm_libs ${llvm_libs_direct}) -+ endif() - set(SYMENGINE_LIBRARIES ${SYMENGINE_LIBRARIES} ${llvm_libs}) - else() - set(SYMENGINE_LLVM_INCLUDE_DIRS) diff --git a/sci-libs/symengine/metadata.xml b/sci-libs/symengine/metadata.xml deleted file mode 100644 index 4f0f4a98c03a..000000000000 --- a/sci-libs/symengine/metadata.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <longdescription> - SymEngine is a standalone fast C++ symbolic manipulation - library. Optional thin wrappers allow usage of the library from R, - Python, Julia, Ruby, Haskell. - </longdescription> - <upstream> - <remote-id type="github">symengine/symengine</remote-id> - </upstream> - <use> - <flag name="boost"> - Add support for boost integers (<pkg>dev-libs/boost</pkg>) - </flag> - <flag name="ecm"> - Add support for ECM integer factorization library - (<pkg>sci-mathematics/gmp-ecm</pkg>) - </flag> - <flag name="flint"> - Add support for <pkg>sci-mathematics/flint</pkg> - </flag> - <flag name="llvm">Build with LLVM</flag> - <flag name="mpc"> - Add support for multiprecision complex arithmetic - (<pkg>dev-libs/mpc</pkg>) - </flag> - <flag name="mpfr"> - Add support for multiprecision floating point rounding - (<pkg>dev-libs/mpfr</pkg>) - </flag> - <flag name="primesieve"> - Add support for <pkg>sci-mathematics/primesieve</pkg> - </flag> - </use> -</pkgmetadata> diff --git a/sci-libs/symengine/symengine-0.14.0-r3.ebuild b/sci-libs/symengine/symengine-0.14.0-r3.ebuild deleted file mode 100644 index 2fd8fbf3df23..000000000000 --- a/sci-libs/symengine/symengine-0.14.0-r3.ebuild +++ /dev/null @@ -1,112 +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=( - # bug 957803, in git master - "${FILESDIR}/${P}-cmake4.patch" - # https://github.com/symengine/symengine/pull/2103 - # https://github.com/symengine/symengine/pull/2119 - "${FILESDIR}/${P}-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 -} diff --git a/sci-libs/symmetrica/Manifest b/sci-libs/symmetrica/Manifest deleted file mode 100644 index 051a36b1fcb7..000000000000 --- a/sci-libs/symmetrica/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST symmetrica-3.1.0.tar.xz 765568 BLAKE2B 9b4f81ef4e135af5552417b66829ca3a99f3ad039cdc936108dc587d5971364db6fe822679fa110ac0f3e8cc30b0856e27efff4ba9ab3f79ee9a706047bba5c7 SHA512 7bc45802907b4eb82b89e440d628143fc4bbebadbb221711dcdcb4daf6587f1042f0fb701c369434151e5c1a83eeda2eb7d0c8f96ee00afcdc79a6600ff96983 diff --git a/sci-libs/symmetrica/metadata.xml b/sci-libs/symmetrica/metadata.xml deleted file mode 100644 index dd46d20f6c33..000000000000 --- a/sci-libs/symmetrica/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <!-- - mjo: François maintained this package in the sage-on-gentoo overlay - long before I moved it into ::gentoo. You don't need an ACK from me - to merge his changes. - --> - <maintainer type="person" proxied="yes"> - <email>frp.bissey@gmail.com</email> - <name>François Bissey</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - - <upstream> - <remote-id type="gitlab">sagemath/symmetrica</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/symmetrica/symmetrica-3.1.0.ebuild b/sci-libs/symmetrica/symmetrica-3.1.0.ebuild deleted file mode 100644 index 87ed4a12e8fd..000000000000 --- a/sci-libs/symmetrica/symmetrica-3.1.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="C library for representation theory, combinatorics, and more" -HOMEPAGE="https://gitlab.com/sagemath/symmetrica" -SRC_URI="https://gitlab.com/-/project/16178617/uploads/b24da56820651687cafb611809a4b1b0/${P}.tar.xz" - -LICENSE="ISC" -SLOT="0/3" -KEYWORDS="amd64 ~riscv" -IUSE="doc" - -DOCS=( README.md ) - -src_configure() { - econf $(use_enable doc) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/szip/Manifest b/sci-libs/szip/Manifest deleted file mode 100644 index 8576e091ae74..000000000000 --- a/sci-libs/szip/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST szip-2.1.1.tar.gz 415774 BLAKE2B e0f8d1f6528801c422a4db0f0cad43dd2c17f913dfff85962f4b4d448176903bcb385f631d32c5328cfb114527220baa9fb7d560364f700a61d4930ce799a7a4 SHA512 ada6406efb096cd8a2daf8f9217fe9111a96dcae87e29d1c31f58ddd2ad2aa7bac03f23c7205dc9360f3b62d259461759330c7189ef0c2fe559704b1ea9d40dd diff --git a/sci-libs/szip/metadata.xml b/sci-libs/szip/metadata.xml deleted file mode 100644 index 02c857bd25f0..000000000000 --- a/sci-libs/szip/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The Consultative Committee on Space Data Systems (CCSDS) has adopted - the extended-Rice algorithm for international standards for space - applications. Szip is reported to provide fast and effective - compression, specifically for the EOS data generated by the NASA - Earth Observatory System (EOS). It was originally developed at - University of New Mexico (UNM) and integrated with HDF4 by UNM - researchers and developers. It can be used for HDF 5 as well. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/szip/szip-2.1.1.ebuild b/sci-libs/szip/szip-2.1.1.ebuild deleted file mode 100644 index be603412f76e..000000000000 --- a/sci-libs/szip/szip-2.1.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Extended-Rice lossless compression algorithm implementation" -HOMEPAGE="https://www.hdfgroup.org/doc_resource/SZIP/" -SRC_URI="https://support.hdfgroup.org/ftp/lib-external/${PN}/${PV}/src/${P}.tar.gz" - -LICENSE="szip" -SLOT="0/2" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc x86" -IUSE="static-libs" - -RDEPEND="!sci-libs/libaec[szip]" -DEPEND="" - -DOCS=( RELEASE.txt HISTORY.txt test/example.c ) - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die - fi -} diff --git a/sci-libs/ta-lib/Manifest b/sci-libs/ta-lib/Manifest deleted file mode 100644 index 79319ca300c6..000000000000 --- a/sci-libs/ta-lib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ta-lib-0.4.0-src.tar.gz 1330299 BLAKE2B 2acc09c2a01c02912dd4ea9a72296376dcb4b434723508829d3b97fcb77baaf8d4eaa44a84fbdb094119890fc1949fc52f759345101d8848032c3814576623c7 SHA512 d7ae2acd830cd23b58bded8a90759edfabc73923fbed3cc09501c121cc937caf728c29678f456c2dc7e72fabb52166bccc19ab51ab1131c7d8d35c201c94ed4c diff --git a/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch b/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch deleted file mode 100644 index 10183938e667..000000000000 --- a/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch +++ /dev/null @@ -1,83 +0,0 @@ - src/Makefile.am | 2 +- - src/Makefile.in | 2 +- - src/ta_abstract/Makefile.am | 8 ++++---- - src/ta_common/Makefile.am | 6 +++--- - src/ta_func/Makefile.am | 6 +++--- - 5 files changed, 12 insertions(+), 12 deletions(-) - -diff --git a/src/Makefile.am b/src/Makefile.am -index 12bc5b6..b1a0c6b 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -8,7 +8,7 @@ libta_lib_la_SOURCES = - libta_lib_la_LIBADD = \ - ta_abstract/libta_abstract.la \ - ta_func/libta_func.la \ -- ta_common/libta_common.la -+ ta_common/libta_common.la -lm - - libta_lib_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) - -diff --git a/src/Makefile.in b/src/Makefile.in -index 489b44a..ef1f506 100644 ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -56,7 +56,7 @@ am_libta_lib_la_OBJECTS = - libta_lib_la_OBJECTS = $(am_libta_lib_la_OBJECTS) - libta_lib_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ -- $(libta_lib_la_LDFLAGS) $(LDFLAGS) -o $@ -+ $(libta_lib_la_LDFLAGS) $(LDFLAGS) -lm -o $@ - DEFAULT_INCLUDES = -I. -I$(top_builddir)/include@am__isrc@ - COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -diff --git a/src/ta_abstract/Makefile.am b/src/ta_abstract/Makefile.am -index cba69bb..4411234 100644 ---- a/src/ta_abstract/Makefile.am -+++ b/src/ta_abstract/Makefile.am -@@ -38,12 +38,12 @@ libta_abstract_gc_la_SOURCES = $(libta_abstract_la_SOURCES) - libta_abstract_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) - libta_abstract_gc_la_LDFLAGS = $(libta_abstract_la_LDFLAGS) - --libta_abstract_la_CPPFLAGS = -I../ta_common/ -Iframes/ -+libta_abstract_la_CPPFLAGS = -I$(top_srcdir)/src/ta_common/ -Iframes/ - - # The 'gc' version is a minimal version used to just to compile gen_code - libta_abstract_gc_la_CPPFLAGS = -DTA_GEN_CODE $(libta_abstract_la_CPPFLAGS) - - libta_abstractdir=$(includedir)/ta-lib/ --libta_abstract_HEADERS = ../../include/ta_defs.h \ -- ../../include/ta_libc.h \ -- ../../include/ta_abstract.h -+libta_abstract_HEADERS = $(top_srcdir)/include/ta_defs.h \ -+ $(top_srcdir)/include/ta_libc.h \ -+ $(top_srcdir)/include/ta_abstract.h -diff --git a/src/ta_common/Makefile.am b/src/ta_common/Makefile.am -index 9454490..3e59bd8 100644 ---- a/src/ta_common/Makefile.am -+++ b/src/ta_common/Makefile.am -@@ -9,7 +9,7 @@ libta_common_la_SOURCES = ta_global.c \ - libta_common_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) - - libta_commondir=$(includedir)/ta-lib/ --libta_common_HEADERS = ../../include/ta_defs.h \ -- ../../include/ta_libc.h \ -- ../../include/ta_common.h -+libta_common_HEADERS = $(top_builddir)/include/ta_defs.h \ -+ $(top_builddir)/include/ta_libc.h \ -+ $(top_builddir)/include/ta_common.h - -diff --git a/src/ta_func/Makefile.am b/src/ta_func/Makefile.am -index 030a516..299baf9 100644 ---- a/src/ta_func/Makefile.am -+++ b/src/ta_func/Makefile.am -@@ -165,6 +165,6 @@ libta_func_la_SOURCES = ta_utility.c \ - libta_func_la_LDFLAGS = -version-info $(TALIB_LIBRARY_VERSION) - - libta_funcdir=$(includedir)/ta-lib/ --libta_func_HEADERS = ../../include/ta_defs.h \ -- ../../include/ta_libc.h \ -- ../../include/ta_func.h -+libta_func_HEADERS = $(top_builddir)/include/ta_defs.h \ -+ $(top_builddir)/include/ta_libc.h \ -+ $(top_builddir)/include/ta_func.h diff --git a/sci-libs/ta-lib/files/ta-lib-0.4.0-slibtool.patch b/sci-libs/ta-lib/files/ta-lib-0.4.0-slibtool.patch deleted file mode 100644 index 7aa9c96159eb..000000000000 --- a/sci-libs/ta-lib/files/ta-lib-0.4.0-slibtool.patch +++ /dev/null @@ -1,92 +0,0 @@ -Upstream-PR: https://sourceforge.net/p/ta-lib/patches/6/ -From 05375dd96c3bdec814214f37a6c49d4a27079960 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Thu, 12 May 2022 11:13:59 -0700 -Subject: [PATCH] Fix parallel Make issue with slibtool - ---- - configure.in => configure.ac | 4 ++++ - src/tools/gen_code/Makefile.am | 13 ++++++++----- - src/tools/gen_code/gen_code_bin.sh | 16 ++++++++++++++++ - src/tools/ta_regtest/Makefile.am | 4 ++-- - 4 files changed, 30 insertions(+), 7 deletions(-) - rename configure.in => configure.ac (96%) - create mode 100755 src/tools/gen_code/gen_code_bin.sh - -diff --git a/configure.in b/configure.ac -similarity index 96% -rename from configure.in -rename to configure.ac -index d2e5784..359d400 100644 ---- a/configure.in -+++ b/configure.ac -@@ -35,6 +35,10 @@ AC_FUNC_STRTOD - AC_FUNC_VPRINTF - AC_CHECK_FUNCS([floor isascii localeconv mblen memmove memset modf pow sqrt strcasecmp strchr strerror strncasecmp strrchr strstr strtol strtoul]) - -+# Checks for libm -+AC_CHECK_LIBM -+AC_SUBST([LIBM]) -+ - # Versioning: - # Only change this if library is no longer - # ABI compatible with previous version -diff --git a/src/tools/gen_code/Makefile.am b/src/tools/gen_code/Makefile.am -index cb839c2..2ec2360 100644 ---- a/src/tools/gen_code/Makefile.am -+++ b/src/tools/gen_code/Makefile.am -@@ -6,9 +6,12 @@ noinst_PROGRAMS = gen_code - gen_code_SOURCES = gen_code.c - - gen_code_CPPFLAGS = -I../../ta_common --gen_code_LDFLAGS = -L../../ta_common -L../../ta_abstract -L../../ta_func --gen_code_LDADD = -lta_common -lta_abstract_gc -lta_func -lm -+gen_code_LDFLAGS = -no-undefined -+gen_code_LDADD = \ -+ ../../ta_common/libta_common.la \ -+ ../../ta_abstract/libta_abstract_gc.la \ -+ ../../ta_func/libta_func.la \ -+ $(LIBM) - --all-local: -- $(MAKE) $(AM_MAKEFLAGS) gen_code -- cp gen_code ../../../bin -+all-local: gen_code -+ $(LIBTOOL) --mode=execute ./gen_code_bin.sh gen_code -diff --git a/src/tools/gen_code/gen_code_bin.sh b/src/tools/gen_code/gen_code_bin.sh -new file mode 100755 -index 0000000..b19fd09 ---- /dev/null -+++ b/src/tools/gen_code/gen_code_bin.sh -@@ -0,0 +1,16 @@ -+#!/bin/sh -+ -+# This is a work around for a slibtool bug with --mode=execute -+# -+# With slibtool the gen_code binary is created in the .libs directory while GNU -+# libtool outputs in the same directory as the Makefile. This means that cp(1) -+# needs to be invoked with $(LIBTOOL) --mode=execute. -+# -+# However slibtool currently has a bug where the destination argument is dropped -+# which will result in the command failing. -+# -+# See https://bugs.gentoo.org/790770 -+ -+set -eu -+ -+cp "${1}" ../../../bin -diff --git a/src/tools/ta_regtest/Makefile.am b/src/tools/ta_regtest/Makefile.am -index 64229e2..255a87e 100644 ---- a/src/tools/ta_regtest/Makefile.am -+++ b/src/tools/ta_regtest/Makefile.am -@@ -34,5 +34,5 @@ ta_regtest_CPPFLAGS = -I../../ta_func \ - -I../../ta_common/mt \ - -I../../ta_common \ - -I../../ta_abstract --ta_regtest_LDFLAGS = -L../.. -lta_lib \ -- -lm -+ta_regtest_LDFLAGS = -no-undefined -+ta_regtest_LDADD = ../../libta_lib.la $(LIBM) --- -2.35.1 - diff --git a/sci-libs/ta-lib/metadata.xml b/sci-libs/ta-lib/metadata.xml deleted file mode 100644 index e28143c4e0dc..000000000000 --- a/sci-libs/ta-lib/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">ta-lib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild deleted file mode 100644 index 2b4fcc3ffd2e..000000000000 --- a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="Technical Analysis Library for analyzing financial markets trends" -HOMEPAGE="https://www.ta-lib.org/" -SRC_URI="https://downloads.sourceforge.net/ta-lib/${P}-src.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -S="${WORKDIR}/${PN}" - -PATCHES=( - "${FILESDIR}"/${P}-asneeded.patch - "${FILESDIR}"/${P}-slibtool.patch # 790770 -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/862936 - # Upstream is sourceforge plus has not been active since 2013. No bug filed. - filter-lto - - default -} - -src_test() { - src/tools/ta_regtest/ta_regtest || die -} - -src_install() { - default - - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/tamu_anova/Manifest b/sci-libs/tamu_anova/Manifest deleted file mode 100644 index 756d2dae551b..000000000000 --- a/sci-libs/tamu_anova/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tamuanova_0.2.orig.tar.gz 220803 BLAKE2B dab9762a34c0abdeae900bc26864874dc33b60c19dafd06ddb6d41670c142d33c034e61b45d10d1c609d8b38af40514578f40b53b413256a38a1956036728bb1 SHA512 e4e65997d8ca57b5ad1c0001abbe41652fa86f8b8e9e00aa53d8079062e028baee67436408997d96d87c85801c48e1c87f40dfe291d387cd94dcefd61a52c477 diff --git a/sci-libs/tamu_anova/files/0.2-gentoo.patch b/sci-libs/tamu_anova/files/0.2-gentoo.patch deleted file mode 100644 index 4d4c1f4a0af1..000000000000 --- a/sci-libs/tamu_anova/files/0.2-gentoo.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index 6b11b79..ba5fac3 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,11 +1,11 @@ --inst_LIBRARIES = libtamuanova.a -+lib_LTLIBRARIES = libtamuanova.la - pkginclude_HEADERS = tamu_anova.h --libtamuanova_a_SOURCES = anova_1.c anova_2.c --instdir = /usr/lib/ -+libtamuanova_la_SOURCES = anova_1.c anova_2.c -+libtamuanova_la_LIBADD = $(GSL_LIBS) - - TESTS = $(check_PROGRAMS) - check_PROGRAMS = test --test_LDADD = libtamuanova.a -lgsl -lgslcblas -lm -+test_LDADD = libtamuanova.la $(GSL_LIBS) -lm - test_SOURCES = test.c - - CLEANFILES = test.dat -diff --git a/configure.ac b/configure.ac -index 7008594..1f161c3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -7,6 +7,10 @@ AM_INIT_AUTOMAKE([gnu no-dependencies]) - AC_CONFIG_HEADER([config.h]) - - AC_PROG_MAKE_SET -+AC_PROG_LIBTOOL -+PKG_PROG_PKG_CONFIG -+ -+PKG_CHECK_MODULES(GSL, [ gsl ]) - - dnl Check for which system. - AC_CANONICAL_HOST diff --git a/sci-libs/tamu_anova/files/tamu_anova-0.2-texinfo5.1.patch b/sci-libs/tamu_anova/files/tamu_anova-0.2-texinfo5.1.patch deleted file mode 100644 index f0c0570fc46d..000000000000 --- a/sci-libs/tamu_anova/files/tamu_anova-0.2-texinfo5.1.patch +++ /dev/null @@ -1,39 +0,0 @@ - fdl.texi | 2 +- - tamu_anova.texi | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/fdl.texi b/fdl.texi -index 006dec7..6d8114a 100644 ---- a/fdl.texi -+++ b/fdl.texi -@@ -403,7 +403,7 @@ number of this License, you may choose any version ever published (not - as a draft) by the Free Software Foundation. - @end enumerate - --@unnumberedsubsec ADDENDUM: How to use this License for your documents -+@unnumberedsec ADDENDUM: How to use this License for your documents - - To use this License in a document you have written, include a copy of - the License in the document and put the following copyright and -diff --git a/tamu_anova.texi b/tamu_anova.texi -index 8d4cd5b..5fba0e5 100644 ---- a/tamu_anova.texi -+++ b/tamu_anova.texi -@@ -177,7 +177,7 @@ that the first effect is the fixed effect, while the second effect is the random - @section Structures - @b{One way table} - --@deftypefn {struct tamu_anova_table} -+@deftypefn {Structures} struct tamu_anova_table - @code{struct tamu_anova_table@{ - long df_tr, df_err, df_tot; - double SSTr, SSE, SST, MSTr, MSE, F, p;@}; -@@ -185,7 +185,7 @@ that the first effect is the fixed effect, while the second effect is the random - @end deftypefn - @* - @b{Two way table} --@deftypefn {struct tamu_anova_table_twoway} -+@deftypefn {Structures} struct tamu_anova_table_twoway - @code{struct tamu_anova_table_twoway @{ - long - dfA, dfB, dfAB, dfT, dfE; diff --git a/sci-libs/tamu_anova/metadata.xml b/sci-libs/tamu_anova/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/sci-libs/tamu_anova/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/tamu_anova/tamu_anova-0.2-r1.ebuild b/sci-libs/tamu_anova/tamu_anova-0.2-r1.ebuild deleted file mode 100644 index 490fee9da718..000000000000 --- a/sci-libs/tamu_anova/tamu_anova-0.2-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="ANOVA Extensions to the GNU Scientific Library" -HOMEPAGE="https://tracker.debian.org/pkg/tamuanova" -SRC_URI="http://cdn-fastly.deb.debian.org/debian/pool/main/t/tamuanova/tamuanova_${PV}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="sci-libs/gsl:0=" -DEPEND="${RDEPEND}" -BDEPEND="sys-apps/texinfo" - -S="${WORKDIR}"/${PN}-0.2 - -PATCHES=( - "${FILESDIR}"/${PV}-gentoo.patch - "${FILESDIR}"/${P}-texinfo5.1.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --disable-static -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/taucs/Manifest b/sci-libs/taucs/Manifest deleted file mode 100644 index 017e4878ce93..000000000000 --- a/sci-libs/taucs/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST taucs-2.2.1.tar.gz 1594127 BLAKE2B 426f5a6f919415480a14d231233214d4e560ecfb257b67751fc26ce0897acab504ee50d0dd074dd99c9c0b74c1bcad2c2f88e8a9708107a5c2dfe52d452eba02 SHA512 727f05a7ea89cb74893905b17571ae9275db283e0fbe1d5538dfd72c0f9ed1a47325b1845b1e8b381793a513b4b538b35d503f5dbb63db222e1b01fd1169f1e9 diff --git a/sci-libs/taucs/files/taucs-2.2-missing-include.patch b/sci-libs/taucs/files/taucs-2.2-missing-include.patch deleted file mode 100644 index b5186aef3911..000000000000 --- a/sci-libs/taucs/files/taucs-2.2-missing-include.patch +++ /dev/null @@ -1,36 +0,0 @@ -I don't know why he uses number of arguments to distinguish if -it's windows or not. Add correct header, section off wrong -mkdirs on Windows -https://bugs.gentoo.org/898294 ---- a/configurator/taucs_config.c -+++ b/configurator/taucs_config.c -@@ -1,6 +1,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -+#include <sys/stat.h> - - #include "taucs_structure.h" - -@@ -242,8 +242,10 @@ - sprintf(name,"%s%c%s", configdir,pathsep,ostype); - - if (win32) { -+#if defined _WIN32 || defined __CYGWIN__ - mkdir(configdir); - mkdir(name); -+#endif - } - else { - mkdir(configdir,0777); -@@ -301,8 +303,10 @@ - sprintf(name,"%s%c%s", configdir,pathsep,ostype); - - if (win32) { -+#if defined _WIN32 || defined __CYGWIN__ - mkdir(configdir); - mkdir(name); -+#endif - } - else { - mkdir(configdir,0777); diff --git a/sci-libs/taucs/files/taucs-2.2-respect-ar.patch b/sci-libs/taucs/files/taucs-2.2-respect-ar.patch deleted file mode 100644 index 4ab95441a2de..000000000000 --- a/sci-libs/taucs/files/taucs-2.2-respect-ar.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/config/linux.mk -+++ b/config/linux.mk -@@ -25,7 +25,7 @@ - LDFLAGS = - LOUTFLG = $(COUTFLG) - --AR = ar cr -+ARFLAGS = cr - AOUTFLG = - - RANLIB = ranlib ---- a/configurator/taucs_config.c -+++ b/configurator/taucs_config.c -@@ -558,7 +558,7 @@ - - fprintf(f, "%s: $(%s_content) $(STDDEPS)\n",get_full_name(i,0),base); - fprintf(f,"\t- $(RM) %s\n",get_full_name(i,0)); -- fprintf(f,"\t$(AR) $(AOUTFLG)%s $(%s_content)\n",get_full_name(i,0),base); -+ fprintf(f,"\t$(AR) $(ARFLAGS) $(AOUTFLG)%s $(%s_content)\n",get_full_name(i,0),base); - fprintf(f,"\t$(RANLIB) %s\n",get_full_name(i,0)); - } - diff --git a/sci-libs/taucs/files/taucs-2.2.1-C23.patch b/sci-libs/taucs/files/taucs-2.2.1-C23.patch deleted file mode 100644 index dec900f8603b..000000000000 --- a/sci-libs/taucs/files/taucs-2.2.1-C23.patch +++ /dev/null @@ -1,120 +0,0 @@ -Port to C23. Various problems without the bug -found in bumping package version ---- a/src/taucs_ccs_ooc_llt.c -+++ b/src/taucs_ccs_ooc_llt.c -@@ -281,7 +281,7 @@ - int do_order, - int ipostorder[], - double given_mem, -- void (*sn_struct_handler)(), -+ void (*sn_struct_handler)(void* argument, int sn, int sn_up_size, int* sn_struct_ptr[]), - void* sn_struct_handler_arg - ) - { -@@ -455,7 +455,7 @@ - int do_order, - int do_column_to_sn_map, - double given_mem, -- void (*sn_struct_handler)(), -+ void (*sn_struct_handler)(void* argument, int sn, int sn_up_size, int* sn_struct_ptr[]), - void* sn_struct_handler_arg - ) - { ---- a/src/taucs_vaidya.c -+++ b/src/taucs_vaidya.c -@@ -3046,7 +3046,7 @@ - int row, col; - int *pi1 = 0; /* warning */ - double x, y, min, max, not; -- byte bool=1; -+ byte Bool=1; - edge *p,*dummy, *pe ,*max_pe; - int count = 0; - -@@ -3116,18 +3116,18 @@ - - for(minrho=1;minrho<maxdist;minrho++) - { -- bool = 1; -+ Bool = 1; - for(k=0;k<min(j,classes);k++) - { - if ((double)(findrho[(minrho+1)*classes+k]-findrho[minrho*classes+k]) > (findrho[minrho*classes+k])/x) -- bool = 0; -+ Bool = 0; - } -- if (bool) -+ if (Bool) - goto afterr; - } - - afterr: -- if (bool) -+ if (Bool) - { - for(i=0;i<n;i++) - if ((d[i] <= minrho) && (d[i] != -1) ) ---- a/progs/direct.c -+++ b/progs/direct.c -@@ -691,7 +691,6 @@ - /***********************************************************/ - - if (A->flags & TAUCS_SINGLE) { -- float snrm2_(); - int one = 1; - - NormErr = 0.0; -@@ -704,7 +703,6 @@ - } - - if (A->flags & TAUCS_DOUBLE) { -- double dnrm2_(); - int one = 1; - - NormErr = 0.0; -@@ -718,7 +716,6 @@ - - #ifdef TAUCS_CONFIG_DCOMPLEX - if (A->flags & TAUCS_DCOMPLEX) { -- double dznrm2_(); - int one = 1; - double* pX = (double*) Xz; - double* pNX = (double*) NXz; ---- a/progs/direct_coverage.c -+++ b/progs/direct_coverage.c -@@ -729,7 +729,6 @@ - /***********************************************************/ - - if (A->flags & TAUCS_SINGLE) { -- float snrm2_(); - int one = 1; - - NormErr = 0.0; -@@ -742,7 +741,6 @@ - } - - if (A->flags & TAUCS_DOUBLE) { -- double dnrm2_(); - int one = 1; - - NormErr = 0.0; -@@ -755,7 +753,6 @@ - } - - if (A->flags & TAUCS_DCOMPLEX) { -- double dznrm2_(); - int one = 1; - double* pX = (double*) Xz; - double* pNX = (double*) NXz; -diff '--color=auto' -ur taucs-2.2.1.old/progs/test_cilk_snmf.c taucs-2.2.1/progs/test_cilk_snmf.c ---- taucs-2.2.1.old/progs/test_cilk_snmf.c 2025-02-21 22:18:08.370013676 +0400 -+++ taucs-2.2.1/progs/test_cilk_snmf.c 2025-02-21 22:18:37.175471226 +0400 -@@ -27,8 +27,6 @@ - #define my_dnrm2 dnrm2 - #endif - --double my_dnrm2(); -- - int main() - { - int xyz = 30; diff --git a/sci-libs/taucs/files/taucs-2.2.1-allocate-memory-in-test.patch b/sci-libs/taucs/files/taucs-2.2.1-allocate-memory-in-test.patch deleted file mode 100644 index 2aed8c1bc757..000000000000 --- a/sci-libs/taucs/files/taucs-2.2.1-allocate-memory-in-test.patch +++ /dev/null @@ -1,24 +0,0 @@ -There may be more actions needed, before that memory was unallocated -and nullptrs were dereferenced. ---- a/progs/test_cilk_snmf.c -+++ b/progs/test_cilk_snmf.c -@@ -54,6 +54,7 @@ - - Xd =(double*)malloc((A->n)*sizeof(double)); - for(i=0; i<A->n; i++) (Xd)[i]=(float)((double)random()/RAND_MAX); -+ Bd =(double*)malloc((A->n)*sizeof(double)); - taucs_ccs_times_vec(A,Xd,Bd); - - taucs_ccs_order(A,&perm,&invperm,"metis"); -@@ -74,8 +75,11 @@ - return 1; - } - -+ PBd =(double*)malloc((A->n)*sizeof(double)); - taucs_vec_permute(A->n,A->flags,Bd,PBd,perm); -+ NXd =(double*)malloc((A->n)*sizeof(double)); - taucs_supernodal_solve_llt(L,PBd,NXd); /* direct solver */ -+ PXd =(double*)malloc((A->n)*sizeof(double)); - taucs_vec_ipermute(A->n,A->flags,PXd,NXd,perm); - - { diff --git a/sci-libs/taucs/metadata.xml b/sci-libs/taucs/metadata.xml deleted file mode 100644 index dda4de5504d0..000000000000 --- a/sci-libs/taucs/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - TAUCS is a C library of sparse linear solvers. - The current version of the library (1.0) includes the following - functionality: - * Multifrontal Supernodal Cholesky Factorization. - * Left-Looking Supernodal Cholesky Factorization. - * Drop-Tolerance Incomplete-Cholesky Factorization. - * Out-of-Core, Left-Looking Supernodal Sparse Cholesky Factorization. - * Out-of-Core Sparse LU with Partial Pivoting Factor and Solve. - * Ordering Codes and Interfaces to Existing Ordering Codes. - * Multilevel-Support-Graph Preconditioners. - * Matrix Operations. - * Matrix Input/Output. - * Matrix Generators. - * Iterative Solvers. - * Vaidya's Preconditioners. - * Recursive Vaidya's Preconditioners. - * Multilevel-Support-Graph Preconditioners. - * Utility Routines - </longdescription> - <upstream> - <remote-id type="github">sivantoledo/taucs</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/taucs/taucs-2.2.1.ebuild b/sci-libs/taucs/taucs-2.2.1.ebuild deleted file mode 100644 index 79fee5e52a92..000000000000 --- a/sci-libs/taucs/taucs-2.2.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fortran-2 toolchain-funcs - -DESCRIPTION="C library of sparse linear solvers" -HOMEPAGE="https://github.com/sivantoledo/taucs/" -SRC_URI="https://github.com/sivantoledo/taucs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" -RESTRICT="test" - -RDEPEND=" - sci-libs/metis - virtual/blas - virtual/lapack" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - # bug 725588 - "${FILESDIR}"/${PN}-2.2-respect-ar.patch - "${FILESDIR}"/${PN}-2.2-missing-include.patch - "${FILESDIR}"/${P}-C23.patch - "${FILESDIR}"/${P}-allocate-memory-in-test.patch -) - -src_configure() { - cat > config/linux_shared.mk <<-EOF || die - AR=$(tc-getAR) - FC=$(tc-getFC) - CC=$(tc-getCC) - LD=$(tc-getFC) - RANLIB=$(tc-getRANLIB) - CFLAGS=${CFLAGS} -fPIC - FFLAGS=${FFLAGS} -fPIC - LDFLAGS=${LDFLAGS} -fPIC - LIBBLAS=$($(tc-getPKG_CONFIG) --libs blas) - LIBLAPACK=$($(tc-getPKG_CONFIG) --libs lapack) - LIBMETIS=$($(tc-getPKG_CONFIG) --libs metis) - LIBF77= - EOF - # no cat <<EOF because -o has a trailing space - cp config/linux.mk config/linux-musl.mk - cp config/linux_shared.mk config/linux-musl_shared.mk -} - -src_compile() { - # not autotools configure. Uses difference in mkdir signature - # between windows and linux to recognize system. - CC="$(tc-getCC)" ./configure variant=_shared || die - emake - - cd lib/linux$(usev elibc_musl -musl)_shared || die - $(tc-getFC) ${LDFLAGS} -shared -Wl,-soname=libtaucs.so.1 \ - -Wl,--whole-archive libtaucs.a -Wl,--no-whole-archive \ - $($(tc-getPKG_CONFIG) --libs blas lapack metis) \ - -o libtaucs.so.1.0.0 \ - || die "shared lib linking failed" -} - -src_test() { - LD_LIBRARY_PATH=lib/linux$(usev elibc_musl -musl)_shared \ - ./testscript variant=_shared || die "compile test failed" - if grep -q FAILED testscript.log; then - eerror "Test failed. See ${S}/testscript.log" - die "test failed" - fi -} - -src_install() { - ln -s libtaucs.so.1.0.0 lib/linux$(usev elibc_musl -musl)_shared/libtaucs.so.1 || die - ln -s libtaucs.so.1 lib/linux$(usev elibc_musl -musl)_shared/libtaucs.so || die - dolib.so lib/linux$(usev elibc_musl -musl)_shared/libtaucs.so* - - doheader build/*/*.h src/*.h - - use doc && dodoc doc/*.pdf -} diff --git a/sci-libs/tnt/Manifest b/sci-libs/tnt/Manifest deleted file mode 100644 index 4f157d791fb2..000000000000 --- a/sci-libs/tnt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tnt_3_0_12.zip 50166 BLAKE2B 8ecefb46e6ab577cce3881a829d88c8eb61c10ba4a7f33d4408555ac9c76b3b11d2442255920336f2a7fd6eda508d3a4f420e66a0821ae8276fddc78f013e8b4 SHA512 3be00d37880ffc191022db13993c3946e913e92409cef1ff5f53b74cab5ea09782d131056d89bcbd0990939967b5d93ebe93e8a7db956be2fb9e8a7356dafbfd diff --git a/sci-libs/tnt/metadata.xml b/sci-libs/tnt/metadata.xml deleted file mode 100644 index f7cae62cf7f9..000000000000 --- a/sci-libs/tnt/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The Template Numerical Toolkit (TNT) is a collection of interfaces and - reference implementations of numerical objects useful for scientific - computing in C++. The toolkit defines interfaces for basic data - structures, such as multidimensional arrays and sparse matrices, commonly - used in numerical applications. The goal of this package is to provide - reusable software components that address many of the portability and - maintenance problems with C++ codes. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/tnt/tnt-3.0.12.ebuild b/sci-libs/tnt/tnt-3.0.12.ebuild deleted file mode 100644 index fae2b2367d38..000000000000 --- a/sci-libs/tnt/tnt-3.0.12.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}_$(ver_rs 1-3 '_')" - -DESCRIPTION="Template Numerical Toolkit: C++ headers for array and matrices" -HOMEPAGE="https://math.nist.gov/tnt/" -SRC_URI="https://math.nist.gov/tnt/${MY_P}.zip" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND="app-arch/unzip" - -S="${WORKDIR}/${PN}" - -src_install() { - doheader *.h -} diff --git a/sci-libs/trilinos/Manifest b/sci-libs/trilinos/Manifest deleted file mode 100644 index 033657900bd2..000000000000 --- a/sci-libs/trilinos/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST trilinos-14.4.0.tar.gz 188325969 BLAKE2B 909e3ebe229d035263d835e0d68977516d2a5df168785021fe300f7904e149586a82a6dba271cc1472455472397ee5467443244fb68fb27c00cf4e9b3d10a282 SHA512 497fc4fb4ab4338fffef7111635f3dc3b12cb7302bc3f56bafb5cc75b7c68e94cc22fcacd9dd625803a0f38e4fbce5105cab61df76e033a4581568c36a53fe8a -DIST trilinos-15.1.1.tar.gz 183340366 BLAKE2B 4d1184fac143ae2b2950d0bf35bae8f813436f894734e5a9aa96d7622ed265cc41a04001a846437a1d1921258c20ae165e9e55f1754241541bde7136c08a6e5c SHA512 5a1a7d321dd3b47fafe0422884d1a7bf6731d5ee806a4fd1bf31f179ca5d6f4290cda4515d0d7786024ea15c17e88422a9518370c5cfb32b4b44761de232e0de -DIST trilinos-16.2.1.tar.gz 198630592 BLAKE2B 2048f86dee8eafeef226be47c9de3e88cc3614fcfde288801f30706e702e0564ae35cdbbdb21245842017ddc99682c0b540f6185ee6ed56baa151038c66ed4ac SHA512 cc290b7c6ee2364d8c4461a45c957593f00f7bbe520b9a7e0adadbee09a67ab66319ce301f0ba530ab1b1a61825a065ddfc307dc32231552af106c924f5170a2 -DIST trilinos-17.0.0.tar.gz 181339559 BLAKE2B 8fae24679423532ccc274592b5bdd5ee218544b6d2f5cc0db76f6dfdc48bc69ac603d13d720b8e2480cba00f265172c37a93df5b5e2bf73090e076aeff6ab8eb SHA512 7b34293422e13a42bc5fc2ad25413b8b800a5fdd56c0d7211361514e188832e6a146e8e94931d202fa62c82baa5099347b0b98f7182cb11ec85a5e2a29f32d11 -DIST trilinos-17.1.0.tar.gz 180922724 BLAKE2B b868ec206c0cf0493328d1f7fb093ac5deed1bac6eebb21f43fab11caf2f296b61b8de70f14a517a2874bbf91fcec4eea8fe81156800f5795a89b0eb20a9a0dd SHA512 8a84ad44a053a9b73d5a3bbfafd926e05bec13c194f998e9d4ad7b3a716cc8eaaf2103ca1e5d42f8575e86f093f3848e6cfeb6a37dfd1ed366fe46390a0f5a50 diff --git a/sci-libs/trilinos/files/trilinos-16.1.0-fix_compilation_gcc15.patch b/sci-libs/trilinos/files/trilinos-16.1.0-fix_compilation_gcc15.patch deleted file mode 100644 index 55a49ea63dcc..000000000000 --- a/sci-libs/trilinos/files/trilinos-16.1.0-fix_compilation_gcc15.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/commonTools/gtest/gtest/gtest-all.cc b/commonTools/gtest/gtest/gtest-all.cc -index cef5397f..bfe2d02d 100644 ---- a/commonTools/gtest/gtest/gtest-all.cc -+++ b/commonTools/gtest/gtest/gtest-all.cc -@@ -33,6 +33,8 @@ - // Sometimes it's desirable to build Google Test by compiling a single file. - // This file serves this purpose. - -+#include <cstdint> -+ - // This line ensures that gtest.h can be compiled on its own, even - // when it's fused. - #include "gtest/gtest.h" diff --git a/sci-libs/trilinos/files/trilinos-17.0.0-drop_boost_system.patch b/sci-libs/trilinos/files/trilinos-17.0.0-drop_boost_system.patch deleted file mode 100644 index 9be4a5422676..000000000000 --- a/sci-libs/trilinos/files/trilinos-17.0.0-drop_boost_system.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 0a20709150ff4762497e8e54dac34c718620142c Mon Sep 17 00:00:00 2001 -From: Matthias Maier <tamiko@43-1.org> -Date: Sat, 7 Mar 2026 17:56:42 -0600 -Subject: [PATCH] Drop boost_system - ---- - cmake/TPLs/FindTPLBoostAlbLib.cmake | 2 +- - cmake/TPLs/FindTPLBoostLib.cmake | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/cmake/TPLs/FindTPLBoostAlbLib.cmake b/cmake/TPLs/FindTPLBoostAlbLib.cmake -index e4d5cead..46f3f939 100644 ---- a/cmake/TPLs/FindTPLBoostAlbLib.cmake -+++ b/cmake/TPLs/FindTPLBoostAlbLib.cmake -@@ -1,6 +1,6 @@ - - TRIBITS_TPL_FIND_INCLUDE_DIRS_AND_LIBRARIES( BoostAlbLib - REQUIRED_HEADERS boost/version.hpp boost/mpl/at.hpp -- REQUIRED_LIBS_NAMES boost_regex boost_filesystem boost_thread boost_wserialization boost_serialization boost_mpi boost_program_options boost_system -+ REQUIRED_LIBS_NAMES boost_regex boost_filesystem boost_thread boost_wserialization boost_serialization boost_mpi boost_program_options - ) - -diff --git a/cmake/TPLs/FindTPLBoostLib.cmake b/cmake/TPLs/FindTPLBoostLib.cmake -index 4d753e6f..920d60fe 100644 ---- a/cmake/TPLs/FindTPLBoostLib.cmake -+++ b/cmake/TPLs/FindTPLBoostLib.cmake -@@ -1,12 +1,12 @@ - set(REQUIRED_HEADERS boost/version.hpp boost/mpl/at.hpp ) --set(REQUIRED_LIBS_NAMES boost_program_options boost_system ) -+set(REQUIRED_LIBS_NAMES boost_program_options ) - set(IMPORTED_TARGETS_FOR_ALL_LIBS Boost ) - - tribits_tpl_allow_pre_find_package(Boost Boost_ALLOW_PREFIND) - - if (Boost_ALLOW_PREFIND) - message("-- Using find_package(BOOST ...) ...") -- find_package(BOOST COMPONENTS program_options system) -+ find_package(BOOST COMPONENTS program_options ) - if (BOOST_FOUND) - message("-- Found Boost_DIR='${BOOST_DIR}'") - message("-- Generating Boost::all_libs and BoostConfig.cmake") --- -2.52.0 - diff --git a/sci-libs/trilinos/files/trilinos-17.1.0-fix_compilation.patch b/sci-libs/trilinos/files/trilinos-17.1.0-fix_compilation.patch deleted file mode 100644 index c3977cbd0643..000000000000 --- a/sci-libs/trilinos/files/trilinos-17.1.0-fix_compilation.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/packages/shylu/shylu_node/basker/src/shylubasker_order_scotch.hpp b/packages/shylu/shylu_node/basker/src/shylubasker_order_scotch.hpp -index 2ff63c9c..e68e3e4b 100644 ---- a/packages/shylu/shylu_node/basker/src/shylubasker_order_scotch.hpp -+++ b/packages/shylu/shylu_node/basker/src/shylubasker_order_scotch.hpp -@@ -885,7 +885,7 @@ namespace BaskerNS - { - if(M.row_idx(k) != i) - { -- BASKER_ASSERT(sptr < M.nnz); -+ // BASKER_ASSERT(sptr < M.nnz); - sg.Ai[sptr++] = M.row_idx(k); - sj++; - } - diff --git a/sci-libs/trilinos/metadata.xml b/sci-libs/trilinos/metadata.xml deleted file mode 100644 index 61a49ed97f40..000000000000 --- a/sci-libs/trilinos/metadata.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tamiko@gentoo.org</email> - <name>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - The Trilinos Project is an effort to develop algorithms and enabling - technologies within an object-oriented software framework for the solution - of large-scale, complex multi-physics engineering and scientific problems. - </longdescription> - <use> - <flag name="adolc">Add support for adolc (<pkg>sci-libs/adolc</pkg>)</flag> - <flag name="all-packages">Enable all supported Trilinos packages (per default only a subset is built)</flag> - <flag name="arprec">Add support for arprec (<pkg>sci-libs/arprec</pkg>)</flag> - <flag name="clp">Add support for clp (<pkg>sci-libs/coinor-clp</pkg>)</flag> - <flag name="eigen">Add support for eigen (<pkg>dev-cpp/eigen</pkg>)</flag> - <flag name="glpk">Add support for glpk (<pkg>sci-mathematics/glpk</pkg>)</flag> - <flag name="gtest">Add support for gtest (<pkg>dev-cpp/gtest</pkg>)</flag> - <flag name="hwloc">Add support for hwloc (<pkg>sys-apps/hwloc</pkg>)</flag> - <flag name="hdf5">Add support for hdf5 (<pkg>sci-libs/hdf5</pkg>)</flag> - <flag name="hypre">Add support for hypre (<pkg>sci-libs/hypre</pkg>)</flag> - <flag name="matio">Add support for matio (<pkg>sci-libs/matio</pkg>)</flag> - <flag name="metis"> - Add support for metis (<pkg>sci-libs/metis</pkg> or <pkg>sci-libs/parmetis</pkg>) - </flag> - <flag name="mkl">Add support for mkl (<pkg>sci-libs/mkl</pkg>)</flag> - <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag> - <flag name="netcdf">Add support for netcdf (<pkg>sci-libs/netcdf</pkg>)</flag> - <flag name="petsc">Add support for petsc (<pkg>sci-mathematics/petsc</pkg>)</flag> - <flag name="qd">Add support for qd (<pkg>sci-libs/qd</pkg>)</flag> - <flag name="scalapack">Add support for scalapack (<pkg>sci-libs/scalapack</pkg>)</flag> - <flag name="scotch">Add support for scotch (<pkg>sci-libs/scotch</pkg>)</flag> - <flag name="sparse">Add support for sparse matrix solvers (<pkg>sci-libs/umfpack</pkg>)</flag> - <flag name="superlu">Add support for superlu (<pkg>sci-libs/superlu</pkg>)</flag> - <flag name="taucs">Add support for taucs (<pkg>sci-libs/taucs</pkg>)</flag> - <flag name="tbb">Add support for threading building blocks library (<pkg>dev-cpp/tbb</pkg>)</flag> - <flag name="tvmet">Add support for tvmet (<pkg>dev-libs/tvmet</pkg>)</flag> - <flag name="yaml">Add support for yaml (<pkg>dev-cpp/yaml-cpp</pkg>)</flag> - </use> - <upstream> - <remote-id type="github">trilinos/Trilinos</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/trilinos/trilinos-14.4.0-r1.ebuild b/sci-libs/trilinos/trilinos-14.4.0-r1.ebuild deleted file mode 100644 index 892bc96c02c6..000000000000 --- a/sci-libs/trilinos/trilinos-14.4.0-r1.ebuild +++ /dev/null @@ -1,259 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Scientific library collection for large scale problems" -HOMEPAGE="http://trilinos.sandia.gov/" -MY_PV="${PV//\./-}" -PATCHSET="r0" -SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}" - -LICENSE="BSD LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" - -IUSE=" - adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre - matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse - superlu taucs tbb test threads tvmet yaml zlib X -" - -# TODO: fix export cmake function for tests -RESTRICT="test" - -RDEPEND=" - !dev-cpp/kokkos - dev-libs/boost:= - sys-libs/binutils-libs:= - virtual/blas - virtual/lapack - virtual/mpi - adolc? ( sci-libs/adolc ) - arprec? ( sci-libs/arprec ) - clp? ( sci-libs/coinor-clp ) - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - eigen? ( dev-cpp/eigen:= ) - glpk? ( sci-mathematics/glpk ) - gtest? ( dev-cpp/gtest ) - hdf5? ( sci-libs/hdf5:=[mpi] ) - hypre? ( sci-libs/hypre:= ) - hwloc? ( sys-apps/hwloc:= ) - matio? ( sci-libs/matio ) - mkl? ( sci-libs/mkl ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps ) - netcdf? ( sci-libs/netcdf:= ) - petsc? ( sci-mathematics/petsc ) - qd? ( sci-libs/qd ) - scalapack? ( sci-libs/scalapack ) - scotch? ( sci-libs/scotch:= ) - sparse? ( sci-libs/cxsparse sci-libs/umfpack ) - superlu? ( sci-libs/superlu:= ) - taucs? ( sci-libs/taucs ) - tbb? ( dev-cpp/tbb:= ) - tvmet? ( dev-libs/tvmet ) - yaml? ( dev-cpp/yaml-cpp:= ) - zlib? ( virtual/zlib:= ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -trilinos_conf() { - local dirs libs d - for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" ) - for d in $($(tc-getPKG_CONFIG) --libs-only-l $1); do - libs="${libs};${d:2}" - done - [[ -n ${libs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_NAMES=${libs:1}" ) - dirs="" - for d in $($(tc-getPKG_CONFIG) --cflags-only-I $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_INCLUDE_DIRS=${dirs:1}" ) -} - -# -# The following packages are currently disabled: -# - SEACAS is incompatible with netcdf, see -# https://github.com/trilinos/Trilinos/tree/master/packages/seacas#netcdf -# - -src_configure() { - # Trilinos is a massive C++ project. Fixing all of the lto warnings and - # making safe for lto compilation/linking will be a massive - # undertaking. Thus, simply filter lto flags. bug #862987 - filter-lto - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCMAKE_INSTALL_PREFIX="${EPREFIX}" - -DCMAKE_SKIP_RPATH=ON - -DCMAKE_SKIP_INSTALL_RPATH=ON - -DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos" - -DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos" - -DTrilinos_ENABLE_ALL_PACKAGES="$(usex all-packages)" - -DTrilinos_ENABLE_Adelus=OFF - -DTrilinos_ENABLE_Moertel=OFF - -DTrilinos_ENABLE_PyTrilinos=OFF - -DTrilinos_ENABLE_SEACAS=OFF - -DTrilinos_ENABLE_Amesos=ON - -DTrilinos_ENABLE_AztecOO=ON - -DTrilinos_ENABLE_EpetraExt=ON - -DTrilinos_ENABLE_Epetra=ON - -DTrilinos_ENABLE_Ifpack=ON - -DTrilinos_ENABLE_ML=ON - -DTrilinos_ENABLE_MueLu=ON - -DTrilinos_ENABLE_OpenMP="$(usex openmp)" - -DTrilinos_ENABLE_ROL=ON - -DTrilinos_ENABLE_Sacado=ON - -DTrilinos_ENABLE_Teuchos=ON - -DTrilinos_ENABLE_Tpetra=ON - -DTrilinos_ENABLE_Zoltan=ON - -DTrilinos_ENABLE_TESTS="$(usex test)" - -DTPL_ENABLE_BinUtils=ON - -DTPL_ENABLE_BLAS=ON - -DTPL_ENABLE_LAPACK=ON - -DTPL_ENABLE_MPI=ON - -DTPL_ENABLE_ADOLC="$(usex adolc)" - -DTPL_ENABLE_AMD="$(usex sparse)" - -DTPL_ENABLE_ARPREC="$(usex arprec)" - -DTPL_ENABLE_BLACS="$(usex scalapack)" - -DTPL_ENABLE_BoostLib=ON - -DTPL_ENABLE_Boost=ON - -DTPL_ENABLE_Clp="$(usex clp)" - -DTPL_ENABLE_CSparse="$(usex sparse)" - -DTPL_ENABLE_CUDA="$(usex cuda)" - -DTPL_ENABLE_CUSPARSE="$(usex cuda)" - -DTPL_ENABLE_Eigen="$(usex eigen)" - -DTPL_ENABLE_GLPK="$(usex glpk)" - -DTPL_ENABLE_gtest="$(usex gtest)" - -DTPL_ENABLE_HDF5="$(usex hdf5)" - -DTPL_ENABLE_HWLOC="$(usex hwloc)" - -DTPL_ENABLE_HYPRE="$(usex hypre)" - -DTPL_ENABLE_Matio="$(usex matio)" - -DTPL_ENABLE_METIS="$(usex metis)" - -DTPL_ENABLE_MKL="$(usex mkl)" - -DTPL_ENABLE_MUMPS="$(usex mumps)" - -DTPL_ENABLE_Netcdf="$(usex netcdf)" - -DTPL_ENABLE_PARDISO_MKL="$(usex mkl)" - -DTPL_ENABLE_PETSC="$(usex petsc)" - -DTPL_ENABLE_Pthread="$(usex threads)" - -DTPL_ENABLE_QD="$(usex qd)" - -DTPL_ENABLE_SCALAPACK="$(usex scalapack)" - -DTPL_ENABLE_Scotch="$(usex scotch)" - -DTPL_ENABLE_SuperLU="$(usex superlu)" - -DTPL_ENABLE_TAUCS="$(usex taucs)" - -DTPL_ENABLE_TBB="$(usex tbb)" - -DTPL_ENABLE_Thrust="$(usex cuda)" - -DTPL_ENABLE_TVMET="$(usex tvmet)" - -DTPL_ENABLE_UMFPACK="$(usex sparse)" - -DTPL_ENABLE_X11="$(usex X)" - -DTPL_ENABLE_yaml-cpp="$(usex yaml)" - -DTPL_ENABLE_Zlib="$(usex zlib)" - ) - - # - # Make sure some critical configuration options are always set - # correctly independently of what Trilinos dependency resolver thinks - # it should be doing. - # - local mycmakeargs+=( - -DAmesos2_ENABLE_LAPACK=ON - -DAmesos2_ENABLE_MUMPS=OFF - -DTpetra_INST_SERIAL=ON - ) - - use eigen && \ - mycmakeargs+=( - -DEigen_INCLUDE_DIRS="${EPREFIX}/usr/include/eigen3" - ) - use hypre && \ - mycmakeargs+=( - -DHYPRE_INCLUDE_DIRS="${EPREFIX}/usr/include/hypre" - ) - use scotch && \ - mycmakeargs+=( - -DScotch_INCLUDE_DIRS="${EPREFIX}/usr/include/scotch" - ) - - # cxsparse is a rewrite of csparse + extras - use sparse && \ - mycmakeargs+=( - -DCSparse_LIBRARY_NAMES="cxsparse" - ) - - # mandatory blas and lapack - trilinos_conf blas BLAS - trilinos_conf lapack LAPACK - use superlu && trilinos_conf superlu SuperLU - use metis && trilinos_conf metis METIS - - # blacs library is included in scalapack these days - if use scalapack; then - trilinos_conf scalapack SCALAPACK - mycmakeargs+=( - -DBLACS_LIBRARY_NAMES="scalapack" - -DBLACS_INCLUDE_DIRS="${EPREFIX}/usr/include/blacs" - ) - fi - - # - # Make sure we use the compiler wrappers in order to build trilinos. - # - [ ! -z "${CC}"] && export OMPI_CC="${CC}" MPICH_CC="${CC}" && tc-export OMPI_CC MPICH_CC - [ ! -z "${CXX}"] && export OMPI_CXX="${CXX}" MPICH_CXX="${CXX}" && tc-export OMPI_CXX MPICH_CXX - export CC=mpicc CXX=mpicxx && tc-export CC CXX - - # Trilinos needs a custom build type: - local CMAKE_BUILD_TYPE=Release - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Clean up the mess: - - # Let us move the bin directory out of the way to avoid potential - # clashes due to very generically named binaries such as - # "nvcc_wrapper", etc. - mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed" - - # Move the cmake directory to the right location: - mkdir -p "${ED}/usr/$(get_libdir)"/cmake - mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed" - # Fix up include paths: - sed -i -e 's#external_packages#trilinos/external_packages#g' \ - "${ED}/usr/$(get_libdir)"/cmake/**/*.cmake || die "sed failed" - rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed" - - # Register $(get_libdir)/trilinos in LDPATH so that the dynamic linker - # has a chance to pick up the libraries, also add Trilinos' binaries ot - # the PATH environment variable. - cat >> "${T}"/99trilinos <<- EOF - LDPATH="${EPREFIX}/usr/$(get_libdir)/trilinos" - PATH="${EPREFIX}/usr/$(get_libdir)/trilinos/bin" - EOF - doenvd "${T}"/99trilinos -} diff --git a/sci-libs/trilinos/trilinos-15.1.1-r1.ebuild b/sci-libs/trilinos/trilinos-15.1.1-r1.ebuild deleted file mode 100644 index a87717e91fa7..000000000000 --- a/sci-libs/trilinos/trilinos-15.1.1-r1.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Scientific library collection for large scale problems" -HOMEPAGE="http://trilinos.sandia.gov/" -MY_PV="${PV//\./-}" -PATCHSET="r0" -SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}" - -LICENSE="BSD LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" - -IUSE=" - adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre - matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse - superlu taucs tbb test threads tvmet yaml zlib X -" - -# TODO: fix export cmake function for tests -RESTRICT="test" - -RDEPEND=" - !dev-cpp/kokkos - dev-libs/boost:= - sys-libs/binutils-libs:= - virtual/blas - virtual/lapack - virtual/mpi - adolc? ( sci-libs/adolc ) - arprec? ( sci-libs/arprec ) - clp? ( sci-libs/coinor-clp ) - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - eigen? ( dev-cpp/eigen:= ) - glpk? ( sci-mathematics/glpk ) - gtest? ( dev-cpp/gtest ) - hdf5? ( sci-libs/hdf5:=[mpi] ) - hypre? ( sci-libs/hypre:= ) - hwloc? ( sys-apps/hwloc:= ) - matio? ( sci-libs/matio ) - mkl? ( sci-libs/mkl ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps ) - netcdf? ( sci-libs/netcdf:= ) - petsc? ( sci-mathematics/petsc ) - qd? ( sci-libs/qd ) - scalapack? ( sci-libs/scalapack ) - scotch? ( sci-libs/scotch:= ) - sparse? ( sci-libs/cxsparse sci-libs/umfpack ) - superlu? ( sci-libs/superlu:= ) - taucs? ( sci-libs/taucs ) - tbb? ( dev-cpp/tbb:= ) - tvmet? ( dev-libs/tvmet ) - yaml? ( dev-cpp/yaml-cpp:= ) - zlib? ( virtual/zlib:= ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -trilinos_conf() { - local dirs libs d - for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" ) - for d in $($(tc-getPKG_CONFIG) --libs-only-l $1); do - libs="${libs};${d:2}" - done - [[ -n ${libs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_NAMES=${libs:1}" ) - dirs="" - for d in $($(tc-getPKG_CONFIG) --cflags-only-I $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_INCLUDE_DIRS=${dirs:1}" ) -} - -src_configure() { - # Trilinos is a massive C++ project. Fixing all of the lto warnings and - # making safe for lto compilation/linking will be a massive - # undertaking. Thus, simply filter lto flags. bug #862987 - filter-lto - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCMAKE_INSTALL_PREFIX="${EPREFIX}" - -DCMAKE_SKIP_RPATH=ON - -DCMAKE_SKIP_INSTALL_RPATH=ON - -DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos" - -DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos" - -DTrilinos_ENABLE_ALL_PACKAGES="$(usex all-packages)" - -DTrilinos_ENABLE_PyTrilinos=OFF - -DTrilinos_ENABLE_Amesos=ON - -DTrilinos_ENABLE_AztecOO=ON - -DTrilinos_ENABLE_EpetraExt=ON - -DTrilinos_ENABLE_Epetra=ON - -DTrilinos_ENABLE_Ifpack=ON - -DTrilinos_ENABLE_ML=ON - -DTrilinos_ENABLE_MueLu=ON - -DTrilinos_ENABLE_OpenMP="$(usex openmp)" - -DTrilinos_ENABLE_ROL=ON - -DTrilinos_ENABLE_Sacado=ON - -DTrilinos_ENABLE_Teuchos=ON - -DTrilinos_ENABLE_Tpetra=ON - -DTrilinos_ENABLE_Zoltan=ON - -DTrilinos_ENABLE_TESTS="$(usex test)" - -DTPL_ENABLE_BinUtils=ON - -DTPL_ENABLE_BLAS=ON - -DTPL_ENABLE_LAPACK=ON - -DTPL_ENABLE_MPI=ON - -DTPL_ENABLE_ADOLC="$(usex adolc)" - -DTPL_ENABLE_AMD="$(usex sparse)" - -DTPL_ENABLE_ARPREC="$(usex arprec)" - -DTPL_ENABLE_BLACS="$(usex scalapack)" - -DTPL_ENABLE_BoostLib=ON - -DTPL_ENABLE_Boost=ON - -DTPL_ENABLE_Clp="$(usex clp)" - -DTPL_ENABLE_CSparse="$(usex sparse)" - -DTPL_ENABLE_CUDA="$(usex cuda)" - -DTPL_ENABLE_CUSPARSE="$(usex cuda)" - -DTPL_ENABLE_Eigen="$(usex eigen)" - -DTPL_ENABLE_GLPK="$(usex glpk)" - -DTPL_ENABLE_gtest="$(usex gtest)" - -DTPL_ENABLE_HDF5="$(usex hdf5)" - -DTPL_ENABLE_HWLOC="$(usex hwloc)" - -DTPL_ENABLE_HYPRE="$(usex hypre)" - -DTPL_ENABLE_Matio="$(usex matio)" - -DTPL_ENABLE_METIS="$(usex metis)" - -DTPL_ENABLE_MKL="$(usex mkl)" - -DTPL_ENABLE_MUMPS="$(usex mumps)" - -DTPL_ENABLE_Netcdf="$(usex netcdf)" - -DTPL_ENABLE_PARDISO_MKL="$(usex mkl)" - -DTPL_ENABLE_PETSC="$(usex petsc)" - -DTPL_ENABLE_Pthread="$(usex threads)" - -DTPL_ENABLE_QD="$(usex qd)" - -DTPL_ENABLE_SCALAPACK="$(usex scalapack)" - -DTPL_ENABLE_Scotch="$(usex scotch)" - -DTPL_ENABLE_SuperLU="$(usex superlu)" - -DTPL_ENABLE_TAUCS="$(usex taucs)" - -DTPL_ENABLE_TBB="$(usex tbb)" - -DTPL_ENABLE_Thrust="$(usex cuda)" - -DTPL_ENABLE_TVMET="$(usex tvmet)" - -DTPL_ENABLE_UMFPACK="$(usex sparse)" - -DTPL_ENABLE_X11="$(usex X)" - -DTPL_ENABLE_yaml-cpp="$(usex yaml)" - -DTPL_ENABLE_Zlib="$(usex zlib)" - ) - - # - # Make sure some critical configuration options are always set - # correctly independently of what Trilinos dependency resolver thinks - # it should be doing. - # - local mycmakeargs+=( - -DAmesos2_ENABLE_LAPACK=ON - -DAmesos2_ENABLE_MUMPS=OFF - -DTpetra_INST_SERIAL=ON - ) - - use eigen && \ - mycmakeargs+=( - -DEigen_INCLUDE_DIRS="${EPREFIX}/usr/include/eigen3" - ) - use hypre && \ - mycmakeargs+=( - -DHYPRE_INCLUDE_DIRS="${EPREFIX}/usr/include/hypre" - ) - use scotch && \ - mycmakeargs+=( - -DScotch_INCLUDE_DIRS="${EPREFIX}/usr/include/scotch" - ) - - # cxsparse is a rewrite of csparse + extras - use sparse && \ - mycmakeargs+=( - -DCSparse_LIBRARY_NAMES="cxsparse" - ) - - # mandatory blas and lapack - trilinos_conf blas BLAS - trilinos_conf lapack LAPACK - use superlu && trilinos_conf superlu SuperLU - use metis && trilinos_conf metis METIS - - # blacs library is included in scalapack these days - if use scalapack; then - trilinos_conf scalapack SCALAPACK - mycmakeargs+=( - -DBLACS_LIBRARY_NAMES="scalapack" - -DBLACS_INCLUDE_DIRS="${EPREFIX}/usr/include/blacs" - ) - fi - - # - # Make sure we use the compiler wrappers in order to build trilinos. - # - [ ! -z "${CC}"] && export OMPI_CC="${CC}" MPICH_CC="${CC}" && tc-export OMPI_CC MPICH_CC - [ ! -z "${CXX}"] && export OMPI_CXX="${CXX}" MPICH_CXX="${CXX}" && tc-export OMPI_CXX MPICH_CXX - export CC=mpicc CXX=mpicxx && tc-export CC CXX - - # Trilinos needs a custom build type: - local CMAKE_BUILD_TYPE=Release - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Clean up the mess: - - # Let us move the bin directory out of the way to avoid potential - # clashes due to very generically named binaries such as - # "nvcc_wrapper", etc. - mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed" - - # Move the cmake directory to the right location: - mkdir -p "${ED}/usr/$(get_libdir)"/cmake - mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed" - # Fix up include paths: - sed -i -e 's#external_packages#trilinos/external_packages#g' \ - "${ED}/usr/$(get_libdir)"/cmake/**/*.cmake || die "sed failed" - rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed" - - # Register $(get_libdir)/trilinos in LDPATH so that the dynamic linker - # has a chance to pick up the libraries, also add Trilinos' binaries ot - # the PATH environment variable. - cat >> "${T}"/99trilinos <<- EOF - LDPATH="${EPREFIX}/usr/$(get_libdir)/trilinos" - PATH="${EPREFIX}/usr/$(get_libdir)/trilinos/bin" - EOF - doenvd "${T}"/99trilinos -} diff --git a/sci-libs/trilinos/trilinos-16.2.1.ebuild b/sci-libs/trilinos/trilinos-16.2.1.ebuild deleted file mode 100644 index 964de9289a1f..000000000000 --- a/sci-libs/trilinos/trilinos-16.2.1.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Scientific library collection for large scale problems" -HOMEPAGE="http://trilinos.sandia.gov/" -MY_PV="${PV//\./-}" -PATCHSET="r0" -SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}" - -LICENSE="BSD LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" - -IUSE=" - adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre - matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse - superlu taucs tbb test threads tvmet yaml zlib X -" - -# TODO: fix export cmake function for tests -RESTRICT="test" - -RDEPEND=" - >=dev-cpp/kokkos-4.7.4:=[cuda(-)=,openmp=] - dev-libs/boost:= - sys-libs/binutils-libs:= - virtual/blas - virtual/lapack - virtual/mpi - adolc? ( sci-libs/adolc ) - arprec? ( sci-libs/arprec ) - clp? ( sci-libs/coinor-clp ) - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - eigen? ( dev-cpp/eigen:= ) - glpk? ( sci-mathematics/glpk ) - gtest? ( dev-cpp/gtest ) - hdf5? ( sci-libs/hdf5:=[mpi] ) - hypre? ( sci-libs/hypre:= ) - hwloc? ( sys-apps/hwloc:= ) - matio? ( sci-libs/matio ) - mkl? ( sci-libs/mkl ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps ) - netcdf? ( sci-libs/netcdf:= ) - petsc? ( sci-mathematics/petsc ) - qd? ( sci-libs/qd ) - scalapack? ( sci-libs/scalapack ) - scotch? ( sci-libs/scotch:= ) - sparse? ( sci-libs/cxsparse sci-libs/umfpack ) - superlu? ( <sci-libs/superlu-5.0.0:= ) - taucs? ( sci-libs/taucs ) - tbb? ( dev-cpp/tbb:= ) - tvmet? ( dev-libs/tvmet ) - yaml? ( dev-cpp/yaml-cpp:= ) - zlib? ( virtual/zlib:= ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-16.1.0-fix_compilation_gcc15.patch" - "${FILESDIR}/${PN}-17.0.0-drop_boost_system.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -trilinos_conf() { - local dirs libs d - for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" ) - for d in $($(tc-getPKG_CONFIG) --libs-only-l $1); do - libs="${libs};${d:2}" - done - [[ -n ${libs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_NAMES=${libs:1}" ) - dirs="" - for d in $($(tc-getPKG_CONFIG) --cflags-only-I $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_INCLUDE_DIRS=${dirs:1}" ) -} - -src_configure() { - # Trilinos is a massive C++ project. Fixing all of the lto warnings and - # making safe for lto compilation/linking will be a massive - # undertaking. Thus, simply filter lto flags. bug #862987 - filter-lto - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DCMAKE_SKIP_RPATH=ON - -DCMAKE_SKIP_INSTALL_RPATH=ON - -DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos" - -DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos" - -DTrilinos_ENABLE_ALL_PACKAGES="$(usex all-packages)" - -DTrilinos_ENABLE_PyTrilinos=OFF - -DTrilinos_ENABLE_Amesos=ON - -DTrilinos_ENABLE_AztecOO=ON - -DTrilinos_ENABLE_EpetraExt=ON - -DTrilinos_ENABLE_Epetra=ON - -DTrilinos_ENABLE_Ifpack=ON - -DTrilinos_ENABLE_ML=ON - -DTrilinos_ENABLE_MueLu=ON - -DTrilinos_ENABLE_OpenMP="$(usex openmp)" - -DTrilinos_ENABLE_ROL=ON - -DTrilinos_ENABLE_Sacado=ON - -DTrilinos_ENABLE_Teuchos=ON - -DTrilinos_ENABLE_Tpetra=ON - -DTrilinos_ENABLE_Zoltan=ON - -DTrilinos_ENABLE_TESTS="$(usex test)" - -DTPL_ENABLE_ADOLC="$(usex adolc)" - -DTPL_ENABLE_AMD="$(usex sparse)" - -DTPL_ENABLE_ARPREC="$(usex arprec)" - -DTPL_ENABLE_BinUtils=ON - -DTPL_ENABLE_BLACS="$(usex scalapack)" - -DTPL_ENABLE_BLAS=ON - -DTPL_ENABLE_BoostLib=ON - -DTPL_ENABLE_Boost=ON - -DTPL_ENABLE_Clp="$(usex clp)" - -DTPL_ENABLE_CSparse="$(usex sparse)" - -DTPL_ENABLE_CUDA="$(usex cuda)" - -DTPL_ENABLE_CUSPARSE="$(usex cuda)" - -DTPL_ENABLE_Eigen="$(usex eigen)" - -DTPL_ENABLE_GLPK="$(usex glpk)" - -DTPL_ENABLE_gtest="$(usex gtest)" - -DTPL_ENABLE_HDF5="$(usex hdf5)" - -DTPL_ENABLE_HWLOC="$(usex hwloc)" - -DTPL_ENABLE_HYPRE="$(usex hypre)" - -DTPL_ENABLE_Kokkos=ON - # Tpetra declares a dependency on kokkos-4.5.1, which we have in - # our version constraints. But the logic in the build system also - # unconditionally enforces that no newer version is installed. - # Thus, disable this check: - -DTpetra_IGNORE_KOKKOS_COMPATIBILITY=ON - -DTPL_ENABLE_LAPACK=ON - -DTPL_ENABLE_Matio="$(usex matio)" - -DTPL_ENABLE_METIS="$(usex metis)" - -DTPL_ENABLE_MKL="$(usex mkl)" - -DTPL_ENABLE_MPI=ON - -DTPL_ENABLE_MUMPS="$(usex mumps)" - -DTPL_ENABLE_Netcdf="$(usex netcdf)" - -DTPL_ENABLE_PARDISO_MKL="$(usex mkl)" - -DTPL_ENABLE_PETSC="$(usex petsc)" - -DTPL_ENABLE_Pthread="$(usex threads)" - -DTPL_ENABLE_QD="$(usex qd)" - -DTPL_ENABLE_SCALAPACK="$(usex scalapack)" - -DTPL_ENABLE_Scotch="$(usex scotch)" - -DTPL_ENABLE_SuperLU="$(usex superlu)" - -DTPL_ENABLE_TAUCS="$(usex taucs)" - -DTPL_ENABLE_TBB="$(usex tbb)" - -DTPL_ENABLE_TVMET="$(usex tvmet)" - -DTPL_ENABLE_UMFPACK="$(usex sparse)" - -DTPL_ENABLE_X11="$(usex X)" - -DTPL_ENABLE_yamlcpp="$(usex yaml)" - -DTPL_ENABLE_Zlib="$(usex zlib)" - ) - - # - # Make sure some critical configuration options are always set - # correctly independently of what Trilinos dependency resolver thinks - # it should be doing. - # - local mycmakeargs+=( - -DAmesos2_ENABLE_LAPACK=ON - -DAmesos2_ENABLE_MUMPS=OFF - -DTpetra_INST_SERIAL=ON - ) - - use eigen && \ - mycmakeargs+=( - -DEigen_INCLUDE_DIRS="${EPREFIX}/usr/include/eigen3" - ) - use hypre && \ - mycmakeargs+=( - -DHYPRE_INCLUDE_DIRS="${EPREFIX}/usr/include/hypre" - ) - use scotch && \ - mycmakeargs+=( - -DScotch_INCLUDE_DIRS="${EPREFIX}/usr/include/scotch" - ) - - # cxsparse is a rewrite of csparse + extras - use sparse && \ - mycmakeargs+=( - -DCSparse_LIBRARY_NAMES="cxsparse" - ) - - # mandatory blas and lapack - trilinos_conf blas BLAS - trilinos_conf lapack LAPACK - use superlu && trilinos_conf superlu SuperLU - use metis && trilinos_conf metis METIS - - # blacs library is included in scalapack these days - if use scalapack; then - trilinos_conf scalapack SCALAPACK - mycmakeargs+=( - -DBLACS_LIBRARY_NAMES="scalapack" - -DBLACS_INCLUDE_DIRS="${EPREFIX}/usr/include/blacs" - ) - fi - - # - # Make sure we use the compiler wrappers in order to build trilinos. - # - [ ! -z "${CC}"] && export OMPI_CC="${CC}" MPICH_CC="${CC}" && tc-export OMPI_CC MPICH_CC - [ ! -z "${CXX}"] && export OMPI_CXX="${CXX}" MPICH_CXX="${CXX}" && tc-export OMPI_CXX MPICH_CXX - export CC=mpicc CXX=mpicxx && tc-export CC CXX - - # Trilinos needs a custom build type: - local CMAKE_BUILD_TYPE=Release - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Move the cmake directory to the right location: - mkdir -p "${ED}/usr/$(get_libdir)"/cmake - mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed" - # Fix up include paths: - sed -i -e 's#external_packages#trilinos/external_packages#g' \ - "${ED}/usr/$(get_libdir)"/cmake/**/*.cmake || die "sed failed" - rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed" - - # Register $(get_libdir)/trilinos in LDPATH so that the dynamic linker - # has a chance to pick up the libraries, also add Trilinos' binaries ot - # the PATH environment variable. - cat >> "${T}"/99trilinos <<- EOF - LDPATH="${EPREFIX}/usr/$(get_libdir)/trilinos" - PATH="${EPREFIX}/usr/$(get_libdir)/trilinos/bin" - EOF - doenvd "${T}"/99trilinos -} diff --git a/sci-libs/trilinos/trilinos-17.0.0.ebuild b/sci-libs/trilinos/trilinos-17.0.0.ebuild deleted file mode 100644 index ca26acfa395e..000000000000 --- a/sci-libs/trilinos/trilinos-17.0.0.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Scientific library collection for large scale problems" -HOMEPAGE="http://trilinos.sandia.gov/" -MY_PV="${PV//\./-}" -PATCHSET="r0" -SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}" - -LICENSE="BSD LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" - -IUSE=" - adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre - matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse - superlu taucs tbb test threads tvmet yaml zlib X -" - -# TODO: fix export cmake function for tests -RESTRICT="test" - -RDEPEND=" - >=dev-cpp/kokkos-4.5.1:=[cuda(-)=,openmp=] - dev-libs/boost:= - sys-libs/binutils-libs:= - virtual/blas - virtual/lapack - virtual/mpi - adolc? ( sci-libs/adolc ) - arprec? ( sci-libs/arprec ) - clp? ( sci-libs/coinor-clp ) - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - eigen? ( dev-cpp/eigen:= ) - glpk? ( sci-mathematics/glpk ) - gtest? ( dev-cpp/gtest ) - hdf5? ( sci-libs/hdf5:=[mpi] ) - hypre? ( sci-libs/hypre:= ) - hwloc? ( sys-apps/hwloc:= ) - matio? ( sci-libs/matio ) - mkl? ( sci-libs/mkl ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps ) - netcdf? ( sci-libs/netcdf:= ) - petsc? ( sci-mathematics/petsc ) - qd? ( sci-libs/qd ) - scalapack? ( sci-libs/scalapack ) - scotch? ( sci-libs/scotch:= ) - sparse? ( sci-libs/cxsparse sci-libs/umfpack ) - superlu? ( <sci-libs/superlu-5.0.0:= ) - taucs? ( sci-libs/taucs ) - tbb? ( dev-cpp/tbb:= ) - tvmet? ( dev-libs/tvmet ) - yaml? ( dev-cpp/yaml-cpp:= ) - zlib? ( virtual/zlib:= ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${P}-drop_boost_system.patch" - ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -trilinos_conf() { - local dirs libs d - for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" ) - for d in $($(tc-getPKG_CONFIG) --libs-only-l $1); do - libs="${libs};${d:2}" - done - [[ -n ${libs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_NAMES=${libs:1}" ) - dirs="" - for d in $($(tc-getPKG_CONFIG) --cflags-only-I $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_INCLUDE_DIRS=${dirs:1}" ) -} - -src_configure() { - # Trilinos is a massive C++ project. Fixing all of the lto warnings and - # making safe for lto compilation/linking will be a massive - # undertaking. Thus, simply filter lto flags. bug #862987 - filter-lto - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DCMAKE_SKIP_RPATH=ON - -DCMAKE_SKIP_INSTALL_RPATH=ON - -DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos" - -DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos" - -DTrilinos_ENABLE_ALL_PACKAGES="$(usex all-packages)" - -DTrilinos_ENABLE_PyTrilinos=OFF - -DTrilinos_ENABLE_Amesos=ON - -DTrilinos_ENABLE_AztecOO=ON - -DTrilinos_ENABLE_EpetraExt=ON - -DTrilinos_ENABLE_Epetra=ON - -DTrilinos_ENABLE_Ifpack=ON - -DTrilinos_ENABLE_ML=ON - -DTrilinos_ENABLE_MueLu=ON - -DTrilinos_ENABLE_OpenMP="$(usex openmp)" - -DTrilinos_ENABLE_ROL=ON - -DTrilinos_ENABLE_Sacado=ON - -DTrilinos_ENABLE_Teuchos=ON - -DTrilinos_ENABLE_Tpetra=ON - -DTrilinos_ENABLE_Zoltan=ON - -DTrilinos_ENABLE_TESTS="$(usex test)" - -DTPL_ENABLE_ADOLC="$(usex adolc)" - -DTPL_ENABLE_AMD="$(usex sparse)" - -DTPL_ENABLE_ARPREC="$(usex arprec)" - -DTPL_ENABLE_BinUtils=ON - -DTPL_ENABLE_BLACS="$(usex scalapack)" - -DTPL_ENABLE_BLAS=ON - -DTPL_ENABLE_BoostLib=ON - -DTPL_ENABLE_Boost=ON - -DTPL_ENABLE_Clp="$(usex clp)" - -DTPL_ENABLE_CSparse="$(usex sparse)" - -DTPL_ENABLE_CUDA="$(usex cuda)" - -DTPL_ENABLE_CUSPARSE="$(usex cuda)" - -DTPL_ENABLE_Eigen="$(usex eigen)" - -DTPL_ENABLE_GLPK="$(usex glpk)" - -DTPL_ENABLE_gtest="$(usex gtest)" - -DTPL_ENABLE_HDF5="$(usex hdf5)" - -DTPL_ENABLE_HWLOC="$(usex hwloc)" - -DTPL_ENABLE_HYPRE="$(usex hypre)" - -DTPL_ENABLE_Kokkos=ON - # Tpetra declares a dependency on kokkos-4.5.1, which we have in - # our version constraints. But the logic in the build system also - # unconditionally enforces that no newer version is installed. - # Thus, disable this check: - -DTpetra_IGNORE_KOKKOS_COMPATIBILITY=ON - -DTPL_ENABLE_LAPACK=ON - -DTPL_ENABLE_Matio="$(usex matio)" - -DTPL_ENABLE_METIS="$(usex metis)" - -DTPL_ENABLE_MKL="$(usex mkl)" - -DTPL_ENABLE_MPI=ON - -DTPL_ENABLE_MUMPS="$(usex mumps)" - -DTPL_ENABLE_Netcdf="$(usex netcdf)" - -DTPL_ENABLE_PARDISO_MKL="$(usex mkl)" - -DTPL_ENABLE_PETSC="$(usex petsc)" - -DTPL_ENABLE_Pthread="$(usex threads)" - -DTPL_ENABLE_QD="$(usex qd)" - -DTPL_ENABLE_SCALAPACK="$(usex scalapack)" - -DTPL_ENABLE_Scotch="$(usex scotch)" - -DTPL_ENABLE_SuperLU="$(usex superlu)" - -DTPL_ENABLE_TAUCS="$(usex taucs)" - -DTPL_ENABLE_TBB="$(usex tbb)" - -DTPL_ENABLE_TVMET="$(usex tvmet)" - -DTPL_ENABLE_UMFPACK="$(usex sparse)" - -DTPL_ENABLE_X11="$(usex X)" - -DTPL_ENABLE_yamlcpp="$(usex yaml)" - -DTPL_ENABLE_Zlib="$(usex zlib)" - ) - - # - # Make sure some critical configuration options are always set - # correctly independently of what Trilinos dependency resolver thinks - # it should be doing. - # - local mycmakeargs+=( - -DAmesos2_ENABLE_LAPACK=ON - -DAmesos2_ENABLE_MUMPS=OFF - -DTpetra_INST_SERIAL=ON - ) - - use eigen && \ - mycmakeargs+=( - -DEigen_INCLUDE_DIRS="${EPREFIX}/usr/include/eigen3" - ) - use hypre && \ - mycmakeargs+=( - -DHYPRE_INCLUDE_DIRS="${EPREFIX}/usr/include/hypre" - ) - use scotch && \ - mycmakeargs+=( - -DScotch_INCLUDE_DIRS="${EPREFIX}/usr/include/scotch" - ) - - # cxsparse is a rewrite of csparse + extras - use sparse && \ - mycmakeargs+=( - -DCSparse_LIBRARY_NAMES="cxsparse" - ) - - # mandatory blas and lapack - trilinos_conf blas BLAS - trilinos_conf lapack LAPACK - use superlu && trilinos_conf superlu SuperLU - use metis && trilinos_conf metis METIS - - # blacs library is included in scalapack these days - if use scalapack; then - trilinos_conf scalapack SCALAPACK - mycmakeargs+=( - -DBLACS_LIBRARY_NAMES="scalapack" - -DBLACS_INCLUDE_DIRS="${EPREFIX}/usr/include/blacs" - ) - fi - - # - # Make sure we use the compiler wrappers in order to build trilinos. - # - [ ! -z "${CC}"] && export OMPI_CC="${CC}" MPICH_CC="${CC}" && tc-export OMPI_CC MPICH_CC - [ ! -z "${CXX}"] && export OMPI_CXX="${CXX}" MPICH_CXX="${CXX}" && tc-export OMPI_CXX MPICH_CXX - export CC=mpicc CXX=mpicxx && tc-export CC CXX - - # Trilinos needs a custom build type: - local CMAKE_BUILD_TYPE=Release - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Move the cmake directory to the right location: - mkdir -p "${ED}/usr/$(get_libdir)"/cmake - mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed" - # Fix up include paths: - sed -i -e 's#external_packages#trilinos/external_packages#g' \ - "${ED}/usr/$(get_libdir)"/cmake/**/*.cmake || die "sed failed" - rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed" - - # Register $(get_libdir)/trilinos in LDPATH so that the dynamic linker - # has a chance to pick up the libraries, also add Trilinos' binaries ot - # the PATH environment variable. - cat >> "${T}"/99trilinos <<- EOF - LDPATH="${EPREFIX}/usr/$(get_libdir)/trilinos" - PATH="${EPREFIX}/usr/$(get_libdir)/trilinos/bin" - EOF - doenvd "${T}"/99trilinos -} diff --git a/sci-libs/trilinos/trilinos-17.1.0.ebuild b/sci-libs/trilinos/trilinos-17.1.0.ebuild deleted file mode 100644 index 63b0cbd05545..000000000000 --- a/sci-libs/trilinos/trilinos-17.1.0.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake flag-o-matic toolchain-funcs - -DESCRIPTION="Scientific library collection for large scale problems" -HOMEPAGE="http://trilinos.sandia.gov/" -MY_PV="${PV//\./-}" -PATCHSET="r0" -SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}" - -LICENSE="BSD LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" - -IUSE=" - adolc all-packages arprec clp cuda eigen glpk gtest hdf5 hwloc hypre - matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse - superlu taucs tbb test threads tvmet yaml zlib X -" - -# TODO: fix export cmake function for tests -RESTRICT="test" - -RDEPEND=" - >=dev-cpp/kokkos-5.1.1:=[cuda(-)=,openmp=] - dev-libs/boost:= - sys-libs/binutils-libs:= - virtual/blas - virtual/lapack - virtual/mpi - adolc? ( sci-libs/adolc ) - arprec? ( sci-libs/arprec ) - clp? ( sci-libs/coinor-clp ) - cuda? ( >=dev-util/nvidia-cuda-toolkit-3.2 ) - eigen? ( dev-cpp/eigen:3 ) - glpk? ( sci-mathematics/glpk ) - gtest? ( dev-cpp/gtest ) - hdf5? ( sci-libs/hdf5:=[mpi] ) - hypre? ( sci-libs/hypre:= ) - hwloc? ( sys-apps/hwloc:= ) - matio? ( sci-libs/matio ) - mkl? ( sci-libs/mkl ) - metis? ( sci-libs/metis ) - mumps? ( sci-libs/mumps ) - netcdf? ( sci-libs/netcdf:= ) - petsc? ( sci-mathematics/petsc ) - qd? ( sci-libs/qd ) - scalapack? ( sci-libs/scalapack ) - scotch? ( sci-libs/scotch:= ) - sparse? ( sci-libs/cxsparse sci-libs/umfpack ) - superlu? ( <sci-libs/superlu-5.0.0:= ) - taucs? ( sci-libs/taucs ) - tbb? ( dev-cpp/tbb:= ) - tvmet? ( dev-libs/tvmet ) - yaml? ( dev-cpp/yaml-cpp:= ) - zlib? ( virtual/zlib:= ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-17.0.0-drop_boost_system.patch" - "${FILESDIR}/${P}-fix_compilation.patch" - ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -trilinos_conf() { - local dirs libs d - for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_DIRS=${dirs:1}" ) - for d in $($(tc-getPKG_CONFIG) --libs-only-l $1); do - libs="${libs};${d:2}" - done - [[ -n ${libs} ]] && mycmakeargs+=( "-D${2}_LIBRARY_NAMES=${libs:1}" ) - dirs="" - for d in $($(tc-getPKG_CONFIG) --cflags-only-I $1); do - dirs="${dirs};${d:2}" - done - [[ -n ${dirs} ]] && mycmakeargs+=( "-D${2}_INCLUDE_DIRS=${dirs:1}" ) -} - -src_configure() { - # Trilinos is a massive C++ project. Fixing all of the lto warnings and - # making safe for lto compilation/linking will be a massive - # undertaking. Thus, simply filter lto flags. bug #862987 - filter-lto - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DCMAKE_SKIP_RPATH=ON - -DCMAKE_SKIP_INSTALL_RPATH=ON - -DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos" - -DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos" - -DTrilinos_ENABLE_ALL_PACKAGES="$(usex all-packages)" - -DTrilinos_ENABLE_PyTrilinos=OFF - -DTrilinos_ENABLE_Amesos=ON - -DTrilinos_ENABLE_AztecOO=ON - -DTrilinos_ENABLE_EpetraExt=ON - -DTrilinos_ENABLE_Epetra=ON - -DTrilinos_ENABLE_Ifpack=ON - -DTrilinos_ENABLE_ML=ON - -DTrilinos_ENABLE_MueLu=ON - -DTrilinos_ENABLE_OpenMP="$(usex openmp)" - -DTrilinos_ENABLE_ROL=ON - -DTrilinos_ENABLE_Sacado=ON - -DTrilinos_ENABLE_Teuchos=ON - -DTrilinos_ENABLE_Tpetra=ON - -DTrilinos_ENABLE_Zoltan=ON - -DTrilinos_ENABLE_TESTS="$(usex test)" - -DTPL_ENABLE_ADOLC="$(usex adolc)" - -DTPL_ENABLE_AMD="$(usex sparse)" - -DTPL_ENABLE_ARPREC="$(usex arprec)" - -DTPL_ENABLE_BinUtils=ON - -DTPL_ENABLE_BLACS="$(usex scalapack)" - -DTPL_ENABLE_BLAS=ON - -DTPL_ENABLE_BoostLib=ON - -DTPL_ENABLE_Boost=ON - -DTPL_ENABLE_Clp="$(usex clp)" - -DTPL_ENABLE_CSparse="$(usex sparse)" - -DTPL_ENABLE_CUDA="$(usex cuda)" - -DTPL_ENABLE_CUSPARSE="$(usex cuda)" - -DTPL_ENABLE_Eigen="$(usex eigen)" - -DTPL_ENABLE_GLPK="$(usex glpk)" - -DTPL_ENABLE_gtest="$(usex gtest)" - -DTPL_ENABLE_HDF5="$(usex hdf5)" - -DTPL_ENABLE_HWLOC="$(usex hwloc)" - -DTPL_ENABLE_HYPRE="$(usex hypre)" - -DTPL_ENABLE_Kokkos=ON - # Tpetra declares a dependency on kokkos-4.5.1, which we have in - # our version constraints. But the logic in the build system also - # unconditionally enforces that no newer version is installed. - # Thus, disable this check: - -DTpetra_IGNORE_KOKKOS_COMPATIBILITY=ON - -DTPL_ENABLE_LAPACK=ON - -DTPL_ENABLE_Matio="$(usex matio)" - -DTPL_ENABLE_METIS="$(usex metis)" - -DTPL_ENABLE_MKL="$(usex mkl)" - -DTPL_ENABLE_MPI=ON - -DTPL_ENABLE_MUMPS="$(usex mumps)" - -DTPL_ENABLE_Netcdf="$(usex netcdf)" - -DTPL_ENABLE_PARDISO_MKL="$(usex mkl)" - -DTPL_ENABLE_PETSC="$(usex petsc)" - -DTPL_ENABLE_Pthread="$(usex threads)" - -DTPL_ENABLE_QD="$(usex qd)" - -DTPL_ENABLE_SCALAPACK="$(usex scalapack)" - -DTPL_ENABLE_Scotch="$(usex scotch)" - -DTPL_ENABLE_SuperLU="$(usex superlu)" - -DTPL_ENABLE_TAUCS="$(usex taucs)" - -DTPL_ENABLE_TBB="$(usex tbb)" - -DTPL_ENABLE_TVMET="$(usex tvmet)" - -DTPL_ENABLE_UMFPACK="$(usex sparse)" - -DTPL_ENABLE_X11="$(usex X)" - -DTPL_ENABLE_yamlcpp="$(usex yaml)" - -DTPL_ENABLE_Zlib="$(usex zlib)" - ) - - # - # Make sure some critical configuration options are always set - # correctly independently of what Trilinos dependency resolver thinks - # it should be doing. - # - local mycmakeargs+=( - -DAmesos2_ENABLE_LAPACK=ON - -DAmesos2_ENABLE_MUMPS=OFF - -DTpetra_INST_SERIAL=ON - ) - - use eigen && \ - mycmakeargs+=( - -DEigen_INCLUDE_DIRS="${EPREFIX}/usr/include/eigen3" - ) - use hypre && \ - mycmakeargs+=( - -DHYPRE_INCLUDE_DIRS="${EPREFIX}/usr/include/hypre" - ) - use scotch && \ - mycmakeargs+=( - -DScotch_INCLUDE_DIRS="${EPREFIX}/usr/include/scotch" - ) - - # cxsparse is a rewrite of csparse + extras - use sparse && \ - mycmakeargs+=( - -DCSparse_LIBRARY_NAMES="cxsparse" - ) - - # mandatory blas and lapack - trilinos_conf blas BLAS - trilinos_conf lapack LAPACK - use superlu && trilinos_conf superlu SuperLU - use metis && trilinos_conf metis METIS - - # blacs library is included in scalapack these days - if use scalapack; then - trilinos_conf scalapack SCALAPACK - mycmakeargs+=( - -DBLACS_LIBRARY_NAMES="scalapack" - -DBLACS_INCLUDE_DIRS="${EPREFIX}/usr/include/blacs" - ) - fi - - # - # Make sure we use the compiler wrappers in order to build trilinos. - # - [ ! -z "${CC}"] && export OMPI_CC="${CC}" MPICH_CC="${CC}" && tc-export OMPI_CC MPICH_CC - [ ! -z "${CXX}"] && export OMPI_CXX="${CXX}" MPICH_CXX="${CXX}" && tc-export OMPI_CXX MPICH_CXX - export CC=mpicc CXX=mpicxx && tc-export CC CXX - - # Trilinos needs a custom build type: - local CMAKE_BUILD_TYPE=Release - - cmake_src_configure -} - -src_install() { - cmake_src_install - - # Move the cmake directory to the right location: - mkdir -p "${ED}/usr/$(get_libdir)"/cmake - mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed" - # Fix up include paths: - sed -i -e 's#external_packages#trilinos/external_packages#g' \ - "${ED}/usr/$(get_libdir)"/cmake/**/*.cmake || die "sed failed" - rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed" - - # Register $(get_libdir)/trilinos in LDPATH so that the dynamic linker - # has a chance to pick up the libraries, also add Trilinos' binaries ot - # the PATH environment variable. - cat >> "${T}"/99trilinos <<- EOF - LDPATH="${EPREFIX}/usr/$(get_libdir)/trilinos" - PATH="${EPREFIX}/usr/$(get_libdir)/trilinos/bin" - EOF - doenvd "${T}"/99trilinos -} diff --git a/sci-libs/udunits/Manifest b/sci-libs/udunits/Manifest deleted file mode 100644 index 49a3f8d88fe0..000000000000 --- a/sci-libs/udunits/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST udunits-2.2.28.tar.gz 1224503 BLAKE2B 64d64c609cfbada505c5e163a1e757cd25c09dd75865f255ec8f3bfc26dfafa0f2b9b9997602cb91f80ae81e1fa74bfc0f2d9f3d2d29f880c64e8785e5cbb1a8 SHA512 86146d489e1d472723e059fb15a5dd697a67568ffb5cdba17d191eb304c018bffffea708a73cce50a6c87ad33b387e5ee6653377ae0ebe9986117dfd41e9a5a1 diff --git a/sci-libs/udunits/metadata.xml b/sci-libs/udunits/metadata.xml deleted file mode 100644 index 81cafb5791e0..000000000000 --- a/sci-libs/udunits/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription> - This is the Unidata Units library, which supports conversion of unit - specifications between formatted and binary forms, arithmetic - manipulation of unit specifications, and conversion of values between - compatible scales of measurement. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/udunits/udunits-2.2.28.ebuild b/sci-libs/udunits/udunits-2.2.28.ebuild deleted file mode 100644 index ceb08387b12b..000000000000 --- a/sci-libs/udunits/udunits-2.2.28.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fortran-2 - -DESCRIPTION="Library for manipulating units of physical quantities" -HOMEPAGE="https://www.unidata.ucar.edu/software/udunits/" -SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz" - -LICENSE="UCAR-BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~sparc ~x86" - -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND}" - -src_configure() { - econf --disable-static -} - -src_install() { - default - - local i - for i in udunits2 udunits2-{accepted,base,common,derived,prefixes}; do - dosym ../../../udunits/"${i}".xml usr/share/doc/${PF}/html/"${i}".xml - done - rm "${ED}/usr/share/doc/${PF}/html/*.xml" || die - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/ufconfig/Manifest b/sci-libs/ufconfig/Manifest deleted file mode 100644 index 6a421b189c19..000000000000 --- a/sci-libs/ufconfig/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST UFconfig-3.7.1.tar.gz 8523 BLAKE2B fee3520b4c1305c4684ef4d0fd6cbcc27cd6db957b838642241f75cd6de4468fb5dd61282a0c1484318e56c5b06b8354a78eed2e6df6a5d21e4250883ad1c42a SHA512 a9d562205b6d047d8064d6f61e4f9fdb782774637f0522abef6031e8633c7372db108c69b48098e8b41ffdf786ce7bda0d8df9a3dee634dfb11b5e6073996a22 diff --git a/sci-libs/ufconfig/metadata.xml b/sci-libs/ufconfig/metadata.xml deleted file mode 100644 index 62ac0eb03480..000000000000 --- a/sci-libs/ufconfig/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - UFconfig is a set of configuration files for the SuiteSparse matrix libraries - from CISE at University of Florida. It contains some headers and - makefiles. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/ufconfig/ufconfig-3.7.1.ebuild b/sci-libs/ufconfig/ufconfig-3.7.1.ebuild deleted file mode 100644 index d3e2e3ec812f..000000000000 --- a/sci-libs/ufconfig/ufconfig-3.7.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib toolchain-funcs - -MY_PN=UFconfig -DESCRIPTION="Common configuration scripts for the SuiteSparse libraries" -HOMEPAGE="http://www.cise.ufl.edu/research/sparse/UFconfig" -SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/${MY_PN}-${PV}.tar.gz" -S="${WORKDIR}/${MY_PN}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ppc64 ~sparc ~x86 ~x64-macos" -IUSE="static-libs" - -src_compile() { - elog "Running: $(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo" - $(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo || die - - local sharedlink="-shared -Wl,-soname,libufconfig$(get_libname ${PV})" - if [[ ${CHOST} == *-darwin* ]]; then - sharedlink="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libufconfig$(get_libname ${PV})" - fi - - elog "Running: $(tc-getCC) ${LDFLAGS} ${sharedlink} -o libufconfig$(get_libname ${PV}) UFconfig.lo" - $(tc-getCC) ${LDFLAGS} ${sharedlink} -o libufconfig$(get_libname ${PV}) UFconfig.lo || die - - if use static-libs; then - elog "Running: $(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o" - $(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o || die - - elog "Running: $(tc-getAR) libufconfig.a UFconfig.o" - $(tc-getAR) cr libufconfig.a UFconfig.o || die - fi -} - -src_install() { - dolib.so libufconfig$(get_libname ${PV}) - dosym libufconfig$(get_libname ${PV}) /usr/$(get_libdir)/libufconfig$(get_libname) - use static-libs && dolib.a libufconfig.a - insinto /usr/include - doins UFconfig.h - dodoc README.txt -} diff --git a/sci-libs/umfpack/Manifest b/sci-libs/umfpack/Manifest deleted file mode 100644 index 9f9777cfb178..000000000000 --- a/sci-libs/umfpack/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e -DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa -DIST umfpack-5.7.9.tar.bz2 772026 BLAKE2B 6d6dc1ba47b8f473884c1cb17d3eaa363d88281512e33586a0af0c2bcb7a523272bef4d8da0a29e2a5a84c8f0cd0ee6830ec10247971db63b4c319e6fa9a3c42 SHA512 5ad57467b5b7e4579f3cc9e2e7c92a0262ac2ef991a606d079b749b66e10da60aceaa4b0e741c116f8866da23c0f7c06368fe2b08d66d51383683f0dcbeddba3 diff --git a/sci-libs/umfpack/metadata.xml b/sci-libs/umfpack/metadata.xml deleted file mode 100644 index 82e4a996b5c7..000000000000 --- a/sci-libs/umfpack/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - UMFPACK is a set of routines for solving unsymmetric sparse linear - systems, Ax=b, using the Unsymmetric MultiFrontal method. - Includes a C-callable interface, and a Fortran-callable interface. - MATLAB routines are not included in the Gentoo package. - </longdescription> - <use> - <flag name="cholmod">Use <pkg>sci-libs/cholmod</pkg> for matrix - ordering</flag> - </use> - <upstream> - <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/umfpack/umfpack-5.7.9-r1.ebuild b/sci-libs/umfpack/umfpack-5.7.9-r1.ebuild deleted file mode 100644 index 7c4f503b2da1..000000000000 --- a/sci-libs/umfpack/umfpack-5.7.9-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit libtool toolchain-funcs - -DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="+cholmod doc" - -BDEPEND="virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND=" - sci-libs/amd - >=sci-libs/suitesparseconfig-5.4.0 - virtual/blas - cholmod? ( sci-libs/cholmod )" -RDEPEND="${DEPEND}" - -src_prepare() { - default - elibtoolize -} - -src_configure() { - econf \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - $(use_with doc) \ - $(use_with cholmod) -} - -src_compile() { - use doc && export VARTEXFONTS="${T}/fonts" - default -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/umfpack/umfpack-5.7.9.ebuild b/sci-libs/umfpack/umfpack-5.7.9.ebuild deleted file mode 100644 index 63c3e662c4ec..000000000000 --- a/sci-libs/umfpack/umfpack-5.7.9.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit libtool toolchain-funcs - -DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/kiwifb/suitesparse_splitbuild/releases/download/v5.4.0/${P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="+cholmod doc" - -BDEPEND="virtual/pkgconfig - doc? ( virtual/latex-base )" -DEPEND=" - sci-libs/amd - >=sci-libs/suitesparseconfig-5.4.0 - virtual/blas - cholmod? ( sci-libs/cholmod )" -RDEPEND="${DEPEND}" - -src_prepare() { - default - elibtoolize -} - -src_configure() { - econf \ - --disable-static \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - $(use_with doc) \ - $(use_with cholmod) -} - -src_compile() { - use doc && export VARTEXFONTS="${T}/fonts" - default -} - -src_install() { - default - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/umfpack/umfpack-6.1.0.ebuild b/sci-libs/umfpack/umfpack-6.1.0.ebuild deleted file mode 100644 index 184446b76c51..000000000000 --- a/sci-libs/umfpack/umfpack-6.1.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib toolchain-funcs - -Sparse_PV="7.0.0" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -LICENSE="GPL-2+" -SLOT="0/6" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc openmp test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.0.3 - >=sci-libs/cholmod-4.0.3[openmp=] - virtual/blas" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -multilib_src_configure() { - # Fortran is only used to compile additional demo programs that can be tested. - local mycmakeargs=( - -DNSTATIC=ON - -DNOPENMP=$(usex openmp OFF ON) - -DNFORTRAN=ON - -DDEMO=$(usex test) - ) - cmake_src_configure -} - -multilib_src_test() { - # Run simple demo first - # Other demo files have issues making them unsuitable for testing - ./umfpack_simple || die "failed testing umfpack_simple" -} -multilib_src_install() { - if use doc; then - pushd "${S}/Doc" - rm -rf *.pdf - emake - popd - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/umfpack/umfpack-6.3.7.ebuild b/sci-libs/umfpack/umfpack-6.3.7.ebuild deleted file mode 100644 index a6dd274a40c7..000000000000 --- a/sci-libs/umfpack/umfpack-6.3.7.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -Sparse_PV="7.12.2" -Sparse_P="SuiteSparse-${Sparse_PV}" -DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library" -HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" -SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" - -S="${WORKDIR}/${Sparse_P}/${PN^^}" -LICENSE="GPL-2+" -SLOT="0/6" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc openmp test" -RESTRICT="!test? ( test )" - -DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} - >=sci-libs/amd-3.3.4 - >=sci-libs/cholmod-5.3.4[openmp=] - virtual/blas" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( virtual/latex-base )" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - # Fortran is only used to compile additional demo programs that can be tested. - # Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take - # the value suitesparse, and the include directory would be set to - # /usr/include/suitesparse - # This need to be set in all suitesparse ebuilds. - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DSUITESPARSE_USE_OPENMP=$(usex openmp) - -DSUITESPARSE_USE_FORTRAN=OFF - -DSUITESPARSE_DEMOS=$(usex test) - -DSUITESPARSE_INCLUDEDIR_POSTFIX="" - ) - - if has_version 'virtual/blas[index64]'; then - mycmakeargs+=( -DSUITESPARSE_USE_64BIT_BLAS=ON ) - fi - - if has_version 'virtual/blas[flexiblas]'; then - mycmakeargs+=( -DBLA_VENDOR=FlexiBLAS ) - else - mycmakeargs+=( -DBLA_VENDOR=Generic ) - fi - # TODO: Figure out how to make sci-libs/mkl work. Bug 974246 - - cmake_src_configure -} - -src_test() { - # Because we are not using cmake_src_test, - # we have to manually go to BUILD_DIR - cd "${BUILD_DIR}" || die - # Run demo files - # Other demo files have issues making them unsuitable for testing - ./umfpack_simple || die "failed testing umfpack_simple" - einfo "All tests passed" -} - -src_install() { - if use doc; then - pushd "${S}/Doc" || die - emake clean - rm -rf *.pdf || die - emake - popd || die - DOCS="${S}/Doc/*.pdf" - fi - cmake_src_install -} diff --git a/sci-libs/volk/Manifest b/sci-libs/volk/Manifest deleted file mode 100644 index dd15826a3970..000000000000 --- a/sci-libs/volk/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST volk-3.1.2.tar.xz 381388 BLAKE2B c67049921cf0817ff263ae3b0b14b2939e69e461fa731b47f0f923ebe730e67a8715f20738b1991fc9956abd12eccfa50a421460feef12e7678d26a25d73acce SHA512 6fd99b037e2c2481f4886a70021403a8641567a0c0280496194da7ef1b8cf7dbecf91d5bfc1b1c3449788de360206bae5036d796a01bbec211ccf9ccbbc357ee -DIST volk-3.2.0.tar.xz 399816 BLAKE2B c0cd75f4eb6904c853c9e018777da6a6c17aaa9f73c5656ca5fd330cd5dbcedbf83fc229db9ec0245c5dd0d3b0db6bd652207e3f5bcb7325436cbd2cf8765dd8 SHA512 3142871fe5b06dccd7c3ad399875ad5bbb771e11168f0a146e5a808974c3dcc5de0d6f23c0b72a26389a5f509f47d47146ce18229225737a0c3cd142a6cce61b diff --git a/sci-libs/volk/metadata.xml b/sci-libs/volk/metadata.xml deleted file mode 100644 index 7bac8b85cf68..000000000000 --- a/sci-libs/volk/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>zerochaos@gentoo.org</email> - <name>Rick Farina</name> - </maintainer> - <upstream> - <remote-id type="github">gnuradio/volk</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/volk/volk-3.1.2.ebuild b/sci-libs/volk/volk-3.1.2.ebuild deleted file mode 100644 index 22055d571ec5..000000000000 --- a/sci-libs/volk/volk-3.1.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -#https://github.com/gnuradio/volk/issues/383 -CMAKE_BUILD_TYPE="None" -inherit cmake python-single-r1 - -DESCRIPTION="vector optimized library of kernels" -HOMEPAGE="http://libvolk.org" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/gnuradio/volk.git" -else - SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="amd64 ~arm ~riscv ~x86" -fi - -LICENSE="GPL-3" -SLOT="0/$(ver_cut 1-2)" -IUSE="orc test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="${PYTHON_DEPS} - orc? ( dev-lang/orc )" -DEPEND="${RDEPEND} - $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')" - -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - -DENABLE_ORC=$(usex orc) - -DPYTHON_EXECUTABLE="${PYTHON}" - -DENABLE_TESTING="$(usex test)" - -DENABLE_PROFILING=OFF - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - # Remove stray python files generated by the build system - find "${ED}" -name '*.pyc' -exec rm -f {} \; || die - find "${ED}" -name '*.pyo' -exec rm -f {} \; || die - python_optimize -} - -src_test() { - local myctestargs=( - -E "(check_lgpl)" - ) - cmake_src_test -} diff --git a/sci-libs/volk/volk-3.2.0.ebuild b/sci-libs/volk/volk-3.2.0.ebuild deleted file mode 100644 index 3aa263ff31da..000000000000 --- a/sci-libs/volk/volk-3.2.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -#https://github.com/gnuradio/volk/issues/383 -CMAKE_BUILD_TYPE="None" -inherit cmake python-single-r1 - -DESCRIPTION="vector optimized library of kernels" -HOMEPAGE="http://libvolk.org" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/gnuradio/volk.git" -else - SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~riscv ~x86" -fi - -LICENSE="GPL-3" -SLOT="0/$(ver_cut 1-2)" -IUSE="orc test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="${PYTHON_DEPS} - orc? ( dev-lang/orc )" -DEPEND="${RDEPEND} - $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')" - -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - -DENABLE_ORC=$(usex orc) - -DPYTHON_EXECUTABLE="${PYTHON}" - -DENABLE_TESTING="$(usex test)" - -DENABLE_PROFILING=OFF - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - # Remove stray python files generated by the build system - find "${ED}" -name '*.pyc' -exec rm -f {} \; || die - find "${ED}" -name '*.pyo' -exec rm -f {} \; || die - python_optimize -} - -src_test() { - local myctestargs=( - -E "(check_lgpl)" - ) - cmake_src_test -} diff --git a/sci-libs/volk/volk-9999.ebuild b/sci-libs/volk/volk-9999.ebuild deleted file mode 100644 index 3aa263ff31da..000000000000 --- a/sci-libs/volk/volk-9999.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -#https://github.com/gnuradio/volk/issues/383 -CMAKE_BUILD_TYPE="None" -inherit cmake python-single-r1 - -DESCRIPTION="vector optimized library of kernels" -HOMEPAGE="http://libvolk.org" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/gnuradio/volk.git" -else - SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~riscv ~x86" -fi - -LICENSE="GPL-3" -SLOT="0/$(ver_cut 1-2)" -IUSE="orc test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="${PYTHON_DEPS} - orc? ( dev-lang/orc )" -DEPEND="${RDEPEND} - $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')" - -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - -DENABLE_ORC=$(usex orc) - -DPYTHON_EXECUTABLE="${PYTHON}" - -DENABLE_TESTING="$(usex test)" - -DENABLE_PROFILING=OFF - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - # Remove stray python files generated by the build system - find "${ED}" -name '*.pyc' -exec rm -f {} \; || die - find "${ED}" -name '*.pyo' -exec rm -f {} \; || die - python_optimize -} - -src_test() { - local myctestargs=( - -E "(check_lgpl)" - ) - cmake_src_test -} diff --git a/sci-libs/voro++/Manifest b/sci-libs/voro++/Manifest deleted file mode 100644 index f7d5e54bbb60..000000000000 --- a/sci-libs/voro++/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST voro++-0.4.6.tar.gz 809124 BLAKE2B 0b12f68fe2400d850353171a79aa41dd0a7780dd38d8b7d5fcda6621ba43e5bad60d72a1dd24c3ef9e30d4b63c0be9467062ef33f27138a838f7a984dd3321a2 SHA512 aa8c73d7634bb4ec4c0a7d4d18c0df07511ef975338f2517e6f0ec65de56bac10397adccf1c0e13439d29d096b7cb9b4540d7cfc191a1662f15dc0c3c1ff77c1 diff --git a/sci-libs/voro++/files/voro++-0.4.6-cmake.patch b/sci-libs/voro++/files/voro++-0.4.6-cmake.patch deleted file mode 100644 index ce33f9fd7d5c..000000000000 --- a/sci-libs/voro++/files/voro++-0.4.6-cmake.patch +++ /dev/null @@ -1,103 +0,0 @@ -Index: CMakeLists.txt -=================================================================== ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -0,0 +1,98 @@ -+cmake_minimum_required(VERSION 3.16) -+ -+project(voro++) -+ -+set(PROJECT_VERSION "0.4.6") -+set(SOVERSION 0) -+ -+# Cmake modules/macros are in a subdirectory to keep this file cleaner -+set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules) -+ -+if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS) -+ #release comes with -O3 by default -+ set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) -+endif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS) -+ -+enable_language(CXX) -+ -+###################################################################### -+# compiler tests -+# these need ot be done early (before further tests). -+##################################################################### -+ -+include(CheckCXXCompilerFlag) -+ -+######################################################################## -+# Standard install paths # -+######################################################################## -+include(GNUInstallDirs) -+ -+######################################################################## -+#Find external packages -+######################################################################## -+find_package(Doxygen) -+ -+######################################################################## -+# Basic system tests (standard libraries, headers, functions, types) # -+######################################################################## -+include(CheckIncludeFileCXX) -+foreach(HEADER cmath cstdio cstdlib cstring ctime fstream iostream queue vector) -+ check_include_file_cxx(${HEADER} FOUND_${HEADER}) -+ if(NOT FOUND_${HEADER}) -+ message(FATAL_ERROR "Could not find needed header - ${HEADER}") -+ endif(NOT FOUND_${HEADER}) -+endforeach(HEADER) -+ -+set(MATH_LIBRARIES "m" CACHE STRING "math library") -+mark_as_advanced( MATH_LIBRARIES ) -+include(CheckLibraryExists) -+foreach(FUNC sqrt) -+ check_library_exists(${MATH_LIBRARIES} ${FUNC} "" FOUND_${FUNC}_${MATH_LIBRARIES}) -+ if(NOT FOUND_${FUNC}_${MATH_LIBRARIES}) -+ message(FATAL_ERROR "Could not find needed math function - ${FUNC}") -+ endif(NOT FOUND_${FUNC}_${MATH_LIBRARIES}) -+endforeach(FUNC) -+ -+###################################### -+# Include the following subdirectory # -+###################################### -+ -+file(GLOB VORO_SOURCES src/*.cc) -+file(GLOB NOT_VORO_SOURCES src/v_base_wl.cc src/cmd_line.cc src/voro++.cc) -+list(REMOVE_ITEM VORO_SOURCES ${NOT_VORO_SOURCES}) -+add_library(voro++ ${VORO_SOURCES}) -+set_target_properties(voro++ PROPERTIES -+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/src" -+ SOVERSION ${SOVERSION}) -+install(TARGETS voro++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) -+ -+add_executable(cmd_line src/cmd_line.cc) -+target_link_libraries(cmd_line voro++) -+#cannot have two target with the same name -+set_target_properties(cmd_line PROPERTIES OUTPUT_NAME voro++ -+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/src") -+install(TARGETS cmd_line RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -+ -+#for voto++.hh -+include_directories(${CMAKE_SOURCE_DIR}/src) -+file(GLOB EXAMPLE_SOURCES examples/*/*.cc) -+foreach(SOURCE ${EXAMPLE_SOURCES}) -+ string(REGEX REPLACE "^.*/([^/]*)\\.cc$" "\\1" PROGNAME "${SOURCE}") -+ if (NOT PROGNAME STREQUAL ellipsoid) #ellipsoid is broken -+ string(REGEX REPLACE "^.*/(examples/.*)/${PROGNAME}\\.cc$" "\\1" DIRNAME "${SOURCE}") -+ add_executable(${PROGNAME} ${SOURCE}) -+ target_link_libraries(${PROGNAME} voro++) -+ set_target_properties(${PROGNAME} PROPERTIES -+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${DIRNAME}" ) -+ endif() -+endforeach(SOURCE) -+ -+file(GLOB_RECURSE VORO_HEADERS src/*.hh) -+install(FILES ${VORO_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/voro++) -+install(FILES ${CMAKE_SOURCE_DIR}/man/voro++.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) -+ -+if (DOXYGEN_FOUND) -+ add_custom_target(doxygen COMMAND ${DOXYGEN_EXECUTABLE} src/Doxyfile -+ COMMENT "Build doxygen documentation") -+endif (DOXYGEN_FOUND) -+ diff --git a/sci-libs/voro++/metadata.xml b/sci-libs/voro++/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/sci-libs/voro++/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/voro++/voro++-0.4.6-r2.ebuild b/sci-libs/voro++/voro++-0.4.6-r2.ebuild deleted file mode 100644 index 44dfd8d10289..000000000000 --- a/sci-libs/voro++/voro++-0.4.6-r2.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="3D Voronoi cell software library" -HOMEPAGE="http://math.lbl.gov/voro++/" -SRC_URI="http://math.lbl.gov/voro++/download/dir/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" - -PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest deleted file mode 100644 index 81b2144a403a..000000000000 --- a/sci-libs/vtk/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -DIST VTK-9.4.2.tar.gz 118621433 BLAKE2B 5e9ffff915e41fad349cb0fc7aba3620e946362a6e91f7291c1a052691cbebfa3d5cb2a686e561f99f44a8aa608caa2d0201ce8b7cabed6337378bf354b69390 SHA512 740919c9b63ad91c5ae45b90b502585a78e9f08b32f06308c475d874decc1e99e813c49c67d37586886ad4860e61630cd51569747003dcf88b3fb744c481f515 -DIST VTK-9.5.2.tar.gz 50189467 BLAKE2B 6e7dab56c4f48d066ca44637f8839e9abc973d2831381ef5aec860aa1daa49ac9beca223e439c12dda2c33056b45395043f2edc54f55f9d169719b6c96499f40 SHA512 fc8157a89fa603a7f7fce356e2f638ae69e0ea629a507458bdbb173daf511c61e39a1f0d7201b196a5b3a7ffa7e3e821398b62521faadf85edb1119a1e8b8e8e -DIST VTKData-9.4.2.tar.gz 1095344755 BLAKE2B d995ef59df2d12c85bd8b44280cec3b7b7a9a494ae19c68eda432310e07d92f6da8649f89dd75485c40d49c86ce28bf8e120900a9cb4545454154e04909866b1 SHA512 a379d442ad4f378c961aef3e285b87b633412eddc7b28f99893d34c700ce07eae5267dd33e29fd1aa065095e541145cd5baba3d6c54d9da3e00aea0b7573c51c -DIST VTKData-9.5.2.tar.gz 1096057742 BLAKE2B 3c50adba539e7457268cd122246361e2161a003264cf4df6a3c7c3b62e9f35026588ad046112c0dd0b8360f6f8f67d5fc6f034bd5cdd4bb67d746dcf2ebb2a86 SHA512 1be895bed613ed0f0ace0ba5e138afacc3d61b57e437299b3aecf6beff702ad1a2d02036fd147853bbbcb6a1f9d20a51831c0263fdc5b8e62ece9a6f8f7d410e -DIST VTKDataFiles-9.4.2.tar.gz 1127688904 BLAKE2B 7cf79325e3d8b5eb935f936321b5465c77a1764afeb9206c2709cca48044f686cd7a3e450686c145a4d9b47b32c9f1e8b8661b499ea30e1c2c47f9200eb6d1d9 SHA512 93bcc16ef7989d2e76effb9b6f778f50f9d0048d1c2a89fa55a6c2c9c8ae228d22cea77f588a729db82c0ab0e87cbd37053c228600fcb9f5734caa3cb714fb7a -DIST VTKDataFiles-9.5.2.tar.gz 1128658332 BLAKE2B c3c3e259479f78bb0cc60b48e00d3fad21dd8bb924e16b87801d230c2f684fc04431873eb7fd5617cb93a09319038f835da17357888ba207f4e10faf19bf6c01 SHA512 f3503fea75aa248fb5b225e4e6437fe47b2eabdc39ffd4113e5f87a5d9edd232afef7e21375e40cf3a6e979f399a7fcc5bdc0b09a6759a2baa491eb360ce0c8b -DIST VTKLargeData-9.4.2.tar.gz 247520755 BLAKE2B d006a0b5a9296332cafcee0917dab1db76e90fa145dbb3093b82dcb668ef38947db97711a00d5013e16147eb3df3cad0f501262897ba342741fa1205a115f31f SHA512 7e896f7b3ee2a454f24bd4b55fe10658d90abd4352ca4d1baed4c67c2606dda7a408ca4d807b05362e311432c0961df0cddfa5236e3aa233ddf28e4a3d48cd58 -DIST VTKLargeData-9.5.2.tar.gz 247524517 BLAKE2B 439daacebf50ff65019b42ba3f9a244428ea1d49951e135a655acd65342d6a7ee6a01c313b2565e574910218eebdd8e0291ecfc4c6615b3111050b7233d5a7c8 SHA512 f1ee327bc9ffa4f4055e169b940239031c00e18a3109bb720c5bcc3a68821761c2d5eb573db5245956721cf534b58d3fa737c2ecdac8c90cd3dada565c1a40d5 -DIST VTKLargeDataFiles-9.4.2.tar.gz 247504324 BLAKE2B 650b1f8b9bc8a386a3172fa091cb27dbdfdfe8a7317d7afe109ec4273bfbf3bb67c947e83b7ae47a096327cfba9bc5d655375a7ae7ff46b85291ed684f2f3497 SHA512 c43b3b46a2a3a3ad5938d4b3b323cab8cc51591c9a514abf6fdb33a51009572c6fdb0653b3e49ebe594ab6ff204dbe49f4d9d34a3fb0d56db1b2392674301d02 -DIST VTKLargeDataFiles-9.5.2.tar.gz 247505288 BLAKE2B 49c02df1cda16b0ff8b447d3785afaef56c15aa447f4bc464676a2b52cd9f9812221e566480ca17990538f69f84ea818b5776c422105a3eb53dc63d5518ca0de SHA512 1ee7beba1ca7eeabe634cf31ff2c377ea708fa0ddd40b60e90ab582e4e439ad130a84449d138040f2c47741026ace4613272409f2b958ebc315a55f62a1fa7e8 -DIST vtkDocHtml-9.4.2.tar.gz 191366459 BLAKE2B 36edb0abc9b72def067fc8ce937c7f3154b071a73932634d753ab112436cf66a4b2b5ccc5f2a474ada4d869c4b61457e514bb2e52c4ccf3fb7d27150aadaed4c SHA512 3beb5c1e49f897d320069517134b34ce9bb8ef21a38f95f76e9e06a7bd260532e62e540b3e684daa93641525fe0097d272edfe8370a2a4eb72176d0fd3575b87 -DIST vtkDocHtml-9.5.2.tar.gz 193518054 BLAKE2B 1af2d23d049dbd0ccf6307b3fa0a25c917850c70c7e5ce14e76b02baa7fd4d9be1c2f453dfd1a54b3da30ff8ee5ac374d1ad41225cc6affb3ac29ca037d20687 SHA512 76b572f4b4a0bc4c7573334522017578e2eb1cfd83bdc973c515b65ec23a4fe8e2d7914cc1d4c78d574187068df918ccb575904252f96d88ed94428460698721 diff --git a/sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch b/sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch deleted file mode 100644 index e330e1837c90..000000000000 --- a/sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch +++ /dev/null @@ -1,128 +0,0 @@ -From: 31058da34eeb26165011b07fe41baf825f7df1a3 Mon Sep 17 00:00:00 2001 -From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> -From: https://github.com/microsoft/vcpkg/pull/29730 -Date: Sat, 18 Feb 2023 10:12:04 +0100 -Subject: [PATCH 1/3] [vtk] update pegtl to version 3 - ---- a/IO/MotionFX/vtkMotionFXCFGGrammar.h -+++ b/IO/MotionFX/vtkMotionFXCFGGrammar.h -@@ -23,7 +23,7 @@ - - // for debugging - // clang-format off --#include VTK_PEGTL(pegtl/contrib/tracer.hpp) -+#include VTK_PEGTL(pegtl/contrib/trace.hpp) - // clang-format on - - namespace MotionFX ---- a/IO/MotionFX/vtkMotionFXCFGReader.cxx -+++ b/IO/MotionFX/vtkMotionFXCFGReader.cxx -@@ -1213,7 +1213,7 @@ bool PositionFileMotion::read_position_file(const std::string& rootDir) const - } - return true; - } -- catch (const tao::pegtl::input_error& e) -+ catch (const tao::pegtl::parse_error& e) - { - vtkGenericWarningMacro("PositionFileMotion::read_position_file failed: " << e.what()); - } -@@ -1232,7 +1232,7 @@ bool UniversalTransformMotion::read_universaltransform_file(const std::string& r - in, numbers, this->transforms); - return true; - } -- catch (const tao::pegtl::input_error& e) -+ catch (const tao::pegtl::parse_error& e) - { - vtkGenericWarningMacro( - "UniversalTransformMotion::read_universaltransform_file failed: " << e.what()); -@@ -1267,7 +1267,7 @@ public: - if (getenv("MOTIONFX_DEBUG_GRAMMAR") != nullptr) - { - tao::pegtl::read_input<> in2(filename); -- tao::pegtl::parse<MotionFX::CFG::Grammar, tao::pegtl::nothing, tao::pegtl::tracer>(in2); -+ tao::pegtl::complete_trace<MotionFX::CFG::Grammar>(in2); - } - return false; - } ---- a/ThirdParty/pegtl/CMakeLists.txt -+++ b/ThirdParty/pegtl/CMakeLists.txt -@@ -5,7 +5,6 @@ vtk_module_third_party( - VERSION "2.8.3" - EXTERNAL - PACKAGE PEGTL -- VERSION 2.0.0 - TARGETS PEGTL::PEGTL - STANDARD_INCLUDE_DIRS) - ---- a/CMake/FindPEGTL.cmake -+++ b/CMake/FindPEGTL.cmake -@@ -19,31 +19,43 @@ - # Copyright (c) 2009 Benoit Jacob <jacob.benoit.1@gmail.com> - # Redistribution and use is allowed according to the terms of the 2-clause BSD license. - --find_path(PEGTL_INCLUDE_DIR -- NAMES pegtl/version.hpp -- PATH_SUFFIXES tao -- DOC "Path to PEGTL headers") --mark_as_advanced(PEGTL_INCLUDE_DIR) -+message(STATUS "Searching for PEGTL") -+find_package(PEGTL CONFIG REQUIRED) -+if(TARGET taocpp::pegtl) -+ message(STATUS "Searching for PEGTL - found target taocpp::pegtl") -+ set_target_properties(taocpp::pegtl PROPERTIES IMPORTED_GLOBAL TRUE) -+ if(NOT TARGET PEGTL::PEGTL) -+ add_library(PEGTL::PEGTL IMPORTED INTERFACE) -+ target_link_libraries(PEGTL::PEGTL INTERFACE taocpp::pegtl) -+ endif() -+else() -+ find_path(PEGTL_INCLUDE_DIR -+ NAMES pegtl/version.hpp -+ PATH_SUFFIXES tao -+ DOC "Path to PEGTL headers") -+ mark_as_advanced(PEGTL_INCLUDE_DIR) - --if (PEGTL_INCLUDE_DIR) -- file(STRINGS "${PEGTL_INCLUDE_DIR}/pegtl/version.hpp" _pegtl_version_header -- REGEX "TAO_PEGTL_VERSION") -- string(REGEX MATCH "define[ \t]+TAO_PEGTL_VERSION[ \t]+\"([0-9.]+)\"" _pegtl_version_match "${_pegtl_version_header}") -- set(PEGTL_VERSION "${CMAKE_MATCH_1}") -- unset(_pegtl_version_header) -- unset(_pegtl_version_match) --endif () -+ if (PEGTL_INCLUDE_DIR) -+ file(STRINGS "${PEGTL_INCLUDE_DIR}/pegtl/version.hpp" _pegtl_version_header -+ REGEX "TAO_PEGTL_VERSION") -+ string(REGEX MATCH "define[ \t]+TAO_PEGTL_VERSION[ \t]+\"([0-9.]+)\"" _pegtl_version_match "${_pegtl_version_header}") -+ set(PEGTL_VERSION "${CMAKE_MATCH_1}") -+ unset(_pegtl_version_header) -+ unset(_pegtl_version_match) -+ endif () - --include(FindPackageHandleStandardArgs) --find_package_handle_standard_args(PEGTL -- REQUIRED_VARS PEGTL_INCLUDE_DIR -- VERSION_VAR PEGTL_VERSION) -+ include(FindPackageHandleStandardArgs) -+ find_package_handle_standard_args(PEGTL -+ REQUIRED_VARS PEGTL_INCLUDE_DIR -+ VERSION_VAR PEGTL_VERSION) - --if (PEGTL_FOUND) -- set(PEGTL_INCLUDE_DIRS "${PEGTL_INCLUDE_DIR}") -- if (NOT TARGET PEGTL::PEGTL) -- add_library(PEGTL::PEGTL INTERFACE IMPORTED) -- set_target_properties(PEGTL::PEGTL PROPERTIES -- INTERFACE_INCLUDE_DIRECTORIES "${PEGTL_INCLUDE_DIR}") -- endif () --endif () -+ if (PEGTL_FOUND) -+ set(PEGTL_INCLUDE_DIRS "${PEGTL_INCLUDE_DIR}") -+ if (NOT TARGET PEGTL::PEGTL) -+ add_library(PEGTL::PEGTL INTERFACE IMPORTED) -+ set_target_properties(PEGTL::PEGTL PROPERTIES -+ INTERFACE_INCLUDE_DIRECTORIES "${PEGTL_INCLUDE_DIR}") -+ endif () -+ message(STATUS "Searching for PEGTL - found") -+ endif () -+endif () -\ No newline at end of file diff --git a/sci-libs/vtk/files/vtk-9.3.0-java.patch b/sci-libs/vtk/files/vtk-9.3.0-java.patch deleted file mode 100644 index 4b9125515eac..000000000000 --- a/sci-libs/vtk/files/vtk-9.3.0-java.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Wrapping/Java/Testing/Java/CMakeLists.txt -+++ b/Wrapping/Java/Testing/Java/CMakeLists.txt -@@ -22,6 +22,8 @@ if (WIN32) - endif () - set(vtk_test_classpath - "$<TARGET_FILE:VTK::vtkjava>") -+list(APPEND vtk_test_classpath -+ ${java_classpath}) - string(REPLACE ";" "${classpath_separator}" vtk_test_classpath "${vtk_test_classpath}") - - add_library(vtkjava_tests STATIC diff --git a/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch b/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch deleted file mode 100644 index d7e0e3f9556c..000000000000 --- a/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch +++ /dev/null @@ -1,15 +0,0 @@ -From: https://gitlab.archlinux.org/archlinux/packaging/packages/vtk/-/blob/main/vtk-occt.patch -From: Sven-Hendrik Haase <svenstaro@archlinux.org> ---- a/IO/OCCT/vtkOCCTReader.h -+++ b/IO/OCCT/vtkOCCTReader.h -@@ -48,8 +48,8 @@ public: - * It can be either STEP or IGES. - * Default is FILE_FORMAT::STEP - */ -- VTK_DEPRECATED_IN_9_3_0("Use SetFormat with unsigned int instead.") -- vtkSetEnumMacro(FileFormat, Format); -+ // VTK_DEPRECATED_IN_9_3_0("Use SetFormat with unsigned int instead.") -+ // vtkSetEnumMacro(FileFormat, Format); - vtkSetClampMacro(FileFormat, unsigned int, Format::STEP, Format::IGES); - ///@} - diff --git a/sci-libs/vtk/files/vtk-9.3.0-update-for-cuda-12.6.patch b/sci-libs/vtk/files/vtk-9.3.0-update-for-cuda-12.6.patch deleted file mode 100644 index 6a913a551315..000000000000 --- a/sci-libs/vtk/files/vtk-9.3.0-update-for-cuda-12.6.patch +++ /dev/null @@ -1,22 +0,0 @@ -From f568d669465f5825006be2fba8a117060e832618 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Sun, 8 Sep 2024 22:27:09 +0200 -Subject: [PATCH] update for cuda 12.6 - -https://github.com/NVIDIA/cccl/commit/733eb94a2b98b8d5b5ab1e39cbd8ac1aed9173ec - -Bug: https://bugs.gentoo.org/938673 -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - ---- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h -+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h -@@ -195,7 +195,7 @@ namespace detail - // - template <typename T, typename F> - struct is_commutative<vtkm::exec::cuda::internal::WrappedBinaryOperator<T, F>> -- : public thrust::detail::is_arithmetic<T> -+ : public ::cuda::std::is_arithmetic<T> - { - }; - } - diff --git a/sci-libs/vtk/files/vtk-9.4.2-ThirdParty-gcc15.patch b/sci-libs/vtk/files/vtk-9.4.2-ThirdParty-gcc15.patch deleted file mode 100644 index 5698d6e8f25f..000000000000 --- a/sci-libs/vtk/files/vtk-9.4.2-ThirdParty-gcc15.patch +++ /dev/null @@ -1,46 +0,0 @@ -From d00b98bd8ef02f854f1068e8ab8fd2fb28244c3b Mon Sep 17 00:00:00 2001 -From: Ted Rodgers <ted.d.rodgers@gmail.com> -Date: Sat, 10 Aug 2024 16:13:09 -0400 -Subject: [PATCH] include cstdint + correct case/words - ---- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/contour/worklet/mir/MIRTables.h -+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/contour/worklet/mir/MIRTables.h -@@ -11402,7 +11402,7 @@ public: - - VTKM_EXEC vtkm::UInt8 GetPoint(vtkm::Id pointIndex) const - { -- return this->CellFacePortal.Get(pointIndex); -+ return this->CellEdgesPortal.Get(pointIndex); - } - - private: ---- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/scalar_topology/worklet/contourtree_distributed/HierarchicalContourTree.h -+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/scalar_topology/worklet/contourtree_distributed/HierarchicalContourTree.h -@@ -663,7 +663,7 @@ std::string HierarchicalContourTree<FieldType>::PrintDotSuperStructure(const cha - auto hyperarcsPortal = this->Hyperarcs.ReadPortal(); - auto regularNodeGlobalIdsPortal = this->RegularNodeGlobalIds.ReadPortal(); - auto whichIterationPortal = this->WhichIteration.ReadPortal(); -- auto whichRoundPortal = this->whichRound.ReadPortal(); -+ auto whichRoundPortal = this->WhichRound.ReadPortal(); - auto superarcsPortal = this->Superarcs.ReadPortal(); - auto superparentsPortal = this->Superparents.ReadPortal(); - for (vtkm::Id supernode = 0; supernode < this->Supernodes.GetNumberOfValues(); supernode++) -@@ -708,7 +708,7 @@ std::string HierarchicalContourTree<FieldType>::PrintDotSuperStructure(const cha - if (contourtree_augmented::NoSuchElement(superarcTo)) - { // no superarc - // if it occurred on the final round, it's the global root and is shown as the NULL node -- if (whichRoundPortal.Get(superarcFrom) == this->NRounds) -+ if (whichRoundPortal.Get(superarcFrom) == this->NumRounds) - { // root node - outstream << "\tSN" << std::setw(1) << superarcFrom << " -> SA" << std::setw(1) << superarc - << " [label=\"S" << std::setw(1) << superarc << "\",style=dotted]\n"; ---- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/thirdparty/itlib/small_vector.hpp -+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/thirdparty/itlib/small_vector.hpp -@@ -140,6 +140,7 @@ - - #include <type_traits> - #include <cstddef> -+#include <cstdint> - #include <memory> - - #define ITLIB_SMALL_VECTOR_ERROR_HANDLING_NONE 0 diff --git a/sci-libs/vtk/files/vtk-9.4.2-ThirdParty-libfmt-12.patch b/sci-libs/vtk/files/vtk-9.4.2-ThirdParty-libfmt-12.patch deleted file mode 100644 index 75bfdbd43a4e..000000000000 --- a/sci-libs/vtk/files/vtk-9.4.2-ThirdParty-libfmt-12.patch +++ /dev/null @@ -1,55 +0,0 @@ -https://bugs.gentoo.org/963035 -https://gitlab.kitware.com/third-party/seacas/-/commit/324c9e0ad360da1dc819b0134e1bda3956048b43 - -Changed paths and removed irrevelant changes for upstream vtk. - -These changed were merged into vtk itself in: -https://gitlab.kitware.com/vtk/vtk/-/commit/505fe4b14477e00d7285ea771200a2cba099f26a - -From 324c9e0ad360da1dc819b0134e1bda3956048b43 Mon Sep 17 00:00:00 2001 -From: Greg Sjaardema <gsjaardema@gmail.com> -Date: Fri, 11 Jul 2025 09:34:37 -0600 -Subject: [PATCH] IOSS: Update fmt library; use std::localtime instead of - fmt::localtime - ---- a/ThirdParty/ioss/vtkioss/Ioss_Utils.C -+++ b/ThirdParty/ioss/vtkioss/Ioss_Utils.C -@@ -1,4 +1,4 @@ --// Copyright(C) 1999-2024 National Technology & Engineering Solutions -+// Copyright(C) 1999-2025 National Technology & Engineering Solutions - // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with - // NTESS, the U.S. Government retains certain rights in this software. - // -@@ -161,13 +161,13 @@ std::ostream &Ioss::Utils::get_debug_stream() { return *m_debugStream; } - void Ioss::Utils::time_and_date(char *time_string, char *date_string, size_t length) - { - std::time_t t = std::time(nullptr); -- std::string time = fmt::format("{:%H:%M:%S}", fmt::localtime(t)); -+ std::string time = fmt::format("{:%H:%M:%S}", *std::localtime(&t)); - std::string date; - if (length >= 10) { -- date = fmt::format("{:%Y/%m/%d}", fmt::localtime(t)); -+ date = fmt::format("{:%Y/%m/%d}", *std::localtime(&t)); - } - else { -- date = fmt::format("{:%y/%m/%d}", fmt::localtime(t)); -+ date = fmt::format("{:%y/%m/%d}", *std::localtime(&t)); - } - copy_string(time_string, time, 9); - copy_string(date_string, date, length + 1); ---- a/ThirdParty/ioss/vtkioss/cgns/Iocgns_Utils.C -+++ b/ThirdParty/ioss/vtkioss/cgns/Iocgns_Utils.C -@@ -1051,8 +1051,8 @@ size_t Iocgns::Utils::common_write_metadata(int file_ptr, const Ioss::Region &re - - CGERR(cg_goto(file_ptr, base, "end")); - std::time_t t = std::time(nullptr); -- std::string date = fmt::format("{:%Y/%m/%d}", fmt::localtime(t)); -- std::string time = fmt::format("{:%H:%M:%S}", fmt::localtime(t)); -+ std::string date = fmt::format("{:%Y/%m/%d}", *std::localtime(&t)); -+ std::string time = fmt::format("{:%H:%M:%S}", *std::localtime(&t)); - - std::string code_version = region.get_optional_property("code_version", "unknown"); - std::string code_name = region.get_optional_property("code_name", "unknown"); --- -GitLab - diff --git a/sci-libs/vtk/files/vtk-9.4.2-find-hdf5-in-global-scope.patch b/sci-libs/vtk/files/vtk-9.4.2-find-hdf5-in-global-scope.patch deleted file mode 100644 index ba0ee724b0c2..000000000000 --- a/sci-libs/vtk/files/vtk-9.4.2-find-hdf5-in-global-scope.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b16f4381d0cdc147e4aff0b6f1fdbac3bbf1de7d Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx@gmail.com> -Date: Fri, 25 Apr 2025 00:32:48 +0200 -Subject: [PATCH] find hdf5 in global scope - -Signed-off-by: Paul Zander <negril.nx@gmail.com> - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 96bb1d4..c5d8e09 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -419,6 +419,11 @@ if (VTK_FORBID_DOWNLOADS AND VTK_BUILD_TESTING) - "copy of the testing data.") - endif () - -+if(VTK_MODULE_ENABLE_VTK_hdf5 STREQUAL "WANT" OR -+ VTK_MODULE_ENABLE_VTK_hdf5 STREQUAL "YES") -+ find_package(HDF5 REQUIRED NO_MODULE COMPONENTS HL) -+endif() -+ - include(vtkModule) - include(vtkModuleDebugging) - set(vtk_source_directories --- -2.49.0 - diff --git a/sci-libs/vtk/files/vtk-9.4.2-fix-fmt-11.patch b/sci-libs/vtk/files/vtk-9.4.2-fix-fmt-11.patch deleted file mode 100644 index f586711398ed..000000000000 --- a/sci-libs/vtk/files/vtk-9.4.2-fix-fmt-11.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4eaf66f11bb80c0f805fd3361cdd9b412aabe796 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Tue, 14 Jan 2025 14:00:01 +0100 -Subject: [PATCH] fix fmt-11 - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/ThirdParty/ioss/vtkioss/Ioss_Field.C b/ThirdParty/ioss/vtkioss/Ioss_Field.C -index fbb2100..8909eef 100644 ---- a/ThirdParty/ioss/vtkioss/Ioss_Field.C -+++ b/ThirdParty/ioss/vtkioss/Ioss_Field.C -@@ -12,6 +12,7 @@ - #include <cstdint> - #include "vtk_fmt.h" - #include VTK_FMT(fmt/ostream.h) -+#include VTK_FMT(fmt/ranges.h) - #include <iostream> - #include <string> - #include <vector> -diff --git a/ThirdParty/ioss/vtkioss/Ioss_VariableType.C b/ThirdParty/ioss/vtkioss/Ioss_VariableType.C -index b081dc3..4f1a841 100644 ---- a/ThirdParty/ioss/vtkioss/Ioss_VariableType.C -+++ b/ThirdParty/ioss/vtkioss/Ioss_VariableType.C -@@ -19,6 +19,7 @@ - #include VTK_FMT(fmt/core.h) - #include VTK_FMT(fmt/format.h) - #include VTK_FMT(fmt/ostream.h) -+#include VTK_FMT(fmt/ranges.h) - #include <map> - #include <sstream> - #include <string> --- -2.48.0 - diff --git a/sci-libs/vtk/files/vtk-9.4.2-opencascade-components.patch b/sci-libs/vtk/files/vtk-9.4.2-opencascade-components.patch deleted file mode 100644 index 2b324529c62f..000000000000 --- a/sci-libs/vtk/files/vtk-9.4.2-opencascade-components.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/IO/OCCT/CMakeLists.txt b/IO/OCCT/CMakeLists.txt -index 836d545..2cf67a8 100644 ---- a/IO/OCCT/CMakeLists.txt -+++ b/IO/OCCT/CMakeLists.txt -@@ -2,6 +2,7 @@ vtk_module_find_package( - PACKAGE OpenCASCADE - FORWARD_VERSION_REQ EXACT - VERSION_VAR "@OpenCASCADE_MAJOR_VERSION@.@OpenCASCADE_MINOR_VERSION@.@OpenCASCADE_MAINTENANCE_VERSION@" -+ COMPONENTS FoundationClasses ModelingData ModelingAlgorithms Visualization ApplicationFramework DataExchange Draw - ) - - set(opencascade_req_targets diff --git a/sci-libs/vtk/files/vtk-9.4.2-pegtl-3.x.patch b/sci-libs/vtk/files/vtk-9.4.2-pegtl-3.x.patch deleted file mode 100644 index 75a0ad8d2260..000000000000 --- a/sci-libs/vtk/files/vtk-9.4.2-pegtl-3.x.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 8bdf05fd255e0d07fdc61c2b04a5333c9e8dc729 Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Tue, 14 Jan 2025 12:41:12 +0100 -Subject: [PATCH] fix pegtl-3.x - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/Common/DataModel/vtkCellAttribute.cxx b/Common/DataModel/vtkCellAttribute.cxx -index 3c022ef..1ed1f66 100644 ---- a/Common/DataModel/vtkCellAttribute.cxx -+++ b/Common/DataModel/vtkCellAttribute.cxx -@@ -595,10 +595,10 @@ bool vtkCellAttribute::DecodeSpace( - { - if (!quiet) - { -- const auto p = err.positions.front(); -+ const auto p = err.positions().front(); - vtkGenericWarningMacro("Attribute Space: " << err.what() << "\n" -- << in.line_at(p) << "\n" -- << std::string(p.byte_in_line, ' ') << "^\n"); -+ << std::string(in.line_at(p)) << "\n" -+ << std::string(p.column, ' ') << "^\n"); - } - return false; - } -diff --git a/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx b/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx -index 866b313..b324d26 100644 ---- a/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx -+++ b/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx -@@ -1,6 +1,6 @@ - #include "vtk_pegtl.h" - // clang-format off --#include VTK_PEGTL(pegtl/contrib/tracer.hpp) -+#include VTK_PEGTL(pegtl/contrib/trace.hpp) - // clang-format on - - #include <cstdlib> --- -2.48.0 - diff --git a/sci-libs/vtk/files/vtk-9.4.2-vtk-m-jobpool-size.patch b/sci-libs/vtk/files/vtk-9.4.2-vtk-m-jobpool-size.patch deleted file mode 100644 index d49e6f87f036..000000000000 --- a/sci-libs/vtk/files/vtk-9.4.2-vtk-m-jobpool-size.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake b/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake -index 10ba21e..e88299e 100644 ---- a/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake -+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake -@@ -175,7 +175,7 @@ function(vtkm_setup_job_pool) - # will require 3GB of memory. To allow for other NON VTK-m jobs we leave at - # least 3GB of memory as 'slop'. - cmake_host_system_information(RESULT vtkm_mem_ QUERY TOTAL_PHYSICAL_MEMORY) -- math(EXPR vtkm_pool_size "(${vtkm_mem_}/3072)-1") -+ math(EXPR vtkm_pool_size "(${vtkm_mem_}/10240 - 3072)-1") - - if (vtkm_pool_size LESS 1) - set(vtkm_pool_size 1) diff --git a/sci-libs/vtk/files/vtk-9.5.0-cuda-13-1.patch b/sci-libs/vtk/files/vtk-9.5.0-cuda-13-1.patch deleted file mode 100644 index 5a98ca155005..000000000000 --- a/sci-libs/vtk/files/vtk-9.5.0-cuda-13-1.patch +++ /dev/null @@ -1,99 +0,0 @@ -From 00d84bf753a0f4d79ea3025c04862d0308cbcb6b Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Mon, 25 Aug 2025 21:14:03 +0200 -Subject: [PATCH] cuda 13 - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/cuda/internal/CudaAllocator.cu b/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/cuda/internal/CudaAllocator.cu -index cc2da2b..ad382ee 100644 ---- a/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/cuda/internal/CudaAllocator.cu -+++ b/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/cuda/internal/CudaAllocator.cu -@@ -284,10 +284,14 @@ void CudaAllocator::PrepareForControl(const void* ptr, std::size_t numBytes) - { - if (IsManagedPointer(ptr) && numBytes >= Threshold) - { -+ // Create device location with specific device ID -+ cudaMemLocation hostLoc; -+ hostLoc.type = cudaMemLocationTypeHost; -+ - // TODO these hints need to be benchmarked and adjusted once we start - // sharing the pointers between cont/exec -- VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, cudaCpuDeviceId)); -- VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, cudaCpuDeviceId, cudaStreamPerThread)); -+ VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, hostLoc)); -+ VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, hostLoc, 0)); - } - } - -@@ -299,10 +303,15 @@ void CudaAllocator::PrepareForInput(const void* ptr, std::size_t numBytes) - viskores::cont::RuntimeDeviceInformation() - .GetRuntimeConfiguration(viskores::cont::DeviceAdapterTagCuda()) - .GetDeviceInstance(dev); -+ -+ cudaMemLocation deviceLoc; -+ deviceLoc.type = cudaMemLocationTypeDevice; -+ deviceLoc.id = dev; -+ - // VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetPreferredLocation, dev)); - // VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetReadMostly, dev)); -- VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, dev)); -- VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, dev, cudaStreamPerThread)); -+ VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, deviceLoc)); -+ VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, deviceLoc, 0, cudaStreamPerThread)); - } - } - -@@ -314,10 +323,15 @@ void CudaAllocator::PrepareForOutput(const void* ptr, std::size_t numBytes) - viskores::cont::RuntimeDeviceInformation() - .GetRuntimeConfiguration(viskores::cont::DeviceAdapterTagCuda()) - .GetDeviceInstance(dev); -+ -+ cudaMemLocation deviceLoc; -+ deviceLoc.type = cudaMemLocationTypeDevice; -+ deviceLoc.id = dev; -+ - // VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetPreferredLocation, dev)); - // VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseUnsetReadMostly, dev)); -- VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, dev)); -- VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, dev, cudaStreamPerThread)); -+ VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, deviceLoc)); -+ VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, deviceLoc, 0, cudaStreamPerThread)); - } - } - -@@ -329,10 +343,15 @@ void CudaAllocator::PrepareForInPlace(const void* ptr, std::size_t numBytes) - viskores::cont::RuntimeDeviceInformation() - .GetRuntimeConfiguration(viskores::cont::DeviceAdapterTagCuda()) - .GetDeviceInstance(dev); -+ -+ cudaMemLocation deviceLoc; -+ deviceLoc.type = cudaMemLocationTypeDevice; -+ deviceLoc.id = dev; -+ - // VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetPreferredLocation, dev)); - // VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseUnsetReadMostly, dev)); -- VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, dev)); -- VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, dev, cudaStreamPerThread)); -+ VISKORES_CUDA_CALL(cudaMemAdvise(ptr, numBytes, cudaMemAdviseSetAccessedBy, deviceLoc)); -+ VISKORES_CUDA_CALL(cudaMemPrefetchAsync(ptr, numBytes, deviceLoc, 0, cudaStreamPerThread)); - } - } - -diff --git a/ThirdParty/viskores/vtkviskores/viskores/viskores/Swap.h b/ThirdParty/viskores/vtkviskores/viskores/viskores/Swap.h -index 918075e..4d380db 100644 ---- a/ThirdParty/viskores/vtkviskores/viskores/viskores/Swap.h -+++ b/ThirdParty/viskores/vtkviskores/viskores/viskores/Swap.h -@@ -41,7 +41,8 @@ namespace viskores - // defined in the `viskores` namespace as an argument. If that function has an unqualified call to - // `Swap`, it results in ADL being used, causing the templated functions `cub::Swap` and - // `viskores::Swap` to conflict. --#if defined(VISKORES_CUDA_VERSION_MAJOR) && (VISKORES_CUDA_VERSION_MAJOR >= 12) -+// This was deprecated in favour of `cuda::std::swap` in CUDA 13. -+#if defined(VISKORES_CUDA_VERSION_MAJOR) && (VISKORES_CUDA_VERSION_MAJOR == 12) - using cub::Swap; - #else - template <typename T> --- -2.51.0 - diff --git a/sci-libs/vtk/files/vtk-9.5.0-cuda-13-2.patch b/sci-libs/vtk/files/vtk-9.5.0-cuda-13-2.patch deleted file mode 100644 index ad5eea01e3d2..000000000000 --- a/sci-libs/vtk/files/vtk-9.5.0-cuda-13-2.patch +++ /dev/null @@ -1,94 +0,0 @@ -From 5a12651b95801fce812b02bf8f854e9f5a332f6e Mon Sep 17 00:00:00 2001 -From: Paul Zander <negril.nx+gentoo@gmail.com> -Date: Tue, 5 Aug 2025 15:17:29 +0200 -Subject: [PATCH] vtk-9.5.0 cuda-13 - -Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> - -diff --git a/Examples/Emscripten/Cxx/WrappedAsyncClipper/CMakeLists.txt b/Examples/Emscripten/Cxx/WrappedAsyncClipper/CMakeLists.txt -index c7762f3..fbf67a2 100644 ---- a/Examples/Emscripten/Cxx/WrappedAsyncClipper/CMakeLists.txt -+++ b/Examples/Emscripten/Cxx/WrappedAsyncClipper/CMakeLists.txt -@@ -26,7 +26,7 @@ find_package(VTK - # Compile example code - # ----------------------------------------------------------------------------- - add_executable(WrappedAsyncClipper WrappedAsyncClipper.cxx WrappedAsyncClipper.h) --target_compile_features(WrappedAsyncClipper PRIVATE cxx_std_14) # for initialized lambda captures -+target_compile_features(WrappedAsyncClipper PRIVATE cxx_std_17) # for initialized lambda captures - target_link_libraries(WrappedAsyncClipper PRIVATE ${VTK_LIBRARIES}) - - # ----------------------------------------------------------------------------- -diff --git a/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresCompilerFlags.cmake b/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresCompilerFlags.cmake -index 246b587..5dd37c2 100644 ---- a/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresCompilerFlags.cmake -+++ b/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresCompilerFlags.cmake -@@ -54,7 +54,7 @@ target_link_libraries(viskores_compiler_flags - INTERFACE $<BUILD_INTERFACE:viskores_vectorization_flags>) - - # setup that we need C++14 support --target_compile_features(viskores_compiler_flags INTERFACE cxx_std_14) -+target_compile_features(viskores_compiler_flags INTERFACE cxx_std_17) - - # setup our static libraries so that a separate ELF section - # is generated for each function. This allows for the linker to -diff --git a/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresDeviceAdapters.cmake b/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresDeviceAdapters.cmake -index d1df6aa..232df64 100644 ---- a/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresDeviceAdapters.cmake -+++ b/ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresDeviceAdapters.cmake -@@ -106,10 +106,14 @@ if(Viskores_ENABLE_CUDA) - - target_compile_options(viskores_cuda INTERFACE $<$<COMPILE_LANGUAGE:CUDA>:--expt-relaxed-constexpr>) - -- if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA" AND -- CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 11.0) -- # CUDA 11+ deprecated C++11 support -- target_compile_features(viskores_cuda INTERFACE cxx_std_14) -+ if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA") -+ if(CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 13.0) -+ # CUDA 13+ deprecated C++14 support -+ target_compile_features(viskores_cuda INTERFACE cxx_std_17) -+ elseif(CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 11.0) -+ # CUDA 11+ deprecated C++11 support -+ target_compile_features(viskores_cuda INTERFACE cxx_std_17) -+ endif() - endif() - - # If we have specified CMAKE_CUDA_ARCHITECTURES and CMake >= 3.18 we are -diff --git a/ThirdParty/viskores/vtkviskores/viskores/CMakeLists.txt b/ThirdParty/viskores/vtkviskores/viskores/CMakeLists.txt -index 40289e1..5f4ca11 100644 ---- a/ThirdParty/viskores/vtkviskores/viskores/CMakeLists.txt -+++ b/ThirdParty/viskores/vtkviskores/viskores/CMakeLists.txt -@@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR) - project (Viskores) - - # We only allow c++14 --set(CMAKE_CXX_STANDARD 14) -+set(CMAKE_CXX_STANDARD 17) - set(CMAKE_CXX_STANDARD_REQUIRED ON) - - # When using C++14 support make sure you use the standard C++ extensions rather -diff --git a/ThirdParty/viskores/vtkviskores/viskores/viskores/thirdparty/diy/viskoresdiy/CMakeLists.txt b/ThirdParty/viskores/vtkviskores/viskores/viskores/thirdparty/diy/viskoresdiy/CMakeLists.txt -index d7aee18..86b592d 100644 ---- a/ThirdParty/viskores/vtkviskores/viskores/viskores/thirdparty/diy/viskoresdiy/CMakeLists.txt -+++ b/ThirdParty/viskores/vtkviskores/viskores/viskores/thirdparty/diy/viskoresdiy/CMakeLists.txt -@@ -161,7 +161,7 @@ function(add_diy_mpi_library use_mpi) - - add_library(${lib_name} ${sources}) - set_target_properties(${lib_name} PROPERTIES POSITION_INDEPENDENT_CODE ON) -- target_compile_features(${lib_name} PRIVATE cxx_std_14) -+ target_compile_features(${lib_name} PRIVATE cxx_std_17) - target_compile_definitions(${lib_name} - PRIVATE -DVISKORESDIY_HAS_MPI=${has_mpi_val} - PRIVATE -Ddiy=${diy_prefix} # mangle diy namespace -@@ -207,7 +207,7 @@ if (build_diy_mpi_lib) - endif() # build_diy_mpi_lib - - add_library(${diy_prefix} INTERFACE) --target_compile_features(${diy_prefix} INTERFACE cxx_std_14) -+target_compile_features(${diy_prefix} INTERFACE cxx_std_17) - target_compile_definitions(${diy_prefix} INTERFACE ${diy_definitions}) - target_include_directories(${diy_prefix} SYSTEM INTERFACE - "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>" --- -2.50.1 - diff --git a/sci-libs/vtk/metadata.xml b/sci-libs/vtk/metadata.xml deleted file mode 100644 index cfcf017d5814..000000000000 --- a/sci-libs/vtk/metadata.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="all-modules">Build all modules</flag> - <flag name="boost">Add support for boost</flag> - <flag name="cgns">Build support to handle CGNS data files</flag> - <flag name="gdal">Support for gdal formated data</flag> - <flag name="imaging">Building Imaging modules</flag> - <flag name="logging">Build the logging module</flag> - <flag name="opencascade">Enable OpenCASCADE support</flag> - <flag name="openvdb">Build support to handle VDB data files</flag> - <flag name="pdal">Build support to handle point cloud data files</flag> - <flag name="rendering">Building Redering modules</flag> - <flag name="tbb">Use <pkg>dev-cpp/tbb</pkg> to handle smp support</flag> - <flag name="views">Building Views modules</flag> - <flag name="vtkm" restrict="<sci-libs/vtk-9.5">Build the vtkm accelerations modules</flag> - <flag name="vtkm" restrict=">=sci-libs/vtk-9.5">Build the viskores accelerations modules</flag> - <flag name="web">Install web component</flag> - </use> - <upstream> - <remote-id type="github">Kitware/VTK</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/vtk/vtk-9.4.2-r2.ebuild b/sci-libs/vtk/vtk-9.4.2-r2.ebuild deleted file mode 100644 index 65456a45a0b0..000000000000 --- a/sci-libs/vtk/vtk-9.4.2-r2.ebuild +++ /dev/null @@ -1,1051 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: -# - add USE flag for remote modules? Those modules can be downloaded -# properly before building. -# - replace usex by usev where applicable - -PYTHON_COMPAT=( python3_{13..14} ) -WEBAPP_OPTIONAL=yes -WEBAPP_MANUAL_SLOT=yes - -inherit check-reqs cmake cuda flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 toolchain-funcs virtualx webapp - -# Short package version -MY_PV="$(ver_cut 1-2)" - -DESCRIPTION="The Visualization Toolkit" -HOMEPAGE="https://www.vtk.org/" -SRC_URI=" - https://www.vtk.org/files/release/${MY_PV}/VTK-${PV}.tar.gz - doc? ( - https://www.vtk.org/files/release/${MY_PV}/vtkDocHtml-${PV}.tar.gz - ) - examples? ( - https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKLargeDataFiles-${PV}.tar.gz - ) - test? ( - https://www.vtk.org/files/release/${MY_PV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKDataFiles-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKLargeDataFiles-${PV}.tar.gz - ) -" -S="${WORKDIR}/VTK-${PV}" - -LICENSE="BSD LGPL-2" -SLOT="0/${MY_PV}" -KEYWORDS="amd64 ~arm ~arm64 ~x86" - -# TODO: Like to simplify these. Mostly the flags related to Groups. -IUSE="all-modules boost +cgns cuda debug doc examples ffmpeg gdal gles2-only imaging - java +logging minimal mpi mysql +netcdf odbc opencascade openmp openvdb pdal postgres - python qt6 +rendering tbb test +threads tk +truetype video_cards_nvidia +views vtkm web" - -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - all-modules? ( - boost cgns ffmpeg gdal imaging mysql netcdf odbc opencascade openvdb pdal - postgres rendering truetype views - ) - cuda? ( video_cards_nvidia vtkm ) - java? ( rendering ) - minimal? ( !gdal !rendering ) - !minimal? ( cgns netcdf rendering ) - python? ( ${PYTHON_REQUIRED_USE} ) - qt6? ( rendering ) - tk? ( python rendering ) - web? ( python ) - rendering? ( truetype views ) -" -# cgns? ( !mpi ) - -# eigen, nlohmann_json, pegtl and utfcpp are referenced in the cmake files -# and need to be available when VTK consumers configure the dependencies. -RDEPEND=" - app-arch/lz4:= - app-arch/xz-utils - dev-db/sqlite:3 - dev-libs/double-conversion:= - dev-libs/expat - dev-libs/icu:= - dev-libs/jsoncpp:= - >=dev-libs/libfmt-8.1.1:= - dev-libs/libxml2:2= - dev-libs/libzip:= - dev-libs/pugixml - media-libs/freetype - media-libs/libjpeg-turbo - media-libs/libogg - media-libs/libpng:= - media-libs/tiff:= - sci-libs/hdf5:=[mpi=] - virtual/zlib:= - boost? ( dev-libs/boost:=[mpi?] ) - cgns? ( - >=sci-libs/cgnslib-4.1.1:=[hdf5,mpi=] - sci-libs/hdf5[cxx] - mpi? ( - sci-libs/hdf5[mpi,unsupported] - ) - ) - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - ffmpeg? ( <media-video/ffmpeg-8:= ) - gdal? ( sci-libs/gdal:= ) - java? ( >=virtual/jdk-11:= ) - !minimal? ( - >=media-libs/libharu-2.4.0:= - media-libs/libtheora:= - sci-libs/proj:= - ) - mpi? ( virtual/mpi[romio] ) - mysql? ( dev-db/mariadb-connector-c ) - netcdf? ( sci-libs/netcdf:=[mpi=] ) - odbc? ( dev-db/unixODBC ) - openvdb? ( media-gfx/openvdb:= ) - opencascade? ( sci-libs/opencascade:= ) - pdal? ( sci-libs/pdal:= ) - postgres? ( dev-db/postgresql:= ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep 'mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )') - $(python_gen_cond_dep 'rendering? ( dev-python/matplotlib[${PYTHON_USEDEP}] )') - ) - qt6? ( - dev-qt/qtbase:6[gui,opengl,sql,widgets] - dev-qt/qtdeclarative:6[opengl] - dev-qt/qtshadertools:6 - x11-libs/libxkbcommon - ) - rendering? ( - media-libs/glew:= - media-libs/libglvnd[X] - x11-libs/gl2ps - x11-libs/libICE - x11-libs/libXcursor - x11-libs/libXext - ) - tbb? ( dev-cpp/tbb:= ) - tk? ( dev-lang/tk:= ) - truetype? ( media-libs/fontconfig ) - video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] ) - views? ( - x11-libs/libICE - x11-libs/libXext - ) - web? ( ${WEBAPP_DEPEND} ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/cli11 - dev-cpp/eigen:= - dev-cpp/nlohmann_json - >=dev-libs/pegtl-3 - dev-libs/utfcpp - test? ( - media-libs/glew - x11-libs/libXcursor - rendering? ( media-libs/freeglut ) - ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-9.2.5-pegtl-3.x.patch" - "${FILESDIR}/${PN}-9.3.0-java.patch" - "${FILESDIR}/${PN}-9.3.0-opencascade.patch" - "${FILESDIR}/${PN}-9.3.0-update-for-cuda-12.6.patch" - - "${FILESDIR}/${PN}-9.4.2-pegtl-3.x.patch" - "${FILESDIR}/${PN}-9.4.2-fix-fmt-11.patch" - "${FILESDIR}/${PN}-9.4.2-opencascade-components.patch" - "${FILESDIR}/${PN}-9.4.2-vtk-m-jobpool-size.patch" - "${FILESDIR}/${PN}-9.4.2-ThirdParty-gcc15.patch" - "${FILESDIR}/${PN}-9.4.2-find-hdf5-in-global-scope.patch" - "${FILESDIR}/${PN}-9.4.2-ThirdParty-libfmt-12.patch" -) - -DOCS=( CONTRIBUTING.md README.md ) - -vtk_check_reqs() { - local dsk="$(( 4096 - + $(usex cuda 8192 0) - + $(usex doc 3072 0) - + $(usex examples 3072 0) - ))" - local -x CHECKREQS_DISK_BUILD=${dsk}M - - # In case users are not aware of the extra NINJAOPTS, check - # for the more common MAKEOPTS, in case NINJAOPTS is empty - local jobs=1 - if [[ -n "${NINJAOPTS}" ]]; then - jobs=$(makeopts_jobs "${NINJAOPTS}" "$(get_nproc)") - elif [[ -n "${MAKEOPTS}" ]]; then - jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") - fi - - if use cuda; then - - local mem="$(( - $(usex cuda 7168 0) * $(( jobs > 4 ? 4 : jobs )) - ))" - local -x CHECKREQS_MEMORY=${mem}M - fi - - "check-reqs_pkg_${EBUILD_PHASE}" -} - -cuda_get_host_compiler() { - if [[ -n "${NVCC_CCBIN}" ]]; then - echo "${NVCC_CCBIN}" - return - fi - - if [[ -n "${CUDAHOSTCXX}" ]]; then - echo "${CUDAHOSTCXX}" - return - fi - - einfo "Trying to find working CUDA host compiler" - - if ! tc-is-gcc && ! tc-is-clang; then - die "$(tc-get-compiler-type) compiler is not supported" - fi - - local compiler compiler_type compiler_version - local package package_version - local NVCC_CCBIN_default - - compiler_type="$(tc-get-compiler-type)" - compiler_version="$("${compiler_type}-major-version")" - - # try the default compiler first - NVCC_CCBIN="$(tc-getCXX)" - NVCC_CCBIN_default="${NVCC_CCBIN}-${compiler_version}" - - compiler="${NVCC_CCBIN/%-${compiler_version}}" - - # store the package so we can re-use it later - package="sys-devel/${compiler_type}" - package_version="${package}" - - ebegin "testing ${NVCC_CCBIN_default} (default)" - - while ! nvcc -v -ccbin "${NVCC_CCBIN}" - -x cu <<<"int main(){}" &>> "${T}/cuda_get_host_compiler.log" ; do - eend 1 - - while true; do - # prepare next version - if ! package_version="<$(best_version "${package_version}")"; then - die "could not find a supported version of ${compiler}" - fi - - NVCC_CCBIN="${compiler}-$(ver_cut 1 "${package_version/#<${package}-/}")" - - [[ "${NVCC_CCBIN}" != "${NVCC_CCBIN_default}" ]] && break - done - ebegin "testing ${NVCC_CCBIN}" - done - eend $? - - # clean temp file - rm -f a.out - - echo "${NVCC_CCBIN}" - export NVCC_CCBIN -} - -cuda_get_host_native_arch() { - [[ -n ${CUDAARCHS} ]] && echo "${CUDAARCHS}" - - __nvcc_device_query || die "failed to query the native device" -} - -vtk_add_sandbox() { - local WRITE=() - - # mesa via virtx will make use of udmabuf if it exists - [[ -c "/dev/udmabuf" ]] && WRITE+=( "/dev/udmabuf" ) - - readarray -t dris <<<"$( - find /sys/class/drm/*/device/drm \ - -mindepth 1 -maxdepth 1 -type d -exec basename {} \; \ - | sort | uniq | sed 's:^:/dev/dri/:' - )" - - [[ -n "${dris[*]}" ]] && WRITE+=( "${dris[@]}" ) - - if [[ -d /sys/module/nvidia ]]; then - # /dev/nvidia{0-9} - readarray -t nvidia_devs <<<"$( - find /dev -regextype posix-extended -regex '/dev/nvidia(|-(nvswitch|vgpu))[0-9]*' - )" - - [[ -n "${nvidia_devs[*]}" ]] && WRITE+=( "${nvidia_devs[@]}" ) - - WRITE+=( - "/dev/nvidiactl" - "/dev/nvidia-modeset" - - "/dev/nvidia-vgpuctl" - - "/dev/nvidia-nvlink" - "/dev/nvidia-nvswitchctl" - - "/dev/nvidia-uvm" - "/dev/nvidia-uvm-tools" - - # "/dev/nvidia-caps/nvidia-cap%d" - "/dev/nvidia-caps/" - # "/dev/nvidia-caps-imex-channels/channel%d" - "/dev/nvidia-caps-imex-channels/" - ) - fi - - # for portage - WRITE+=( "/proc/self/task/" ) - - local dev - for dev in "${WRITE[@]}"; do - if [[ ! -e "${dev}" ]]; then - eqawarn "${dev} does not exist" - # continue - fi - - if [[ -w "${dev}" ]]; then - eqawarn "${dev} is already writable" - # continue - fi - - eqawarn "addwrite ${dev}" - addwrite "${dev}" - - if [[ ! -d "${dev}" ]] && [[ ! -w "${dev}" ]]; then - eerror "can not access ${dev} after addwrite" - fi - done -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && has openmp && tc-check-openmp - - vtk_check_reqs - - # When building binpkgs you probably want to include all targets - if use cuda && [[ ${MERGE_TYPE} == "buildonly" ]] && [[ -n "${CUDA_GENERATION}" || -n "${CUDA_ARCH_BIN}" ]]; then - local info_message="When building a binary package it's recommended to unset CUDA_GENERATION and CUDA_ARCH_BIN" - einfo "$info_message so all available architectures are build." - fi -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && has openmp && tc-check-openmp - - vtk_check_reqs - - if use cuda && [[ ! -e /dev/nvidia-uvm ]]; then - # NOTE We try to load nvidia-uvm and nvidia-modeset here, - # so __nvcc_device_query does not fail later. - - nvidia-smi -L || true - fi - - use java && java-pkg-opt-2_pkg_setup - use python && python-single-r1_pkg_setup - use web && webapp_pkg_setup -} - -# Note: The following libraries are marked as internal by kitware -# and can currently not unbundled: -# diy2, exodusII, fides, h5part, kissfft, loguru, verdict, vpic, -# vtkm, xdmf{2,3}, zfp -# TODO: exprtk, ioss -# Note: As of v9.2.2 we no longer drop bundled libraries, when using system -# libraries. This just saves a little space. CMake logic of VTK on ThirdParty -# libraries avoids automagic builds, so deletion is not needed to catch these. -src_prepare() { - if use doc; then - einfo "Removing .md5 files from documents." - rm -f "${WORKDIR}"/html/*.md5 || die "Failed to remove superfluous hashes" - sed -e "s|\${VTK_BINARY_DIR}/Utilities/Doxygen/doc|${WORKDIR}|" \ - -i Utilities/Doxygen/CMakeLists.txt || die - fi - - cmake_src_prepare - - if use test; then - ebegin "Copying data files to ${BUILD_DIR}" - mkdir -p "${BUILD_DIR}/ExternalData" || die - pushd "${BUILD_DIR}/ExternalData" >/dev/null || die - ln -sf "../../${S}/.ExternalData/README.rst" . || die - ln -sf "../../${S}/.ExternalData/SHA512" . || die - popd >/dev/null || die - eend "$?" - fi -} - -# TODO: check these and consider to use them -# VTK_BUILD_SCALED_SOA_ARRAYS -# VTK_DISPATCH_{AOS,SOA,TYPED}_ARRAYS -src_configure() { - # Workaround for sci-libs/netcdf-4.9.3. See bug #959139. - # Should be dropped with vtk-9.5.0. - append-cppflags -DNETCDF_ENABLE_LEGACY_MACROS - - local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_Git="yes" - -DVTK_GIT_DESCRIBE="v${PV}" - -DVTK_VERSION_FULL="${PV}" - -DGIT_EXECUTABLE="${T}/notgit" - - -DCMAKE_POLICY_DEFAULT_CMP0167="OLD" - -DCMAKE_POLICY_DEFAULT_CMP0174="OLD" - -DCMAKE_POLICY_DEFAULT_CMP0177="OLD" - - -DCMAKE_INSTALL_LICENSEDIR="share/${PN}/licenses" - -DVTK_IGNORE_CMAKE_CXX11_CHECKS=yes - - -DVTK_ANDROID_BUILD=OFF - -DVTK_IOS_BUILD=OFF - - -DVTK_BUILD_ALL_MODULES="$(usex all-modules)" - # we use the pre-built documentation and install these with USE=doc - -DVTK_BUILD_DOCUMENTATION=OFF - -DVTK_BUILD_EXAMPLES="$(usex examples)" - - # no package in the tree: https://github.com/LLNL/conduit - -DVTK_ENABLE_CATALYST=OFF - -DVTK_ENABLE_KITS=OFF - -DVTK_ENABLE_LOGGING="$(usex logging)" - # defaults to ON: USE flag for this? - -DVTK_ENABLE_REMOTE_MODULES=OFF - - # disable fetching files during build - -DVTK_FORBID_DOWNLOADS="yes" - - -DVTK_GROUP_ENABLE_Imaging="$(usex imaging "YES" "NO")" - -DVTK_GROUP_ENABLE_MPI="$(usex mpi "YES" "NO")" - -DVTK_GROUP_ENABLE_Qt="$(usex qt6 "YES" "NO")" - -DVTK_GROUP_ENABLE_Rendering="$(usex rendering "YES" "NO")" - -DVTK_GROUP_ENABLE_StandAlone="$(usex minimal "NO" "YES")" - -DVTK_GROUP_ENABLE_Views="$(usex views "YES" "NO")" - -DVTK_GROUP_ENABLE_Web="$(usex web "YES" "NO")" - - -DVTK_INSTALL_SDK=ON - - -DVTK_MODULE_ENABLE_VTK_IOCGNSReader="$(usex cgns "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOExportPDF="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_IOLAS="NO" - -DVTK_MODULE_ENABLE_VTK_IONetCDF="$(usex netcdf "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOOCCT="$(usex opencascade "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOOggTheora="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_IOOpenVDB="$(usex openvdb "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOSQL="YES" # sqlite - -DVTK_MODULE_ENABLE_VTK_IOPDAL="$(usex pdal "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOXML="YES" - -DVTK_MODULE_ENABLE_VTK_IOXMLParser="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingFreeType="$(usex truetype "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig="$(usex truetype "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_cgns="$(usex cgns "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_doubleconversion="YES" - -DVTK_MODULE_ENABLE_VTK_eigen="YES" - -DVTK_MODULE_ENABLE_VTK_expat="YES" - -DVTK_MODULE_ENABLE_VTK_fmt="YES" - -DVTK_MODULE_ENABLE_VTK_freetype="$(usex truetype "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_hdf5="YES" - -DVTK_MODULE_ENABLE_VTK_jpeg="YES" - -DVTK_MODULE_ENABLE_VTK_jsoncpp="YES" - -DVTK_MODULE_ENABLE_VTK_libharu="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_libproj="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_libxml2="YES" - -DVTK_MODULE_ENABLE_VTK_lz4="YES" - -DVTK_MODULE_ENABLE_VTK_lzma="YES" - -DVTK_MODULE_ENABLE_VTK_netcdf="$(usex netcdf "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_nlohmannjson="YES" - -DVTK_MODULE_ENABLE_VTK_ogg="YES" - -DVTK_MODULE_ENABLE_VTK_pegtl="YES" - -DVTK_MODULE_ENABLE_VTK_png="YES" - -DVTK_MODULE_ENABLE_VTK_pugixml="YES" - -DVTK_MODULE_ENABLE_VTK_sqlite="YES" - -DVTK_MODULE_ENABLE_VTK_theora="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_tiff="YES" - -DVTK_MODULE_ENABLE_VTK_utf8="YES" - -DVTK_MODULE_ENABLE_VTK_vtkvtkm="$(usex vtkm "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_zlib="YES" - - # not packaged in Gentoo - -DVTK_MODULE_USE_EXTERNAL_VTK_fast_float=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_token=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF - - -DVTK_RELOCATABLE_INSTALL=ON - -DVTK_UNIFIED_INSTALL_TREE=ON - - -DVTK_SMP_ENABLE_OPENMP="$(usex openmp)" - -DVTK_SMP_ENABLE_STDTHREAD="$(usex threads)" - -DVTK_SMP_ENABLE_TBB="$(usex tbb)" - - -DVTK_USE_CUDA="$(usex cuda)" - # use system libraries where possible - -DVTK_USE_EXTERNAL=ON - # avoid finding package from either ::guru or ::sci - -DVTK_USE_MEMKIND=OFF - -DVTK_USE_MPI="$(usex mpi)" - -DVTK_USE_TK="$(usex tk)" - -DVTK_USE_X=ON - - -DVTK_WHEEL_BUILD=OFF - - -DVTK_WRAP_JAVA="$(usex java)" - -DVTK_WRAP_PYTHON="$(usex python)" - ) - - if use all-modules; then - mycmakeargs+=( - # no package in ::gentoo - -DVTK_ENABLE_OSPRAY=OFF - # TODO: some of these are tied to the VTK_ENABLE_REMOTE_MODULES - # option. Check whether we can download them clean and enable - # them. - -DVTK_MODULE_ENABLE_VTK_DomainsMicroscopy="NO" - -DVTK_MODULE_ENABLE_VTK_fides="NO" - -DVTK_MODULE_ENABLE_VTK_FiltersOpenTURNS="NO" - -DVTK_MODULE_ENABLE_VTK_IOADIOS2="NO" - -DVTK_MODULE_ENABLE_VTK_IOFides="NO" - - -DVTK_MODULE_ENABLE_VTK_RenderingOpenVR="NO" - -DVTK_MODULE_ENABLE_VTK_RenderingOpenXR="NO" - - -DVTK_MODULE_USE_EXTERNAL_VTK_cli11="YES" - ) - fi - - if use boost; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_InfovisBoost="YES" - -DVTK_MODULE_ENABLE_VTK_InfovisBoostGraphAlgorithms="YES" - ) - fi - - if use cgns; then - mycmakeargs+=( - -DHDF5_NEED_MPI="$(usex mpi)" - ) - fi - - if use cuda; then - cuda_add_sandbox -w - addwrite "/proc/self/task" - addpredict "/dev/char/" - - if ! test -w /dev/nvidiactl; then - # eqawarn "Can't access the GPU at /dev/nvidiactl." - # eqawarn "User $(id -nu) is not in the group \"video\"." - if [[ -z "${CUDA_GENERATION}" ]] && [[ -z "${CUDA_ARCH_BIN}" ]]; then - # build all targets - mycmakeargs+=( - -DCUDA_GENERATION="" - ) - fi - else - local -x CUDAARCHS - : "${CUDAARCHS:="$(cuda_get_host_native_arch)"}" - fi - - # set NVCC_CCBIN - local -x CUDAHOSTCXX CUDAHOSTLD - CUDAHOSTCXX="$(cuda_get_host_compiler)" - CUDAHOSTLD="$(tc-getCXX)" - export NVCC_CCBIN="${CUDAHOSTCXX}" - - if tc-is-gcc; then - # Filter out IMPLICIT_LINK_DIRECTORIES picked up by CMAKE_DETERMINE_COMPILER_ABI(CUDA) - # See /usr/share/cmake/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst - CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES_EXCLUDE=$( - "${CUDAHOSTLD}" -E -v - <<<"int main(){}" |& \ - grep LIBRARY_PATH | cut -d '=' -f 2 | cut -d ':' -f 1 - ) - fi - fi - - if use debug; then - mycmakeargs+=( - -DVTK_DEBUG_LEAKS=ON - -DVTK_DEBUG_MODULE=ON - -DVTK_DEBUG_MODULE_ALL=ON - -DVTK_ENABLE_SANITIZER=ON - -DVTK_EXTRA_COMPILER_WARNINGS=ON - -DVTK_WARN_ON_DISPATCH_FAILURE=ON - ) - if use rendering; then - mycmakeargs+=( -DVTK_OPENGL_ENABLE_STREAM_ANNOTATIONS=ON ) - fi - fi - - if use examples || use test; then - mycmakeargs+=( -DVTK_USE_LARGE_DATA=ON ) - fi - - if use ffmpeg; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOFFMPEG="YES" ) - if use rendering; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingFFMPEGOpenGL2="YES" ) - fi - fi - - if use gdal; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_GeovisGDAL="YES" - -DVTK_MODULE_ENABLE_VTK_IOGDAL="YES" - -DVTK_MODULE_ENABLE_VTK_IOGeoJSON="YES" - ) - fi - - if use imaging; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_ImagingColor="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingCore="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingFourier="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingGeneral="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingHybrid="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingMath="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingMorphological="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingSources="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingStatistics="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingStencil="YES" - ) - use rendering && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingImage="YES" ) - fi - - if ! use java && ! use python; then - # defaults to ON - mycmakeargs+=( -DVTK_ENABLE_WRAPPING=OFF ) - fi - - if use java; then - mycmakeargs+=( - -DCMAKE_INSTALL_JARDIR="share/${PN}" - -DVTK_ENABLE_WRAPPING=ON - -DVTK_MODULE_ENABLE_VTK_Java="YES" - -DVTK_JAVA_SOURCE_VERSION="$(java-config -g PROVIDES_VERSION)" - -DVTK_JAVA_TARGET_VERSION="$(java-config -g PROVIDES_VERSION)" - ) - fi - - if use minimal; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_CommonComputationalGeometry="YES" - -DVTK_MODULE_ENABLE_VTK_CommonExecutionModel="YES" - -DVTK_MODULE_ENABLE_VTK_CommonMath="YES" - -DVTK_MODULE_ENABLE_VTK_CommonMisc="YES" - -DVTK_MODULE_ENABLE_VTK_CommonSystem="YES" - -DVTK_MODULE_ENABLE_VTK_CommonTransforms="YES" - - -DVTK_MODULE_ENABLE_VTK_FiltersCellGrid="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersCore="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersExtraction="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersGeneral="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersGeneric="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersGeometry="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersHybrid="NO" - -DVTK_MODULE_ENABLE_VTK_FiltersHyperTree="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersReduction="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersSources="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersStatistics="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersVerdict="YES" - - -DVTK_MODULE_ENABLE_VTK_IOCellGrid="YES" - -DVTK_MODULE_ENABLE_VTK_IOCore="YES" - -DVTK_MODULE_ENABLE_VTK_IOGeometry="NO" - -DVTK_MODULE_ENABLE_VTK_IOLegacy="YES" - - -DVTK_MODULE_ENABLE_VTK_ParallelCore="YES" - -DVTK_MODULE_ENABLE_VTK_ParallelDIY="YES" - ) - fi - - if use mpi; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_IOH5part="YES" - -DVTK_MODULE_ENABLE_VTK_IOMPIParallel="YES" - -DVTK_MODULE_ENABLE_VTK_IOParallel="YES" - -DVTK_MODULE_ENABLE_VTK_IOParallelNetCDF="$(usex netcdf "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOParallelXML="YES" - -DVTK_MODULE_ENABLE_VTK_ParallelMPI="YES" - -DVTK_MODULE_ENABLE_VTK_h5part="YES" - -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF - ) - use imaging && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOMPIImage="YES" ) - use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ParallelMPI4Py="YES" ) - if use rendering; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_RenderingParallel="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingParallelLIC="YES" - ) - fi - use vtkm && mycmakeargs+=( -DVTKm_ENABLE_MPI=ON ) - fi - - use mysql && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOMySQL="YES" ) - use odbc && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOODBC="YES" ) - use openvdb && mycmakeargs+=( -DOpenVDB_CMAKE_PATH="${ESYSROOT}/usr/$(get_libdir)/cmake/OpenVDB" ) - use postgres && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOPostgreSQL="YES" ) - - if use python; then - mycmakeargs+=( - -DPython3_EXECUTABLE="${PYTHON}" - -DVTK_ENABLE_WRAPPING=ON - -DVTK_MODULE_ENABLE_VTK_Python="YES" - -DVTK_MODULE_ENABLE_VTK_PythonInterpreter="YES" - -DVTK_MODULE_ENABLE_VTK_WrappingPythonCore="YES" - -DVTK_PYTHON_OPTIONAL_LINK="OFF" - -DVTK_PYTHON_SITE_PACKAGES_SUFFIX="lib/${EPYTHON}/site-packages" - ) - use rendering && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_PythonContext2D="YES" ) - fi - - if use qt6; then - mycmakeargs+=( - -DCMAKE_INSTALL_QMLDIR="${EPFREIX}/usr/$(get_libdir)/qt6/qml" - -DVTK_QT_VERSION="6" - -DVTK_MODULE_ENABLE_VTK_GUISupportQt="YES" - -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick="YES" - ) - - if has_version "dev-qt/qtbase:6[gles2-only]" || use gles2-only; then - mycmakeargs+=( - # Force using EGL & GLES - -DVTK_OPENGL_HAS_EGL=ON - -DVTK_OPENGL_USE_GLES=ON - ) - fi - if use mysql || use postgres; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL="YES" ) - fi - if use rendering; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingQt="YES" ) - fi - if use views; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ViewsQt="YES" ) - fi - fi - - if use rendering; then - mycmakeargs+=( - -DVTK_ENABLE_OSPRAY=OFF - - -DVTK_MODULE_ENABLE_VTK_IOExportGL2PS="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingAnari="NO" # no package in ::gentoo - -DVTK_MODULE_ENABLE_VTK_RenderingAnnotation="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingContext2D="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingCore="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingExternal="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingHyperTreeGrid="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingLOD="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingLabel="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingRayTracing="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingSceneGraph="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingUI="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingVolume="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_gl2ps="YES" - ) - use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib="YES" ) - use tk && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingTk="YES" ) - use views && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ViewsContext2D="YES" ) - use web && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingVtkJS="YES" ) - fi - - # Testing has been changed in 9.2.5: it is now allowed without - # requiring to download, if the data files are available locally! - if use test; then - mycmakeargs+=( - -DVTK_BUILD_TESTING=ON - # disable fetching data files for the default 'all' target - -DVTK_DATA_EXCLUDE_FROM_ALL=OFF - - # requested even if all use flags are off - -DVTK_MODULE_ENABLE_VTK_octree="YES" - -DVTK_MODULE_ENABLE_VTK_ViewsCore="YES" - - -DVTK_MODULE_USE_EXTERNAL_VTK_cli11="YES" - ) - else - mycmakeargs+=( -DVTK_BUILD_TESTING=OFF ) - fi - - # FIXME: upstream provides 4 threading models, as of 9.1.0. These are - # sequential, stdthread, openmp and tbb. AFAICS all of them can be - # enabled at the same time. Sequential and STDThread are enabled by - # default. The default selected type for the build is sequential. - # Assuming sequential < STDThread < openmp < tbb wrt speed, although - # this is dependent on the actual scenario where threading is used. - if use tbb; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="TBB" ) - elif use openmp; then # FIXME doesn't work with clang - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="OpenMP" ) - elif use threads; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="STDThread" ) - else - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Sequential" ) - fi - - use tk && mycmakeargs+=( -DVTK_GROUP_ENABLE_Tk="YES" ) - - if use views; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_ViewsCore="YES" - -DVTK_MODULE_ENABLE_VTK_ViewsInfovis="YES" - ) - fi - - if use vtkm; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore="YES" - -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel="YES" - -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters="YES" - -DVTKm_ENABLE_CPACK="no" # "Enable CPack packaging of VTKm" ON - -DVTKm_ENABLE_CUDA="$(usex cuda)" # "Enable Cuda support" OFF - -DVTKm_ENABLE_DOCUMENTATION="$(usex doc)" # "Build Doxygen documentation" OFF - -DVTKm_ENABLE_EXAMPLES="$(usex examples)" # "Build examples" OFF - -DVTKm_ENABLE_HDF5_IO="yes" # "Enable HDF5 support" OFF - -DVTKm_HDF5_IS_PARALLEL="$(usex mpi)" - -DVTKm_ENABLE_LOGGING="$(usex logging)" # "Enable VTKm Logging" ON - -DVTKm_ENABLE_MPI="$(usex mpi)" # "Enable MPI support" OFF - -DVTKm_ENABLE_OPENMP="$(usex openmp)" # "Enable OpenMP support" OFF - -DVTKm_ENABLE_RENDERING="$(usex rendering)" # "Enable rendering library" ON - -DVTKm_ENABLE_TBB="$(usex tbb)" # "Enable TBB support" OFF - -DVTKm_ENABLE_TESTING="$(usex test)" # "Enable VTKm Testing" ON - -DVTKm_ENABLE_TUTORIALS="no" # "Build tutorials" OFF - -DVTKm_NO_ASSERT_CUDA="yes" # "Disable assertions for CUDA devices." ON - -DVTKm_NO_ASSERT="no" # "Disable assertions in debugging builds." OFF - -DVTKm_NO_INSTALL_README_LICENSE="ON" # bug #793221 # "disable the installation of README and LICENSE files" OFF - -DVTKm_SKIP_LIBRARY_VERSIONS="no" # "Skip versioning VTK-m libraries" OFF - -DVTKm_Vectorization="none" # only sets compiler flags - ) - fi - - if use web; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_WebCore="YES" - -DVTK_MODULE_ENABLE_VTK_WebGLExporter="YES" - ) - use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_WebPython="YES" ) - fi - - cmake_src_configure -} - -src_compile() { - use test && cmake_build VTKData - cmake_src_compile -} - -src_test() { - vtk_add_sandbox - - addwrite /dev/fuse - - # The build system prepends /usr/$(get_libdir) to the RUNPATH instead of appending. - # Set LD_LIBRARY_PATH to use the just build libraries. - local -x LD_LIBRARY_PATH="${BUILD_DIR}/$(get_libdir)${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" - - # export VTK_SMP_BACKEND_IN_USE="STDThread" - - local -x -a CMAKE_SKIP_TESTS - - if [[ "${CMAKE_RUN_OPTIONAL_TESTS:=no}" != "yes" ]]; then - local -a REALLY_BAD_TESTS BAD_TESTS RANDOM_FAIL_TESTS - # don't work at all - REALLY_BAD_TESTS=( - # File missing? ExternalData/Testing/Data/MotionFX/position_file/Sprocket_New.prn - "VTK::IOMotionFXCxx-TestMotionFXCFGReaderPositionFile$" # (Subprocess aborted) - - "VTK::InteractionWidgetsCxx-TestBrokenLineWidget$" - "VTK::InteractionWidgetsCxx-TestPolyPlane$" - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMClipWithImplicitFunction$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMHistogram$" # (Failed) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMMarchingCubes$" # (Failed) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMMarchingCubes2$" # (Failed) - "VTK::ChartsCoreCxx-TestChartDoubleColors$" # (Failed) - "VTK::ChartsCoreCxx-TestChartDoubleColorsOpaque$" # (Failed) - "VTK::ChartsCoreCxx-TestParallelCoordinatesDouble$" # (Failed) - "VTK::CommonDataModelCxx-TestHyperTreeGridGeometricLocator$" # (Failed) - "VTK::CommonDataModelCxx-TestTriangle$" # (Failed) - "VTK::CommonDataModelCxx-UnitTestCells$" # (Failed) - "VTK::FiltersCoreCxx-TestDecimatePolylineFilter$" # (Failed) - "VTK::FiltersCoreCxx-TestImplicitPolyDataDistanceCube$" # (Failed) - "VTK::FiltersCorePython-TestSphereTreeFilter$" # (Failed) - "VTK::FiltersFlowPathsCxx-TestEvenlySpacedStreamlines2D$" # (Failed) - "VTK::FiltersGeneralCxx-TestContourTriangulatorHoles$" # (Failed) - "VTK::FiltersParallelCxx-TestAngularPeriodicFilter$" # (Failed) - "VTK::FiltersParallelDIY2Cxx-TestRedistributeDataSetFilter" - "VTK::FiltersParallelDIY2Cxx-MPI-TestProbeLineFilter$" # (Failed) - "VTK::FiltersSelectionCxx-TestLinearSelector3D$" # (Failed) - "VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItem$" # (Failed) - "VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItemWidget$" # (Failed) - "VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderWindow$" # (Failed) - "VTK::RenderingExternalCxx-TestGLUTRenderWindow$" # (Failed) - "VTK::RenderingFreeTypeFontConfigCxx-TestSystemFontRendering$" # (Failed) - "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster" # (Failed) - # "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster-RasterizePNG$" # (Not Run) - # "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster-VerifyRasterizedPDFPNG$" # (Failed) - # "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster-VerifyRasterizedPNG$" # (Failed) - "VTK::IOExportPDFCxx-TestPDFTransformedText-VerifyRasterizedPDFPNG$" # (Failed) - "VTK::IOOCCTCxx-TestOCCTReader$" # (Failed) - "VTK::RenderingCorePython-pickImageData$" # (Failed) - "VTK::RenderingRayTracing-HeaderTest$" # (Failed) - ) - - # don't work in src_test but when on their own - BAD_TESTS=( - "VTK::AcceleratorsVTKmCoreCxx-TestVTKMImplicitDataArray$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMCleanGrid$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMClip$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMExternalFaces$" # (Failed) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMExtractVOI$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMLevelOfDetail$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMPointElevation$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMPointTransform$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMPolyDataNormals$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMThreshold$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMThreshold2$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMTriangleMeshPointNormals$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMWarpScalar$" # (NUMERICAL) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMWarpVector$" # (NUMERICAL) - "VTK::ImagingOpenGL2Cxx-TestOpenGLImageGradient$" # (NUMERICAL) - "VTK::InteractionWidgetsCxx-TestResliceCursorWidget2$" # (Failed) - "VTK::InteractionWidgetsCxx-TestResliceCursorWidget3$" # (Failed) - "VTK::InteractionWidgetsPython-TestTensorWidget2$" # (Failed) - "VTK::RenderingCoreCxx-TestTextureRGBADepthPeeling$" # (Failed) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedBlended$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedBlendedSmallGrain$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorBlendedSmallGrain$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorBlendedSmallGrainMask$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorMappedSmallGrain$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorMappedSmallGrainMask$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedMapped$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedMappedSmallGrain$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedMappedSmallVectorNormalizeOff$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedSmallGrainMask$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedDefaults$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedDefaultsColor$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedEnhancedVectorNormalizeOff$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICMultiBlockContrastEnhancedPerlin$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarContrastEnhanced$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarDefaults$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarVectorNormalizeOff$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarVectorNormalizeOffMediumGrainPerlin$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarVectorNormalizeOffMediumGrainUniform$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-TestImageDataLIC2D$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-TestStructuredGridLIC2DXSlice$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-TestStructuredGridLIC2DYSlice$" # (NUMERICAL) - "VTK::RenderingLICOpenGL2Cxx-TestStructuredGridLIC2DZSlice$" # (NUMERICAL) - "VTK::RenderingMatplotlibCxx-TestContextMathTextImage$" # (NUMERICAL) - "VTK::RenderingMatplotlibCxx-TestIndexedLookupScalarBar$" # (NUMERICAL) - "VTK::RenderingMatplotlibCxx-TestMathTextActor$" # (NUMERICAL) - "VTK::RenderingMatplotlibCxx-TestMathTextActor3D$" # (NUMERICAL) - "VTK::RenderingMatplotlibCxx-TestRenderString$" # (NUMERICAL) - "VTK::RenderingMatplotlibCxx-TestScalarBarCombinatorics$" # (NUMERICAL) - "VTK::RenderingMatplotlibCxx-TestStringToPath$" # (NUMERICAL) - "VTK::RenderingOpenGL2Cxx-TestGlyph3DMapperPickability$" # (Failed) - ) - - RANDOM_FAIL_TESTS=( - "VTK::FiltersFlowPathsCxx-TestStreamSurface$" - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMAbort$" - "VTK::AcceleratorsVTKmFiltersPython-TestVTKMSlice$" - "VTK::IOImageCxx-TestTIFFReaderMultipleMulti$" - - "VTK::FiltersFlowPathsCxx-TestParticleTracers$" - "VTK::RenderingOpenGL2Cxx-TestFluidMapper$" - "VTK::FiltersCellGridCxx-TestCellGridEvaluator$" - "VTK::IOImageCxx-TestTIFFReaderMulti$" - "VTK::FiltersGeneralCxx-TestWarpScalarGenerateEnclosure$" - "VTK::FiltersGeneralCxx-expCos$" - "VTK::FiltersGeneralCxx-TestQuadraturePoints$" - ) - - CMAKE_SKIP_TESTS+=( - "${REALLY_BAD_TESTS[@]}" - "${BAD_TESTS[@]}" - "${RANDOM_FAIL_TESTS[@]}" - ) - fi - - CMAKE_SKIP_TESTS+=( - # requires VTK_USE_MICROSOFT_MEDIA_FOUNDATION - "^VTK::IOMovieCxx-Test" # Skipped - ) - - if use openmp; then - # TODO Times out under openmp - # local -x VTK_SMP_BACKEND_IN_USE="STDThread" - # local -x VTK_SMP_BACKEND_IN_USE="Sequential" - # local -x VTK_SMP_BACKEND_IN_USE="OpenMP" - # local -x VTK_SMP_BACKEND_IN_USE="TBB" - - CMAKE_SKIP_TESTS+=( - "^VTK::CommonCoreCxx-TestSMP$" - ) - fi - - virtx cmake_src_test -j1 -} - -src_install() { - use web && webapp_src_preinst - - # Stop web page images from being compressed - if use doc; then - HTML_DOCS=( "${WORKDIR}/html/." ) - fi - - cmake_src_install - - use java && java-pkg_regjar "${ED}/usr/share/${PN}/${PN}.jar" - - # install examples - if use examples; then - einfo "Installing examples" - mv -v {E,e}xamples || die - dodoc -r examples - docompress -x "/usr/share/doc/${PF}/examples" - - einfo "Installing datafiles" - insinto "/usr/share/${PN}/data" - doins -r "${S}/.ExternalData" - fi - - use python && python_optimize - - use web && webapp_src_install -} - -# webapp.eclass exports these but we want it optional #534036 -pkg_postinst() { - use web && webapp_pkg_postinst - - if use examples; then - einfo "You can get more and updated examples at" - einfo "https://kitware.github.io/vtk-examples/site/" - fi -} - -pkg_prerm() { - use web && webapp_pkg_prerm -} diff --git a/sci-libs/vtk/vtk-9.5.2.ebuild b/sci-libs/vtk/vtk-9.5.2.ebuild deleted file mode 100644 index d6e2c380207a..000000000000 --- a/sci-libs/vtk/vtk-9.5.2.ebuild +++ /dev/null @@ -1,1027 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: -# - add USE flag for remote modules? Those modules can be downloaded properly before building. -# - vtkm was renamed to viskores. Rename once usemove is implemented. - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="tk?" - -WEBAPP_OPTIONAL=yes -WEBAPP_MANUAL_SLOT=yes - -inherit check-reqs cmake cuda java-pkg-opt-2 multiprocessing python-single-r1 toolchain-funcs virtualx webapp - -# Short package version -MY_PV="$(ver_cut 1-2)" - -DESCRIPTION="The Visualization Toolkit" -HOMEPAGE="https://www.vtk.org/" -SRC_URI=" - https://www.vtk.org/files/release/${MY_PV}/VTK-${PV}.tar.gz - doc? ( - https://www.vtk.org/files/release/${MY_PV}/vtkDocHtml-${PV}.tar.gz - ) - examples? ( - https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKLargeDataFiles-${PV}.tar.gz - ) - test? ( - https://www.vtk.org/files/release/${MY_PV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKDataFiles-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz - https://www.vtk.org/files/release/${MY_PV}/VTKLargeDataFiles-${PV}.tar.gz - ) -" -S="${WORKDIR}/VTK-${PV}" - -LICENSE="BSD LGPL-2" -SLOT="0/${MY_PV}" -KEYWORDS="amd64 ~arm ~arm64 ~x86" - -# TODO: Like to simplify these. Mostly the flags related to Groups. -IUSE="all-modules boost +cgns cuda debug doc examples ffmpeg gdal gles2-only imaging - java +logging minimal mpi mysql +netcdf odbc opencascade openmp openvdb pdal postgres - python qt6 +rendering tbb test +threads tk +truetype video_cards_nvidia +views vtkm web" - -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - all-modules? ( - boost cgns ffmpeg gdal imaging mysql netcdf odbc opencascade openvdb pdal - postgres rendering truetype views - ) - cuda? ( video_cards_nvidia vtkm ) - java? ( rendering ) - minimal? ( !gdal !rendering ) - !minimal? ( cgns netcdf rendering ) - python? ( ${PYTHON_REQUIRED_USE} ) - qt6? ( rendering ) - tk? ( python rendering ) - web? ( python ) - rendering? ( truetype views ) -" - -# eigen, nlohmann_json, pegtl and utfcpp are referenced in the cmake files -# and need to be available when VTK consumers configure the dependencies. -RDEPEND=" - app-arch/lz4:= - app-arch/xz-utils - dev-cpp/eigen:= - dev-cpp/nlohmann_json - dev-db/sqlite:3 - dev-libs/double-conversion:= - dev-libs/expat - dev-libs/jsoncpp:= - >=dev-libs/libfmt-8.1.1:= - dev-libs/libxml2:2= - >=dev-libs/pegtl-3 - dev-libs/pugixml - dev-libs/utfcpp - media-libs/freetype - media-libs/libjpeg-turbo:= - media-libs/libogg - media-libs/libpng:= - media-libs/tiff:= - sci-libs/hdf5:=[mpi=] - virtual/zlib:= - boost? ( dev-libs/boost:=[mpi?] ) - cgns? ( - >=sci-libs/cgnslib-4.1.1:=[hdf5,mpi=] - ) - cuda? ( dev-util/nvidia-cuda-toolkit:= ) - ffmpeg? ( media-video/ffmpeg:= ) - gdal? ( sci-libs/gdal:= ) - java? ( >=virtual/jdk-11:= ) - !minimal? ( - >=media-libs/libharu-2.4.0:= - media-libs/libtheora:= - sci-libs/proj:= - ) - mpi? ( virtual/mpi[romio] ) - mysql? ( dev-db/mariadb-connector-c:= ) - netcdf? ( sci-libs/netcdf:=[mpi=] ) - odbc? ( dev-db/unixODBC ) - openvdb? ( media-gfx/openvdb:= ) - opencascade? ( sci-libs/opencascade:= ) - pdal? ( sci-libs/pdal:= ) - postgres? ( dev-db/postgresql:= ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - rendering? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) - ') - ) - qt6? ( - dev-qt/qtbase:6[gui,opengl,sql,widgets] - dev-qt/qtdeclarative:6[opengl] - dev-qt/qtshadertools:6 - x11-libs/libxkbcommon - ) - rendering? ( - media-libs/libglvnd[X] - x11-libs/gl2ps - x11-libs/libXcursor - x11-libs/libX11 - ) - tbb? ( dev-cpp/tbb:= ) - tk? ( dev-lang/tk:= ) - truetype? ( media-libs/fontconfig ) - video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] ) - views? ( - x11-libs/libX11 - ) - vtkm? ( - sci-libs/hdf5[cxx] - mpi? ( - sci-libs/hdf5[unsupported] - ) - ) - web? ( ${WEBAPP_DEPEND} ) -" - -DEPEND=" - ${RDEPEND} - dev-cpp/cli11 - test? ( - media-libs/glew - x11-libs/libXcursor - rendering? ( media-libs/freeglut ) - ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-9.2.5-pegtl-3.x.patch" - "${FILESDIR}/${PN}-9.3.0-java.patch" - - "${FILESDIR}/${PN}-9.4.2-pegtl-3.x.patch" - "${FILESDIR}/${PN}-9.4.2-ThirdParty-libfmt-12.patch" - "${FILESDIR}/${PN}-9.5.0-cuda-13-1.patch" - "${FILESDIR}/${PN}-9.5.0-cuda-13-2.patch" -) - -DOCS=( CONTRIBUTING.md README.md ) - -vtk_check_reqs() { - local dsk="$(( - 2048 - + $(usex cuda 5120 0) - + $(usex doc 3072 0) - + $(usex examples 2048 0) - + $(usex test 8192 0) - ))" - - local -x CHECKREQS_DISK_BUILD=${dsk}M - - # In case users are not aware of the extra NINJAOPTS, check - # for the more common MAKEOPTS, in case NINJAOPTS is empty - local jobs=1 - if [[ -n "${NINJAOPTS}" ]]; then - jobs=$(makeopts_jobs "${NINJAOPTS}" "$(get_nproc)") - elif [[ -n "${MAKEOPTS}" ]]; then - jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") - fi - - if use cuda; then - local mem="$(( - $(usex cuda $(( 7 * 1024 )) 0) * $(( jobs > 4 ? 4 : jobs )) - ))" - local CHECKREQS_MEMORY=${mem}M - fi - - "check-reqs_pkg_${EBUILD_PHASE}" -} - -cuda_get_host_compiler() { - if [[ -n "${NVCC_CCBIN}" ]]; then - echo "${NVCC_CCBIN}" - return - fi - - if [[ -n "${CUDAHOSTCXX}" ]]; then - echo "${CUDAHOSTCXX}" - return - fi - - einfo "Trying to find working CUDA host compiler" - - if ! tc-is-gcc && ! tc-is-clang; then - die "$(tc-get-compiler-type) compiler is not supported" - fi - - local compiler compiler_type compiler_version - local package package_version - local NVCC_CCBIN_default - - compiler_type="$(tc-get-compiler-type)" - compiler_version="$("${compiler_type}-major-version")" - - # try the default compiler first - NVCC_CCBIN="$(tc-getCXX)" - NVCC_CCBIN_default="${NVCC_CCBIN}-${compiler_version}" - - compiler="${NVCC_CCBIN/%-${compiler_version}}" - - # store the package so we can re-use it later - package="sys-devel/${compiler_type}" - package_version="${package}" - - ebegin "testing ${NVCC_CCBIN_default} (default)" - - while ! nvcc -v -ccbin "${NVCC_CCBIN}" - -x cu <<<"int main(){}" &>> "${T}/cuda_get_host_compiler.log" ; do - eend 1 - - while true; do - # prepare next version - if ! package_version="<$(best_version "${package_version}")"; then - die "could not find a supported version of ${compiler}" - fi - - NVCC_CCBIN="${compiler}-$(ver_cut 1 "${package_version/#<${package}-/}")" - - [[ "${NVCC_CCBIN}" != "${NVCC_CCBIN_default}" ]] && break - done - ebegin "testing ${NVCC_CCBIN}" - done - eend $? - - # clean temp file - rm -f a.out - - echo "${NVCC_CCBIN}" - export NVCC_CCBIN -} - -cuda_get_host_native_arch() { - [[ -n ${CUDAARCHS} ]] && echo "${CUDAARCHS}" - - __nvcc_device_query || die "failed to query the native device" -} - -vtk_add_sandbox() { - local WRITE=() - - # mesa via virtx will make use of udmabuf if it exists - [[ -c "/dev/udmabuf" ]] && WRITE+=( "/dev/udmabuf" ) - - readarray -t dris <<<"$( - find /sys/class/drm/*/device/drm \ - -mindepth 1 -maxdepth 1 -type d -exec basename {} \; \ - | sort | uniq | sed 's:^:/dev/dri/:' - )" - - [[ -n "${dris[*]}" ]] && WRITE+=( "${dris[@]}" ) - - if [[ -d /sys/module/nvidia ]]; then - # /dev/nvidia{0-9} - readarray -t nvidia_devs <<<"$( - find /dev -regextype posix-extended -regex '/dev/nvidia(|-(nvswitch|vgpu))[0-9]*' - )" - - [[ -n "${nvidia_devs[*]}" ]] && WRITE+=( "${nvidia_devs[@]}" ) - - WRITE+=( - "/dev/nvidiactl" - "/dev/nvidia-modeset" - - "/dev/nvidia-vgpuctl" - - "/dev/nvidia-nvlink" - "/dev/nvidia-nvswitchctl" - - "/dev/nvidia-uvm" - "/dev/nvidia-uvm-tools" - - # "/dev/nvidia-caps/nvidia-cap%d" - "/dev/nvidia-caps/" - # "/dev/nvidia-caps-imex-channels/channel%d" - "/dev/nvidia-caps-imex-channels/" - ) - fi - - # for portage - WRITE+=( "/proc/self/task/" ) - - local dev - for dev in "${WRITE[@]}"; do - if [[ ! -e "${dev}" ]]; then - eqawarn "${dev} does not exist" - # continue - fi - - if [[ -w "${dev}" ]]; then - eqawarn "${dev} is already writable" - # continue - fi - - eqawarn "addwrite ${dev}" - addwrite "${dev}" - - if [[ ! -d "${dev}" ]] && [[ ! -w "${dev}" ]]; then - eerror "can not access ${dev} after addwrite" - fi - done -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && has openmp && tc-check-openmp - - vtk_check_reqs - - # When building binpkgs you probably want to include all targets - if use cuda && [[ ${MERGE_TYPE} == "buildonly" ]] && [[ -n "${CUDAARCHS}" ]]; then - local info_message="When building a binary package it's recommended to unset CUDAARCHS" - einfo "$info_message so all available architectures are build." - fi -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && has openmp && tc-check-openmp - - vtk_check_reqs - - if use cuda && [[ ! -e /dev/nvidia-uvm ]]; then - # NOTE We try to load nvidia-uvm and nvidia-modeset here, - # so __nvcc_device_query does not fail later. - - nvidia-smi -L || true - fi - - use java && java-pkg-opt-2_pkg_setup - use python && python-single-r1_pkg_setup - use web && webapp_pkg_setup -} - -# Note: The following libraries are marked as internal by kitware -# and can currently not unbundled: -# diy2, exodusII, fides, h5part, kissfft, loguru, verdict, vpic, -# viskores, xdmf{2,3}, zfp -# TODO: exprtk, ioss -# Note: As of v9.2.2 we no longer drop bundled libraries, when using system -# libraries. This just saves a little space. CMake logic of VTK on ThirdParty -# libraries avoids automagic builds, so deletion is not needed to catch these. -src_prepare() { - if use doc; then - einfo "Removing .md5 files from documents." - rm -f "${WORKDIR}"/html/*.md5 || die "Failed to remove superfluous hashes" - sed -e "s|\${VTK_BINARY_DIR}/Utilities/Doxygen/doc|${WORKDIR}|" \ - -i Utilities/Doxygen/CMakeLists.txt || die - fi - - cmake_src_prepare - - # 14 GiB is the highest single process ram usage seen - # 932464 - sed \ - -e "/EXPR viskores_pool_size/s/3072/$(( 14 * 1024 ))/g" \ - -i ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresWrappers.cmake || die - - if use test; then - ebegin "Copying data files to ${BUILD_DIR}" - mkdir -p "${BUILD_DIR}/ExternalData" || die - pushd "${BUILD_DIR}/ExternalData" >/dev/null || die - ln -sf "../../${S}/.ExternalData/README.rst" . || die - ln -sf "../../${S}/.ExternalData/SHA512" . || die - popd >/dev/null || die - eend "$?" - fi -} - -# TODO: check these and consider to use them -# VTK_BUILD_SCALED_SOA_ARRAYS -# VTK_DISPATCH_{AOS,SOA,TYPED}_ARRAYS -src_configure() { - local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_Git="yes" - -DVTK_GIT_DESCRIBE="v${PV}" - -DVTK_VERSION_FULL="${PV}" - -DGIT_EXECUTABLE="${T}/notgit" - - -DCMAKE_POLICY_DEFAULT_CMP0167="OLD" - -DCMAKE_POLICY_DEFAULT_CMP0174="OLD" - -DCMAKE_POLICY_DEFAULT_CMP0177="OLD" - - -DCMAKE_INSTALL_LICENSEDIR="share/${PN}/licenses" - # c++17 since 9.5.0 - -DVTK_IGNORE_CMAKE_CXX17_CHECKS="no" - - # -DCMAKE_UNITY_BUILD=ON - # -DCMAKE_UNITY_BUILD_BATCH_SIZE=16 - - -DVTK_ANDROID_BUILD=OFF - -DVTK_IOS_BUILD=OFF - - -DVTK_BUILD_ALL_MODULES="$(usex all-modules)" - # we use the pre-built documentation and install these with USE=doc - -DVTK_BUILD_DOCUMENTATION=OFF - -DVTK_BUILD_EXAMPLES="$(usex examples)" - - # no package in the tree: https://github.com/LLNL/conduit - -DVTK_ENABLE_CATALYST=OFF - -DVTK_ENABLE_KITS=OFF - -DVTK_ENABLE_LOGGING="$(usex logging)" - # defaults to ON: USE flag for this? - -DVTK_ENABLE_REMOTE_MODULES=OFF - - # disable fetching files during build - -DVTK_FORBID_DOWNLOADS="yes" - - -DVTK_GROUP_ENABLE_Imaging="$(usex imaging "YES" "NO")" - -DVTK_GROUP_ENABLE_MPI="$(usex mpi "YES" "NO")" - -DVTK_GROUP_ENABLE_Qt="$(usex qt6 "YES" "NO")" - -DVTK_GROUP_ENABLE_Rendering="$(usex rendering "YES" "NO")" - -DVTK_GROUP_ENABLE_StandAlone="$(usex minimal "NO" "YES")" - -DVTK_GROUP_ENABLE_Views="$(usex views "YES" "NO")" - -DVTK_GROUP_ENABLE_Web="$(usex web "YES" "NO")" - - -DVTK_INSTALL_SDK=ON - - -DVTK_MODULE_ENABLE_VTK_IOCGNSReader="$(usex cgns "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOExportPDF="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_IOLAS="NO" # las is dead - -DVTK_MODULE_ENABLE_VTK_IONetCDF="$(usex netcdf "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOOCCT="$(usex opencascade "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOOggTheora="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_IOOpenVDB="$(usex openvdb "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOSQL="YES" # sqlite - -DVTK_MODULE_ENABLE_VTK_IOPDAL="$(usex pdal "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOXML="YES" - -DVTK_MODULE_ENABLE_VTK_IOXMLParser="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingFreeType="$(usex truetype "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig="$(usex truetype "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_cgns="$(usex cgns "YES" "NO")" - # -DVTK_MODULE_ENABLE_VTK_cli11 - # -DVTK_MODULE_ENABLE_VTK_dy2 - -DVTK_MODULE_ENABLE_VTK_doubleconversion="YES" - -DVTK_MODULE_ENABLE_VTK_eigen="YES" - # -DVTK_MODULE_ENABLE_VTK_exodusII - -DVTK_MODULE_ENABLE_VTK_expat="YES" - # -DVTK_MODULE_ENABLE_VTK_exprtk - # -DVTK_MODULE_ENABLE_VTK_fast_float - # -DVTK_MODULE_ENABLE_VTK_fides - -DVTK_MODULE_ENABLE_VTK_fmt="YES" - -DVTK_MODULE_ENABLE_VTK_freetype="$(usex truetype "YES" "NO")" - # -DVTK_MODULE_ENABLE_VTK_glad - # -DVTK_MODULE_ENABLE_VTK_h5part - -DVTK_MODULE_ENABLE_VTK_hdf5="YES" - # -DVTK_MODULE_ENABLE_VTK_ioss - -DVTK_MODULE_ENABLE_VTK_jpeg="YES" - -DVTK_MODULE_ENABLE_VTK_jsoncpp="YES" - # -DVTK_MODULE_ENABLE_VTK_kissfft - # -DVTK_MODULE_ENABLE_VTK_kwiml - -DVTK_MODULE_ENABLE_VTK_libharu="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_libproj="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_libxml2="YES" - # -DVTK_MODULE_ENABLE_VTK_loguru - -DVTK_MODULE_ENABLE_VTK_lz4="YES" - -DVTK_MODULE_ENABLE_VTK_lzma="YES" - # -DVTK_MODULE_ENABLE_VTK_metaio - -DVTK_MODULE_ENABLE_VTK_netcdf="$(usex netcdf "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_nlohmannjson="YES" - # -DVTK_MODULE_ENABLE_VTK_octree - -DVTK_MODULE_ENABLE_VTK_ogg="YES" - -DVTK_MODULE_ENABLE_VTK_pegtl="YES" - -DVTK_MODULE_ENABLE_VTK_png="YES" - -DVTK_MODULE_ENABLE_VTK_pugixml="YES" - -DVTK_MODULE_ENABLE_VTK_scn="$(usex test "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_sqlite="YES" - -DVTK_MODULE_ENABLE_VTK_theora="$(usex minimal "NO" "YES")" - -DVTK_MODULE_ENABLE_VTK_tiff="YES" - # -DVTK_MODULE_ENABLE_VTK_token - -DVTK_MODULE_ENABLE_VTK_utf8="YES" - # -DVTK_MODULE_ENABLE_VTK_verdict - # -DVTK_MODULE_ENABLE_VTK_vpic - # -DVTK_MODULE_ENABLE_VTK_vtksys - -DVTK_MODULE_ENABLE_VTK_vtkviskores="$(usex vtkm "YES" "NO")" - # -DVTK_MODULE_ENABLE_VTK_xdmf2 - # -DVTK_MODULE_ENABLE_VTK_xdmf3 - -DVTK_MODULE_ENABLE_VTK_zlib="YES" - - # not packaged in Gentoo - -DVTK_MODULE_USE_EXTERNAL_VTK_fast_float=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_token=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_vtkviskores=OFF - - -DVTK_RELOCATABLE_INSTALL=ON - -DVTK_UNIFIED_INSTALL_TREE=ON - - -DVTK_SMP_ENABLE_OPENMP="$(usex openmp)" - -DVTK_SMP_ENABLE_STDTHREAD="$(usex threads)" - -DVTK_SMP_ENABLE_TBB="$(usex tbb)" - - -DVTK_USE_CUDA="$(usex cuda)" - -DVTK_USE_KOKKOS="no" # "$(usex hip)" # requires kokkos - # use system libraries where possible - -DVTK_USE_EXTERNAL=ON - # avoid finding package from either ::guru or ::sci - -DVTK_USE_MEMKIND=OFF - -DVTK_USE_MPI="$(usex mpi)" - -DVTK_USE_TK="$(usex tk)" - -DVTK_USE_X=ON - - -DVTK_WHEEL_BUILD=OFF - - -DVTK_WRAP_JAVA="$(usex java)" - -DVTK_WRAP_PYTHON="$(usex python)" - ) - - if use all-modules; then - mycmakeargs+=( - # no package in ::gentoo - -DVTK_ENABLE_OSPRAY=OFF - # TODO: some of these are tied to the VTK_ENABLE_REMOTE_MODULES - # option. Check whether we can download them clean and enable - # them. - -DVTK_MODULE_ENABLE_VTK_DomainsMicroscopy="NO" - -DVTK_MODULE_ENABLE_VTK_fides="NO" - -DVTK_MODULE_ENABLE_VTK_FiltersOpenTURNS="NO" - -DVTK_MODULE_ENABLE_VTK_IOADIOS2="NO" - -DVTK_MODULE_ENABLE_VTK_IOFides="NO" - - -DVTK_MODULE_ENABLE_VTK_RenderingOpenVR="NO" - -DVTK_MODULE_ENABLE_VTK_RenderingOpenXR="NO" - - -DVTK_MODULE_USE_EXTERNAL_VTK_cli11="YES" - ) - fi - - if use boost; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_InfovisBoost="YES" - -DVTK_MODULE_ENABLE_VTK_InfovisBoostGraphAlgorithms="YES" - ) - fi - - if use cuda; then - cuda_add_sandbox -w - addwrite "/proc/self/task" - addpredict "/dev/char/" - - if ! test -w /dev/nvidiactl; then - # eqawarn "Can't access the GPU at /dev/nvidiactl." - # eqawarn "User $(id -nu) is not in the group \"video\"." - if [[ -z "${CUDAARCHS}" ]]; then - # build all targets - mycmakeargs+=( - -DCMAKE_CUDA_ARCHITECTURES="all" - ) - fi - else - local -x CUDAARCHS - : "${CUDAARCHS:="$(cuda_get_host_native_arch)"}" - fi - - # set NVCC_CCBIN - local -x CUDAHOSTCXX CUDAHOSTLD - CUDAHOSTCXX="$(cuda_get_host_compiler)" - CUDAHOSTLD="$(tc-getCXX)" - export NVCC_CCBIN="${CUDAHOSTCXX}" - - if tc-is-gcc; then - # Filter out IMPLICIT_LINK_DIRECTORIES picked up by CMAKE_DETERMINE_COMPILER_ABI(CUDA) - # See /usr/share/cmake/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst - CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES_EXCLUDE=$( - "${CUDAHOSTLD}" -E -v - <<<"int main(){}" |& \ - grep LIBRARY_PATH | cut -d '=' -f 2 | cut -d ':' -f 1 - ) - fi - fi - - if use debug; then - mycmakeargs+=( - -DVTK_DEBUG_LEAKS=ON - -DVTK_DEBUG_MODULE=ON - -DVTK_DEBUG_MODULE_ALL=ON - -DVTK_ENABLE_SANITIZER=ON - -DVTK_EXTRA_COMPILER_WARNINGS=ON - -DVTK_WARN_ON_DISPATCH_FAILURE=ON - ) - if use rendering; then - mycmakeargs+=( -DVTK_OPENGL_ENABLE_STREAM_ANNOTATIONS=ON ) - fi - fi - - if use examples || use test; then - mycmakeargs+=( -DVTK_USE_LARGE_DATA=ON ) - fi - - if use ffmpeg; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOFFMPEG="YES" ) - if use rendering; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingFFMPEGOpenGL2="YES" ) - fi - fi - - if use gdal; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_GeovisGDAL="YES" - -DVTK_MODULE_ENABLE_VTK_IOGDAL="YES" - -DVTK_MODULE_ENABLE_VTK_IOGeoJSON="YES" - ) - fi - - if use imaging; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_ImagingColor="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingCore="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingFourier="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingGeneral="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingHybrid="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingMath="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingMorphological="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingSources="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingStatistics="YES" - -DVTK_MODULE_ENABLE_VTK_ImagingStencil="YES" - ) - use rendering && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingImage="YES" ) - fi - - if ! use java && ! use python; then - # defaults to ON - mycmakeargs+=( -DVTK_ENABLE_WRAPPING=OFF ) - fi - - if use java; then - mycmakeargs+=( - -DCMAKE_INSTALL_JARDIR="share/${PN}" - -DVTK_ENABLE_WRAPPING=ON - -DVTK_MODULE_ENABLE_VTK_Java="YES" - -DVTK_JAVA_RELEASE_VERSION="$(java-config -g PROVIDES_VERSION)" - ) - fi - - if use minimal; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_CommonComputationalGeometry="YES" - -DVTK_MODULE_ENABLE_VTK_CommonExecutionModel="YES" - -DVTK_MODULE_ENABLE_VTK_CommonMath="YES" - -DVTK_MODULE_ENABLE_VTK_CommonMisc="YES" - -DVTK_MODULE_ENABLE_VTK_CommonSystem="YES" - -DVTK_MODULE_ENABLE_VTK_CommonTransforms="YES" - - -DVTK_MODULE_ENABLE_VTK_FiltersCellGrid="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersCore="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersExtraction="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersGeneral="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersGeneric="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersGeometry="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersHybrid="NO" - -DVTK_MODULE_ENABLE_VTK_FiltersHyperTree="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersReduction="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersSources="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersStatistics="YES" - -DVTK_MODULE_ENABLE_VTK_FiltersVerdict="YES" - - -DVTK_MODULE_ENABLE_VTK_IOCellGrid="YES" - -DVTK_MODULE_ENABLE_VTK_IOCore="YES" - -DVTK_MODULE_ENABLE_VTK_IOGeometry="NO" - -DVTK_MODULE_ENABLE_VTK_IOLegacy="YES" - - -DVTK_MODULE_ENABLE_VTK_ParallelCore="YES" - -DVTK_MODULE_ENABLE_VTK_ParallelDIY="YES" - ) - fi - - if use mpi; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_IOH5part="YES" - -DVTK_MODULE_ENABLE_VTK_IOMPIParallel="YES" - -DVTK_MODULE_ENABLE_VTK_IOParallel="YES" - -DVTK_MODULE_ENABLE_VTK_IOParallelNetCDF="$(usex netcdf "YES" "NO")" - -DVTK_MODULE_ENABLE_VTK_IOParallelXML="YES" - -DVTK_MODULE_ENABLE_VTK_ParallelMPI="YES" - -DVTK_MODULE_ENABLE_VTK_h5part="YES" - -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF - ) - use imaging && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOMPIImage="YES" ) - use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ParallelMPI4Py="YES" ) - if use rendering; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_RenderingParallel="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingParallelLIC="YES" - ) - fi - use vtkm && mycmakeargs+=( -DVTKm_ENABLE_MPI=ON ) - fi - - use mysql && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOMySQL="YES" ) - use odbc && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOODBC="YES" ) - use openvdb && mycmakeargs+=( -DOpenVDB_CMAKE_PATH="${ESYSROOT}/usr/$(get_libdir)/cmake/OpenVDB" ) - use postgres && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOPostgreSQL="YES" ) - - if use python; then - mycmakeargs+=( - -DPython3_EXECUTABLE="${PYTHON}" - -DVTK_ENABLE_WRAPPING=ON - -DVTK_MODULE_ENABLE_VTK_Python="YES" - -DVTK_MODULE_ENABLE_VTK_PythonInterpreter="YES" - -DVTK_MODULE_ENABLE_VTK_WrappingPythonCore="YES" - -DVTK_PYTHON_OPTIONAL_LINK="OFF" - -DVTK_PYTHON_SITE_PACKAGES_SUFFIX="lib/${EPYTHON}/site-packages" - ) - use rendering && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_PythonContext2D="YES" ) - fi - - if use qt6; then - mycmakeargs+=( - -DCMAKE_INSTALL_QMLDIR="${EPFREIX}/usr/$(get_libdir)/qt6/qml" - -DVTK_QT_VERSION="6" - -DVTK_MODULE_ENABLE_VTK_GUISupportQt="YES" - -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick="YES" - ) - - if has_version "dev-qt/qtbase:6[gles2-only]" || use gles2-only; then - mycmakeargs+=( - # Force using EGL & GLES - -DVTK_OPENGL_HAS_EGL=ON - -DVTK_OPENGL_USE_GLES=ON - ) - fi - if use mysql || use postgres; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL="YES" ) - fi - if use rendering; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingQt="YES" ) - fi - if use views; then - mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ViewsQt="YES" ) - fi - fi - - if use rendering; then - mycmakeargs+=( - -DVTK_ENABLE_OSPRAY=OFF - - -DVTK_MODULE_ENABLE_VTK_IOExportGL2PS="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingAnari="NO" # no package in ::gentoo - -DVTK_MODULE_ENABLE_VTK_RenderingAnnotation="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingContext2D="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingCore="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingExternal="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingHyperTreeGrid="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingLOD="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingLabel="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingRayTracing="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingSceneGraph="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingUI="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingVolume="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR="YES" - -DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2="YES" - -DVTK_MODULE_ENABLE_VTK_gl2ps="YES" - ) - use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib="YES" ) - use tk && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingTk="YES" ) - use views && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ViewsContext2D="YES" ) - use web && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingVtkJS="YES" ) - fi - - # Testing has been changed in 9.2.5: it is now allowed without - # requiring to download, if the data files are available locally! - if use test; then - mycmakeargs+=( - -DVTK_BUILD_TESTING=ON - # disable fetching data files for the default 'all' target - -DVTK_DATA_EXCLUDE_FROM_ALL=OFF - - # requested even if all use flags are off - -DVTK_MODULE_ENABLE_VTK_octree="YES" - -DVTK_MODULE_ENABLE_VTK_ViewsCore="YES" - - -DVTK_MODULE_USE_EXTERNAL_VTK_cli11="YES" - # not packaged in Gentoo - -DVTK_MODULE_USE_EXTERNAL_VTK_scn=OFF - ) - else - mycmakeargs+=( -DVTK_BUILD_TESTING=OFF ) - fi - - # FIXME: upstream provides 4 threading models, as of 9.1.0. These are - # sequential, stdthread, openmp and tbb. AFAICS all of them can be - # enabled at the same time. Sequential and STDThread are enabled by - # default. The default selected type for the build is sequential. - # Assuming sequential < STDThread < openmp < tbb wrt speed, although - # this is dependent on the actual scenario where threading is used. - if use tbb; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="TBB" ) - elif use openmp; then # FIXME doesn't work with clang - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="OpenMP" ) - elif use threads; then - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="STDThread" ) - else - mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Sequential" ) - fi - - if use tk; then - mycmakeargs+=( - -DVTK_GROUP_ENABLE_Tk="YES" - ) - fi - - if use views; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_ViewsCore="YES" - -DVTK_MODULE_ENABLE_VTK_ViewsInfovis="YES" - ) - fi - - if use vtkm; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore="YES" - -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel="YES" - -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters="YES" - -DViskores_ENABLE_CPACK="no" # "Enable CPack packaging of Viskores" ON - -DViskores_ENABLE_CUDA="$(usex cuda)" # "Enable Cuda support" OFF - -DViskores_ENABLE_DOCUMENTATION="$(usex doc)" # "Build Doxygen documentation" OFF - -DViskores_ENABLE_EXAMPLES="$(usex examples)" # "Build examples" OFF - -DViskores_ENABLE_HDF5_IO="yes" # "Enable HDF5 support" OFF - -DViskores_HDF5_IS_PARALLEL="$(usex mpi)" - -DViskores_ENABLE_LOGGING="$(usex logging)" # "Enable Viskores Logging" ON - -DViskores_ENABLE_MPI="$(usex mpi)" # "Enable MPI support" OFF - -DViskores_ENABLE_OPENMP="$(usex openmp)" # "Enable OpenMP support" OFF - -DViskores_ENABLE_RENDERING="$(usex rendering)" # "Enable rendering library" ON - -DViskores_ENABLE_TBB="$(usex tbb)" # "Enable TBB support" OFF - -DViskores_ENABLE_TESTING="$(usex test)" # "Enable Viskores Testing" ON - -DViskores_ENABLE_TUTORIALS="no" # "Build tutorials" OFF - -DViskores_NO_ASSERT_CUDA="yes" # "Disable assertions for CUDA devices." ON - -DViskores_NO_ASSERT_HIP="yes" # "Disable assertions for HIP devices." ON - -DViskores_NO_ASSERT="no" # "Disable assertions in debugging builds." OFF - -DViskores_NO_INSTALL_README_LICENSE="ON" # bug #793221 # "disable the installation of README and LICENSE files" OFF - -DViskores_SKIP_LIBRARY_VERSIONS="no" # "Skip versioning VTK-m libraries" OFF - -DViskores_Vectorization="none" # only sets compiler flags - ) - fi - - if use web; then - mycmakeargs+=( - -DVTK_MODULE_ENABLE_VTK_WebCore="YES" - -DVTK_MODULE_ENABLE_VTK_WebGLExporter="YES" - ) - use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_WebPython="YES" ) - fi - - cmake_src_configure -} - -src_compile() { - use test && cmake_build VTKData - cmake_src_compile -} - -src_test() { - vtk_add_sandbox - - addwrite /dev/fuse - - # The build system prepends /usr/$(get_libdir) to the RUNPATH instead of appending. - # Set LD_LIBRARY_PATH to use the just build libraries. - local -x LD_LIBRARY_PATH="${BUILD_DIR}/$(get_libdir)${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" - - # export VTK_SMP_BACKEND_IN_USE="STDThread" - - local -a CMAKE_SKIP_TESTS - - if [[ "${CMAKE_RUN_OPTIONAL_TESTS:=no}" != "yes" ]]; then - local -a REALLY_BAD_TESTS BAD_TESTS RANDOM_FAIL_TESTS - - # don't work at all - REALLY_BAD_TESTS=( - # (Failed) - "VTK::ChartsCoreCxx-TestLinePlot3D$" - "VTK::CommonDataModelCxx-TestHyperTreeGridGeometricLocator$" - "VTK::FiltersCoreCxx-TestImplicitPolyDataDistanceCube$" - "VTK::FiltersCoreCxx-TestQuadricDecimationMaximumError$" # test alone - "VTK::FiltersCorePython-TestSphereTreeFilter$" - "VTK::FiltersFlowPathsCxx-TestEvenlySpacedStreamlines2D$" - "VTK::FiltersFlowPathsCxx-TestParticleTracers$" - "VTK::FiltersGeneralCxx-TestContourTriangulatorHoles$" - "VTK::IOExportGL2PSCxx-TestGL2PSBillboardTextActor3D" - "VTK::IOExportGL2PSCxx-TestGL2PSExporterRaster" - "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster" - "VTK::IOExportGL2PSCxx-TestGL2PSLabeledDataMapper" - "VTK::IOExportGL2PSCxx-TestGL2PSTextActor" - "VTK::IOExportGL2PSCxx-TestGL2PSTextMapper" - "VTK::InteractionWidgetsCxx-TestFinitePlaneWidget$" # test alone - "VTK::InteractionWidgetsPython-TestTensorWidget2$" # fails under xvfb - "VTK::RenderingCorePython-pickImageData$" - "VTK::RenderingExternalCxx-TestGLUTRenderWindow$" - "VTK::RenderingFreeTypeFontConfigCxx-TestSystemFontRendering$" - "VTK::RenderingOpenGL2Cxx-TestGlyph3DMapperPickability$" - # (Subprocess aborted) - # File missing? ExternalData/Testing/Data/MotionFX/position_file/Sprocket_New.prn - "VTK::IOMotionFXCxx-TestMotionFXCFGReaderPositionFile$" - "VTK::RenderingOpenGL2Cxx-TestFluidMapper$" - ) - - # don't work in src_test but when on their own - BAD_TESTS=( - ) - - if use vtkm && use cuda; then - REALLY_BAD_TESTS+=( - # vtkm + cuda - # (Subprocess aborted) - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMAbort$" # - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMClip$" # - "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMClipWithImplicitFunction$" # - "VTK::AcceleratorsVTKmFiltersPython-TestVTKMSlice$" # - ) - fi - - RANDOM_FAIL_TESTS=( - # (Failed) - "VTK::FiltersVerdictCxx-TestCellQuality$" - "VTK::FiltersCellGridCxx-TestCellGridEvaluator$" - ) - - CMAKE_SKIP_TESTS+=( - "${REALLY_BAD_TESTS[@]}" - "${BAD_TESTS[@]}" - "${RANDOM_FAIL_TESTS[@]}" - ) - fi - - CMAKE_SKIP_TESTS+=( - # requires VTK_USE_MICROSOFT_MEDIA_FOUNDATION - "^VTK::IOMovieCxx-Test" # Skipped - ) - - # see VTK_SMP_IMPLEMENTATION_TYPE - if use tbb; then - local -x VTK_SMP_BACKEND_IN_USE="TBB" - # # FIXME Times out under openmp - # elif use openmp; then - # local -x VTK_SMP_BACKEND_IN_USE="OpenMP" - elif use threads; then - local -x VTK_SMP_BACKEND_IN_USE="STDThread" - else - local -x VTK_SMP_BACKEND_IN_USE="Sequential" - fi - - if use openmp; then - CMAKE_SKIP_TESTS+=( - "^VTK::CommonCoreCxx-TestSMP$" - ) - fi - - # TODO Why? - local -x CC="$(tc-getCC)" - local -x CXX="$(tc-getCXX)" - - virtx cmake_src_test -j1 -} - -src_install() { - use web && webapp_src_preinst - - # Stop web page images from being compressed - if use doc; then - HTML_DOCS=( "${WORKDIR}/html/." ) - fi - - cmake_src_install - - use java && java-pkg_regjar "${ED}/usr/share/${PN}/${PN}.jar" - - # install examples - if use examples; then - einfo "Installing examples" - mv -v {E,e}xamples || die - dodoc -r examples - docompress -x "/usr/share/doc/${PF}/examples" - - einfo "Installing datafiles" - insinto "/usr/share/${PN}/data" - doins -r "${S}/.ExternalData" - fi - - use python && python_optimize - - use web && webapp_src_install -} - -# webapp.eclass exports these but we want it optional #534036 -pkg_postinst() { - use web && webapp_pkg_postinst - - if use examples; then - einfo "You can get more and updated examples at" - einfo "https://kitware.github.io/vtk-examples/site/" - fi -} - -pkg_prerm() { - use web && webapp_pkg_prerm -} diff --git a/sci-libs/xylib/Manifest b/sci-libs/xylib/Manifest deleted file mode 100644 index 155161a52da3..000000000000 --- a/sci-libs/xylib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xylib-1.6.tar.bz2 370765 BLAKE2B 76eb968f06a6a015ed7a29a493d888642767cda103733498b8706c973498aa4ac8576716b06f6eae8d95a1f625e9cd91ab02cfd53146d976e32fc9295f3c502f SHA512 9861cbf03f8b921a93a2d32a529ff94d77723e2510cd61096b4b85f91af4be6330ed82e8da94bc45dbca7f9814077360d1dae204315b28c2b6d85e3d2c7f6696 diff --git a/sci-libs/xylib/metadata.xml b/sci-libs/xylib/metadata.xml deleted file mode 100644 index f99666ec7813..000000000000 --- a/sci-libs/xylib/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - xylib is a portable C++ library for reading files that contain x-y - data from powder diffraction, spectroscopy or other experimental - methods. It supports many formats. - </longdescription> - <upstream> - <remote-id type="sourceforge">xylib</remote-id> - <remote-id type="github">wojdyr/xylib</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/xylib/xylib-1.6-r2.ebuild b/sci-libs/xylib/xylib-1.6-r2.ebuild deleted file mode 100644 index b6f533ef162a..000000000000 --- a/sci-libs/xylib/xylib-1.6-r2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -WX_GTK_VER=3.2-gtk3 - -inherit desktop wxwidgets - -DESCRIPTION="Experimental x-y data reading library" -HOMEPAGE="https://github.com/wojdyr/xylib" -SRC_URI="https://github.com/wojdyr/xylib/releases/download/v${PV}/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="bzip2 gui zlib" - -RDEPEND=" - bzip2? ( app-arch/bzip2 ) - gui? ( x11-libs/wxGTK:${WX_GTK_VER}= ) - zlib? ( virtual/zlib:= ) -" -DEPEND="${RDEPEND} - dev-libs/boost -" - -src_configure() { - use gui && setup-wxwidgets - - econf \ - --disable-static \ - $(use_with bzip2 bzlib) \ - $(use_with gui) \ - $(use_with zlib) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - - newicon gui/xyconvert48.xpm xyconvert.xpm - make_desktop_entry xyconvert xyConvert xyconvert.xpm -} |
