From 2982504d287f7f91eade76902f11e691f8181071 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Sep 2022 16:16:41 +0100 Subject: gentoo auto-resync : 02:09:2022 - 16:16:41 --- sci-libs/Manifest.gz | Bin 44379 -> 44387 bytes sci-libs/fflas-ffpack/Manifest | 2 + sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild | 75 +++++++++++++++++++++ .../files/fflas-ffpack-2.4.3-fix-pc-libdir.patch | 21 ++++++ sci-libs/givaro/Manifest | 2 + .../givaro/files/givaro-4.1.1-fix-pc-libdir.patch | 21 ++++++ sci-libs/givaro/givaro-4.1.1-r3.ebuild | 59 ++++++++++++++++ 7 files changed, 180 insertions(+) create mode 100644 sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild create mode 100644 sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-pc-libdir.patch create mode 100644 sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch create mode 100644 sci-libs/givaro/givaro-4.1.1-r3.ebuild (limited to 'sci-libs') diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz index 3d73c563ddf8..728c7404b355 100644 Binary files a/sci-libs/Manifest.gz and b/sci-libs/Manifest.gz differ diff --git a/sci-libs/fflas-ffpack/Manifest b/sci-libs/fflas-ffpack/Manifest index ea87aea9753f..5fd7e3824d01 100644 --- a/sci-libs/fflas-ffpack/Manifest +++ b/sci-libs/fflas-ffpack/Manifest @@ -1,8 +1,10 @@ AUX fflas-ffpack-2.3.2-blaslapack.patch 1981 BLAKE2B 9813b99bb5c616608500189e2f54392b5240cfa75bb0ebb946ec74ed8491a8c51e205aa22a34b2fde961b3a817f06124dc6fd6d2737c2e557203b323e371bdfb SHA512 7c8d7380f1d6ee8cce18ef3cdb792066d246263922cccbee739b68e1c2e2e117d4a70108cf29ac0f29ebb286eaafc86215661395eb5016f95f8852917c9831ec AUX fflas-ffpack-2.4.3-fix-internal-linking.patch 2599 BLAKE2B f0bdb27bc8fdc62661c651f6d292774b5c130dadcec39116eceb65e09a771218a83eadb4986285477edb10c7b273629f9bf91cb43449f137f18310c347dae0a3 SHA512 5ab624546d52833fa5797890520771718ee89127149dc208f3e0cd4b1399741724576949b824539bc6612b625ce64a00a903ba3ac003d2c85104a1faf10f1434 +AUX fflas-ffpack-2.4.3-fix-pc-libdir.patch 586 BLAKE2B 030fab1e53b4584816ccd8961357c9d6c47375cb02d56b65cf5b53bfc659a5c2ee36dd2563f5c1a62b0dbcd0dc841d53bba5da0709f589c9dfb5f87f3d3cfd71 SHA512 11607abe8bf71ba50eaba74dc660261c768c5d01cd2f6775c642bc7878a32bb718575b4cbcf8de9de51defdef658ce377193912c35dc3bf045753543882a9087 AUX fflas-ffpack-2.4.3-no-fabi-version.patch 1170 BLAKE2B 90e9c080291251d4a5231c3857385791a5c24c00ee2327192fd1c5dcb1a169ad97fa50d21124f054737dd6a1dd1c5c10377865b5b144b31eed728dedc89ea001 SHA512 8d6b3c9bd6637f1c3bf43ce722e96bd9e48b0e271cec1fb4ae72ab2e99ac7b436626385dd2e39781959248506c19474ac062c8ced2c63db80553150f8e7a0287 AUX fflas-ffpack-2.4.3-no-test-echelon.patch 1374 BLAKE2B f62631e7e4e358584a826fb5ec3e9f36b892b5f0636c965677c55a97901ffefe3ad47dea79c46d65bb3090668e335d4f7cfc04cd12bc2b72f1c3c7db45833108 SHA512 9c9ee6e7df7d04fcc5ffc84cd3a2dae08e960540371671cc79c4eb99606bc1fd150a6e0ad96f16a51904ff83fabe69bdc9bfc6e9603855fe21acea535fc31dc1 AUX fflas-ffpack-2.4.3-no-test-fgesv.patch 1268 BLAKE2B 51c0cf74dac9b296a944e918475807e97a2cf71f066cda9c067b63b344e260b9fbb9ea2851db7ac2170e2b239c0778be0c9a99e0efbbbb9215df921197208784 SHA512 9a57cba58a6bab69092c4d335d92994651bb51d2f4e867d4f0396813e14f492d720232779615299b5203603bb76553ec8a4881ffb9677c349f22c0ef3975df0d DIST fflas-ffpack-2.4.3.tar.gz 1059033 BLAKE2B e416429bb426a81cf9c25d54c83380ff9a9d658c711da06e6359d968843d4d9d26cf8389379f9ad4a5cbcee93e0afc9fe0497bb7a8f190e0c72c0b1f7b67de18 SHA512 c7620ba5a92e4114a581a6bea32267f9d5a9f0eb7e23fc0a7a97ce4b8124bb7b29f89ff2ad6ad270d97c76489625b57a354e581905b74ee57b35f4ca3e196a44 EBUILD fflas-ffpack-2.4.3-r2.ebuild 2245 BLAKE2B deb3c0666641c90eb6789d83023b394423c0fa0f3e1167d787d7ba1d68fbeddad9855c1a2e252374990bf0948b99ada21fc8019e6ada0791e8f9b52120b691de SHA512 e12cb9f870745ccc604f2511a71278db867f6f911ee13c8beb4137515b3e0d22845f98fcc1a94a1cfee8e6703f3937151ac258be41cbc109e46dd5db9c216db6 +EBUILD fflas-ffpack-2.4.3-r3.ebuild 2245 BLAKE2B 5c47c02b52c579123f87d2dd64769a754deeebf2ff0cfacaeb964a6e9a491b522919098e37489021377b34bbe453beb0f44a28b19b6894601d55932edff90838 SHA512 08cfa565b5d1b00429ac4f8c640f07382368e4d91a5cf7207723b62225cb6dfe74fbaf13293f65bcda5b0279f8f8ec08266b24797f24d00620fbbfd90370e06b MISC metadata.xml 1492 BLAKE2B 46a6b13fb1bae6f2aa43a9d7a96c7882d4d7de4b885a4ac92f320f72ce3076ad820c4c5f75c0f2d60334801d2764c20524ea26c1cc6c9975be13e00906708927 SHA512 fc6d90e2945f67a32594f601df69952baec0821d1e529a03c8dc332723848ca531f747efe7c30ea00885c4c4a081cdb81c0ea05085e7ca3acd7db304bb4f468b diff --git a/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild b/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild new file mode 100644 index 000000000000..87c452d6e355 --- /dev/null +++ b/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 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 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="openmp cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_avx512dq cpu_flags_x86_avx512vl" + +# 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.1*" +RDEPEND="${DEPEND}" + +# The no-test-echelon patch works around a test failure that may +# eventually be fixed upstream. Gentoo bug 725446 and upstream +# Github issue 282. Same for test-fgesv (bug 807100). +PATCHES=( + "${FILESDIR}/${PN}-2.3.2-blaslapack.patch" + "${FILESDIR}/${P}-no-test-echelon.patch" + "${FILESDIR}/${P}-no-test-fgesv.patch" + "${FILESDIR}/${P}-fix-internal-linking.patch" + "${FILESDIR}/${P}-no-fabi-version.patch" + "${FILESDIR}/${P}-fix-pc-libdir.patch" +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + tc-export PKG_CONFIG +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --enable-precompilation \ + $(use_enable openmp) \ + $(use_enable cpu_flags_x86_fma3 fma) \ + $(use_enable cpu_flags_x86_fma4 fma4) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_ssse3 ssse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse41) \ + $(use_enable cpu_flags_x86_sse4_2 sse42) \ + $(use_enable cpu_flags_x86_avx avx) \ + $(use_enable cpu_flags_x86_avx2 avx2) \ + $(use_enable cpu_flags_x86_avx512f avx512f) \ + $(use_enable cpu_flags_x86_avx512dq avx512dq) \ + $(use_enable cpu_flags_x86_avx512vl avx512vl) +} + +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 new file mode 100644 index 000000000000..e397758b5fc5 --- /dev/null +++ b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-pc-libdir.patch @@ -0,0 +1,21 @@ +From b1f7cadc105bcf1264da68ab69e0cdc6f8a5aa63 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= +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/givaro/Manifest b/sci-libs/givaro/Manifest index faff0df8d192..10b5cd0ac53a 100644 --- a/sci-libs/givaro/Manifest +++ b/sci-libs/givaro/Manifest @@ -1,4 +1,6 @@ +AUX givaro-4.1.1-fix-pc-libdir.patch 549 BLAKE2B f564256b81f1e2ef42bca171fce581e603887905dcf7fe8c881e59aae82d062767efdb096598f92bca09e9127c98fe023e9c034b5b38ef4ca575da9e877ca334 SHA512 927b1a15c834ba2c1cab37e1fdac1ab1c347cba7aba98be652e2ed4468d2a0627cc7f4820561655d1a223c02f8eaba7cc2911acb9998fc853dc20590fb1c74ef AUX givaro-4.1.1-gcc-10.patch 1035 BLAKE2B 460371ff8e628e1945a29d9c6d2b718c7d98b07b023540bc49a439cd941a19191db44536a1514495014084a85028debfb4e714d6d9efd9ae7c7c12687d5f8400 SHA512 3e154b3cf6c11a106f78778eeaaf0c2cfe81e25d18f623b5b071b306f1221c8513f27f87ab3e3684a8b3f18138dfbb516c33691dbb854072a35a0be21ac0bc48 DIST givaro-4.1.1.tar.gz 1008358 BLAKE2B 246fd1a263174f58d96dd66fa79e6113368b6c318c33d68858a339bd9cb778dfda84636c683ee9d02f2ac72ccff8ac22d395b92741448a8ed2ce08c041ac8ba9 SHA512 7ad15ac24f55ad65c9c5d0d48ff4388d0494e75dc7b66d1e139195cd086ff2371259bdb5df940fead1db2fd378bb76289f2327a8d6f41575d99d424a74cf644c EBUILD givaro-4.1.1-r2.ebuild 1850 BLAKE2B 43eb2f568b4169ca1ad1240ef6410fc56773c7790ccf310219b18bb9cc922e3d08617b19748c3e9d3a6cb1bab09e3ba929896a2b7a1b97f06e5236e2082d772f SHA512 03f79aa8a454c4fe1c62901cd7dfd204f813ab8feea3dd98d41c4a341e78bf374a1a8195c5ae29afae0ad2fc04eb81890c862a96d797a988d5f2a04598e53508 +EBUILD givaro-4.1.1-r3.ebuild 1901 BLAKE2B 8cd518cd36aa7329f21fb2ceb00f1786e93b17a6d050b127d6dcf2e3e7ce763d96b3e12948df8a926feed4a1c473aaf0d10061a3bb46e7ada01daefa096d58dc SHA512 378be5753f88b1eff194a00764eea2458603f14e65b62c7262b85e4bbbd0853ce4d211d07fc49e0f36c918b5646c20a4ecbe29bfdd6acd922c52060626376666 MISC metadata.xml 769 BLAKE2B b407b31de2f554fdf554b2d77c2dd0b1bbf39f36b29fdf565f50362153798c60bcfecf0411247eec556ff6ddc92af0c49e11a9b242b5e3e7b7dcc1066527d08c SHA512 063ccc3fcd55f3d7033fd23efe5095d83784d0e60cca2e1092e534fe06d0e69d5d340a0a25547bddc2962d2906c14a2c996852e2c198124ed007ecdfde4fff2e diff --git a/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch b/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch new file mode 100644 index 000000000000..35a536c04ad8 --- /dev/null +++ b/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch @@ -0,0 +1,21 @@ +From f5cbcebd7fcc2b68d6e1e9f1ba3aa53b9ed17b56 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= +Date: Sun, 7 Aug 2022 13:25:24 +1200 +Subject: [PATCH] Fix givaro.pc.in file for issue #200 + +--- + givaro.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/givaro.pc.in b/givaro.pc.in +index a4805555..9487ef8c 100644 +--- a/givaro.pc.in ++++ b/givaro.pc.in +@@ -1,6 +1,6 @@ + prefix=@prefix@ + exec_prefix=@prefix@ +-libdir=@prefix@/lib ++libdir=@libdir@ + includedir=@prefix@/include + + Name: Givaro diff --git a/sci-libs/givaro/givaro-4.1.1-r3.ebuild b/sci-libs/givaro/givaro-4.1.1-r3.ebuild new file mode 100644 index 000000000000..f1ac1cd50f83 --- /dev/null +++ b/sci-libs/givaro/givaro-4.1.1-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-doc/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 ) + +PATCHES=( + "${FILESDIR}/givaro-4.1.1-gcc-10.patch" + "${FILESDIR}/givaro-4.1.1-fix-pc-libdir.patch" +) + +src_configure() { + # Passing "--disable-doc" also accidentally enables building + # the documentation, so we can't just $(use_enable doc) here. + # https://github.com/linbox-team/givaro/issues/148 + econf \ + $(usex doc --enable-doc "" "" "") \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_fma3 fma) \ + $(use_enable cpu_flags_x86_fma4 fma4) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_ssse3 ssse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse41) \ + $(use_enable cpu_flags_x86_sse4_2 sse42) \ + $(use_enable cpu_flags_x86_avx avx) \ + $(use_enable cpu_flags_x86_avx2 avx2) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3