diff options
Diffstat (limited to 'sci-libs/mumps')
-rw-r--r-- | sci-libs/mumps/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/mumps/mumps-5.3.5.ebuild (renamed from sci-libs/mumps/mumps-5.3.3.ebuild) | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/sci-libs/mumps/Manifest b/sci-libs/mumps/Manifest index 2e2c58e04ee3..1ad193484298 100644 --- a/sci-libs/mumps/Manifest +++ b/sci-libs/mumps/Manifest @@ -1,5 +1,5 @@ DIST MUMPS_5.1.2.tar.gz 3351215 BLAKE2B 1c77c2a217c101245a9a96a59be6b9bfd67ceffa603d807b5a7173026c5c33e2c4de78c14833d7b7f0a90130b9ebc0ac9c7d4ebfbf881d0bd2210a542887c239 SHA512 38a63b14a8df835be68b5fa310b39aa1815799220d56c176e4005797800959e9e08c9a6bf11d308ab82ea40b6f34d36072cebe7c1de39e0c314eb138b93f1b74 -DIST MUMPS_5.3.3.tar.gz 3912935 BLAKE2B 03b88e23b8dd49832c43aef4717edd440328ca7c63eed9005a6baa008090f63089e7a259fb8091ce462e249196c2a1de0ec1e864173e3ecc3265d5a9cef8b869 SHA512 fb2da6acfd0a413ed5a9b2ea346a191ecea4a057f26a8c3b8ed2400843753a354055eb911e53d9f6ed5a6818e653ab926579c1a4a261b791c5ae421fcd5a7945 +DIST MUMPS_5.3.5.tar.gz 3940501 BLAKE2B f1767483bb23744a2c5ed11b0823c5b023377d5212abbe29a177cce5b5e51e6f2f391d7caa17022646e36c9e4b4fb4af80b03ac6cf8e89f37502ed960138bbbe SHA512 6e3bb081f38af8540ada7b4fb54c6e766739c854e2a3dd253e3e012eee05dae30064b1b4a8d7493f10691725aba4cc9e80544b0fe5b71670cb0b2726ccfc4439 EBUILD mumps-5.1.2-r1.ebuild 5662 BLAKE2B 3d02525978545228ef97ccccbd18bb20e73747391f2b8fb0148eaf24d7802f03793d1246b9bbd65a07820fc33fe28e82c5b50e612022d9912e5edadad95db772 SHA512 c3dda6400a3ca6ecae6043a6abb1206860c9ca76331d3dc35073161258591e693a8423f68908066b750c619fa9f66d2899dc5800c5fce20fd26e633e68c4a280 -EBUILD mumps-5.3.3.ebuild 5668 BLAKE2B ac94c8370e4eae81715b0088553fe55b33440bb142cf09360dcebd71d0e3bcfa583708fd538d16484347aba3a810e0fc591a87e50873be03e8d27bcbda78ac37 SHA512 cccdf44c816d1a0a284837200ef63634d886a4e719c820fb90fd39e04567f6ff1bdb7e66f5cc2551364612a78444780841ed9a907129b1fc862ad5d4dc6f718b +EBUILD mumps-5.3.5.ebuild 5733 BLAKE2B b176d7fc87a590aa129a3cff471b3bbc07753263abcc31d2a7a1cc061215594cdc94199d4f8ee5a1bae76e476c416362f762a5c827d5bacd5183d94e13455859 SHA512 5ac75e3969af83cf10064763c70f8a1d02f9d62c69f7bdff4de8d7994c592c4ee1a3665622e574a1b6d5b2f48d79da1493a59e9afbdc4a9cfda8ff9b3e8f59fe MISC metadata.xml 864 BLAKE2B 78db103b861071cbad317a65db2bb1c7eafc6c3936728cf3854ea05e92210abbf552e01dcbc974dc5238fc1a432ad7ff48fab3d662ea6081ff70fd86263ac11b SHA512 c285d7ed4bd26bb603f40f9d5e4e7262aea8a2679d14f65a4f8959a9bf2c622310422790e6221708fa227cd2c3bb2f4ba140eb5f23acc71b3f1ca20c04c4711a diff --git a/sci-libs/mumps/mumps-5.3.3.ebuild b/sci-libs/mumps/mumps-5.3.5.ebuild index 43b0f37be670..9c2b70d7f003 100644 --- a/sci-libs/mumps/mumps-5.3.3.ebuild +++ b/sci-libs/mumps/mumps-5.3.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit fortran-2 toolchain-funcs +inherit fortran-2 flag-o-matic toolchain-funcs MYP=MUMPS_${PV} @@ -62,6 +62,9 @@ static_to_shared() { } src_prepare() { + # workaround for gcc10 (bug #743442) + append-fflags $(test-flags-FC -fallow-argument-mismatch) + sed -e "s;^\(CC\s*=\).*;\1$(tc-getCC);" \ -e "s;^\(FC\s*=\).*;\1$(tc-getFC);" \ -e "s;^\(FL\s*=\).*;\1$(tc-getFC);" \ @@ -82,6 +85,7 @@ src_prepare() { src_configure() { LIBADD="$($(tc-getPKG_CONFIG) --libs blas) -Llib -lpord" local ord="-Dpord" + if use metis && use mpi; then sed -i \ -e "s;#\s*\(LMETIS\s*=\).*;\1$($(tc-getPKG_CONFIG) --libs parmetis);" \ @@ -137,8 +141,7 @@ src_compile() { # Workaround #462602 export FAKEROOTKEY=1 - # -j1 because of static archive race - emake -j1 alllib PIC="-fPIC" + emake alllib PIC="-fPIC" if ! use mpi; then #$(tc-getAR) crs lib/libmumps_common.a libseq/*.o || die LIBADD+=" -Llibseq -lmpiseq" @@ -155,7 +158,7 @@ src_compile() { if use static-libs; then emake clean - emake -j1 alllib + emake alllib fi } |