Debian Codegraph @

INSTALL/make.inc.gfortran-quad

raw
1 ####################################################################
2 # LAPACK make include file. #
3 ####################################################################
4
5 SHELL = /bin/sh
6
7 # CC is the C compiler, normally invoked with options CFLAGS.
8 #
9 CC = gcc
10 CFLAGS = -O3
11
12 # Modify the FC and FFLAGS definitions to the desired compiler
13 # and desired compiler options for your machine. NOOPT refers to
14 # the compiler options desired when NO OPTIMIZATION is selected.
15 #
16 # Note: During a regular execution, LAPACK might create NaN and Inf
17 # and handle these quantities appropriately. As a consequence, one
18 # should not compile LAPACK with flags such as -ffpe-trap=overflow.
19 #
20 # The -freal-4-real-16 -freal-8-real-16 flags instruct gfortran
21 # to treal REAL, DOUBLE PRECISION, and corresponding COMPLEX
22 # declarations as 128-bit floating-point types. These flags
23 # are supported from gfortran 4.7 on. Please note that both
24 # s*/c* and d*/z* entry points will expect 128-bit floating-point
25 # type.
26 #
27 FC = gfortran
28 FFLAGS = -O2 -frecursive -freal-4-real-16 -freal-8-real-16
29 FFLAGS_DRV = $(FFLAGS)
30 FFLAGS_NOOPT = -O0 -frecursive -freal-4-real-16 -freal-8-real-16
31
32 # Define LDFLAGS to the desired linker options for your machine.
33 #
34 LDFLAGS =
35
36 # The archiver and the flag(s) to use when building an archive
37 # (library). If your system has no ranlib, set RANLIB = echo.
38 #
39 AR = ar
40 ARFLAGS = cr
41 RANLIB = ranlib
42
43 # Timer for the SECOND and DSECND routines
44 #
45 # Default: SECOND and DSECND will use a call to the
46 # EXTERNAL FUNCTION ETIME
47 #TIMER = EXT_ETIME
48 # For RS6K: SECOND and DSECND will use a call to the
49 # EXTERNAL FUNCTION ETIME_
50 #TIMER = EXT_ETIME_
51 # For gfortran compiler: SECOND and DSECND will use a call to the
52 # INTERNAL FUNCTION ETIME
53 #TIMER = INT_ETIME
54 # If your Fortran compiler does not provide etime (like Nag Fortran
55 # Compiler, etc...) SECOND and DSECND will use a call to the
56 # INTERNAL FUNCTION CPU_TIME
57 #TIMER = INT_CPU_TIME
58 # If none of these work, you can use the NONE value.
59 # In that case, SECOND and DSECND will always return 0.
60 TIMER = NONE
61
62 # Uncomment the following line to include deprecated routines in
63 # the LAPACK library.
64 #
65 #BUILD_DEPRECATED = Yes
66
67 # LAPACKE has the interface to some routines from tmglib.
68 # If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
69 #
70 #LAPACKE_WITH_TMG = Yes
71
72 # Location of the extended-precision BLAS (XBLAS) Fortran library
73 # used for building and testing extended-precision routines. The
74 # relevant routines will be compiled and XBLAS will be linked only
75 # if USEXBLAS is defined.
76 #
77 #USEXBLAS = Yes
78 #XBLASLIB = -lxblas
79
80 # The location of the libraries to which you will link. (The
81 # machine-specific, optimized BLAS library should be used whenever
82 # possible.)
83 #
84 BLASLIB = $(TOPSRCDIR)/librefblas.a
85 CBLASLIB = $(TOPSRCDIR)/libcblas.a
86 LAPACKLIB = $(TOPSRCDIR)/liblapack.a
87 TMGLIB = $(TOPSRCDIR)/libtmglib.a
88 LAPACKELIB = $(TOPSRCDIR)/liblapacke.a