I took the ebuild in portage tree of magma library version 1.4.1 and updated in my overlay to latest 2.2.0. I added some flags which looked missing for this version: CFLAGS = -O3 -fPIC -DADD_ -Wall -fopenmp CXXFLAGS = -O3 -fPIC FFLAGS = -O3 -fPIC -DADD_ -Wall -Wno-unused-dummy-argument F90FLAGS = -O3 -fPIC -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input NVCCFLAGS = -O3 -DADD_ -Xcompiler -fPIC LDFLAGS = -fPIC -fopenmp I also added 2 USE flags: maxwell pascal And finally changed the src_compile phase block as following: rc_compile() { emake lib emake shared elog "====================== COMPILE PHASE =====================" elog "lib/lib${PN}.so{,.2.2}" mv lib/lib${PN}.so{,.2.2} || die ln -sf lib${PN}.so.2.2 lib/lib${PN}.so.2 || die ln -sf lib${PN}.so.2.2 lib/lib${PN}.so || die } The complete ebuild is compilable and available for check here: https://github.com/archenroot/gentoo-overlay/blob/master/sci-libs/magma/magma-2.2.0.ebuild I think this should go first into science overlay, but not sure, I can of course open issue on science github, if rejected here. One remaining thing reported on installation: * QA Notice: The following shared libraries lack a SONAME * /usr/lib64/libmagma.so.2.2 Not sure how to resolve this one?
I will commit this directly into Science github repo probably. I believe there is some standard way of migration of stable science only artefacts into stable tree, so this way will be cleaner.
There's 2.4.0 out and 2.5.0 is on the horizon. I prepared an ebuild for updated suitesparse ebuild and prepare a PR for it.
Created attachment 556642 [details] magma-2.4.0..1.4.1.diff diff between magma-2.4.0.ebuild and magma-1.4.1.ebuild
Package removed.