On Mon, May 28, 2012 at 10:25:30PM +0200, Lukas Reichlin wrote: > ... > The one the links points to is the one for release. It doesn't come > with a lapack library. > ...
I see ... then something like the patch attached here. Olaf -- public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net
Index: Makefile =================================================================== --- Makefile (revision 10163) +++ Makefile (working copy) @@ -1,7 +1,9 @@ -LAPACK_LIBS := $(shell mkoctfile -p LAPACK_LIBS) -BLAS_LIBS := $(shell mkoctfile -p BLAS_LIBS) -FLIBS := $(shell mkoctfile -p FLIBS) +MKOCTFILE ?= mkoctfile +LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS) +BLAS_LIBS := $(shell $(MKOCTFILE) -p BLAS_LIBS) +FLIBS := $(shell $(MKOCTFILE) -p FLIBS) + all: control_slicot_functions.oct \ is_real_scalar.oct \ is_real_vector.oct \ @@ -20,27 +22,27 @@ mv slicot/src/*.f . mv slicot/src_aux/*.f . cp TG04BX.fortran TG04BX.f - mkoctfile -c *.f + $(MKOCTFILE) -c *.f ar -rc slicotlibrary.a *.o rm -rf *.o *.f slicot # slicot functions control_slicot_functions.oct: control_slicot_functions.cc slicotlibrary.a - mkoctfile control_slicot_functions.cc common.cc slicotlibrary.a \ + $(MKOCTFILE) control_slicot_functions.cc common.cc slicotlibrary.a \ ${LAPACK_LIBS} ${BLAS_LIBS} ${FLIBS} # helpers is_real_scalar.oct: is_real_scalar.cc - mkoctfile is_real_scalar.cc + $(MKOCTFILE) is_real_scalar.cc is_real_vector.oct: is_real_vector.cc - mkoctfile is_real_vector.cc + $(MKOCTFILE) is_real_vector.cc is_real_matrix.oct: is_real_matrix.cc - mkoctfile is_real_matrix.cc + $(MKOCTFILE) is_real_matrix.cc is_real_square_matrix.oct: is_real_square_matrix.cc - mkoctfile is_real_square_matrix.cc + $(MKOCTFILE) is_real_square_matrix.cc clean: rm -rf *.o core octave-core *.oct *~ *.f slicot
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev