comparison src/octave.mk @ 3069:076acecb9c21

Update octave dependancies that use blas to also use openblas * src/arpack.mk: set openblas as a dependancy if enable-openblas was set and include as configure option. * src/octave.mk: remove blas as a dependancy if enable-openblas was set. * src/suitsparse.mk: set openblas as a dependancy and set in makeflags if enable-openblas was set.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 20 Jun 2013 17:21:08 -0400
parents fb0836e4a677
children 433d1bb3cafb
comparison
equal deleted inserted replaced
3068:fb0836e4a677 3069:076acecb9c21
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_CHECKSUM := a51f52fa6dfef2e905d0c64f0401caab5a11faca 6 $(PKG)_CHECKSUM := a51f52fa6dfef2e905d0c64f0401caab5a11faca
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
8 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz 8 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz
9 $(PKG)_URL := ftp://alpha.gnu.org/gnu/octave/$($(PKG)_FILE) 9 $(PKG)_URL := ftp://alpha.gnu.org/gnu/octave/$($(PKG)_FILE)
10 $(PKG)_DEPS := arpack blas curl fftw fltk fontconfig glpk gnuplot graphicsmagick hdf5 lapack pcre pstoedit qhull qrupdate qscintilla qt readline suitesparse texinfo zlib 10 $(PKG)_DEPS := arpack curl fftw fltk fontconfig glpk gnuplot graphicsmagick hdf5 lapack pcre pstoedit qhull qrupdate qscintilla qt readline suitesparse texinfo zlib
11 ifeq ($(ENABLE_JIT),yes) 11 ifeq ($(ENABLE_JIT),yes)
12 $(PKG)_DEPS += llvm 12 $(PKG)_DEPS += llvm
13 endif 13 endif
14 14
15 ifeq ($(ENABLE_OPENBLAS),yes) 15 ifeq ($(ENABLE_OPENBLAS),yes)
16 $(PKG)_DEPS += openblas 16 $(PKG)_DEPS += openblas
17 $(PKG)_BLAS_OPTION := --with-blas=openblas 17 $(PKG)_BLAS_OPTION := --with-blas=openblas
18 else
19 $(PKG)_DEPS += blas
18 endif 20 endif
19 21
20 ifeq ($(MXE_NATIVE_BUILD),yes) 22 ifeq ($(MXE_NATIVE_BUILD),yes)
21 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) 23 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)
22 ifeq ($(ENABLE_64),yes) 24 ifeq ($(ENABLE_64),yes)