Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 320301

Summary: blas-atlas & blas-lapack use make.conf flags for -C ac -F ac
Product: Gentoo Linux Reporter: peyser.alex
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED OBSOLETE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 372323    

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.