libraries/atlas: Build enhancements

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Serban Udrea 2012-09-13 19:25:23 -05:00 committed by Robby Workman
parent a02f4d7ebe
commit 883a4f77db

View file

@ -25,7 +25,7 @@
PRGNAM=atlas
VERSION=${VERSION:-3.8.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -146,11 +146,14 @@ cd $BLDdir
# a reasonable assumption with Slackware. Under other circumstances
# "-DPentiumCPS=$CPU_FREQ" has to be exchanged with "-DWALL".
#
../configure -Si archdef "$USE_ARCH_DEFAULTS" -b "$BITSize" -D c \
../configure -Si cputhrchk 0 -Si archdef "$USE_ARCH_DEFAULTS" -b "$BITSize" -D c \
-DPentiumCPS="$CPU_FREQ" -Fa alg -fPIC
# NOTES ON THE FLAGS FOR CONFIGURE
#
# -Si cputhrchk 0 means that configure actually does not care about CPU
# throttling. This is to avoid false positives. Thus the full responsibility
# stays now with the user of the script.
# -Si archdef "$USE_ARCH_DEFAULTS" means that we ignore or not architectural defaults depending
# upon the value of "$USE_ARCH_DEFAULTS".
# -b "$BITSize" tells ATLAS about the platform's bitsize, 32 or 64.