Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183643 - add blas/lapack to RDEPEND in gnat gpl 2007 ebuild
Summary: add blas/lapack to RDEPEND in gnat gpl 2007 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: ada team [OBSOLETE]
URL: http://www.adaic.org/standards/05rm/h...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 12:30 UTC by Maxim Reznik
Modified: 2014-05-30 14:14 UTC (History)
1 user (show)

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


Attachments
simple test (gnat_test.adb,375 bytes, text/plain)
2007-06-29 12:32 UTC, Maxim Reznik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Reznik 2007-06-29 12:30:34 UTC
GNAT gpl 2007 implements Ada 2005 standard matrix libraries interfacing LAPACK/BLAS fortran libraries. So we need to add virtual/blas ΠΈ virtual/lapack in RDEPEND. See comments in GNAT file a-ngrear.adb
It's impossible to successfuly link a program that use this math library if lapack/blas not installed.


Here is simple test use two procedures from matrix library. To compile run:

gnatmake gnat_test -largs -lgnala -llapack -lblas

It seems gnat works with both atlas and reference implementations of blas/lapack. At least I used my own program with matrix solving and multiplications on two computers where different (atlas/reference) implementation were installed.

libgnala.a is part of gnat gpl 2007.

Please assign this bug to ada@gentoo.org
Comment 1 Maxim Reznik 2007-06-29 12:32:17 UTC
Created attachment 123386 [details]
simple test
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2007-06-29 12:46:44 UTC
Reassigned. Will try to deal with it soon..
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2014-05-30 14:14:47 UTC
Added virtuals to RDEPEND, sorry it took so long..