From b695680a330a9bea4d9212ac57de355a300c8fc4 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Fri, 14 Sep 2012 14:06:14 +0800 Subject: [PATCH] Fixed #143. Don't generate cblas.h with NO_CBLAS. --- Makefile.install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.install b/Makefile.install index a74f3d606..7f30d6b7c 100644 --- a/Makefile.install +++ b/Makefile.install @@ -32,8 +32,10 @@ install : lib.grd @cat common_interface.h >> $(OPENBLAS_INCLUDE_DIR)/f77blas.h @echo \#endif >> $(OPENBLAS_INCLUDE_DIR)/f77blas.h +ifndef NO_CBLAS @echo Generating cblas.h in $(OPENBLAS_INCLUDE_DIR) @sed 's/common/openblas_config/g' cblas.h > $(OPENBLAS_INCLUDE_DIR)/cblas.h +endif ifndef NO_LAPACKE @echo Copying LAPACKE header files to $(OPENBLAS_LIBRARY_DIR)