Browse Source

Fixed #143. Don't generate cblas.h with NO_CBLAS.

tags/v0.2.4
Zhang Xianyi 13 years ago
parent
commit
b695680a33
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      Makefile.install

+ 2
- 0
Makefile.install View File

@@ -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)


Loading…
Cancel
Save