Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605392 - sci-libs/magma-2.2.0 version bump
Summary: sci-libs/magma-2.2.0 version bump
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-10-19
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks:
 
Reported: 2017-01-11 15:26 UTC by Ladislav Zitka
Modified: 2020-10-19 06:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
magma-2.4.0..1.4.1.diff (magma-2.4.0..1.4.1.diff,5.06 KB, text/plain)
2018-11-28 21:22 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Zitka 2017-01-11 15:26:41 UTC
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?
Comment 1 Ladislav Zitka 2017-01-12 14:44:38 UTC
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.
Comment 2 Bernd 2018-11-28 21:22:02 UTC
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.
Comment 3 Bernd 2018-11-28 21:22:59 UTC
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
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-19 06:49:06 UTC
Package removed.