Mercurial > mxe-octave
changeset 3169:4a5961b103e2
Add openblas option to qrupdate build
* src/qrupdate.mk: add openblas a dependancy when --enable-openblas used, and compile with openblas.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 23 Jul 2013 14:06:58 -0400 |
parents | 81ef4be24f2e |
children | 5ee3638d5411 |
files | src/qrupdate.mk |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/qrupdate.mk Mon Jul 22 17:32:09 2013 -0400 +++ b/src/qrupdate.mk Tue Jul 23 14:06:58 2013 -0400 @@ -7,7 +7,15 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := qrupdate-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE) -$(PKG)_DEPS := blas lapack +ifeq ($(ENABLE_OPENBLAS),yes) + $(PKG)_DEPS := openblas lapack +else + $(PKG)_DEPS := blas lapack +endif + +ifeq ($(ENABLE_OPENBLAS),yes) + $(PKG)_BLAS_OPTION := --with-blas=openblas +endif ifeq ($(ENABLE_64),yes) $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8" @@ -28,6 +36,7 @@ $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ + $($(PKG)_BLAS_OPTION) \ $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install