5fcf88e50c
Use CBLAS from ATLAS instead of the unaccelarated BLAS. PR: ports/53563 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
#-------------------------------------------------------------------------------
|
|
# FreeBSD configuration (for both AMD and UMFPACK)
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Using GNU gcc and f77 compilers:
|
|
CC ?= gcc
|
|
CFLAGS ?= -O3 -fPIC
|
|
|
|
# Using Intel's icc and ifc compilers:
|
|
# F77 = ifc
|
|
# CC = icc
|
|
# CFLAGS = -ansi -O3 -ip -tpp7 -xW -vec_report0
|
|
# CFLAGS = -pg -g
|
|
|
|
# Using gcc compiler with picky tests
|
|
# CC = gcc
|
|
# CFLAGS = -ansi -pedantic -W -Wall -Wno-parentheses -Wshadow -Wcast-align -Winline -Wstrict-prototypes -Wno-unknown-pragmas -O3 -fPIC
|
|
|
|
# for gcc and gcov:
|
|
# CC = gcc
|
|
# CFLAGS = -pg -ftest-coverage -fprofile-arcs
|
|
|
|
# Running splint
|
|
# CC = - splint
|
|
# CFLAGS = -weak -fixedformalarray -badflag -fileextensions +relaxtypes +posixlib -unrecog
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# BLAS options (for UMFPACK only)
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# 1: with no BLAS (this will be slow)
|
|
# CONFIG = -DNBLAS
|
|
# LIB = -lm
|
|
|
|
# 2: with the ATLAS C-BLAS (http://www.netlib.org/atlas).
|
|
CONFIG = -DCBLAS -I../ATLAS/include -I${LOCALBASE}/include
|
|
LIB = -L${LOCALBASE}/lib -lcblas -latlas -lm
|
|
|
|
# 3: with Fortran interface to the ATLAS BLAS
|
|
# CONFIG = -I${LOCALBASE}/include
|
|
# LIB = -L${LOCALBASE}/lib -lf77blas -latlas -lg2c -lm
|
|
|
|
# 4: with Fortran interface to the BLAS, and Goto's BLAS (untested)
|
|
# CONFIG =
|
|
# LIB = -lgoto -lxerbla -lfrtbegin -lg2c -lm -lunwind -lcprts
|