octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkoctfile urgently needs attention before Octave 3.6.0


From: marco atzeri
Subject: Re: mkoctfile urgently needs attention before Octave 3.6.0
Date: Fri, 30 Dec 2011 22:08:17 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 12/29/2011 11:18 PM, c. wrote:

On 29 Dec 2011, at 22:57, Lukas Reichlin wrote:

OK, I tested all developer makefiles with

         "$(mkoctfile -p LAPACK_LIBS)" \
         "$(mkoctfile -p BLAS_LIBS)"

and it worked for both the +accelerate and the +atlas option of the Portfile. They are in 
the all the "devel" folder [1].

Then I restored the package makefile [2] to Marco Atzeris original patch, which 
should do the same as my developer makefiles.

It doesn't do the same on my system, for me the commands:

LAPACK_LIBS != mkoctfile -p LAPACK_LIBS
BLAS_LIBS != mkoctfile -p BLAS_LIBS

do not set any value for LAPACK_LIBS and BLAS_LIBS.
I did not know the syntax "!=" maybe this only works with newer versions of 
gmake[1]?

try this instead:

LAPACK_LIBS = $$(mkoctfile -p LAPACK_LIBS)
BLAS_LIBS = $$(mkoctfile -p BLAS_LIBS)
FLIBS = $$(mkoctfile -p FLIBS)


the $$ solution is not very efficient as the commands
are executed by the shell all the times.

What about using :

LAPACK_LIBS := $(shell mkoctfile -p LAPACK_LIBS)
BLAS_LIBS := $(shell mkoctfile -p BLAS_LIBS)
FLIBS := $(shell mkoctfile -p FLIBS)

this should be a more traditional solution already used
in the octave Makefile

Marco



reply via email to

[Prev in Thread] Current Thread [Next in Thread]