From a652df6298c1697874680ca8e7faffa8a6ce3c38 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Thu, 30 Oct 2014 16:33:26 -0700 Subject: [PATCH] Setting OPENBLAS_TARGET_ARCH should disable OPENBLAS_DYNAMIC_ARCH by default --- Make.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Make.inc b/Make.inc index fedb86ced8fbd..02a9d61279673 100644 --- a/Make.inc +++ b/Make.inc @@ -5,9 +5,15 @@ ## your local machine, in a file named `Make.user` in this directory # OPENBLAS build options +OPENBLAS_TARGET_ARCH= + +# If OPENBLAS_TARGET_ARCH is set, we default to disabling OPENBLAS_DYNAMIC_ARCH +ifneq ($(OPENBLAS_TARGET_ARCH),) +OPENBLAS_DYNAMIC_ARCH=0 +else OPENBLAS_DYNAMIC_ARCH=1 +endif OPENBLAS_USE_THREAD=1 -OPENBLAS_TARGET_ARCH= # Use libraries available on the system instead of building them USE_SYSTEM_LLVM=0