Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320301 - blas-atlas & blas-lapack use make.conf flags for -C ac -F ac
Summary: blas-atlas & blas-lapack use make.conf flags for -C ac -F ac
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 372323
  Show dependency tree
 
Reported: 2010-05-18 00:53 UTC by peyser.alex
Modified: 2013-01-31 11:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peyser.alex 2010-05-18 00:53:01 UTC
The ebuils for blas-atlas and lapack-atlas override build flags with CFLAGS from make.conf using -C ac $c_compiler -F ac $CFLAGS (plus if).

According to Whaley, in general that's a bad idea -- it overrides the architecture defaults which he's tuned. I'm not sure what happens if you set CFLAGS to "" in /etc/portage/env/sci-libs/blas-atlas...

It may be a better idea to drop those altogether from the configure line altogether, and instead add BLAS_EXTRA and LAPACK_EXTRA variables that can be set from the env files, if one has the expertise to set those flags.

Additionally, that would allow the user to set other flags, such as the thread number.

Reproducible: Always

Steps to Reproduce:
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-05-18 09:14:31 UTC
Mmmh, this might fix some of our weird issues we have lately.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-01-31 11:08:00 UTC
Dropped all atlas packages from tree.
Please use sci-libs/atlas from sci overlay.
If problem still exist with that package, please reopen the bug or file a new one.