@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.8.5)
6
6
project (OpenBLAS C ASM )
7
7
set (OpenBLAS_MAJOR_VERSION 0 )
8
8
set (OpenBLAS_MINOR_VERSION 3 )
9
- set (OpenBLAS_PATCH_VERSION 6 .dev )
9
+ set (OpenBLAS_PATCH_VERSION 7 .dev )
10
10
set (OpenBLAS_VERSION "${OpenBLAS_MAJOR_VERSION} .${OpenBLAS_MINOR_VERSION} .${OpenBLAS_PATCH_VERSION} " )
11
11
12
12
# Adhere to GNU filesystem layout conventions
@@ -20,9 +20,14 @@ if(MSVC)
20
20
option (BUILD_WITHOUT_LAPACK "Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)" ON )
21
21
endif ()
22
22
option (BUILD_WITHOUT_CBLAS "Do not build the C interface (CBLAS) to the BLAS functions" OFF )
23
- option (DYNAMIC_ARCH "Include support for multiple CPU targets, with automatic selection at runtime (x86/x86_64 only)" OFF )
24
- option (DYNAMIC_OLDER "Include specific support for older cpu models (Penryn,Dunnington,Atom,Nano,Opteron) with DYNAMIC_ARCH" OFF )
23
+ option (DYNAMIC_ARCH "Include support for multiple CPU targets, with automatic selection at runtime (x86/x86_64, aarch64 or ppc only)" OFF )
24
+ option (DYNAMIC_OLDER "Include specific support for older x86 cpu models (Penryn,Dunnington,Atom,Nano,Opteron) with DYNAMIC_ARCH" OFF )
25
25
option (BUILD_RELAPACK "Build with ReLAPACK (recursive implementation of several LAPACK functions on top of standard LAPACK)" OFF )
26
+ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
27
+ option (NO_AFFINITY "Disable support for CPU affinity masks to avoid binding processes from e.g. R or numpy/scipy to a single core" ON )
28
+ else ()
29
+ set (NO_AFFINITY 1 )
30
+ endif ()
26
31
27
32
# Add a prefix or suffix to all exported symbol names in the shared library.
28
33
# Avoids conflicts with other BLAS libraries, especially when using
0 commit comments