diff options
Diffstat (limited to 'sci-libs')
79 files changed, 1687 insertions, 245 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 6a45d6450d2b..f88ca29952ab 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/adolc/Manifest b/sci-libs/adolc/Manifest index 77b53be5d459..753eec8caa44 100644 --- a/sci-libs/adolc/Manifest +++ b/sci-libs/adolc/Manifest @@ -3,6 +3,6 @@ AUX adolc-2.5.0-pkgconfig-no-ldflags.patch 364 BLAKE2B a35ab92ca491110c390a4d0f9 AUX adolc-2.6.2-dash.patch 4516 BLAKE2B 8db052472bd3051ed0b8b1a180aac4098862695cefeed0f0f94600d447b2ef5b888ba072613ea101ac1435569eb9d5bcba1aa64b23a0bc7cf01a4ef20d3f760b SHA512 9b904d8c0ab3c286af27b293b5ffe516b9c1da53169702f94a9213496b6626e1a587e8ab8d9d25b983872c1a97620a8d5386d9053ba1a4c973ef5e145f655bc5 AUX adolc-2.7.2-swig-python-configure.patch 15544 BLAKE2B 83a31d310e6ae4245085af960ef8440983defd75fa04fac63c24171640886c17a093f44a868c397db8f4189db61f523aa98b75bcab2238ab4931d6b94290f5c7 SHA512 661c4a939d58b7593dc4fbce5874c4e0e918ea54ca1163ae2984aeef528fe4a2c67128070d4f6fc3e33aab2d1e7b7d5e2ae244cea34111c69c72478e5949755f DIST adolc-2.7.2.tar.gz 2447479 BLAKE2B 0f871ce1dcb50bb14684e45e265cf45807f514dd3ca0dbaaedede2c7117d34cc5a34b0096a34c8ec37023e50aec7fd4be6561819d6297771e7f7fcaa7ba0e507 SHA512 b896650077367fd7388a6c5a40e5d8bb3f19af9e3bc5b067fd1d9a769809b77ccdfb5ef11ef481ab791c0f040401aaed0053cba55d4c2a3383c0d056122280f6 -EBUILD adolc-2.7.2.ebuild 1606 BLAKE2B de92e105f686f16a783c647d96bdefb30c3c6b71fd28397d5a16491f4f564df361d7361719a378ac1716822cba472705fc6b599e8f151f5feab81a92dd6d0221 SHA512 2a2457fc2493b3187d4ab4b1e712ea33e1a7c4a11192abc4c121acd6e6ddc4d943e7e60de95f03d5b2a401d57847b9a538aa1bb56cd20b20ef3d6a2dac126966 +EBUILD adolc-2.7.2.ebuild 1613 BLAKE2B 71c11d6a6f78075579e2d9ef292db161a0a84ba852684cc488702e99c300a3145f2ee6e66ff3960b159db976912a4367255a06ab93819d3ec7d9d986c691e8b1 SHA512 4fb9f21c7266211c6ca18bc2b8bfce56b61605b65d26711ffa8bf1c925bcec7b5d98d919740d47f230fbf536c133e6c5516c2cf6641385c515abf3ce7a5ba817 EBUILD adolc-9999.ebuild 1395 BLAKE2B 3b2710b10396198d359317d216ef5c96d9f5d5d4a4c441feb6fa78f58f4486c279f3535f44c0a4c53d526fd21fb4a4fba74629b17de7e4b71e0bed263b9e9d59 SHA512 73c8e2de97ce8572e2a4d51ee60f9c6413bd373d2156812ac902c964260ec3de34129526dda755acdf6f082ce357b75eb3fa2b0b80b76db5588539e2076a477b MISC metadata.xml 736 BLAKE2B ddc9935966f95c209568fca01f222894812328b0411a75ee3ff369220860c274d52280c39f916dfdf9fd30ee3a67134a1bdab19feba1bf35b0e2695fa4577a97 SHA512 00cb5d1b587dc4220507a52f2e979fbbeed9035e59e1de26781e33b16d6a16474ad4aeae45ea7a1b8de9193fbe0671ffdd19a07431c33e22ff5586c7216b0522 diff --git a/sci-libs/adolc/adolc-2.7.2.ebuild b/sci-libs/adolc/adolc-2.7.2.ebuild index e395d9b86954..0f101d7e1fbb 100644 --- a/sci-libs/adolc/adolc-2.7.2.ebuild +++ b/sci-libs/adolc/adolc-2.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then 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" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/ADOL-C-releases-${PV}" fi diff --git a/sci-libs/alglib/Manifest b/sci-libs/alglib/Manifest index 376739447eff..e0e7ed69338a 100644 --- a/sci-libs/alglib/Manifest +++ b/sci-libs/alglib/Manifest @@ -1,5 +1,4 @@ AUX CMakeLists.txt-3.8.2 1159 BLAKE2B bd12bd65ddc7e60d1e84b04d5c01391420accf099f17801680446856e817bd606315ee54a44b0bd559fe0a9fce35dfab8b9dfa2dd7edc406d57563ea0f77999a SHA512 193661b9f949972048132bc07b4619c2f0d38135d6f0030621cd8aabf87e9e78a6bec18cdb4fb9cb9e547fee9f4387e21ba3a02d45c41033a9c0be9221cf7d3c -AUX alglib-3.10.0-disable-minlm-test.patch 709 BLAKE2B 160bd6a598eb9c822b16da6455bae980cf6bfd77c9889c0d2385b896ec502030741c1f6a929f48a49c73fe35e696cf83b97d72a007e91899bd61d369b195b9e9 SHA512 00d62278a65f30d97dd7df8ac20d17dbc40117c25e2cef64652f2afd0bda7c277f8600ccfa7036da8a4a4173e0f0f433d898b87c04ab6d2d89e2547f8a305ee9 DIST alglib-3.17.0.cpp.gpl.tgz 3065026 BLAKE2B bc939568a6bfb5e2717995e31b9d7cb485885217ff8d15c2bea3185b1ef62536766f80e02d43999c016e24b10181bddd4ad4ff27611ab19ebcc778a5cb15d55e SHA512 0e4b943b03707950813aea707ae3569ce75a22216c9a4b256b646db16609995b3b63a958b0b8fbe3d7d623d5ac03efbe7c4b1589961f2ca9cdefbd7e1cc0c721 EBUILD alglib-3.17.0.ebuild 668 BLAKE2B 1ba7311c6e907b70553362ab8a8147416364c23cb51421142cad4235c6e8789f4b99765c7843e6e4a87e707e1af95624cadf9759880c9200972da08b60bd870e SHA512 c338df5444fbcc6a50cf60dde6e2979372bdd95dd90a765ca11c5f39bffe1983f434058bedddfbe39429b5debb9e050ca22d32c0ac7d10210be9c38cf0473630 MISC metadata.xml 1592 BLAKE2B 96df655b24fc1e27a90f6a31388135e9ec14965eef850c14468797dbb19670ef4695219459b2af337613a92cc25a7eb12a1b07f95a3e1e4b058d9f9c38ded770 SHA512 e16165304d85c3201c428b46bb85006281a2faac170f6b7f2966bc683f57387a0d4b68eddd6ad2d4ed9d26af992f4f9b2616c761f0bf1102c6749a8025478844 diff --git a/sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch b/sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch deleted file mode 100644 index fc2dfae6c012..000000000000 --- a/sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: disable minlm test, because it fails sometimes on some platforms. -Author: Anton Gladky <gladk@debian.org> -Last-Update: 2015-05-29 - -Index: cpp/tests/test_c.cpp -=================================================================== ---- cpp.orig/tests/test_c.cpp -+++ cpp/tests/test_c.cpp -@@ -93354,7 +93354,6 @@ _s_testrecord unittests[] = - {"spline1d",testspline1d,_pexec_testspline1d},
- {"normestimator",testnormestimator,_pexec_testnormestimator},
- {"minqp",testminqp,_pexec_testminqp},
-- {"minlm",testminlm,_pexec_testminlm},
- {"lsfit",testlsfit,_pexec_testlsfit},
- {"parametric",testparametric,_pexec_testparametric},
- {"linlsqr",testlinlsqr,_pexec_testlinlsqr},
diff --git a/sci-libs/amd/Manifest b/sci-libs/amd/Manifest index 534acf76139b..e5d2b6c01d27 100644 --- a/sci-libs/amd/Manifest +++ b/sci-libs/amd/Manifest @@ -1,5 +1,5 @@ AUX amd-2.4.6-dash_doc.patch 488 BLAKE2B ed5872a7b0a2dc90bf69a2c74db9dc9379afd54831c87ce4ba577a3d70f2a5f2cdcda1a8ea2b1932974c18a45ab6b8043d0de8217054464881476c2041ca1e29 SHA512 7ac31c0b64b3986c6c6e44babe326c385eacb8a4a5c542ea1e7bf8b566eceb3e70a3d3cdf48a783507c9ecc1b21b53487523838d8f2936e0d2cbae688e30bee2 DIST amd-2.4.6.tar.bz2 343925 BLAKE2B 296579d888b61e84ec798206fbb6f89fd923f0d762e84e7a1e2e2a5fb502f4822f89a2a4b631dc42fa829e845bf3980886185650e8de28774400e0c351805061 SHA512 6960a557e6c2f82ca2e68e48ddcb502e1527235a3ca34df2f5f7f63f0f12afacedb15fefe4a39768fe7a2c70308793544b5b24b6f2be2c6b934b0c0e0e796d57 -EBUILD amd-2.4.6-r1.ebuild 906 BLAKE2B 342dfe81efbb87dadfd3806fb0eb31b04c311dc771ef5e25b15d7f2b17076ff9e8664ae63f5652b13c9dc612ddb6444ff3f0a65afb14898651cbc2e8d673958d SHA512 67c8d84c2636c582c179287faa4e44196eaef4c39e5bdaf54565fcf4ee65152e61934fa92533361c5ba7b9ce7e7405c0752d4fded945942ca88230119ff3b286 +EBUILD amd-2.4.6-r1.ebuild 913 BLAKE2B 38f993d136a21c675d4d5881e273a73b09c55d98b43797b268c32e39a1da4017d9172eb1aaaea86c39f5177bfaa27878174a50e32a4ca087207757721ea071e8 SHA512 4ea33ee07f29510747a9481f2c96f97f584f40db9ad2a05087e3485d7089322ea3906989e8436101f16a5a3165b4486b8495fbc67a5865b51797b6071b0c3591 EBUILD amd-2.4.6.ebuild 793 BLAKE2B f9a25cd98333d370724cc165fffd407b7a05b94751e91ba852dff3df31c5f82b3926fd5ba4eae1a144f28eb6bf1b69837db8ce59ac77cbcbd2396de0c5745a72 SHA512 e305f6c46b7d8bad62dd081099e0b281c66f2c8027132ea092c02a72b8ac838fe6fd6d2d157d472bb405f2ce39dccb75e00b7e154980d570293f6b569e9ac510 MISC metadata.xml 492 BLAKE2B ac6367af33dd797e703e3370d6369db5286b11f862b5387258e9edd860554049c7d9e2bf2186c86e24a7fc29c3f1122f330c0a3cf0420f13085757cff0a388b3 SHA512 1c53658e87337e1e43149c363c901dabfdde52b647891d8026a7ce9ddcd5e36b0121948d169d446e5a78d05c26301bd4f8c7c06665506ebc0999c259b709a6b6 diff --git a/sci-libs/amd/amd-2.4.6-r1.ebuild b/sci-libs/amd/amd-2.4.6-r1.ebuild index d6fb2915b940..abd35c1a71ae 100644 --- a/sci-libs/amd/amd-2.4.6-r1.ebuild +++ b/sci-libs/amd/amd-2.4.6-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="doc fortran" BDEPEND="virtual/pkgconfig diff --git a/sci-libs/camd/Manifest b/sci-libs/camd/Manifest index 460e6e1892c0..aa460590d56e 100644 --- a/sci-libs/camd/Manifest +++ b/sci-libs/camd/Manifest @@ -1,5 +1,5 @@ AUX camd-2.4.6-dash_doc.patch 498 BLAKE2B 93871bfdc9fbe1bc77f7cdc66d18d7517e318edcdbc09e1efa63a9400de5a3e91fa1febdc24394743b710090d7a78fc9e864732c4979db73f679cbd008fea670 SHA512 61a38299792ade16a067e7960d5922ffeb6be838eab73f8be493b999c9256875a07b28066e1965b59f9d9e5f63f616a1674f8987ff847e49ac4ff2a8fe05c73f DIST camd-2.4.6.tar.bz2 317071 BLAKE2B 8f982050a20f00c9443063a0473caa4aa27efe005fe07b503cb68b29499152561fc9d30d00783607b1e8fb8af88707eabfe22d192b80e375b8a6d04d7a9a26d7 SHA512 c4020ed3e063d04f5d7d1a301719b1a5b5b912d505858f046654c9d283c41ff01d55f668fb7f7179a6ac636f5a5b80f71cac5eb5b1e5cae0ede97d946d62a1d0 -EBUILD camd-2.4.6-r1.ebuild 839 BLAKE2B 89f1ed9d821b1572d2ff8c2db64a3f7a1c7997f0ccfd6cbf4b2f28748d7efbd5ca0ef6cd3774c4a809565e3b307c1b090bdbc1356b5661aaff2d67ccebfeedc1 SHA512 87b094ef4bc8863148b626eaf1a31c7e32c7b33311ba93d3d30accbf860bc265c8a50f27fb88b2e6e4b55b0074cff189cacea7d492688d746347721272268ad4 +EBUILD camd-2.4.6-r1.ebuild 846 BLAKE2B 29fe717acbc0e52ae6824e6ed147357c7c6f725ea4c53972a2767b6419b52e31ea3915fd86705fed86edb7dbc00a1bb51a93098486930eacb93ea5c3772e0f9e SHA512 00c3174718c29cc174311fb35b31378bcac6623f1297df4804c419de19d6d961cc12bc32e0831f6ce1caab3bce353d422db37af5b510617cb0ccf304e2ad3614 EBUILD camd-2.4.6.ebuild 717 BLAKE2B aaea2b067e019608d3bd31ec989d25b926299da54b35fb9b60e0b9bfcd050e9c7ddddf987c9d1b36de838fd3360812d3ded619b576e4f042f9f3dc9e243b84df SHA512 3344d69aec563ab8d21a0aacdc6a14587b182bd460f4849a396ecd51fd2a2ee63bd483eddcafb12c489c23369356a3f4eeb14a7369da11d55f4d93616058c950 MISC metadata.xml 494 BLAKE2B 456f4ab539ab7303849cfabfda3e07987874a833e5691d6c3336ebb8a86cc6d5cc5fe8c20b65d8e5fdd8da1c947b9e7ff8eedfd2cc17da6040ff5d109b1b110d SHA512 6402783aec0922669bbf45477074644a9b10f44b0b06bf86ad9b4ecbab124076ee7f19c2c68c6eb3bf21a1569a3410f1ed0ac12f653dd5808559da133613d09f diff --git a/sci-libs/camd/camd-2.4.6-r1.ebuild b/sci-libs/camd/camd-2.4.6-r1.ebuild index fcffa7a9f901..32c654a6328d 100644 --- a/sci-libs/camd/camd-2.4.6-r1.ebuild +++ b/sci-libs/camd/camd-2.4.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="doc" BDEPEND="virtual/pkgconfig diff --git a/sci-libs/ccolamd/Manifest b/sci-libs/ccolamd/Manifest index aec3283fc94b..c094cf71469d 100644 --- a/sci-libs/ccolamd/Manifest +++ b/sci-libs/ccolamd/Manifest @@ -1,3 +1,3 @@ DIST ccolamd-2.9.6.tar.bz2 305744 BLAKE2B 0d741ead328a1e888715672ddb617cc96a559f46f2379e1d7792b70868dd290de19b3047e3ed4dd2711084c9afc523d18ecb375aa4ee8a4a12950cee08f238b8 SHA512 cf6f210d26ddb1be454cac377a773b73b75261a74e1e3985565f57f45659b1c11b747829c5bbe99c4bc3e8b364d7b2b3c109e00f6d7e8e41afd713312ebf103c -EBUILD ccolamd-2.9.6.ebuild 646 BLAKE2B 8efdebb1b2b8625c5cf7a7ddb7269ea1578da6783b3d867654735373caeafc9206f29329e29bfd2f2eed18996b36f3b9a97ec17da579d4ca726f184d7d0c443c SHA512 3e24429b62dc4450369da335b7b3cf1c2135f5d7805b8d8fb7a795c17c5451d464f5d4e3ba643da1d09100b22150c6c8ba12137cf1b717bf1f4ef4ec4fcd4b68 +EBUILD ccolamd-2.9.6.ebuild 653 BLAKE2B 5114799817376c87cef3f8bff4a05cab2ef877ccb173dc5fd8a6899ef19ebaa822630fa1369b58609bd98781795085b2d7641f07db0e6ad042361cdb9f3c8a68 SHA512 694d11491a0999467ada4f46471d1a784be40681d83717f25bebbd42904f58bfa8a1070ef70df698723b3fa500f64996399ce3edaec24421cd9876adc8f59460 MISC metadata.xml 470 BLAKE2B b20ae7c51907e135898a4ca6eee1454c1760d8f6c061d6d8c9bdf6082773e003326c65ba4489831139bc9af96f2321a09b22fbe106aa87b8f6dbb4781163edb9 SHA512 99c2d290fea618dfd8997209d8e6db971a2ab74d1be5fb270f2177c9843b0f324710491977c7cf2427806295d05e341ece4399afd8a0d43bca8b42b0fdea7beb diff --git a/sci-libs/ccolamd/ccolamd-2.9.6.ebuild b/sci-libs/ccolamd/ccolamd-2.9.6.ebuild index dc269a9c4432..a34ba16ca8c5 100644 --- a/sci-libs/ccolamd/ccolamd-2.9.6.ebuild +++ b/sci-libs/ccolamd/ccolamd-2.9.6.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://202.36.178.9/sage//${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" BDEPEND="virtual/pkgconfig" DEPEND="sci-libs/suitesparseconfig" diff --git a/sci-libs/cdf/Manifest b/sci-libs/cdf/Manifest index 2e2abe68faf6..1d0963cade12 100644 --- a/sci-libs/cdf/Manifest +++ b/sci-libs/cdf/Manifest @@ -1,6 +1,4 @@ AUX 50cdf 124 BLAKE2B 93acfc3dd493c8518497ed7dafa35cc61f66501bd9d7c4db1f4072cdda9742f2927b5f388dde26d33e76d4d33405a8a92fbf133a1ed729ce8cba21458f552123 SHA512 4fe515d03379f2b6e1723c771f73e65be9f67365a46e75dbeb3358bbdc6f3446b91efd989363bf229b7ae93a446ddedeefd883a0d59d28c1480a10a8994eeadc -AUX cdf-3.2-soname.patch 738 BLAKE2B 4c6a94feeefa623e88622b6dfd76581ef6d0c0d91c376e597bfa1e0130a734ea6dd40ad5235272788d7338220710d26e634639383d8cf5cdbd1901778484a580 SHA512 f3bb09e43b3b36ed346dc7690cc0c75a28e8dcfb2c1ebbf8a0577abdc2d15bbcbce7b0da9c5de23ef65e669bd118692db498aef230e9395dd4b67dba48258a8d -AUX cdf-3.5.0.2-Makefile.patch 3973 BLAKE2B 2106f52abb639b4f31f08372de81db5cb96dbdccd0a55821605e659b7f85fad554cd8d4212fa4b9e6fd6225e5f3fd6c98e76d7aa7c2fe05dd96ea49d3c8444fe SHA512 9842d43d8e2910f8d7cc00c27711f84cde622ab69084ce1c798625475034b73db857410d6fc1311933512bb3a235cfe2fb0808d2eebfc6165e3962e04aaed4e1 AUX cdf-3.8.0-respect-flags.patch 3080 BLAKE2B 1a89fef44861e1954d42fa68f8dc9398299656eaa08686ea07577e329c70f28ea5967079a94819c8f8b4d99369ec8041fa37443a9be0d3e580fe396dacb1b3fd SHA512 7d6dd822f81a2d80b73cc55b76b46c0016ab1dc4c754a90b57c2d2c99912c045853cf132d7c26dbfe804fc4cc908647ad7832b3048edfe5b2b4e735b23499953 DIST cdf380crm.pdf 2671048 BLAKE2B 2605d6465c744b57f11d08605aa888ead724b7553a0efd8830dae759eb54c6d0df807cca1c6611fd40b4c5eb9327fbfcd66f0f7cf82b69bf7619385928ebc6dd SHA512 fc1eef589ff0f3cd989d8743cc1d6cfeb5946cf9ae8e4a328ba746b33fe0f6a286cf7b7b7e7cab5e0231bef566c03d7b68afe6c0879e5fb32fc1e6c980f7e081 DIST cdf380csrm.pdf 2409166 BLAKE2B 7e97e61865531b788553ca9747513ec32bc5e1a743e10e5bad5f62980a883d00cfeede975b83826ad72327071062080cd1db611fd40c4e5b3d22caf7d4dd3d0f SHA512 d669f032722e270d3f16f8d9a8920d4536430bd83a509591cf82b447770d16a9c6d9aba17e096f78445c4f0b7f4ab85082cf2480bc9384b46677a2325be0f163 diff --git a/sci-libs/cdf/files/cdf-3.2-soname.patch b/sci-libs/cdf/files/cdf-3.2-soname.patch deleted file mode 100644 index e4f28617faca..000000000000 --- a/sci-libs/cdf/files/cdf-3.2-soname.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/lib/Makefile.orig 2007-12-03 17:47:58.476149933 +0000 -+++ src/lib/Makefile 2007-12-03 17:50:34.353032850 +0000 -@@ -94,7 +94,7 @@ - - shared.yes: libcdf.$(SHAREDEXT) - --libcdf.so \ -+libcdf.$(SHAREDEXT) \ - libcdf.dylib \ - libcdf.sl: $(OBJs) - @if [ -f $@ ] ; then rm $@ ; else $(NULL) ; fi -@@ -102,8 +102,8 @@ - echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ - $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ - else \ -- echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ -- $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \ -+ echo $(LD) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS); \ -+ $(LD) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS); \ - fi - - libcdf.o: $(OBJs) diff --git a/sci-libs/cdf/files/cdf-3.5.0.2-Makefile.patch b/sci-libs/cdf/files/cdf-3.5.0.2-Makefile.patch deleted file mode 100644 index 3bab69dfc6ac..000000000000 --- a/sci-libs/cdf/files/cdf-3.5.0.2-Makefile.patch +++ /dev/null @@ -1,110 +0,0 @@ - Makefile | 27 ++++++++++++++++----------- - src/tools/Makefile | 6 +++--- - 2 files changed, 19 insertions(+), 14 deletions(-) - -diff --git a/Makefile b/Makefile -index 7f240db..222c4f1 100644 ---- a/Makefile -+++ b/Makefile -@@ -771,17 +771,17 @@ all - "PIC=$(PIC_$(OS)_$(ENV))" \ - "CCx=$(CC_$(OS)_$(ENV))" \ - "LDx=$(LD_$(OS)_$(ENV))" \ --"COPTIONS=$(UCOPTIONS) $(COPTIONS_$(OS)_$(ENV))" \ -+"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \ - "SYSLIBS=$(SYSLIBSshr_$(OS)_$(ENV))" \ - "SHAREDEXT=$(SHAREDEXT_$(OS))" \ --"LDOPTIONS=$(LDOPTIONS_$(OS)_$(ENV))" \ -+"LDOPTIONS=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV))" \ - "AROPTIONS=$(AROPTIONS_$(OS))" \ - "RANLIB=$(RANLIB_$(OS))" \ - all - @cd $(TOOLSsrcDIR); $(MAKE) \ - "CURSES=$(AND.$(CURSES).$(CURSES_$(OS)_$(ENV)))" \ - "CCx=$(CC_$(OS)_$(ENV))" \ --"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \ -+"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \ - "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \ - "SYSLIBS=$(SYSLIBSexe_$(OS)_$(ENV))" \ - "CURSESLIB=$(CURSESLIB_$(OS)_$(ENV))" \ -@@ -791,9 +791,9 @@ all - "FCx=$(FC_$(OS))" \ - "CCx=$(CC_$(OS)_$(ENV))" \ - "SHARED=$(AND.$(SHARED).$(SHARED_$(OS)))" \ --"FOPTIONS=$(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \ -+"FOPTIONS=$(FFLAGS) $(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \ - "FOPTIONSld=$(FOPTIONSld_$(OS)) $(FOPTIONSld_$(OS)_$(ENV))" \ --"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \ -+"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \ - "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \ - "SYSLIBS=$(SYSLIBSexe_$(OS)_$(ENV))" \ - "SHAREDEXT=$(SHAREDEXT_$(OS))" \ -@@ -829,12 +829,17 @@ install: install.$(PART) - install.all: install.definitions install.include install.lib \ - install.tools install.help_ notify.user copy.leapseconds - --install.definitions: create.bin copy.definitions change.definitions -+install.definitions: create.bin - install.include: create.include copy.include - install.tools: create.bin copy.tools - install.help_: create.help copy.help - - install.lib: create.lib copy.lib.a -+ @if [ -f $(LIBsrcDIR)/libcdf.$(SHAREDEXT) ] ; then \ -+ $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \ -+ else \ -+ $(NULL) ; \ -+ fi - @if [ -f $(LIBsrcDIR)/libcdf.so ] ; then \ - $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \ - else \ -@@ -940,8 +945,8 @@ copy.include: - cp $(INCsrcDIR)/cdfconfig.h $(INSTALLDIR)/include - - copy.lib.so: -- @echo cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib -- cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib -+ @echo cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib -+ cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib - - copy.lib.sl: - @echo cp $(LIBsrcDIR)/libcdf.sl $(INSTALLDIR)/lib -@@ -2128,15 +2133,15 @@ show.posix.alphaI: show.supported - show.supported: - @echo SHARED is $(SUPPORTED.$(SHARED_$(OS))) - @echo CURSES is $(SUPPORTED.$(CURSES_$(OS)_$(ENV))) -- @echo FOPTIONS=$(FOPTIONS_$(OS)) -+ @echo FOPTIONS=$(FFLAGS) $(FOPTIONS_$(OS)) - @echo FOPTIONSld=$(FOPTIONSld_$(OS)) - @echo SHAREDEXT=$(SHAREDEXT_$(OS)) -- @echo LDOPTIONSlibcdf=$(LDOPTIONS_$(OS)_$(ENV)) -+ @echo LDOPTIONSlibcdf=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV)) - @echo RANLIB=$(RANLIB_$(OS)) - @echo FCx=$(FC_$(OS)) - @echo CCx=$(CC_$(OS)_$(ENV)) - @echo PIC=$(PIC_$(OS)_$(ENV)) -- @echo COPTIONS=$(COPTIONS_$(OS)_$(ENV)) -+ @echo COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV)) - @echo COPTIONSld=$(COPTIONSld_$(OS)_$(ENV)) - @echo CURSESLIB=$(CURSESLIB_$(OS)_$(ENV)) - @echo SYSLIBSexe=$(SYSLIBSexe_$(OS)_$(ENV)) -diff --git a/src/tools/Makefile b/src/tools/Makefile -index 3773c0c..1cabf61 100644 ---- a/src/tools/Makefile -+++ b/src/tools/Makefile -@@ -40,12 +40,12 @@ CURSESLIB=-lncurses - INCLUDEcdf= ../include - - CC=$(CCx) --CFLAGS=$(COPTIONS) -I$(INCLUDEcdf) --CFLAGSld=$(COPTIONSld) -+CFLAGS:=$(CFLAGS) $(COPTIONS) -I$(INCLUDEcdf) -+CFLAGSld=$(LDFLAGS) $(COPTIONSld) - - WHICHOS=$(shell uname -a | cut -f1 -d" ") - ifeq ("$(WHICHOS)","Darwin") -- LIBCDFa=../lib/libcdf.a -+ LIBCDFa=../lib/libcdf.so.3 - else - WHICHOS=$(shell uname -a | cut -f7 -d" ") - ifeq ("$(WHICHOS)","Cygwin") diff --git a/sci-libs/cholmod/Manifest b/sci-libs/cholmod/Manifest index 663c80ef12fc..24d16e6f7a1e 100644 --- a/sci-libs/cholmod/Manifest +++ b/sci-libs/cholmod/Manifest @@ -1,5 +1,5 @@ DIST cholmod-3.0.13.tar.bz2 696002 BLAKE2B 40a065fe1a3585897b3ca554a25fa80ffc68ac70798f2f803e34a231ec4f532d113a3d00ab7ab61f5eb02503a84e1459cdb7e96cb0b0d1dc6975ed3d533104fe SHA512 c6c80d099386bac27e385a1b8ee8941cd2fb4f2dcfcf302b4b17d6477ac9ee17ad8030aae9191f92576dfaeb521e2c98ec24e867281c2405e42f95580e14f0ab DIST cholmod-3.0.14.tar.bz2 696981 BLAKE2B 855927c18833235b3f0835bfba455d83957b9161c0ee885c2d31d126f0f473067f55bcf2cfa163c72efb5de573589ffa54b484a8cf89bc44c9dbf64d43fda5d9 SHA512 f8c12fc3c8787be38bca6c6f84a8279c1380fbe4fabbfba754235fdb042d7050bfb7b5a21ea87ef59dbd5184d28e8cb7667966c38f5dcad78fe8d47111896a3c -EBUILD cholmod-3.0.13.ebuild 1660 BLAKE2B 6f53739a8ea19773b34526ece750fe0e8c2d3ffa221058b4e201bbe6180c55535c9edf902b4a8c576343e5e22cbd3cbb03dd4594a6455d438cacd81450f1f0c0 SHA512 bbd5b01ef11bddcb0d10bea1917ce1b25c6d64321ecae25c63f5070d392f71c62e687847bbae1cc41fccf36db3295dffdf284f47d17de8979f550830037bebd8 -EBUILD cholmod-3.0.14.ebuild 1635 BLAKE2B 9e662356e5f6d8c240ea96103c50571b0731806b5bc98ac43af836bd844c7cbe17a06e8de50ce5c1b9b461457a212e991335f9a15dbab1288959b206dced4154 SHA512 c83648e864f4897ce8b6516231f97bddf627ae93f1a472e5dd1a3f096d2fbff3f42d8d61910658be4a74077311b4fc52b000c1c1213566de393b57f85c21ed31 +EBUILD cholmod-3.0.13.ebuild 1627 BLAKE2B 048e38fcd2db3af79b6f42d8c3d7001e5eb85c3a197ed91f95c9181c394a6b3225fe5790c0b950137cf7f82ef67ab440e922c48a5e894c2c57f8a83d1c7c74bd SHA512 da32e2d9b18a4dd1576646fab8e920c7e6070303b48da0b49521fff1be0d3e0f05f99f181bc6f78ed1373496c47c09a8dbf19870218ac1394a6f2c77537ec483 +EBUILD cholmod-3.0.14.ebuild 1609 BLAKE2B 4c02785d996dcddb8024ffde1918ef73788c2243a0079bea4e2363bb8399e3dba6e4351dff6293248b69043d6d30adfd19705f558361246ded0337de9d62f24e SHA512 c2d57530410cdff7eb5741e5b027f7c26649ff14721ce46b497aac0f06868bb55eeb7b609a41a9abce599c987b726731f5c82a932ad8e420fe9131e38af30bc7 MISC metadata.xml 807 BLAKE2B e5a0fd3e5c5466397e9972ece2046b051f3b8fba8141e9e3a91b8ea474007b8a38998c16b3462e362d3713748620e41d2e35196d53d815c0865df7a494b3c104 SHA512 84f642bfb6676da3f9c66dddd635661c259e6182bf12c567655961c902189183570889630988f582c6913ddfa621944f0db4c22c7e9b8a715d1da8fb2fdd64f4 diff --git a/sci-libs/cholmod/cholmod-3.0.13.ebuild b/sci-libs/cholmod/cholmod-3.0.13.ebuild index a2dc0b63a54f..6d21a365986a 100644 --- a/sci-libs/cholmod/cholmod-3.0.13.ebuild +++ b/sci-libs/cholmod/cholmod-3.0.13.ebuild @@ -27,10 +27,7 @@ DEPEND=" partition? ( >=sci-libs/camd-2.4 >=sci-libs/ccolamd-2.9 - || ( - >=sci-libs/metis-5.1.0 - sci-libs/parmetis - ) + >=sci-libs/metis-5.1.0 )" RDEPEND="${DEPEND}" diff --git a/sci-libs/cholmod/cholmod-3.0.14.ebuild b/sci-libs/cholmod/cholmod-3.0.14.ebuild index 30450952421b..111b80f90346 100644 --- a/sci-libs/cholmod/cholmod-3.0.14.ebuild +++ b/sci-libs/cholmod/cholmod-3.0.14.ebuild @@ -11,7 +11,7 @@ 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 ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="cuda doc +lapack +matrixops +modify +partition" BDEPEND="virtual/pkgconfig @@ -27,10 +27,7 @@ DEPEND=" partition? ( sci-libs/camd sci-libs/ccolamd - || ( - >=sci-libs/metis-5.1.0 - sci-libs/parmetis - ) + >=sci-libs/metis-5.1.0 )" RDEPEND="${DEPEND}" diff --git a/sci-libs/coinor-clp/Manifest b/sci-libs/coinor-clp/Manifest index 26c6493171d2..25a04bdd7057 100644 --- a/sci-libs/coinor-clp/Manifest +++ b/sci-libs/coinor-clp/Manifest @@ -1,3 +1,3 @@ DIST coinor-clp-1.17.6.tar.gz 2158530 BLAKE2B b1bf6ecfdf3669ff4393e31c23d24f9160124dcd69df611c96feaa73acf796bc3a13a54542a5d0495e9a68789e762f5392bd7f23c0fee20c0699df2d0b084891 SHA512 8a799d87ba988a27e3ba526ded65425979b4364e374db4e943f41a523f3743efb88a9964eb575c058151e47f58be6ba0ac1b368177f0322850be3704be6f24d1 -EBUILD coinor-clp-1.17.6.ebuild 3799 BLAKE2B 56ce86a7c360da03022760aa1966fefcfce74b0e293f7fca912f91e1a9608c4d16b3596b60a6bf382ac53154389ca48edbb40a6d47744d0acd5bacf5da258885 SHA512 677c64320b62e1e11fb371faad35319073a750dbeb20d786620452f44a9ca14717ff7c8de0d123711de3fcc9ef52e0c7a0f89e728bdc78949fa744287300f677 +EBUILD coinor-clp-1.17.6.ebuild 3774 BLAKE2B 93ae581cc8b89606016253634ff6cbeb6b8c46f0bbb886c04bd4a015898bb288c65d5e927aed677cca29b74b323fe25ce48d29aa443f716e22f1777d7de63992 SHA512 9f6db4bda4db2491059cf27a6123bb811086eb10f4e2d2fe02b1ff1827c7390f7c2e578bd110a63570b992b5049b3e80906f3b0e7507017e7665d52a246aeeef MISC metadata.xml 1118 BLAKE2B 04fd6128b056520e45ed7bfa076c756fe667a1251f3aad4568bdf587cf6209e845a3c5f1114e09e29729e7de238974452f13a2acf82692792e1ec2cee200c50d SHA512 1d15db43e8a887fb1c2130bd85cbcb8886f4153f0d157dca468b6d77cf1eed907473232a06fd41ca811743c6ee514ae61c356a8c7ac2795e43a40b2760fd6940 diff --git a/sci-libs/coinor-clp/coinor-clp-1.17.6.ebuild b/sci-libs/coinor-clp/coinor-clp-1.17.6.ebuild index 7449be2ae9f2..d3e93719609a 100644 --- a/sci-libs/coinor-clp/coinor-clp-1.17.6.ebuild +++ b/sci-libs/coinor-clp/coinor-clp-1.17.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -38,7 +38,7 @@ BDEPEND="virtual/fortran DEPEND="sci-libs/coinor-osi:= sci-libs/coinor-utils:= glpk? ( sci-mathematics/glpk:= sci-libs/amd ) - metis? ( || ( sci-libs/metis sci-libs/parmetis ) ) + metis? ( sci-libs/metis ) mumps? ( sci-libs/mumps[-mpi] ) sparse? ( sci-libs/cholmod )" RDEPEND="${DEPEND}" diff --git a/sci-libs/colamd/Manifest b/sci-libs/colamd/Manifest index d73b4e813310..b140318c99c4 100644 --- a/sci-libs/colamd/Manifest +++ b/sci-libs/colamd/Manifest @@ -1,3 +1,3 @@ DIST colamd-2.9.6.tar.bz2 298903 BLAKE2B e1e3cfa0153e21b742854d28fb6d3ede287c2ec22cfef4268a8aba8bb239be527433907f6984dad976341cf6e1ca9cb39f5c97029ad9bed032a874add9aa0e02 SHA512 f302d18f9ba004c9d1b0e1ada76e70f20fa1d11896815e5300983513b7ed4a7b969adef33adb1a57d67ce856a5ded410874c23d9bba42b6bf1a6a790430f5137 -EBUILD colamd-2.9.6.ebuild 641 BLAKE2B bf35053ff07d1e4e7c29237d6407a727a17bfd64203f32447eb4cc43c3de0d6e88388067306f03d59c06b03ee33f90482eefe85525bcb7b9f1cb4a0e23378f9c SHA512 1551cc6febde6498ea7a2796fd90b3f6ea812e776602552b8cb82a1675556302696afa94f8710ebf8f08fcc8dbcd0dacf7b91cf88d9fa073ab0ec88f95527713 +EBUILD colamd-2.9.6.ebuild 648 BLAKE2B e0d0ec6182a9c9da9df9e1803d7053bf7d8acbc53fa66982f7b07594424db4d98f504c1efa2e7069ab1df57344702d913dc3dbdfc38abefda5119694ea77d7d4 SHA512 aff4021d9a4216a78ecc06510622b56c26d0c1299c5eeb07a2eced09b77ee0f9a6e1b9fe412c59b2b776cce38e43447fdc890b4ae3fdb7eb9d746115d499f248 MISC metadata.xml 827 BLAKE2B d1b92027b2b820c67cb091e71c22c5ebcfe8e560968b8cf76f5cb61b6c26a71b66f4801343a531fbc8941b5b678bff44e2ab3aa6bec49db9b0264ea2273ac816 SHA512 367258fb10bcde8e5136c541ef1e134c4e882b296c45300c8d70945222c0730572b1dc116b80057c3a9d6a64c175fb86915847522000740d9a39e6fcd8eb5004 diff --git a/sci-libs/colamd/colamd-2.9.6.ebuild b/sci-libs/colamd/colamd-2.9.6.ebuild index f68a50a39544..da5d428764e2 100644 --- a/sci-libs/colamd/colamd-2.9.6.ebuild +++ b/sci-libs/colamd/colamd-2.9.6.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" BDEPEND="virtual/pkgconfig" DEPEND=">=sci-libs/suitesparseconfig-5.4.0" diff --git a/sci-libs/colpack/Manifest b/sci-libs/colpack/Manifest index 23a7ff25cc8c..3e2a052e524b 100644 --- a/sci-libs/colpack/Manifest +++ b/sci-libs/colpack/Manifest @@ -1,3 +1,3 @@ DIST colpack-1.0.10.tar.gz 658087 BLAKE2B af6409969f0dfee465ad88515d0d4f82525047a8268ac9fd4b0784de1f4fd30ce7ba968502a5d92ad3a86f554fb8f1a786defb09396c8e678f62aeaa3cc25397 SHA512 566b7906c5d0dbcd6dcb9c359510ee8b13bf3249e56d8f88f7806493d1df14f54638a0558d601ab4dbc28f36093795eede57a059a7c4e66438b47bf5a0119808 -EBUILD colpack-1.0.10.ebuild 958 BLAKE2B e34413307614e6d549acafc44630ad6c791b34fb55474d513912735753accb733819346436707305ee3519cb664cd01096c873efd05892fb4d0e740fa40f6bb4 SHA512 ad5cdca234c0de46707099144be187105cd5d87c012dbdeadb4dc3123f2b97f1f9346d932074e36c3692191b0b07949e15fe3a6d355ad78fce31ceb8cab4e932 +EBUILD colpack-1.0.10.ebuild 966 BLAKE2B d38d495c35f37a2a93de88ad45e01a7b3952fc4593b763110922e51a1b4f827ce857c848144527924f32ecc881a6f8d6cffbb8a23f773d076c31641662fdea19 SHA512 2ffffa4c116dce839513ad60980cada1b6b0839bc446edac4af269267d5efdec3d16dc8a89d876b81ad55b149790174b3857c9a90ff782aa6316bb836cccfd6d MISC metadata.xml 605 BLAKE2B c7dd1378bd62eeaf69648625deda27806662c0f2fa83112fcc757925412c3d1d2ce218d64be2ad98dc54088618ff874d6a4e7f266e5fc006e98e257d757f4190 SHA512 28e191bbb72a212832b13ad84064538a884835b1f3e4f8e50d4b247b17189a12fa1de32138a675ab1e9fed58b40101c50d2e4472c554cf25f6f919f24059c17b diff --git a/sci-libs/colpack/colpack-1.0.10.ebuild b/sci-libs/colpack/colpack-1.0.10.ebuild index b432192067c6..357b7485b32f 100644 --- a/sci-libs/colpack/colpack-1.0.10.ebuild +++ b/sci-libs/colpack/colpack-1.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,12 +8,12 @@ inherit autotools toolchain-funcs MYPN="ColPack" DESCRIPTION="C++ algorithms for specialized vertex coloring problems" -HOMEPAGE="http://cscapes.cs.purdue.edu/coloringpage/" +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 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" IUSE="openmp" S="${WORKDIR}/${MYPN}-${PV}" diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest index 0cde14dd9b54..9a0c2c37d2da 100644 --- a/sci-libs/dealii/Manifest +++ b/sci-libs/dealii/Manifest @@ -4,7 +4,10 @@ DIST dealii-9.2.0-offline_documentation.tar.gz 277987911 BLAKE2B d14e15bc252f481 DIST dealii-9.2.0.tar.gz 24688964 BLAKE2B 60a8ede72a49cb2e658b3d6d53fb332a96f44a7fb9bb499ba54175138d49f38a9b75d9bea2eaddcaa3f50d97ce53961692b35f89578f535d32301680e6f1d68b SHA512 7c76435e45c9c302c4f95f588229f5a9b81f0450bd029729553c706a25dfd16f5c02c50fd2618d7e285d18927b63426110d2c6a074242b91cf789bd4bc77acc5 DIST dealii-9.3.0-offline_documentation.tar.gz 342390250 BLAKE2B 5ed1e5d5f7cd6a44f0dccc4b092c241fadc430facb77ec2a9ffb30d00dc13751f0ac08e2f05960584fbb60b26b64fa070c437f392e2e62b4ba1328e4efcd0677 SHA512 ff04cf3690160119041a9dc102ece81c351c41809fe1717cbc95aa97f2f1fe2ccc36e1b4b3045b73056a54fc7e3a27d3d734908760e9c34203b566b328b104b7 DIST dealii-9.3.0.tar.gz 24458373 BLAKE2B 27cdaee4e7ec9c170e11c5ba9bff8fd654bb2a9452df3402d5639268a6fe31565faa38d240810a0323b7253f2ed665c25fa0948c56b9924f1836531f2414bc92 SHA512 d558b5dda1067f7d995bc5f265614e3bc5e70190d24c1c61047af1ddc52fa007013c51901b9b8eacfbe8b360dffcb22aca87e0019ee09581b928e00c39198c98 -EBUILD dealii-9.2.0-r1.ebuild 5158 BLAKE2B 943d46bfc24058b7f57d4e0644c5808fe9b7123da2f3c527712c2d50a7774890a6a1e004b500e488489576ec4a55537d5ec2f861b2bd95335db7489aacb17624 SHA512 55670d51feaf635cdab52f3745be686d6acaecc13b4a58e673ce92f865adde68adc224623f44e27fb9cef8e7505b02fbb6a96710daaca5d28bed8d4029a498ed -EBUILD dealii-9.3.0-r1.ebuild 5288 BLAKE2B 8bef90aca441b30b84d8b755257f1bfc9384121f3621337b61830b512a06c2b0b247a3ed49e0deede86360af0da0df6e0052ce182f35e879d1d1544cd418f452 SHA512 e006d8ec3699468c66ee6a565174d9617e6f26b48e71074fa7cb37931b0222ed4aef0a5cb9a3ec302175d3bec108b6f1ee9623aff8b91230e15940e71abf897b -EBUILD dealii-9999.ebuild 5339 BLAKE2B 4c92f7953990bd19ff1ec7144b46ffff5ba04d9dfe6a1483c5b7c66ae9cba3ea63c79a616a8ce5801b4a69044ed164abc00c57319a78611d388450d686a6f42d SHA512 2dc18b083efd54210ef6b04d8f6d9aa810bef9395f1e043ab57d0e938cd13a99dcbf2055118d3851c3ebc45e4aa76dd438dac65096d9dd61dd304ad61913d53c +DIST dealii-9.3.1-offline_documentation.tar.gz 342389060 BLAKE2B 71b47816dd22f490168f91c667308ecf10d5733bb4e4d6f7f214dfa729f47e6f44bf32382167f2f6c864038d04c994cab7ef91ae647b4188c53995c5c2904bf3 SHA512 7ab70b7821924a4383f2d46bcb44e702858206a8444870d3e2282d726b2c1cf3009f615888206312aed34eae9595ff19664da422e33c47720cce5c5fd37c1e18 +DIST dealii-9.3.1.tar.gz 24459280 BLAKE2B c7f1d461017da24efd6f3247217fd1b889e0cbf2ac62c3fd305e03aed90d5ba82b58ceb84d34a84608b833b734e12abc77a63693aaa6eed767b4f5f157233ba0 SHA512 c3ba3e16fa4792bb4f3e85163e67b08271c84faff72c49b858a955851401adf2499e278790803061a61c4024964f6da3f0ef7b09c0370d8d0b5af16b7c3bdaef +EBUILD dealii-9.2.0-r1.ebuild 5191 BLAKE2B bc3895d34609823b0538d30a9bb068e8844d0e86aa76565e24548d5dd27ae182c50c7a1f0e7a73dc2e175a0664e04d12366720dfd4221a2ed72272cf083d875a SHA512 7b5a428482ca1011b77aad608322d0fa403f4df1e95f60a6c69c6f16a0aceaef86bbfc73ee714b4741caa32b418edf8a10bc6f3f3c08bf20371a11de659bd063 +EBUILD dealii-9.3.0-r1.ebuild 5321 BLAKE2B 0e665c64f381364e1319d2f79c66076c5e5d8c64a0449bf47e265f210553ca379f04e4bffcd1c77b4ff7fb3d0a62560f861e6815c3daa7d285f3c90c0e107d67 SHA512 42fc31b610dd96b26c2b96e35304a4f16e65d5bdedec2a23bd4dd1220c0a6e1c9d940b6e91832dd99bfce2f743339ac4d51bf6aabd2a1c3e60278b77f2596797 +EBUILD dealii-9.3.1.ebuild 5321 BLAKE2B 9184a815e1979ef36752a2596617d17057584b073d6fa9de0c62baba62399271abb059490efe0beb35ac89d05b9960d0213887ab831abf5604fe894c2c2d5d15 SHA512 5823d35c1a2c10fb40ad6a897e517e72e206e79df1f1361461b5ae029d08d1605266a8f5a9aa3484bfc31141cef28d756b0bf7f19d09f91ab90ff3208ef63663 +EBUILD dealii-9999.ebuild 5372 BLAKE2B 629be1d6fe6a18cc64e7733f11ea2af64003c367bc3f272e5c42e2bf0ee499597dec6379fc65f571fbdd3c2d0f2fe1e14759b74a43614787f819fa353e4a10d6 SHA512 e350d34c18c3c100ac2827e1f8c22704a4b42f677b774d5d68193da72b802c8e294849783b6c9a5f1afe51f73308637e3be18b0bd9b3ae8b49a2eeda35e1335b MISC metadata.xml 2636 BLAKE2B 8874dd9c20a2dbd781f4a157b3639b1d66faf1b3f32dc6ac1c42fea274c0035b9632108117472b62d9161fab705f5a365aeaaaa44f555a5c2658ebd0a0fff045 SHA512 149082068c7287346a42b901501eddeea6feaaf9cc91c46681f63e63c68dd2a7e3161c3520417a44dc7eec7e673c76c6e967b5b46e898714ce65c4ea4924d25d diff --git a/sci-libs/dealii/dealii-9.2.0-r1.ebuild b/sci-libs/dealii/dealii-9.2.0-r1.ebuild index 468137f5fed7..fa6f92f0b59e 100644 --- a/sci-libs/dealii/dealii-9.2.0-r1.ebuild +++ b/sci-libs/dealii/dealii-9.2.0-r1.ebuild @@ -52,7 +52,10 @@ RDEPEND="dev-libs/boost gsl? ( sci-libs/gsl:= ) hdf5? ( sci-libs/hdf5[mpi=] ) lapack? ( virtual/lapack ) - metis? ( >=sci-libs/parmetis-4 ) + metis? ( + >=sci-libs/metis-5 + mpi? ( >=sci-libs/parmetis-4 ) + ) mpi? ( virtual/mpi ) muparser? ( dev-cpp/muParser ) nanoflann? ( sci-libs/nanoflann ) diff --git a/sci-libs/dealii/dealii-9.3.0-r1.ebuild b/sci-libs/dealii/dealii-9.3.0-r1.ebuild index faa68c5b29d2..65d0d5b7a333 100644 --- a/sci-libs/dealii/dealii-9.3.0-r1.ebuild +++ b/sci-libs/dealii/dealii-9.3.0-r1.ebuild @@ -58,7 +58,10 @@ RDEPEND="dev-libs/boost gsl? ( sci-libs/gsl:= ) hdf5? ( sci-libs/hdf5[mpi=] ) lapack? ( virtual/lapack ) - metis? ( >=sci-libs/parmetis-4 ) + metis? ( + >=sci-libs/metis-5 + mpi? ( >=sci-libs/parmetis-4 ) + ) mpi? ( virtual/mpi ) muparser? ( dev-cpp/muParser ) opencascade? ( ~sci-libs/opencascade-${CAS_VERSION}:= ) diff --git a/sci-libs/dealii/dealii-9.3.1.ebuild b/sci-libs/dealii/dealii-9.3.1.ebuild new file mode 100644 index 000000000000..3b4964437572 --- /dev/null +++ b/sci-libs/dealii/dealii-9.3.1.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake multilib + +# deal.II uses its own FindLAPACK.cmake file that calls into the system +# FindLAPACK.cmake module and does additional internal setup. Do not remove +# any of these modules: +CMAKE_REMOVE_MODULES_LIST="" + +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" + SRC_URI="" +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 ~amd64-linux ~x86-linux" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE=" + adolc assimp arpack cpu_flags_x86_avx cpu_flags_x86_avx512f + cpu_flags_x86_sse2 cuda +debug doc +examples ginkgo gmsh +gsl hdf5 + +lapack metis mpi muparser opencascade p4est petsc + scalapack slepc +sparse static-libs sundials symengine trilinos +" + +# TODO: add slepc use flag once slepc is packaged for gentoo-science +REQUIRED_USE=" + p4est? ( mpi ) + slepc? ( petsc ) + trilinos? ( mpi )" + +# FIXME: The opencascade-7.5.1 ebuild uses a new file system layout where +# the names of the correct include and library directories are not easily +# accessible. Just fix the version for the time being. +CAS_VERSION=7.5.2 + +RDEPEND="dev-libs/boost + app-arch/bzip2 + sys-libs/zlib + dev-cpp/tbb + adolc? ( sci-libs/adolc ) + arpack? ( sci-libs/arpack[mpi=] ) + assimp? ( media-libs/assimp ) + cuda? ( dev-util/nvidia-cuda-sdk ) + 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 ) + muparser? ( dev-cpp/muParser ) + opencascade? ( ~sci-libs/opencascade-${CAS_VERSION}:= ) + p4est? ( sci-libs/p4est[mpi] ) + petsc? ( sci-mathematics/petsc[mpi=] ) + 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 )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] dev-lang/perl )" + +PATCHES=( + "${FILESDIR}"/${PN}-9.1.1-no-ld-flags.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_INSTALL_RPATH_USE_LINK_PATH=OFF + -DDEAL_II_ALLOW_AUTODETECTION=OFF + -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF + -DDEAL_II_COMPILE_EXAMPLES=OFF + -DDEAL_II_DOCHTML_RELDIR="share/doc/${P}/html" + -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}" + -DDEAL_II_COMPILE_EXAMPLES=OFF + -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples" + -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)" + -DDEAL_II_SHARE_RELDIR="share/${PN}" + -DDEAL_II_WITH_ZLIB=ON + -DDEAL_II_WITH_ADOLC="$(usex adolc)" + -DDEAL_II_WITH_ASSIMP="$(usex assimp)" + -DDEAL_II_WITH_ARPACK="$(usex arpack)" + -DDEAL_II_WITH_CUDA="$(usex cuda)" + -DDEAL_II_WITH_GINKGO="$(usex ginkgo)" + -DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)" + -DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)" + -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_METIS="$(usex metis)" + -DDEAL_II_WITH_MPI="$(usex mpi)" + -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_UMFPACK="$(usex sparse)" + -DBUILD_SHARED_LIBS="$(usex !static-libs)" + -DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)" + -DDEAL_II_WITH_TBB=ON + -DDEAL_II_WITH_TRILINOS="$(usex trilinos)" + ) + + # Do a little dance for purely cosmetic "QA" reasons. + use opencascade && mycmakeargs+=( + -DOPENCASCADE_DIR="${CASROOT}/$(get_libdir)/opencascade-${CAS_VERSION}" + -DOPENCASCADE_INCLUDE_DIR="${CASROOT}/include/opencascade-${CAS_VERSION}" + ) + + # 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 ) + elif use cpu_flags_x86_avx; then + mycmakeargs+=( -DDEAL_II_HAVE_AVX=yes ) + elif use cpu_flags_x86_avx; then + mycmakeargs+=( -DDEAL_II_HAVE_SSE2=yes ) + 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 index d52bf8a2523b..fe9accb88f89 100644 --- a/sci-libs/dealii/dealii-9999.ebuild +++ b/sci-libs/dealii/dealii-9999.ebuild @@ -43,7 +43,7 @@ REQUIRED_USE=" # FIXME: The opencascade-7.5.1 ebuild uses a new file system layout where # the names of the correct include and library directories are not easily # accessible. Just fix the version for the time being. -CAS_VERSION=7.5.1 +CAS_VERSION=7.5.2 RDEPEND="dev-libs/boost app-arch/bzip2 @@ -59,7 +59,10 @@ RDEPEND="dev-libs/boost gsl? ( sci-libs/gsl:= ) hdf5? ( sci-libs/hdf5[mpi=] ) lapack? ( virtual/lapack ) - metis? ( >=sci-libs/parmetis-4 ) + metis? ( + >=sci-libs/metis-5 + mpi? ( >=sci-libs/parmetis-4 ) + ) mpi? ( virtual/mpi ) muparser? ( dev-cpp/muParser ) opencascade? ( ~sci-libs/opencascade-${CAS_VERSION}:= ) diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest index 50bebc23fafe..e889710d79db 100644 --- a/sci-libs/indilib/Manifest +++ b/sci-libs/indilib/Manifest @@ -1,3 +1,4 @@ +AUX indilib-1.9.1-fix-include.patch 732 BLAKE2B e34651a2b03e71fd5da51432fb9d3eee4523f7b0fce5322a732d462448181c3a0f134261bf66110a9456117bd7fbbf7b2228987b78843033d6f8524b141dcf13 SHA512 e31be023ccc34a4437728b73569c7599b1bd43b9e86f1c886f95884e722cdf1b8a5cb263c6934ddeb172b92cecd122d7cf7e1a59137476dd16ee31e0790cd0bd DIST indilib-1.8.8.tar.gz 2234987 BLAKE2B 542c77e1826002e6268be82048014cdd7db2e58d6860bf21e058775acccbca49091218c24d5910f91705aebcf592e21f9008d780f39bb0458115b073319e3949 SHA512 0598b117fa582daaaf7c71524fd40866a37fcdc47b523b2ee1ed3301701c7351b027a3aab794e2e1405aec7293ecc6705d5f7852bb472cd21f40d7e3d7733d1d DIST indilib-1.8.9.tar.gz 2253721 BLAKE2B 477880606867ef58e334efeb8d891996187833cdb2f6344018a47c36ad51cfe983e645d92be3e868246bc8dd730d51927834ad73efb2db5edb2ce238ae6d32f6 SHA512 7d561e3619a1ff9e4ec96c54d339f5a85b6d2f4adde57630044fa7f2a8d70c74488ab22eb6221de62c0738bb9c9d187b86b67c4e47f4f98a237d4f69731fe906 DIST indilib-1.9.0.tar.gz 2291283 BLAKE2B 1ef715cfb388a686ad2121e1fcf2589a5d88e68e5cbdb11d72797dead63032782c32e9ae16a88304e59bb0cbb53aaefb6b919125b566958884cc252607c876d5 SHA512 7b02afb24bb2b71a7384c045af6654bb1e19f9b0fe525b31ad0ff3ecc5f1c4b9d53e4f9af225ae3845bd17d44cb7cb2274a72e331498828a2098a9984488b28e @@ -5,5 +6,5 @@ DIST indilib-1.9.1.tar.gz 2322783 BLAKE2B 801071bf9190e4c27b4f3bf9fa2d9a44c4e297 EBUILD indilib-1.8.8.ebuild 1188 BLAKE2B 5afef4724dc43ac28d5f3d0c3449dd48c2caec78a1dfdda6dc1e27f32b014a542d965a17c0cd872fc3bb01b5baf3df41665a8a356f923cf50de608c052dddec7 SHA512 744705826bf3d864f6e847fe80839e0c5aba5ec075c64d5a0995f0e6241c88bb0b37131df0ec4272a3a0ee50bef2cb6fe771fc1e802e778d1dca1ec39becfa38 EBUILD indilib-1.8.9.ebuild 1189 BLAKE2B 60b9a949b599b8a1a9772355a68d9257501a85eb1d6155e95afc0c7766ad13564e77e669f6341377674c0b5cd5886649e402944dedee06fe975642132a48add3 SHA512 96428f3be5dafea90c4ce14da7dae749c6124bd3824500928f3f25c89c4c26dd054b07e3536f9db30140d7a539775148f7fa9da739b0ff4c2da5fa22651cdc68 EBUILD indilib-1.9.0.ebuild 1191 BLAKE2B 1047b62c8a546e70dd5fe645eebaf6f5c5615d9beed2d9d406197f731ebd13d72b1047ace29f3988d3ea097e561b1b52d718f33b33dde4ecf97c49c07ba3faf1 SHA512 388fb2ff99e874e029fa999f934459c156d821738f3d3c4327429b7604121d50a06276dc768bc0c2d1e770132cf665f35003d2923f6adb828f2e821ff2332e05 -EBUILD indilib-1.9.1.ebuild 1262 BLAKE2B f64f108f2f1fc68ebd4055b997dc0550577d726224354f3d48d752e0487f473c7f912c04f8da43fcf08a92addb1a57c24574420b94a98fe38b4bf4a4b8b5dbb7 SHA512 9a10fe92cd75719051d1e179dcac41635cdaab9a0a7e7b5d245a86e27ff29dbc7d9a0a7485c92b4b07d788eff8c23483ff17bdf79b120ca6cd5cc4b2b40e6518 +EBUILD indilib-1.9.1-r1.ebuild 1322 BLAKE2B 6c2d3c36a97a9fa8619660f052bf3921a4066264f026d3bd6b82e7a663d5195b107f1dd7a041a1686a3fd4f593efc9372f8581e8a37dc3dc2d21dc5e71acaa3a SHA512 be70f46eb97391ca80c45393eb5aa6aa713651a971d9a67a9927f0fca032b51a75ced63947bef557621995f4345513179e7e9b6c4c59da751537ad9ba9af5a2d MISC metadata.xml 561 BLAKE2B 08059ed028ee0f961a58fe6e8ba141160437cee5e944bc72ad82a5731b0f187cd412ea2669a2d726d7c602a0dc8c659a79672f0e3786f502db22754076498854 SHA512 c0f2d64008a0ea23319101a2ca7e928940c81a6959544410476f80482cc560e42c991228ec96a1f8eab7d333f22a8853a40162228953a6dad6e5cdb67e8f3d7b diff --git a/sci-libs/indilib/files/indilib-1.9.1-fix-include.patch b/sci-libs/indilib/files/indilib-1.9.1-fix-include.patch new file mode 100644 index 000000000000..7e3e24880d43 --- /dev/null +++ b/sci-libs/indilib/files/indilib-1.9.1-fix-include.patch @@ -0,0 +1,26 @@ +From 907b3d81f27593e709af9e3f2cdc6dab05d6d80a Mon Sep 17 00:00:00 2001 +From: Paolo Stivanin <paolostivanin@users.noreply.github.com> +Date: Tue, 29 Jun 2021 08:52:04 +0200 +Subject: [PATCH] Fix indimacros include path on baseclient.h (#1503) + +--- + libs/indibase/baseclient.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libs/indibase/baseclient.h b/libs/indibase/baseclient.h +index 6d5e49b9a..2656d7486 100644 +--- a/libs/indibase/baseclient.h ++++ b/libs/indibase/baseclient.h +@@ -20,11 +20,11 @@ + + #include "indiapi.h" + #include "indibase.h" ++#include "indimacros.h" + + #include <string> + #include <vector> + +-#include <indimacros.h> + #include <memory> + + // #define MAXRBUF 2048 // #PS: defined in indibase.h diff --git a/sci-libs/indilib/indilib-1.9.1.ebuild b/sci-libs/indilib/indilib-1.9.1-r1.ebuild index 10abb64d7eb3..eb8784d34540 100644 --- a/sci-libs/indilib/indilib-1.9.1.ebuild +++ b/sci-libs/indilib/indilib-1.9.1-r1.ebuild @@ -39,6 +39,10 @@ DEPEND="${RDEPEND} websocket? ( dev-cpp/websocketpp ) " +PATCHES=( + "${FILESDIR}"/indilib-1.9.1-fix-include.patch +) + src_configure() { local mycmakeargs=( -DINDI_BUILD_QT5_CLIENT=OFF diff --git a/sci-libs/libaec/Manifest b/sci-libs/libaec/Manifest index 3f6cb667479b..f9c2fc6cb814 100644 --- a/sci-libs/libaec/Manifest +++ b/sci-libs/libaec/Manifest @@ -1,3 +1,3 @@ DIST libaec-1.0.4.tar.gz 2775768 BLAKE2B e083c5e268296227b5193c2192f7c52d47f8cef08823de013453ffd2c5f8c115921a79c60286e7582cbfcbb914c5e8ad4c2493e4ec89395df3be2206bc893591 SHA512 74d01208ad3a426d68895dbfa8a830c96618a219f27745ecfd94b248462748e772c266e7fb0d4e4f4c75f8953a97f835fb2ece67317cf9e9a7495360362d22eb -EBUILD libaec-1.0.4.ebuild 745 BLAKE2B 15fb3d9c5e6cb36aa8b37c81f15d2de56fc5c4d3e8d4c72ec14b3a47d3acf85fac212f96c9ed206d1b6e46912df7277bb13093b7279dbf04d73851153c60f283 SHA512 16a174299e151ceecc7ec2a7f3f792b29d2ed0bca618588a3417d68d276771e7c5aff18726e462b547d6a14cb1240bc900f6c38e4c97580ef4c651263374caba +EBUILD libaec-1.0.4.ebuild 752 BLAKE2B 69a347bf06cf69874142484f14037de94bf358bc6969616cfe707721df850f43336bc6ee5cb4045420c39f79293043daa62d08684cb899f3f5b83cdac32c56d8 SHA512 37fc7ee6489b05edc05f63636ff8e65be8f417f0dbc57bc94940fa80835800a908527c4986b51e90bcd01557ec60688fd85630574159f8de4ff34229068e3c63 MISC metadata.xml 719 BLAKE2B d8294233ada6c2318c05d70c6062e7b7db0b0bab38410e9bd0c7d6f9834d1515cb138095d555f27f36c829fbbf7c83c141c1ce74213fba849da8704adf63889d SHA512 f0197c0cf374cb0771e4b2e3bfcc80f639d3e660943df1cab79eec68b515a605855f792b0b1627d24409cfb6cc2890ca7e96f4aace01639106ee50e14574ccf6 diff --git a/sci-libs/libaec/libaec-1.0.4.ebuild b/sci-libs/libaec/libaec-1.0.4.ebuild index 94b3844dae5d..67a349d6b185 100644 --- a/sci-libs/libaec/libaec-1.0.4.ebuild +++ b/sci-libs/libaec/libaec-1.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD-2" SLOT="0/2" -KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="+szip" RDEPEND="szip? ( !sci-libs/szip )" diff --git a/sci-libs/libsvm/Manifest b/sci-libs/libsvm/Manifest index 5426c179e873..c2ad881b4d53 100644 --- a/sci-libs/libsvm/Manifest +++ b/sci-libs/libsvm/Manifest @@ -3,5 +3,5 @@ AUX 3.14-makefile.patch 1634 BLAKE2B f25e5225e07040e43cc6057558914f177de4e3d4025 DIST libsvm-3.24.tar.gz 876441 BLAKE2B 6781804ba9706de5ad363bcbda20f2ec181cc4ee9613c9e7429f03872f7a03b04859df2ec00692d9de3ea237d1e478435a4d4db3ce7e5292689a2eab26a1fe46 SHA512 ff3c39bc84291bfb707151d7b8b6fb2eece937afa769cb8ee579d00ee4c30e943d476cd7bb18851d482c9bed89cf94fb3fd8abca4d47253360e12e9406f2f24b DIST libsvm-3.25.tar.gz 892471 BLAKE2B a80b7192981811f57446a966c911a07a2de17042e67faa26451c23129dafeac642596a619731b57a27d9845f904e2e4c5c11ae8aa3006fa49e2f62d7cec4cca2 SHA512 91afbcfd204f5fc9c367df446550cecaf01d5e34770fa10fc6bb02277d79b756393f7d057290df0f72fc941faaf0f4c84a863a3bf9d8628eeff1f99b6bc57a98 EBUILD libsvm-3.24.ebuild 2674 BLAKE2B 710e0e5791defed993a820b2bc8cc500d6df28b739b726bc4a4181b16892035c3d0e088cbb92284915c131905673acaf0e169ad03928d14f306c9bdc76c18145 SHA512 909838eeb6af0280d4cc7ec27e84c9ffa5c44544bb2a3a5ca9da862e4ace9f40a8b8ecff6131ef7504558ec35ecba3c24be27806bc45088aaee46dd157d13d79 -EBUILD libsvm-3.25.ebuild 2683 BLAKE2B b57d0d18bebd2f4b441a0d36831206e1354e108fe0f7a5576b2328f99068c37ad67d236afb24ca8e12d19f84175d9ac04302792cc8cf3e99f96b410664ba20fa SHA512 f8fe08780d85e0d2882829c1f3e28e7b331b1b6751f768e778d8dba12c2b248bccfa3c0fe931fcd2d4789ea7d666c14b95b8423a14fe3b40b7a5df5661944b62 +EBUILD libsvm-3.25.ebuild 2681 BLAKE2B 9fe64026721f8a0c0d9968735ab39c985e918a92f108d28f2f29e35fcae894c0e9a640f486458a502ac585de7e2690e4b3b5b931366193c18afc2f04be729645 SHA512 5ad00b4477540542650d388b1cb58e7aa24c6015b00f52626b3e47ee4da1a0766cba9e4b1c973275688dc0d891be59a71388a17766d741b7e9e85cd515c6a994 MISC metadata.xml 815 BLAKE2B b73e733b7881fd6c9b45f7605259a7d99e9bef6729936b7502df8c857e40e8552ebc0be25065a7d1391dd9b98cb4dd81b5dfd12722e5852f18c85ee693b2d20f SHA512 0e26fd0b3ddb08f769e92249819e93483cbca426465b8cd623703be2c242b5c8dd9731c978f6965e2c39d680229d5b15587ec0a16aea0b6fcf8172cf70e7f7ec diff --git a/sci-libs/libsvm/libsvm-3.25.ebuild b/sci-libs/libsvm/libsvm-3.25.ebuild index f4a2fdf7ebd9..edd16c69d55d 100644 --- a/sci-libs/libsvm/libsvm-3.25.ebuild +++ b/sci-libs/libsvm/libsvm-3.25.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.csie.ntu.edu.tw/~cjlin/libsvm/${P}.tar.gz" LICENSE="BSD" SLOT="0/2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="java openmp python tools" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/sci-libs/metis/Manifest b/sci-libs/metis/Manifest index 8fc46cfd531f..516dcbfc6050 100644 --- a/sci-libs/metis/Manifest +++ b/sci-libs/metis/Manifest @@ -3,5 +3,6 @@ AUX metis-5.1.0-multilib.patch 579 BLAKE2B 3e9edf7809a43026bfc7a320b1ff37f2e00a0 AUX metis-5.1.0-remove-GKlib-O3.patch 267 BLAKE2B ef39556238377c12a311685ca96188f8b4c3db1398b55941d273592ff40cad49d3ec5c7606177edacad25af4684d9ae65dacaa9a7ca9ad957d326b874b87f3cf SHA512 8b4f4eb0753063e64533e0101b9e78bf2a711e6b2d080607ab06025ad681788225abe7555db28edee00a98ba41badc41341bb3cec2bd654fc738d63d78867968 AUX metis-5.1.0-shared-GKlib.patch 590 BLAKE2B 63a10fd00f21cff949660c598fa4519432559965c72f31c35d2a726dbbdfb9d2591c99e92c9520c2021e8ce0c485aa9834445e9f5dfe388f93106e49eee562af SHA512 3157e364f56661c7bc896016b2cda83658f2b00fe7c936e732e80e366ccf6421a1ab6f95d5a74fdb790f4ec8789d048aab9d68b0ccf1eb03f94621f78adb1a3a DIST metis-5.1.0.tar.gz 4984968 BLAKE2B c5f8ff552fce7e7cc02740e6197c9deb5e05e8bc2e2e56cad0cba85705eec6990b511182930c8758fd16a18015f54c8a4827038039bc3c58ee41df468ea175bc SHA512 deea47749d13bd06fbeaf98a53c6c0b61603ddc17a43dae81d72c8015576f6495fd83c11b0ef68d024879ed5415c14ebdbd87ce49c181bdac680573bea8bdb25 -EBUILD metis-5.1.0-r4.ebuild 1478 BLAKE2B de2c08a22218ddaca73624764bf9ee1d13598588ecf27e46a59afce16df57b5f5a1836e98d820702c6dc24412ce459dcda8cc65ae72ac73e12176ea988f9d204 SHA512 bd41163f6c7d425125d3a2901eab1a3425d0f476d0268d03d91098d949533a865dbb11729ddb722e47b638ff92416d0cd7bc71219dd44e5804f93660aef08e9a -MISC metadata.xml 618 BLAKE2B 862f647c5562ab3d781bd3cb6a4ec1470cd45941043bbf1b9d09d41c5ad528546e338663400d322d8b1cb6b57e33910a9520b818a81c376451af0da6c037aa34 SHA512 7f46d28a97805eddd9d547ba66263cd395be46b495f4a9651312cfb421714b614d2c7415142c929c99386d32799fe78ea10110471b702487be4072b981ca17ee +EBUILD metis-5.1.0-r4.ebuild 1476 BLAKE2B 87c34e6e1637d9f26fdd5cd5ee91bd0251073f76ca6bf9f352a9015a6c3191c0e9c94bd7b48f288e35b8db739c8bbcd6aa0adbd1478ac7c07d5ae0d7d469db03 SHA512 fbe4473b0afef5bf9b2e2ce1c1f7a193d2398492dc4f836180b968aeff01aac21fea79424378e4bfdb47e6f586cf6091f45cb7799c872542aee47f8dbd998c5b +EBUILD metis-5.1.0-r5.ebuild 1812 BLAKE2B 64973cd56608538c3dceb82f66aafb8f40d335acf7966d5b9854dcd373a7eb9ea1b6f3d66bc068d3efe41a5829eadcf094be9b22f768779de974862b17fe5412 SHA512 267d581d645f6041d88729eb79c5ad7c8c109a0b5ee3ace113de9bb05dbab4d813c59ef64d28b83be06f4ca457ed1152ebd73a4cc0f80cd677a771974838a4fa +MISC metadata.xml 861 BLAKE2B 6aef18847710e42d21884dbd4c8285ee0527efec9a7444b1a3d8613011408d2f54cd4bdfa761316b7c1a16a1acb1e02b820ea2e8fea9080d59a2eb98a0b07229 SHA512 5d13498d10d46c9b8561e9b222adfbd1ba5998059c72f84cc39206155d421ccb06dfeb24ac71cee2566244c6af0c03070820e130bdeb7f01b09928d72ad0985a diff --git a/sci-libs/metis/metadata.xml b/sci-libs/metis/metadata.xml index 142ea93c83ad..cfc70289ed32 100644 --- a/sci-libs/metis/metadata.xml +++ b/sci-libs/metis/metadata.xml @@ -11,5 +11,9 @@ 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> + </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> </pkgmetadata> diff --git a/sci-libs/metis/metis-5.1.0-r4.ebuild b/sci-libs/metis/metis-5.1.0-r4.ebuild index 1e704d508cc9..a2a82573dad6 100644 --- a/sci-libs/metis/metis-5.1.0-r4.ebuild +++ b/sci-libs/metis/metis-5.1.0-r4.ebuild @@ -1,17 +1,17 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake fortran-2 +inherit cmake DESCRIPTION="A package for unstructured serial graph partitioning" -HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/" +HOMEPAGE="https://www-users.cs.umn.edu/~karypis/metis/metis/" SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="doc openmp" RDEPEND="!sci-libs/parmetis" diff --git a/sci-libs/metis/metis-5.1.0-r5.ebuild b/sci-libs/metis/metis-5.1.0-r5.ebuild new file mode 100644 index 000000000000..dec369ccd8f4 --- /dev/null +++ b/sci-libs/metis/metis-5.1.0-r5.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A package for unstructured serial graph partitioning" +HOMEPAGE="https://www-users.cs.umn.edu/~karypis/metis/metis/" +SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc double-precision examples int64 openmp" + +RDEPEND="!<sci-libs/parmetis-4.0.3-r2" + +PATCHES=( + "${FILESDIR}"/${P}-shared-GKlib.patch + "${FILESDIR}"/${P}-multilib.patch + "${FILESDIR}"/${P}-remove-GKlib-O3.patch +) + +src_prepare() { + if use int64; then + sed -i -e '/^#define IDXTYPEWIDTH/s/32/64/' include/metis.h || die + fi + + if use double-precision; then + sed -i -e '/^#define REALTYPEWIDTH/s/32/64/' include/metis.h || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DGKLIB_PATH="${S}"/GKlib + -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 + use doc && 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}/metis + Libs: -L\${libdir} -lmetis + EOF + insinto /usr/$(get_libdir)/pkgconfig + doins "${T}"/metis.pc +} diff --git a/sci-libs/mumps/Manifest b/sci-libs/mumps/Manifest index 4c7676dc3c30..c55aaaa1b224 100644 --- a/sci-libs/mumps/Manifest +++ b/sci-libs/mumps/Manifest @@ -1,3 +1,3 @@ DIST MUMPS_5.3.5.tar.gz 3940501 BLAKE2B f1767483bb23744a2c5ed11b0823c5b023377d5212abbe29a177cce5b5e51e6f2f391d7caa17022646e36c9e4b4fb4af80b03ac6cf8e89f37502ed960138bbbe SHA512 6e3bb081f38af8540ada7b4fb54c6e766739c854e2a3dd253e3e012eee05dae30064b1b4a8d7493f10691725aba4cc9e80544b0fe5b71670cb0b2726ccfc4439 -EBUILD mumps-5.3.5.ebuild 5744 BLAKE2B eb5800c68323aa3dfd22102984072cd8b0b77c80014206796840eb94249d956df9a891fd060d2c8e6d5a7b3a9714932435b6c13c4ed6a27c05689c8ddfc016e2 SHA512 8b9b3e348cbe0324550d99f9ed1c31da9d6d91b45b4a275f7eef559fb946f8a39d3b2726ecc2c285dbff2022a55effc7b8347dba36853fcf82089ca206ded70d +EBUILD mumps-5.3.5.ebuild 5709 BLAKE2B 9fdfaad7401159ab5213ed0ea8ce0808d27abebd624b16389796f3a1d64f079744862b0ab16884f58cc87b39da7b95909aa3ff76ff241ccb3f81d33b84fa7fb0 SHA512 09a8bbe8322a2112b591dcc5f7c5fe9dd49b9fc06c71cfed3d84e72d733dbb56b844ae202347d5c389c226b4cbe1a5d66f61323ea36f626cb6e50827c40b740f MISC metadata.xml 864 BLAKE2B 78db103b861071cbad317a65db2bb1c7eafc6c3936728cf3854ea05e92210abbf552e01dcbc974dc5238fc1a432ad7ff48fab3d662ea6081ff70fd86263ac11b SHA512 c285d7ed4bd26bb603f40f9d5e4e7262aea8a2679d14f65a4f8959a9bf2c622310422790e6221708fa227cd2c3bb2f4ba140eb5f23acc71b3f1ca20c04c4711a diff --git a/sci-libs/mumps/mumps-5.3.5.ebuild b/sci-libs/mumps/mumps-5.3.5.ebuild index 23e0f15d16a2..76f2dbe8d4d0 100644 --- a/sci-libs/mumps/mumps-5.3.5.ebuild +++ b/sci-libs/mumps/mumps-5.3.5.ebuild @@ -21,8 +21,8 @@ BDEPEND="virtual/pkgconfig" RDEPEND=" virtual/blas metis? ( - || ( >=sci-libs/metis-5 >=sci-libs/parmetis-4 ) - mpi? ( >=sci-libs/parmetis-4 ) + >=sci-libs/metis-5 + mpi? ( >=sci-libs/parmetis-4 ) ) mpi? ( sci-libs/scalapack ) scotch? ( >=sci-libs/scotch-6.0.1:=[mpi=] ) diff --git a/sci-libs/openblas/Manifest b/sci-libs/openblas/Manifest index f3cfdc4f20f2..c6fd47d10f96 100644 --- a/sci-libs/openblas/Manifest +++ b/sci-libs/openblas/Manifest @@ -6,8 +6,10 @@ DIST openblas-0.3.12.tar.gz 12325103 BLAKE2B 3d6706e59e83f87dd58b287753bf697de99 DIST openblas-0.3.13.tar.gz 12437434 BLAKE2B d8f9d3296506c6148cd506278f0b6a2a4fe50975a7fd3f54108e98e88a13002b1035f5697322ba73df7c6397faee6d0772c1d4d46b66db8e862f17b980dbdf97 SHA512 86e7f496587cc35d7feede99cbe3cf627ef690dd7489bb03b95f7d15ed758e32baf17d79f17b1de187184394233f60a8249a64dd53c3d59a9540db92269b7ee4 DIST openblas-0.3.14.tar.gz 12460465 BLAKE2B 9505ff6e132581ecc86159fb84192c6bbce0f2974293eaf1b4aca6b96b5da85823bfc1bced65a96930674fd4781ea3e375aed09cbdc9930cef26694c9f8e1c80 SHA512 c7d5947ada525a32bc6e97ff94272df9730fa5fb06102e06e80472baedc1a9119d82050cdaede192db15f816ae7143784d7801b61b64fab5b5cf97cdbd5e625e DIST openblas-0.3.15.tar.gz 12498434 BLAKE2B acf3d15e002686bcd84323616387dcf540b58d57392a4862cb556da58d873a8c40783fc4fdae45170aeb204ede3451843c44e3f5e264f76c9a7486b30b3f4cc7 SHA512 c07964ead5ffe9cf088364697bfe5cb409170663e420bdcd08a6366a028625d2a3c23ee4ddbaf0e625860a9fd08cbbb39f97eb985c366c052696d6f8598a844f +DIST openblas-0.3.16.tar.gz 12511373 BLAKE2B 7856ffa249f6a18102188b32f40327682c9e5f5fd5430e6bd628fd9b00a852a106a9053fe3116cd349ac35f30126bfa19c2dd9dcdfe79f7748a327bf6e53cf7d SHA512 cf5592fca7ff88ad6dc70fc0d87f6f63d3c76c923ebe9a7f62732739151b460a9b2e0d3a34ca541d7f0fb61e80b30d495020bd2c556fcaa408b9a4155f1b2d1a EBUILD openblas-0.3.12-r1.ebuild 5733 BLAKE2B b272b29e82e16ba4a47e16e78d97e4049dec58fddee0cad16d963012ef6344772f3661751ae796b6f28247172edd94d5db2b1eb3d84e195ec617f447d02b1b15 SHA512 3794725cf6daedb442892fe8971303d6d6fde25f0d55aec63f2ce7c8c5ffdb2cf48640a96d6f2ca839590bd1de1321e382ec47c4545cecef8573b9030d5ed692 EBUILD openblas-0.3.13.ebuild 5734 BLAKE2B f2d4bde48b206c4d6e97029b617f0538978144b0e3e239cf79837bf6e1525dbe398a0d3af121368299752646217e3cd3e29c4f3d1e4e549fcb9ce9c1598c5f25 SHA512 846370655b16dbc45a518374e4c1714eb135a6fab2c36059c602ee4dc236b952eba54123e536a07b484d994a68f26b94ac740ef7f645083c0ccb855492195627 EBUILD openblas-0.3.14.ebuild 5733 BLAKE2B b272b29e82e16ba4a47e16e78d97e4049dec58fddee0cad16d963012ef6344772f3661751ae796b6f28247172edd94d5db2b1eb3d84e195ec617f447d02b1b15 SHA512 3794725cf6daedb442892fe8971303d6d6fde25f0d55aec63f2ce7c8c5ffdb2cf48640a96d6f2ca839590bd1de1321e382ec47c4545cecef8573b9030d5ed692 EBUILD openblas-0.3.15.ebuild 5734 BLAKE2B f2d4bde48b206c4d6e97029b617f0538978144b0e3e239cf79837bf6e1525dbe398a0d3af121368299752646217e3cd3e29c4f3d1e4e549fcb9ce9c1598c5f25 SHA512 846370655b16dbc45a518374e4c1714eb135a6fab2c36059c602ee4dc236b952eba54123e536a07b484d994a68f26b94ac740ef7f645083c0ccb855492195627 +EBUILD openblas-0.3.16.ebuild 5734 BLAKE2B f2d4bde48b206c4d6e97029b617f0538978144b0e3e239cf79837bf6e1525dbe398a0d3af121368299752646217e3cd3e29c4f3d1e4e549fcb9ce9c1598c5f25 SHA512 846370655b16dbc45a518374e4c1714eb135a6fab2c36059c602ee4dc236b952eba54123e536a07b484d994a68f26b94ac740ef7f645083c0ccb855492195627 MISC metadata.xml 1560 BLAKE2B 1f49ef5d206bfe68783b2d7f235e5fc651ac750f84403eac6519a2c69c4eb35a31f784c67fd8e4c9f8e9ecdea46e5b325ed0725b45654528d56fe6d30460a829 SHA512 e3113c317b18c389e8055ec16e61426abf6f088f796e75939e78789884e2084d038bad754b2424a68e79fe1b83509d00b93bcfd72c2e3530185c780861b47f1d diff --git a/sci-libs/openblas/openblas-0.3.16.ebuild b/sci-libs/openblas/openblas-0.3.16.ebuild new file mode 100644 index 000000000000..4566f928af81 --- /dev/null +++ b/sci-libs/openblas/openblas-0.3.16.ebuild @@ -0,0 +1,198 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic fortran-2 toolchain-funcs + +DESCRIPTION="Optimized BLAS library based on GotoBLAS2" +HOMEPAGE="http://xianyi.github.com/OpenBLAS/" +SRC_URI="https://github.com/xianyi/OpenBLAS/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/OpenBLAS-${PV} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="dynamic eselect-ldso index-64bit openmp pthread relapack test" +REQUIRED_USE="?? ( openmp pthread )" +RESTRICT="!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.12-shared-blas-lapack.patch" + "${FILESDIR}/${PN}-0.3.10-dont-clobber-fflags.patch" +) + +pkg_pretend() { + 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() { + fortran-2_pkg_setup + + # List of most configurable options - Makefile.rule + + # https://github.com/xianyi/OpenBLAS/pull/2663 + tc-export CC FC LD AR AS RANLIB + + # HOSTCC is used for scripting + export HOSTCC=$(tc-getBUILD_CC) + + # threading options + use openmp && tc-check-openmp + USE_THREAD=0 + if use openmp; then + USE_THREAD=1; USE_OPENMP=1; + elif use pthread; then + USE_THREAD=1; USE_OPENMP=0; + fi + export USE_THREAD USE_OPENMP + + # We need to filter these while building the library, and not just + # while building the test suite. Will hopefully get fixed upstream: + # https://github.com/xianyi/OpenBLAS/issues/2657 + use test && filter-flags "-fbounds-check" "-fcheck=bounds" "-fcheck=all" + + # 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 + use dynamic && \ + export DYNAMIC_ARCH=1 \ + NO_AFFINITY=1 \ + TARGET=GENERIC + + export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-8} \ + NUM_THREADS=${OPENBLAS_NTHREAD:-64} + + # 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 dynamic && [[ ! -z "${OPENBLAS_TARGET}" ]] ; then + export TARGET="${OPENBLAS_TARGET}" + fi + + export NO_STATIC=1 + + BUILD_RELAPACK=1 + if ! use relapack; then + BUILD_RELAPACK=0 + fi + + export PREFIX="${EPREFIX}/usr" BUILD_RELAPACK +} + +src_prepare() { + default + + # Disable tests by default + sed -e "/^all ::/s/tests //" -i Makefile || die + + # if 64bit-index is needed, create second library + # with LIBPREFIX=libopenblas64 + if use index-64bit; then + cp -aL "${S}" "${S}-index-64bit" || die + fi +} + +src_compile() { + default + cd interface || die + emake shared-blas-lapack + + if use index-64bit; then + emake -C"${S}-index-64bit" \ + INTERFACE64=1 \ + LIBPREFIX=libopenblas64 + fi +} + +src_test() { + emake tests +} + +src_install() { + emake install DESTDIR="${D}" \ + OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/${PN} \ + OPENBLAS_LIBRARY_DIR='$(PREFIX)'/$(get_libdir) + + dodoc GotoBLAS_*.txt *.md Changelog.txt + + if use index-64bit; then + dolib.so "${S}-index-64bit"/libopenblas64*.so* + fi + + if use eselect-ldso; then + insinto /usr/$(get_libdir)/blas/openblas/ + doins interface/libblas.so.3 + dosym libblas.so.3 usr/$(get_libdir)/blas/openblas/libblas.so + doins interface/libcblas.so.3 + dosym libcblas.so.3 usr/$(get_libdir)/blas/openblas/libcblas.so + + insinto /usr/$(get_libdir)/lapack/openblas/ + doins interface/liblapack.so.3 + dosym liblapack.so.3 usr/$(get_libdir)/lapack/openblas/liblapack.so + doins interface/liblapacke.so.3 + dosym liblapacke.so.3 usr/$(get_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/parmetis/Manifest b/sci-libs/parmetis/Manifest index e78ffc1c26a9..c46e5b19c64d 100644 --- a/sci-libs/parmetis/Manifest +++ b/sci-libs/parmetis/Manifest @@ -1,4 +1,7 @@ +AUX parmetis-4.0.3-01-cmake-paths.patch 1145 BLAKE2B 68b601d3421e88114a4cf3c6e580f92a9b5efa301e4480b55e820cfb18f75b1062b8ddec6e3aab0e49f97cbe0e8e8ac42d1db6f7f99f8f4d4bcdd2dad4ce8d2c SHA512 96892b7e8e8e4779233dfbc5737506a80454447eac0f0cbf07fa76aecc37dfe61bc16e5638bc36bc4f99ee89b259bd5f13a5fe4c5218b076810a498387ee01cf +AUX parmetis-4.0.3-02-unbundle-metis.patch 300 BLAKE2B 4baa2ef83d09746ec74e058eb4aba8e5bf6cbdf1f1ed44bf2b5d7a858afc677ac639a605cdb060960d646f2effa6c6eb6b173ebc78a09253046c1fffef7bbe32 SHA512 9f242db228d02c57d93c710be4f1cf8535012d13134064ea21588faa884f689ceac8deab9cee1f00a7192d64601753121a906622dbc900c6efc7e86d0e857744 DIST metis-5.1.0.tar.gz 4984968 BLAKE2B c5f8ff552fce7e7cc02740e6197c9deb5e05e8bc2e2e56cad0cba85705eec6990b511182930c8758fd16a18015f54c8a4827038039bc3c58ee41df468ea175bc SHA512 deea47749d13bd06fbeaf98a53c6c0b61603ddc17a43dae81d72c8015576f6495fd83c11b0ef68d024879ed5415c14ebdbd87ce49c181bdac680573bea8bdb25 DIST parmetis-4.0.3.tar.gz 5567670 BLAKE2B 69a44ea8e50d8fd78046a342807b994220d03da3ab1695533d92772b1840302917a7d5d6f9eb020d9ff8ab7e5372bff0386d6354b662f58495b74f8f596c45f9 SHA512 454a91921ca35c981df11c9846a11963ff8fd8407a25179453af33f8fe69493f6dd7f2a0b8feed9a7d3f121e45b715749dd7a94873eaac2bae4cad1e535ca132 EBUILD parmetis-4.0.3-r1.ebuild 4028 BLAKE2B e5529c9b1ac73f54184fb85e7a8f3dc0bc5c80d5ae6e17ad23944fa45e227466ec9e4c671a366a7a8353bcbf05f5e320b7a581a14e4634d7c2472f549ef023ad SHA512 5c0945e3974c92c0f05d5bd0fb968e2d0b1efad060fe443d3b433408628b2182294526087f33d8387d0f37a4de35a8995dab4957d4fd585dad3c79a4e8bcf8fa +EBUILD parmetis-4.0.3-r2.ebuild 1612 BLAKE2B 2b05eb691b497566512e5f0a8c594787605e9d12f2e035823280f7c128bf9b4e8bf280217052771d8689f9f57dc844e233f62826ffae4dca293a9cc06ef9239d SHA512 c4d03e7570394df645c2cfbdbd05c4ebf2edbdffc4dbce2fb262edbb33282724900f9354bc2488be3d042067d32b42d2e84e1667b5f6a3efcb1f282d708c7580 MISC metadata.xml 851 BLAKE2B 8c8fc30f50378b05ae59ca1f829da71f2a5cf66dfab03f645ceed4379bc8edc176fb9e5d1f1f83bbb695519a9e14bfd7855e040f56070a344791eb70eed12721 SHA512 6309c02babe871cd0bdaf509caab79dd8b81face5f6f5a39a1473284dbae6859223ae4f65d61fcf08370bac29dfd0e174cb722fbeeaeb5c80d53b749c265c73a diff --git a/sci-libs/parmetis/files/parmetis-4.0.3-01-cmake-paths.patch b/sci-libs/parmetis/files/parmetis-4.0.3-01-cmake-paths.patch new file mode 100644 index 000000000000..cdff3c0ea490 --- /dev/null +++ b/sci-libs/parmetis/files/parmetis-4.0.3-01-cmake-paths.patch @@ -0,0 +1,37 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,8 @@ + cmake_minimum_required(VERSION 2.8) + project(ParMETIS) + ++include(GNUInstallDirs) ++ + set(GKLIB_PATH METIS/GKlib CACHE PATH "path to GKlib") + set(METIS_PATH METIS CACHE PATH "path to METIS") + +@@ -36,7 +38,6 @@ + add_subdirectory(${METIS_PATH}/libmetis ${CMAKE_BINARY_DIR}/libmetis) + add_subdirectory(include) + add_subdirectory(libparmetis) +-add_subdirectory(programs) + + # This is for testing during development and is not being distributed + #add_subdirectory(test) +--- a/include/CMakeLists.txt ++++ b/include/CMakeLists.txt +@@ -1 +1 @@ +-install(FILES parmetis.h DESTINATION include) +\ No newline at end of file ++install(FILES parmetis.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +--- a/libparmetis/CMakeLists.txt ++++ b/libparmetis/CMakeLists.txt +@@ -9,6 +9,6 @@ + set_target_properties(parmetis PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}") + + install(TARGETS parmetis +- LIBRARY DESTINATION lib +- RUNTIME DESTINATION lib +- ARCHIVE DESTINATION lib) ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/sci-libs/parmetis/files/parmetis-4.0.3-02-unbundle-metis.patch b/sci-libs/parmetis/files/parmetis-4.0.3-02-unbundle-metis.patch new file mode 100644 index 000000000000..f4e04eb48a94 --- /dev/null +++ b/sci-libs/parmetis/files/parmetis-4.0.3-02-unbundle-metis.patch @@ -0,0 +1,10 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -35,7 +35,6 @@ + include_directories(${METIS_PATH}/include) + + # List of directories that cmake will look for CMakeLists.txt +-add_subdirectory(${METIS_PATH}/libmetis ${CMAKE_BINARY_DIR}/libmetis) + add_subdirectory(include) + add_subdirectory(libparmetis) + diff --git a/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild b/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild new file mode 100644 index 000000000000..6d9599fec417 --- /dev/null +++ b/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake toolchain-funcs + +DESCRIPTION="Parallel (MPI) unstructured graph partitioning library" +HOMEPAGE="https://www-users.cs.umn.edu/~karypis/metis/parmetis/" +SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples openmp pcre" +RESTRICT="mirror bindist" + +DEPEND=">=sci-libs/metis-5.1.0-r5 + virtual/mpi[fortran] + pcre? ( dev-libs/libpcre:= )" +RDEPEND="${DEPEND} + !<sci-libs/metis-5.1.0-r5" + +PATCHES=( + "${FILESDIR}"/${PN}-4.0.3-01-cmake-paths.patch + "${FILESDIR}"/${PN}-4.0.3-02-unbundle-metis.patch +) + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + use openmp && tc-check-openmp + fi +} + +src_prepare() { + export CC=mpicc CXX=mpicxx + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DGKLIB_PATH="${S}/metis/GKlib" + -DGKRAND=ON + -DMETIS_PATH="${EPREFIX}/usr" + -DOPENMP=$(usex openmp) + -DPCRE=$(usex pcre) + -DSHARED=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + dodoc Changelog + use doc && 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} -l${PN} + Cflags: -I\${includedir}/${PN} + Requires: metis + EOF + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc +} diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest index 4ac8b8f3e799..4a559ccbe1c3 100644 --- a/sci-libs/pastix/Manifest +++ b/sci-libs/pastix/Manifest @@ -1,7 +1,14 @@ AUX pastix-5.2.2.22-isnan-floating-point-cast.patch 1901 BLAKE2B 3bb02c4898367e02091793064ba23b329913d8567eeb721bc0de0e70acb63e4ab5345ebde859bf6c8b3b8796a6bad1d722cc51b9f5f41cd046974defa0f3e026 SHA512 23b3e4854afb459e0f68c4322bd85db6addc6ec043bb9c404a9a60667de6b01bb17c3d7795f8fd5dacaa0b5db6c45a6f1e1358590c77326610bc271903b920ee AUX pastix-5.2.2.22-nosmp-undefined-variable.patch 494 BLAKE2B 06a9e3933d0a181f535ad2922c3b39375d50b81abc572a1363e5e1130e3647083940ffc929e40cf93d35e364eb7e36d84d57a53bd9fe247ff8f7fefde93a08f7 SHA512 c12719176b352b396cc58d7a4474955df0cb01459edce1b2f220c6352d99bf608d39c3b4d6b54b0ae8b4643879ed79b7a5fbd03b746dba0bf4cc265d81d6d38e +AUX pastix-6.0.3-cmake-examples-optional.patch 5248 BLAKE2B eb6e08274d2bbac53c4fe02497880f61a83eb357dc95ec6ea1049322556010a0e5514d8c6d0f273b00b7b46047394edf2108ee14ef0cde65f99ebe1eb2160786 SHA512 00c214c45cf4a1c06ca4dcf3cffde9915de67f2656b0712ca23f6ff2c4aa29845f37fd7940d011fbbba170d3a47b6d74ec6cb165474c2eb30a292374e0d52953 +AUX pastix-6.0.3-cmake-installdirs.patch 13450 BLAKE2B 9c7535b4074496a97d0673fad73e7729f34c71ad992441fa2dbc1d8801b6cf1d74773872b71fad5dec8f21ac26065abf0e7de12cbec2c9a52098be6368dd7b31 SHA512 89de15236d23fb8e7f9d064789e2a6314a615803a41deeb08f22f4ee5aea92263da939ce967310fd93a5cd89051c0f0a0d3df71b0ea4968cefbec3c5cf5185fe +AUX pastix-6.0.3-cmake-python-optional.patch 1861 BLAKE2B 5097879c1481ce7514903a182007d0d87a9e59a350f72ebba21b5719e893308617416c3661058744f7a83009cb6c7d8949ba6e57966e0a798aa4b1c96aa1f928 SHA512 ecff70d902a4424b4ee996b563e54b7190ee1d3324ef7079fafdef2f23abbc9a18899f827156ed4145a3d977f5b6c980acafb96f479be693b6658f7d21e5cced +AUX pastix-6.0.3-cmake-spm-project.patch 319 BLAKE2B 11d63d28bb5e843571306321a0c3153eac0cfa5150918db2ae019d8defda1689dd41d584bbd866f4016f3f98102c61a4bb5a18419f88bfc197cd3659afb95311 SHA512 58aebfea042443daf75fb155c39d44e5a2d4ffdc27043b66a6c6089613363b0613ab8ac9e11cde1b749e87ec160aaa0355a0c3a2bb01fbedb43c4d28951e7747 +AUX pastix-6.0.3-multiple-coeftabMemory.patch 260 BLAKE2B 968d32d2994afca84fcee7bc4b93aa7cf77dda2d66c2617095ee191572fb9c37d631e83954efdb53aba0997b426f85a6529d40a3c8f85f62de684548cc760447 SHA512 2f73d7f2ebbc92b46f13e0bed42ed76fd6831af5706988e5111971adb3ba46d8bca9fd563f40cb8a10fae1a65e180c2f1866b51ab0c4c95ef801c590513301f2 +DIST pastix-6.0.3.tar.gz 1793579 BLAKE2B 9e0ee71c80b2c93c6762c1a824b2e1262fd1a9f406194fb99eeecbfc172cf82f497d23a541b56c44e5487c3c228cab781f47f683ee04c6cdf426da6126750a69 SHA512 5bf8dfa6ed02ee7e236c63e21c80bd45af807b465b21a8c0520b1328e179095f1416f925be9f8b5ec0e8078ca9bc4398bf0d091fdc8e9ea51b9af12a06d9a544 DIST pastix_5.2.2.22.tar.bz2 2664470 BLAKE2B b1fbd12bf2c882aa8fd2c4891a6890df4bdc4488cedca2a7861e676ec5678063927f2e4a4edc47aa7ca0422b283f8f012aa1032af7212fe39f4c55e7f0f7adc4 SHA512 15ecdb10b5229e40f744c1ad54be7cac6560cb92e90df1937c90ca7da290df6bdb6f24a1e1c54197731b9df3e0dcc0b9fa39750479fcf03a0c08c304c5b9df70 DIST pastix_5.2.3.tar.bz2 2246903 BLAKE2B b13cb31bbc2aeb122e932b2a934598ec975a55f327483bf1383280976584858426c56982f6980b52f32f04e05c6e6c8de1cf35e378e61a7be9dddb705b1c033a SHA512 69acffac1be8c756886783c2a6307269ab4d14abfc4a77268b3d14995e53b16084c298446812484233d9d52c317490d6ad67788166adf367075e6c8442147b95 -EBUILD pastix-5.2.2.22-r1.ebuild 3653 BLAKE2B 2fde445d7fa06f9c7f38fd61d23550df25a3c5b414eb309c7b2a5ebaac6ff844052e8cf612ba5d6e308c970e6d2d5d317b52a62365bec4fecd2e70614595fbf5 SHA512 884c7d5eec941cc2fc55597a62d674ec239a62ea3d66ec9811671b2841dcb0723937298abc9599011fc431bc8cf2c27aea9ea396936e78edccd4e8d4c19d57bb -EBUILD pastix-5.2.3.ebuild 3340 BLAKE2B f8f0da2f1af8e8736c7697d1aabfa8d98975a743d1a3166233db6af4652c94baac68704c3817736f5b64c19bb407f2b345596af9d690852ee97623fceb8bee05 SHA512 9c31a8358f22cf6350da37a10a50e2963b48023d1c93d51039d1068cce46c8f8bab8b871cc4c35692b97342c9ab1d9c4938137b0bd440f2b8a0e0e47a0b350ad -MISC metadata.xml 1055 BLAKE2B 237a5db431f2c60ea448c9627f943e88a7fd50509884af078c1de5b9ed51317806d815cf8f8ad9c1f85272077438df2d8c76e26fa9a1c9133bb17f3b1cd056ed SHA512 42f9f1f03c4a2df46918ef461d814ca3c0e80e0fa5420327a45d6ca7ec87dd3f14ad0e5a4384b49aebae971578a425b475fa0e1ed6b73370afb743222765bfde +EBUILD pastix-5.2.2.22-r1.ebuild 3654 BLAKE2B d70d097c0a3f21422e40544bd0fc0ccd672df019c19400f4df5e2c6670c7c8fd69574a9bb60c88ac93a23ddb103503b68fe5013713a3f03f21e891207451b542 SHA512 c7c15a392edd6ff9e60b3e87b3878b17bcacb8fa506451f72347eb7c8d2a62c2eab7cef4aab640b5ba712b51a9cca6f7729c316f9159943f44105774d8195cfe +EBUILD pastix-5.2.3.ebuild 3357 BLAKE2B c93431fa3f05b734306c3bbb4013cbdd8b4de61ddf215a64ebda59243a7ea04ebced5a88347be628576dc45edcdbc9f4f095e209785e62c7d3bc9b80670a7489 SHA512 ad8ba565ac13098b3b06c4f0d8572250bf3848b79422f9aa6ccace31012dc9323b634404fbbe99bc5e66fe93d31c37ab4bc855d6fa7bd86a8b99267473badfa9 +EBUILD pastix-6.0.3.ebuild 2387 BLAKE2B 4a925c57aa18beb437a145329e079413357ed6000606017a01ce4551dfb027abf452ae19addea10785dca0b8041597977ddbb5cf75743e860766d42a28916f94 SHA512 a753e8e4ce38ab3fcf4fb04aca8230aa9e9464854e8535cb020571a68b13f52efe472b7f2e3013f0fb1a26e7a766cbd2f4fb0bf0aad260e919eebbba69193a90 +MISC metadata.xml 1382 BLAKE2B 6645d0fa68bd78ec49fab235ec144026bde5af864fc07ec2f0a912fb30ff4fa7cc0fe2fc0998c110b78a1838347a4e8f1c9895285cc901bb47bcc32d0cfcd18f SHA512 c65101556a21a4f3348766deb2ad4593ebdfaf76e372886a438efc2f8b9d9f7291ee173b8339ddd245fce393f8e26f632fe184ef1585645d830649218987ff40 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 new file mode 100644 index 000000000000..5f0701168271 --- /dev/null +++ b/sci-libs/pastix/files/pastix-6.0.3-cmake-examples-optional.patch @@ -0,0 +1,170 @@ +--- 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 new file mode 100644 index 000000000000..a586981f37e7 --- /dev/null +++ b/sci-libs/pastix/files/pastix-6.0.3-cmake-installdirs.patch @@ -0,0 +1,424 @@ +--- 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 new file mode 100644 index 000000000000..71d356fae2f1 --- /dev/null +++ b/sci-libs/pastix/files/pastix-6.0.3-cmake-python-optional.patch @@ -0,0 +1,64 @@ +--- 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 new file mode 100644 index 000000000000..f2ca9a5699d1 --- /dev/null +++ b/sci-libs/pastix/files/pastix-6.0.3-cmake-spm-project.patch @@ -0,0 +1,12 @@ +--- 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 new file mode 100644 index 000000000000..84dfdd4cc101 --- /dev/null +++ b/sci-libs/pastix/files/pastix-6.0.3-multiple-coeftabMemory.patch @@ -0,0 +1,11 @@ +--- 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 index 387eff2e8edd..1a653c7ffd2f 100644 --- a/sci-libs/pastix/metadata.xml +++ b/sci-libs/pastix/metadata.xml @@ -17,7 +17,11 @@ block structure of the incomplete factors. </longdescription> <use> - <flag name="int64">Build the 64 bits integer library</flag> - <flag name="starpu">Build and link with <pkg>dev-libs/starpu</pkg></flag> + <flag name="cuda">Enable GPU support using CUDA kernels</flag> + <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-5.2.2.22-r1.ebuild b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild index 4e3808900012..16806da1420a 100644 --- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild +++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,7 +23,7 @@ PID=35070 #SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2" DESCRIPTION="Parallel solver for very large sparse linear systems" -HOMEPAGE="http://pastix.gforge.inria.fr" +HOMEPAGE="https://pastix.gforge.inria.fr" SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2" LICENSE="CeCILL-C" diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild b/sci-libs/pastix/pastix-5.2.3.ebuild index 3cd36ee0e4bd..767d81754b5e 100644 --- a/sci-libs/pastix/pastix-5.2.3.ebuild +++ b/sci-libs/pastix/pastix-5.2.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit fortran-2 toolchain-funcs @@ -16,12 +16,12 @@ inherit fortran-2 toolchain-funcs # package id: change every version, see the link on inriaforge PID=218 DESCRIPTION="Parallel solver for very large sparse linear systems" -HOMEPAGE="http://pastix.gforge.inria.fr" +HOMEPAGE="https://pastix.gforge.inria.fr" SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.tar.bz2" LICENSE="CeCILL-C" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" IUSE="doc int64 mpi +smp starpu static-libs" RDEPEND=" @@ -30,8 +30,8 @@ RDEPEND=" virtual/blas mpi? ( virtual/mpi ) starpu? ( dev-libs/starpu:0= )" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${PN}_${PV}/src" diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild b/sci-libs/pastix/pastix-6.0.3.ebuild new file mode 100644 index 000000000000..a711d69037f3 --- /dev/null +++ b/sci-libs/pastix/pastix-6.0.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9,10} ) + +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://pastix.gforge.inria.fr" +SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz" + +LICENSE="CeCILL-C" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +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/scotch/Manifest b/sci-libs/scotch/Manifest index 72d0155b8d87..e4c7bac01ea6 100644 --- a/sci-libs/scotch/Manifest +++ b/sci-libs/scotch/Manifest @@ -3,5 +3,6 @@ AUX scotch-6.0.4-flex-2.6.3-fix.patch 1623 BLAKE2B 9d86299eb543147ce7e736779b05c DIST scotch-v6.1.0.tar.gz 6292006 BLAKE2B 5b76b01c0fa752468a36830a15c190cd78efc851c3b6831eb2d16b7cf34a71d55463b266ffdee4c6addd4e66ca7caf75e63825051e600ee8a32494e5033cabbd SHA512 e6d217a23e39635f8749811a3fc64c8da14d0396a71b4042a4f8f3ce32ff1f0b4ed033ebae90f3785443dae9b35ded68ea512ed1e3e7f9ea9a471a499ae26b89 DIST scotch_6.0.4_esmumps.tar.gz 4804966 BLAKE2B 63c058fac9206e70975463b1748eb5ce7cd2ba01d9fcbb28eba8f5914ac49a71fcf87941fafd6047712fa519f3b5523ce199bdf5228a8b094bbb465dd64a1083 SHA512 0fcf639ab1a09451256444005f1a4a739403159e3ab22c34fbcedc481be387cd4c86be6fb029b4b5816220564f64f662434bf7f1d3921ed18be081ae2a7a9ee2 EBUILD scotch-6.0.4-r2.ebuild 5046 BLAKE2B 8e69b5110256582554ea1bdbc288f30bba8cb4316692f995f898e7fc16e27011b0d8dae00aba4d3fad6cfadcc82589625e42c43ebdf48f0c61440336d0cc61ec SHA512 5cd78fc6579b56ee2faf5a1b1ae6d584fede1e074513ed612b15b9bf4494ae3b7d89c3c9c9092df972576cc8a3955759667fe0dbfc6a27468089145fd8665497 -EBUILD scotch-6.1.0.ebuild 4935 BLAKE2B 94eba9a49a1ba532cd2fb6c70d09e06d298e4eb92313ee0fb8ab73a21661564a8da8eb2917415fc57c28c06e2e39a14cbdd6d823b21a1eade7fde27b845a168c SHA512 35a08e93c0b5e6d8e2e41d34ce8103598ccc1948520e4c569862fb3680faa7087a4495cb0b9c950a1559b7be3b9274928212919d3e7bc17f597d0c1ae5a170a4 +EBUILD scotch-6.1.0-r1.ebuild 4954 BLAKE2B 6f3067d0ffa3e230bdcdf6748dac63153f4978f4b018527efb7fa92eaf3fbd361bcc257d36559936a2c5be25c2591eb26fb1a266b1b1208c4a722f0ce126712b SHA512 ca7f02520153c68aafbcb687fd85a548ed5aa6df44b5c086063a6507152737b58b2b1c987676526882524f6d120939c88b4c16d193a8819049b1e5f76bef8e80 +EBUILD scotch-6.1.0.ebuild 4942 BLAKE2B abbe129155d654ca4bf9ea5be27a703f44beb31bf2626042f763120ecdf70aad3a145e2dee2068b34038d92d634d29fe189353176eed242f37487aa62cf2f874 SHA512 4364a04ccfd41d423d439072a45be468ce844b916fd2f302e0e4dc7585217ff39ed0e52406fb96016e5b457606175b64c118f9d525629ed506bf11c700548d9e MISC metadata.xml 1168 BLAKE2B e77807bd62ed2b78c83b9b0c99b4dd62f79259bacd1559a017ad7e22d5e7b23bfde27c512630da9243739f11a180ae76f280bf5b524ca5ef2b8adc95bf2ce207 SHA512 15d84db92f7c2fb144f9385686041193cd35b2dda682eb0cef254e9ee62a20d38b748131d3878f4a326568993a23eb0c971909d62402ea3f1c30f4ec89300968 diff --git a/sci-libs/scotch/scotch-6.1.0-r1.ebuild b/sci-libs/scotch/scotch-6.1.0-r1.ebuild new file mode 100644 index 000000000000..ff3058c464b6 --- /dev/null +++ b/sci-libs/scotch/scotch-6.1.0-r1.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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.gz" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="CeCILL-2" +SLOT="0/${SOVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc int64 mpi static-libs test tools threads" +# bug #532620 +REQUIRED_USE="test? ( threads )" +RESTRICT="!test? ( test )" + +DEPEND=" + sys-libs/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" + VERS_COMP=${PV//.} + [[ "${#VERS_COMP}" -gt 1 ]] && \ + ln -s ${soname} ${libdir}/${libname}$(get_libname ${SOVER}) + ln -s ${soname} ${libdir}/${libname}$(get_libname) + fi +} + +src_prepare() { + default + use int64 && append-cflags -DINTSIZE64 -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 "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/libscotchmetis.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 + static_to_shared lib/libptscotchparmetis.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() { + 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* + insinto /usr/include/scotch + doins include/* + + cat <<-EOF > scotchmetis.pc + 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 + 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-6.1.0.ebuild b/sci-libs/scotch/scotch-6.1.0.ebuild index ebd2b1e8d84b..60cc08c6645a 100644 --- a/sci-libs/scotch/scotch-6.1.0.ebuild +++ b/sci-libs/scotch/scotch-6.1.0.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-v${PV}" LICENSE="CeCILL-2" SLOT="0/${SOVER}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="doc int64 mpi static-libs test tools threads" # bug #532620 REQUIRED_USE="test? ( threads )" diff --git a/sci-libs/spqr/Manifest b/sci-libs/spqr/Manifest index 5db0ee0ef71a..5bf38319c5a8 100644 --- a/sci-libs/spqr/Manifest +++ b/sci-libs/spqr/Manifest @@ -1,3 +1,3 @@ DIST spqr-2.0.9.tar.bz2 2161068 BLAKE2B a662983d2543a65ce36a367749db5585308acb56b016f69a35c46a84e9c12a678f57a3cfd459cc2e887fff2819b00f99981efaadb73831f1b4c54cbef5e1c367 SHA512 54b203e0d68b266473b8a2b7b3b3a55476df54a3ebd5748b70faa7bad1d0a5a7387197f0674ba5f9a5d45887daa736117f8d6ffbbc2eb02482b3374a3babf721 -EBUILD spqr-2.0.9.ebuild 1084 BLAKE2B fc8915b515cac36436d02c89f36d6fc707685095cfba07602a81c0bd7735f9557b40ffc7696f276c45bc5db3ae08eda8aea0c0077ccbaf25be807f98511f1875 SHA512 54ba1edac7a24f2750fd18d73ee883f00b6c0a5447948140802826d969db8b1ea6a6c078cb3010957dd35af15df641b821698192df742ada788c445e0335ff8d +EBUILD spqr-2.0.9.ebuild 1091 BLAKE2B 5bac9a253dd349701303f59311b3a99580c4794726a518951c0a840160ab64d3b1b0eef85bdf4e97d8946a5079a2d1fb779475c5ccd0496dffb86df177214e22 SHA512 c4b6965c18c5ae02b055d20d62d02909cf06e101a364f53f87d5d6e0f2348c4fa1ea91f8c0b54cbfa824d805ba7eb8897599245a8ff6ebf0d273554c202a6eb8 MISC metadata.xml 851 BLAKE2B 9fcb15232c55f46ea54af4b61f977e2c4f98e34950b30ed63a559c28c82f8d2b29882224e08121a47dd5b9ff245aaeaafcb03545c6567fbe5462e941ed650654 SHA512 de53a20986b9063a61fc548fdd1c059ac598b9a7db72bca683494fe6d82701e69e30d682e98adf4a72a43f30157f71d37c29930f00156626d369b6560b6ccda6 diff --git a/sci-libs/spqr/spqr-2.0.9.ebuild b/sci-libs/spqr/spqr-2.0.9.ebuild index 72475fd658a1..7dab6a1a5d55 100644 --- a/sci-libs/spqr/spqr-2.0.9.ebuild +++ b/sci-libs/spqr/spqr-2.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" IUSE="doc partition tbb" BDEPEND="virtual/pkgconfig diff --git a/sci-libs/suitesparseconfig/Manifest b/sci-libs/suitesparseconfig/Manifest index 230f21166be8..e3a219614b21 100644 --- a/sci-libs/suitesparseconfig/Manifest +++ b/sci-libs/suitesparseconfig/Manifest @@ -1,3 +1,3 @@ DIST suitesparseconfig-5.4.0.tar.bz2 257352 BLAKE2B 3832e34281c742a7d704dde866c53c742420486d782075e047b605fb2062d77353cda8670138c4bef62c73d16e123a8a74f65272a01766f124c1e53f9ba32e9d SHA512 e91f60f426b73add473c6341e30512b8fbe65b7850cd83f3852e78f1e74ce067b7ae1577ccc795698e680a841a9d32c2ca073651a4fe95f0b723578721aec874 -EBUILD suitesparseconfig-5.4.0.ebuild 777 BLAKE2B 1f7299b50bd8ada06fee936a0a34c3533d664d18f1296768bbe8435d9039e32b4d8f7c43f56f31640168b9fe67c436f53a57cee27e86fb12f1fca06effb6d420 SHA512 9b6d8e43d6c4e423c62dd95518cbbc0c72db0a18840e2dba44aa234844b56e17a47573eb799403a6d06eeb7912ad48f22b4d29cb070eb1cb2c694f138a45f24e +EBUILD suitesparseconfig-5.4.0.ebuild 784 BLAKE2B 27b7baedd61060a48969227d5dbea86288104cf87bf763d312081563daa58205dae0c963bb4ad3d0a127deb038659aa9f3527430ce89c0032709f95b8657c862 SHA512 fc8319b8da3ea819426537c3d549c74f19791f2caa0c4fb77e48050717dca9a00532dd81c802f285dd827b45e34545c86b8866b22a96817df87786c4544675f4 MISC metadata.xml 476 BLAKE2B f583e4dc6801797ee1572a38f1e4aaaac0811a709ce56a28d8e1f4f13f60f62a702b034809edc488d0b91920f8c5d40d48226213837d92a3e496cf65a6061c04 SHA512 fbbcd2de1d7b23e4eb45d8102fe76aa4251b83ce2b1fd7ef9cb599c7716ff662b8182060ce7b350ed3541b39483cf72c7c9ac810db1fe739f82406606412acb8 diff --git a/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild b/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild index 0db3b3f8a76c..c0b64751ce24 100644 --- a/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild +++ b/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" # SuiteSparse_config directory". LICENSE="public-domain" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="static-libs" multilib_src_configure() { diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest index dd1d4373af30..04ec7f1bfd1a 100644 --- a/sci-libs/sundials/Manifest +++ b/sci-libs/sundials/Manifest @@ -4,7 +4,7 @@ AUX sundials-5.7.0-fix-license-install-path.patch 529 BLAKE2B 71aaf0c6362e77379f DIST sundials-3.2.1.tar.gz 14958699 BLAKE2B ecc4b454ec589e9177acc9375e1db370ad6281f8d29580d9558ad3146dbbaab52794013e9cb56ad83f7309dbd3084a1ccaf6972c6b1468cefcc86bf30d3a460c SHA512 1f3e4b12f368e4f50c38b970c012f1702e339319ee0a858661bdf83e5739bb5b8a36f98b82e2ef76d1ce8a473123046347ee1b44f3cb685509823864f0af1384 DIST sundials-5.2.0.tar.gz 18639221 BLAKE2B c10e6deb5839993b8601347be94412d0b0c058084b4dc0d380681f7b4debd535f9736c2ef734e9fd84c6ddc190ab05f46abcb711225ec1f156a18d8edb6317fb SHA512 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f DIST sundials-5.7.0.tar.gz 22612286 BLAKE2B a21db0d07b8f2056ba244ca52f13bde51a2f745535c7381a4eecf9d8037df3d50f010c8fecd8e37d71150f101c8177b2e3f0ffbed8139702993e01b8ad52e707 SHA512 5e2b6145fdaa72e7d13f43e75e5bc08b9d7eb5b9e048207d5772ddab767e198af5be24b73a942a564a49d56ca0b47fe6493bd2de34a8a93948ccd1c13e5dd170 -EBUILD sundials-3.2.1.ebuild 2122 BLAKE2B 14b9cb8eaef1bb2a8dd749a5be242f7a026a040d316828aee9f6aab481df29fb5102862bacfbe7fd83c4ba74b10f633b3e76a754dcb2eccf7ae7d634d1886ff6 SHA512 e076b7de37302cd96f6c4b01931e02d4627b69514c69b1a8275373ac11196a6b19602a96f56c1be527ee1ed501dd4fd0df2517bda45d9721f15a6ba05e3fe606 -EBUILD sundials-5.2.0.ebuild 2181 BLAKE2B 105f2ddbd0d5ac00d4bce9a7b797eb8ea6cb9ee34f53db9a5e311cb2a8e1c6ce07f1c148f709db7dc08fdca506be63603dc81f84e28f879d5f4f764fa05d86f4 SHA512 a55f211ab31db02a3a43e3a2d0b8c6ed05a9a3f8fc91039c2b3f531d1ea87a9d80342d9a06819dec430db43f7bc240d9b53a61d63eb39c9c26ea1b00ee2b0e10 -EBUILD sundials-5.7.0.ebuild 2181 BLAKE2B ea0d04faa0d8d7ab2628e484c4fbe4951d1a88d886984672448d5ce3c4f81261de3a57184c41712344da7297bb4a6d8781e8d46382a8a685361a4258f71cc192 SHA512 ee874ca5bd81b49411eab3aa4c412f0aa1ee647fb76f5c7235986aecdff615dc6b8383bb6eb151b2b71d3e4a478ce9c1cb923b07240f54cea7bda0c6c7ee40a8 +EBUILD sundials-3.2.1.ebuild 2132 BLAKE2B b3ee9f4c99687181f963f5cdbd9d769293af28133c45513827081bd3708e6146afec228185355ec04e0204e8408ed70647e98655cb81c8d37e7fca06b739f2a9 SHA512 53c7d6434c0e32de3ce2e7975ec8dbcce0df268081bc0a1fe3372ca0e8c1223001e75f6ddbef7be66b1da3f5d2b9b0d715690c3985031731200480fe5b39f7ae +EBUILD sundials-5.2.0.ebuild 2191 BLAKE2B 522ba0de818acec9ae05b929a032b6ae43389b215d53ff84ef296024fe18c893d60af374d3a1433ca8c46b5e32f0163c4142b1ba5d00ce3ffe76acc7bdf6e3b2 SHA512 4c1b05f3c4bb9160d20bff5e43a1b7d1d05529cacc8676f19056a7865f52081d1c9e07b8c535b7e8b8ad2c163f76622c5063d43003ee365f7cb591dcfdd2a9ef +EBUILD sundials-5.7.0.ebuild 2191 BLAKE2B 7cae104967366aa6fe22b7974b4f5d827672d56a16a416cba9dfc7ee405d0c206bf9423b76e08d6dd3da6f91a749ea1d0beb33554cbd68a571e4a6c6b63ce727 SHA512 d6535c05b58aa9eee2c58744c7e748cfd79a7a064311184cab3fd4819ccf06b9fa8f576a8e2b87b6e9ac42b97ab650ab9eaa46ae8cb72e18778aac2f88f59b81 MISC metadata.xml 1059 BLAKE2B 48ccadfac9b7ea4203334ffdadaa76ab3164273835c727e76085db3a5afc179404eb21c74aad77ceb368397377afb0efa27d798c849eab2ffc35153cd4fe7588 SHA512 47da8b9edc993c480a045642ad2746ff6180e54e1ad368823fd81b0d217e72c31394d7575cb4c2d5e5cfea065dffb01751bc8b1088f0f1a6feaaea15c2c7fb8f diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild index 36bca3f96aa9..d58d6a9829ff 100644 --- a/sci-libs/sundials/sundials-3.2.1.ebuild +++ b/sci-libs/sundials/sundials-3.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -54,7 +54,7 @@ src_configure() { -DSUPERLUMT_ENABLE="$(usex superlumt)" -DEXAMPLES_ENABLE="$(usex examples)" -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" + -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" -DUSE_GENERIC_MATH=ON ) use sparse && mycmakeargs+=( diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild index 3d60a524cc2c..c99c2b643966 100644 --- a/sci-libs/sundials/sundials-5.2.0.ebuild +++ b/sci-libs/sundials/sundials-5.2.0.ebuild @@ -64,7 +64,7 @@ src_configure() { -DSUPERLUMT_LIBRARY="-lsuperlu_mt" -DEXAMPLES_ENABLE="$(usex examples)" -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" + -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" -DUSE_GENERIC_MATH=ON ) use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" ) diff --git a/sci-libs/sundials/sundials-5.7.0.ebuild b/sci-libs/sundials/sundials-5.7.0.ebuild index de4ffc5ebcaf..dc933a9a83e0 100644 --- a/sci-libs/sundials/sundials-5.7.0.ebuild +++ b/sci-libs/sundials/sundials-5.7.0.ebuild @@ -64,7 +64,7 @@ src_configure() { -DSUPERLUMT_LIBRARY="-lsuperlu_mt" -DEXAMPLES_ENABLE="$(usex examples)" -DEXAMPLES_INSTALL=ON - -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" + -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" -DUSE_GENERIC_MATH=ON ) use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" ) diff --git a/sci-libs/superlu/Manifest b/sci-libs/superlu/Manifest index 18f0da948dd6..83a42260d26a 100644 --- a/sci-libs/superlu/Manifest +++ b/sci-libs/superlu/Manifest @@ -4,5 +4,5 @@ AUX superlu-5.2.2-no-internal-blas.patch 658 BLAKE2B 63c782d994b8caded0b707c2a26 DIST superlu_4.3.tar.gz 2876631 BLAKE2B 0a563e6730394f8e69fe13f1418f9f046bd37c848c51063e93a24a209e50a67f91b725eb3978fd6c4d28e51615806d6c0b6a2539cbc0d7fd11b5e4f0a9360148 SHA512 5c13da47b79160be14719f62ccdf5d59142a172e25a988fa340eaeb001a64d7f45ba39e675cb7aa3571bec52cb3a7cda0bb7a708c9608184ba6251edb7990e8c DIST superlu_5.2.2.tar.gz 2481538 BLAKE2B db9d6437c8012f1aeeb3313212298a77e4ef04405c6ec853ceeef8b80426ea80d8b9fc30a0ca2dd7288131a0e21c43e17cafafaa7fb615d6d825b54f4beb84a2 SHA512 091928a3df3433b337ebdacdb28de341d6d29d655965de6ffd656a6de18cf11171555bfd3af73082af62b1cead6835b4c11e4ba524a32db7f7d28db47c9d490c EBUILD superlu-4.3-r2.ebuild 1635 BLAKE2B ba4e27e4efb6af31a9455169962183e0fd5846edcd2be58bf351d05efa049720841b24cb693f13b709b3141aabb2bcfc4b24ea6c5c0cb7aec273099d587b2c97 SHA512 c3a96fbda74aef2a155ccd532b5f0d42500ae693878359707c1055d7f9fbbe960c15e23fe27f364333112270311ca3e9a150606d2f03d4b023376a083d366265 -EBUILD superlu-5.2.2.ebuild 1170 BLAKE2B 2c65c4428e1564385032efb8c6d40cceca3c0b64f5c56d4f44f11e5f92f4eb241dd15e4510eff40546557eb211dbd04d5b2c1235db997850f65d394705587d3b SHA512 1480bbac2e9beb3333cd4c4c569da6e3089b9e8ae823e8f770ad464994a741497e65f39068eae439c29e6ef5a3d466ad06695ddb0b29058de2f342ade16f6ce6 +EBUILD superlu-5.2.2.ebuild 1177 BLAKE2B 5fd56a2a11d6b43057959bc45d8024c49d9a50e315ecfe5298181f90ad8a6add020d162495c0dec055386c20dd9e710eee31fce20d16e941c1b8d1ea51aa3d86 SHA512 8d95d9fe90b804249efae84486924baad16183813a98412f445dd68c0ba7a4607178988ad2b1220f49f269ab29f4f248b998c922d76b2dc068ecbffd3415df52 MISC metadata.xml 1404 BLAKE2B 3ab566d18d18307d9fc7dea889e492e19b76aa9fdebe0dce86b46b1cf7a2d53f65404f56da04cc8420e6a7c21867b948e537833693cb60521746c5a48f16bc6b SHA512 8b758572ed599bdf43898050e265ce8ea82c4952af97471c09ee0013e56cf6928df3f3a436516c4fae7a38a13bba4a3437e130f294f942eaaae05125fa5fbdea diff --git a/sci-libs/superlu/superlu-5.2.2.ebuild b/sci-libs/superlu/superlu-5.2.2.ebuild index 6753908584c6..8c50ab63c95f 100644 --- a/sci-libs/superlu/superlu-5.2.2.ebuild +++ b/sci-libs/superlu/superlu-5.2.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://crd-legacy.lbl.gov/~xiaoye/SuperLU//${PN}_${PV}.tar.gz" LICENSE="BSD" SLOT="0/$(ver_cut 1)" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/sci-libs/szip/Manifest b/sci-libs/szip/Manifest index aba0f14a0e2e..555551cc9c28 100644 --- a/sci-libs/szip/Manifest +++ b/sci-libs/szip/Manifest @@ -1,3 +1,5 @@ +DIST szip-2.1.1.tar.gz 415774 BLAKE2B e0f8d1f6528801c422a4db0f0cad43dd2c17f913dfff85962f4b4d448176903bcb385f631d32c5328cfb114527220baa9fb7d560364f700a61d4930ce799a7a4 SHA512 ada6406efb096cd8a2daf8f9217fe9111a96dcae87e29d1c31f58ddd2ad2aa7bac03f23c7205dc9360f3b62d259461759330c7189ef0c2fe559704b1ea9d40dd DIST szip-2.1.tar.gz 383219 BLAKE2B 84e10763bcec885a423d64c2c3cff0632d7a6a39c8cd177cf607f549cb4cd02a4ca03362464c2c4ec4539c80149493329427f529f5d6daea4a35b91af6fa1538 SHA512 bb7e0af6dfaaaaa85013ef52e6901d5b7b6159795338d285c2e843bd2879230a6397fb072662fdfeda5690981db4e9af94782c057bf993f92516d92a8934cb75 -EBUILD szip-2.1-r2.ebuild 714 BLAKE2B 9dc26725ac8c60c2ef6584e8539a53b65fd57f06bc0f532d2fa01c237965682d4af51c8b80d62522d4caf7bb52b65a377e3b544e6be2385a2e7f8314327d034c SHA512 9b7048475053f2086c4d5a76e790f077bb2d6a3c3058a8e6dfb59c6f03544c91bfae640fdd44d5ef6d1aa787c869fb7a92d3f5ce5ca6795a62c98e22adb57796 +EBUILD szip-2.1-r2.ebuild 721 BLAKE2B 158b84da0268e40008349a0c99448b28ede89802cbafebea5d85f3aa055f614ec7417cc0a0f4d93b16678e93c37dd25bd7463f79d2d0123008a72b76a4ecfcbf SHA512 25e9de35c1298ff24cb3476084102cad0bfd1effe2c79f24b147846eeb5906222325ef719d125de41b15d6db007ea962a018472840b0f7446ec6eae0f39f5ec1 +EBUILD szip-2.1.1.ebuild 734 BLAKE2B 78d794364d8a991f06531ba165dbf5d466624680c64ab138cf4aeff46d48c460c2b105e760d542cc5e76867524fb625a018132952aba28f4ef8590444ab782a8 SHA512 2567122aa671952e4e259a36b35caad512411cbd573ce1639bc14f10b74f679fe4dd961d3bdc2ad8432bc74315a99dec9f369d98b1af6a8b34320b4971e231fb MISC metadata.xml 765 BLAKE2B a720dfb9f71c9f9adc5e539b2a791b8edcd2fce2b1540b17066c09e1d3895d40e147ddd2ef86499c6a9db3c2c68c3bb9aae3357f13d86370d7fba8069f968368 SHA512 c56edc42adeff2e523e9a312b0393f45647b2a902334221d2b9842afa1ecd885a17f108041cad69a0797bdc1eb58c75672226a0c3a2f4c8f561ab8a70eb28b27 diff --git a/sci-libs/szip/szip-2.1-r2.ebuild b/sci-libs/szip/szip-2.1-r2.ebuild index 7a6d73025d4d..7d7d1addd355 100644 --- a/sci-libs/szip/szip-2.1-r2.ebuild +++ b/sci-libs/szip/szip-2.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ SRC_URI="ftp://ftp.hdfgroup.org/lib-external/${PN}/${PV}/src/${P}.tar.gz" LICENSE="szip" SLOT="0/2" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="static-libs" RDEPEND="!sci-libs/libaec[szip]" diff --git a/sci-libs/szip/szip-2.1.1.ebuild b/sci-libs/szip/szip-2.1.1.ebuild new file mode 100644 index 000000000000..cf6d7a964766 --- /dev/null +++ b/sci-libs/szip/szip-2.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 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 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +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/taucs/Manifest b/sci-libs/taucs/Manifest index f72dcd1cdcc3..b0b16e8de1bc 100644 --- a/sci-libs/taucs/Manifest +++ b/sci-libs/taucs/Manifest @@ -1,4 +1,4 @@ AUX taucs-2.2-respect-ar.patch 635 BLAKE2B 59ea54427651adc597caf85bf5eafe8055a6223e3c588939519e660661ffec4082d574c08aebff8106508f4b5afe147d1f7ef5c1972b17461d286273c9cbb76a SHA512 b18551f3d386ebd203b422c9848bfb14c7d8bb67e0facb450869d0846ca23e35902339cfa519ef7b33d1cf0dfb6301bad5b9f2fcd2035d1e02b150a0c15a26e3 DIST taucs-2.2.tgz 1573863 BLAKE2B 21cf7479d7ce1f27678431e0d3dcaea1b3f8b11071b44651207791d6980bf5be0ed51cab7915f9e8da88d5da777c0f03a8d058e2ac8881e0d0b244ddfd796f5c SHA512 d8652de2da343dfd19c4278ac99313bcb577d976decdd3bd3875f0c9576832605b787feaef916eb4e82f22907c8bd029125c2ae56c827639e4d535ad62f20fcf -EBUILD taucs-2.2-r1.ebuild 1997 BLAKE2B 4d07ae35b27129cf2c6a17910111d52b5b33e370bcc18087b95f25af494ee0d6943b201767d0d508d57039da8acdaf3874e3ea97804342ebc63306db917ac5fe SHA512 315061fe8bad3c7119fd0ed59bb54f9d223315f5caab6638743a2c81bc9e2595914ab7fc349bf6feec4d0247b9de58c68d632e6f4ce6e1de121c9b7a44aa271e +EBUILD taucs-2.2-r1.ebuild 1967 BLAKE2B a9e232cadb1bd1a1f35335fd645b4103a2e9d44539bae7b83b009c79c1ae946fa6c423ef6def6f1a806ecc527f2305d4e650f667cd1ee14b3d221d42e415a450 SHA512 e2931a7f3ef767f77a04bb1b7bb9ad2d200181a45b34d782d92f73049c8406e3b7230a30bf3744231c6565e5705df539a4d0aa38fec0a0a877d1d0a63cc1e124 MISC metadata.xml 1069 BLAKE2B 783b081a16b2dd176345b558851e2c75b18b0168b058dee68140dfcdd453e821da618d11f27526af9d0f366d5107b881d4fc0011d0942de57de6a34dbbcd59f1 SHA512 c5437d4746e208ca8e43f36460b6db73c6c25193b01b3f08d112f4b0fe6b48f53fb8cede5a53e432817243665d7a8e32c00cc19ea8dd0cd9e16dadc5f7a5ee23 diff --git a/sci-libs/taucs/taucs-2.2-r1.ebuild b/sci-libs/taucs/taucs-2.2-r1.ebuild index 7b91afeeed64..5d5cecde57a0 100644 --- a/sci-libs/taucs/taucs-2.2-r1.ebuild +++ b/sci-libs/taucs/taucs-2.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,12 +16,9 @@ IUSE="doc" RESTRICT="test" RDEPEND=" + sci-libs/metis virtual/blas - virtual/lapack - || ( - sci-libs/metis - sci-libs/parmetis - )" + virtual/lapack" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" diff --git a/sci-libs/trilinos/Manifest b/sci-libs/trilinos/Manifest index ddd4bb13b153..3e6bbec07381 100644 --- a/sci-libs/trilinos/Manifest +++ b/sci-libs/trilinos/Manifest @@ -1,4 +1,4 @@ DIST trilinos-13.0.0-patches-r0.tar.xz 7672 BLAKE2B 6412f1226549086ef2fca3c4d8bba3c5541489879f4fa37c3598a7271128e3232fa1cc56a51d44fb88d679458a79a082c3984085ddbe4bc0884b0cb45ba683c0 SHA512 91372fe0f47a1f5d4dbc1856e2cfb9d4f1eb8cc0de941013a7a6e791730c9e10decdcd4ca39b36bae836ac66040bee70af187b4a056d46b0da0fe72e8c5943fc DIST trilinos-13.0.1.tar.gz 157950374 BLAKE2B 79f337b02a0fe9ddf7b55334e035946204b3bb469b92fff4063896a378c82d9c5f04c0bf0e9ddd21603ecf9d84a91860606482b545916f16029a11d2b6c64aa0 SHA512 22241a9ad8b6b6ab9117aba254f65195fc0c8e1b52eacb16e763c999086b6da6b0c180d8864fbe421704e0fe0c433d37512099755d54e60f13ed525dc6c0fd57 -EBUILD trilinos-13.0.1.ebuild 6486 BLAKE2B 4e8818107f9b7252031d4c006813e48cda70b03ccb4f45fefe81bac57b44ae75bea8ec59203995d55c27a6bf67e7ebfec6d156db928efe5ea94e02f1f8bd6333 SHA512 48948df368a736614b2a89fcea6d58b35d248f88a7098f5ba20d8a7f26d8ed7c849cf274e07ea4f3e5f8c07a4d1e53a1651596cd96064fee95f9574104197b40 +EBUILD trilinos-13.0.1.ebuild 6461 BLAKE2B d82b9cd918fb3a43c5112d840e817d8f8ae67a29a504b9a771c027830df3ad8891dfdefcf4dd0ab20110460fc3f6a29212d9bae0c5eb9a08e74d71371f97afc3 SHA512 705a0e3975384c78bd28c3608d98fc19fbe68ab5fd71952558b3703cd93d91a665b5a0c1e3d5293db95b593d99bc6eeb9674902447f3ed37cc6404933fc8f698 MISC metadata.xml 2778 BLAKE2B 45cb2a647a1730c9b6b21271364b5f4acaf145f6ae33db356d0b9be7584705c29a645d3f96abfe0a9b87540ae55ab586ec202191776f4472b66291c274b9f24b SHA512 c58e98197353efe1c6fef038dd53d4a938e85aa66fc53f00cab0133d8ee89c629eead55c270c88583778b193f0a85b498c7235fc3f1e8f45a1abfff2d5f0cbec diff --git a/sci-libs/trilinos/trilinos-13.0.1.ebuild b/sci-libs/trilinos/trilinos-13.0.1.ebuild index 511aa77ec426..462a25dc6efd 100644 --- a/sci-libs/trilinos/trilinos-13.0.1.ebuild +++ b/sci-libs/trilinos/trilinos-13.0.1.ebuild @@ -44,7 +44,7 @@ RDEPEND=" hwloc? ( sys-apps/hwloc ) matio? ( sci-libs/matio ) mkl? ( sci-libs/mkl ) - metis? ( || ( sci-libs/parmetis sci-libs/metis ) ) + metis? ( sci-libs/metis ) mumps? ( sci-libs/mumps ) netcdf? ( sci-libs/netcdf ) petsc? ( sci-mathematics/petsc ) diff --git a/sci-libs/umfpack/Manifest b/sci-libs/umfpack/Manifest index 6884c9af823c..23b7501e096d 100644 --- a/sci-libs/umfpack/Manifest +++ b/sci-libs/umfpack/Manifest @@ -1,3 +1,3 @@ DIST umfpack-5.7.9.tar.bz2 772026 BLAKE2B 6d6dc1ba47b8f473884c1cb17d3eaa363d88281512e33586a0af0c2bcb7a523272bef4d8da0a29e2a5a84c8f0cd0ee6830ec10247971db63b4c319e6fa9a3c42 SHA512 5ad57467b5b7e4579f3cc9e2e7c92a0262ac2ef991a606d079b749b66e10da60aceaa4b0e741c116f8866da23c0f7c06368fe2b08d66d51383683f0dcbeddba3 -EBUILD umfpack-5.7.9.ebuild 955 BLAKE2B dbb8e9cc519a5191e824339c5aad31a14c58b777fefb60313789042f20940f25708cb3d18531f1bdbe1b7ee51c64045af127d9efa99b9bfc886098e609a1cb52 SHA512 ef8c7e190eb9590eddfdd8821ef931c54204e7eea96de7fbfd940d0b763eb22b3d5058562fb849080560cef67f1536caa21196aa8b961c60de9146fb4d599a6b +EBUILD umfpack-5.7.9.ebuild 962 BLAKE2B 59bcdc2ba82de1619395654faa263987a1d21743387e3f673b79d8d50ae9e4554c2a12200eef514f24929b7ef5b7b599084242ff221a99ee86794cca92a8425e SHA512 bd39011b24e397b3e85ddf6aae36e901c967671ab07cbc2f0144c4a540df112fd8775d295b453dd2093eaf38bc5be8837a532c339452610f653adf4499a1a5bc MISC metadata.xml 667 BLAKE2B 1e0018ea7f7433ce19bfc6e364a30731e5e02f657502f721513da4191752b97c7a3d8352707e1036f0e5fe81ffb81ed3862cc2b213ca89e80067a06a82e5b078 SHA512 c204d7f86f2338f9571a46773c251dab31caa3d5bfbe4ae87326466026616d80737435d8cdbf0ae8cb5e109d8b52a5b6ccba09f8b52f38dfe9058049ef541007 diff --git a/sci-libs/umfpack/umfpack-5.7.9.ebuild b/sci-libs/umfpack/umfpack-5.7.9.ebuild index 6f99b79f5072..cdb347c9c849 100644 --- a/sci-libs/umfpack/umfpack-5.7.9.ebuild +++ b/sci-libs/umfpack/umfpack-5.7.9.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="+cholmod doc" BDEPEND="virtual/pkgconfig |