@@ -79,6 +79,13 @@ if they are not set in the environment.
79
79
- ` CC ` : ` TARGET ` C compiler used for compilation (can be cross-toolchains).
80
80
- ` FC ` : ` TARGET ` Fortran compiler used for compilation (can be cross-toolchains,
81
81
set ` NOFORTRAN=1 ` if the used cross-toolchain has no Fortran compiler).
82
+ - ` COMMON_OPT ` : flags to add to all invocations of the target C and Fortran compilers
83
+ (overrides ` CFLAGS ` /` FFLAGS ` - prefer using ` COMMON_OPT ` )
84
+ - ` CCOMMON_OPT ` : flags to add to all invocations of the target C compiler
85
+ (overrides ` CFLAGS ` )
86
+ - ` FCOMMON_OPT ` : flags to add to all invocations of the target Fortran compiler
87
+ (overrides ` FFLAGS ` )
88
+ - ` LDFLAGS ` : flags to add to all target linker invocations
82
89
- ` AR ` , ` AS ` , ` LD ` , ` RANLIB ` : ` TARGET ` toolchain helpers used for compilation
83
90
(can be cross-toolchains).
84
91
- ` HOSTCC ` : compiler of build machine, needed to create proper config files for
@@ -92,11 +99,13 @@ if they are not set in the environment.
92
99
93
100
- ` BINARY ` : whether to build a 32-bit or 64-bit library (default is ` 64 ` , set
94
101
to ` 32 ` on a 32-bit platform).
95
- - ` BUILD_SHARED ` : create a shared library
96
- - ` BUILD_STATIC ` : create a static library
97
102
- ` INTERFACE64 ` : build with 64-bit (ILP64) integer representations to support
98
103
large array index values (incompatible with the standard 32-bit integer (LP64) API).
99
104
105
+ Note that both shared and static libraries will be built with the Make-based
106
+ build. The CMake build provides ` BUILD_SHARED_LIBS ` /` BUILD_STATIC_LIBS `
107
+ variables to allow building only one of the two.
108
+
100
109
#### Data type options
101
110
102
111
- ` BUILD_SINGLE ` : build the single-precision real functions of BLAS and (if
@@ -105,9 +114,8 @@ if they are not set in the environment.
105
114
- ` BUILD_COMPLEX ` : build the single-precision complex functions
106
115
- ` BUILD_COMPLEX16 ` : build the double-precision complex functions
107
116
- ` BUILD_BFLOAT16 ` : build the "half precision brainfloat" real functions
108
- - ` EXPRECISION ` : obsolete option to use float80 of SSE on BSD-like systems
109
- - ` QUAD_PRECISION ` : enable support for IEEE quad precision (largely
110
- unimplemented leftover from GotoBLAS, do not use)
117
+ - ` EXPRECISION ` : (do not use, this is a work in progress) option to use `long
118
+ double` functions
111
119
112
120
By default, the single- and double-precision real and complex floating-point
113
121
functions are included in the build, while the half- and extended-precision
0 commit comments