diff --git a/Makefile b/Makefile index 107dff5f2..1b9bcb118 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ SUBDIRS += lapack endif RELA = -ifneq ($(BUILD_RELAPACK), 0) +ifeq ($(BUILD_RELAPACK), 1) RELA = re_lapack endif diff --git a/Makefile.rule b/Makefile.rule index 2866699be..8d8aecdc9 100644 --- a/Makefile.rule +++ b/Makefile.rule @@ -84,7 +84,7 @@ VERSION = 0.2.20.dev BUILD_LAPACK_DEPRECATED = 1 # Build RecursiveLAPACK on top of LAPACK -BUILD_RELAPACK = 1 +# BUILD_RELAPACK = 1 # If you want to use legacy threaded Level 3 implementation. # USE_SIMPLE_THREADED_LEVEL3 = 1 diff --git a/Makefile.system b/Makefile.system index c4cf619d0..bd361a1a2 100644 --- a/Makefile.system +++ b/Makefile.system @@ -1129,6 +1129,9 @@ LIB_COMPONENTS += LAPACK ifneq ($(NO_LAPACKE), 1) LIB_COMPONENTS += LAPACKE endif +ifeq ($(BUILD_RELAPACK), 1) +LIB_COMPONENTS += ReLAPACK +endif endif ifeq ($(ONLY_CBLAS), 1)