Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 14:30:52 +0900 (JST)
From:      Nakata Maho <maho.nakata@gmail.com>
To:        truckman@FreeBSD.org
Cc:        ports-committers@FreeBSD.org, svn-ports-all@FreeBSD.org, svn-ports-head@FreeBSD.org
Subject:   Re: svn commit: r383490 - head/math/octave
Message-ID:  <20150512.143052.651182261408958185.maho.nakata@gmail.com>
In-Reply-To: <201504080524.t385OXLX045087@gw.catspoiler.org>
References:  <20150408.115356.727257680516653223.maho.nakata@gmail.com> <201504080524.t385OXLX045087@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Tue_May_12_14_30_52_2015_139)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Makc,

I have attached a cleanup patch for scilab. BLAS and LAPACK part is modernized.

Best,
 Nakata Maho

From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: svn commit: r383490 - head/math/octave
Date: Tue, 7 Apr 2015 22:24:33 -0700 (PDT)

> On  8 Apr, Nakata Maho wrote:
>> Please use OpenBLAS instead. It is faster and builds fast.
> 
> Hmn, the option name in lapack++ and octave is OBLAS, but it is OPENBLAS
> in py-numpy and suitesparse.  scilab needs to be modernized.


----Next_Part(Tue_May_12_14_30_52_2015_139)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=scilab-patch

Index: Makefile
===================================================================
--- Makefile	($Bec%'ecFe$:ec%!ec%&(B 386115)
+++ Makefile	($Bh?Xh!&%eeb%&ecHe&>(B)
@@ -37,11 +37,16 @@
 		LC_ALL=en_US.UTF-8
 INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	ATLAS GUI OCAML TK
-OPTIONS_DEFAULT=	GUI OCAML TK
+OPTIONS_DEFINE=	GUI OCAML TK
+OPTIONS_RADIO=	BLAS
+OPTIONS_RADIO_BLAS=     OPENBLAS NETLIB ATLAS
+OPTIONS_DEFAULT= OPENBLAS GUI OCAML TK
 OPTIONS_SUB=	yes
 
-ATLAS_DESC=	Use Atlas instead of Blas
+OPENBLAS_USES=  blaslapack:openblas
+NETLIB_USES=    blaslapack:netlib
+ATLAS_USES=     blaslapack:atlas
+
 GUI_DESC=	Graphical User Interface (Java)
 OCAML_DESC=	Scicos - dynamical system simulator (requires GUI)
 
@@ -107,17 +112,6 @@
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MATLAS}
-LIB_DEPENDS+=	libatlas.so:${PORTSDIR}/math/atlas
-BLAS_LIBS=	-lf77blas
-LAPACK_LIBS=	-lalapack -lcblas
-.else
-LIB_DEPENDS+=	liblapack.so:${PORTSDIR}/math/lapack \
-		libblas.so:${PORTSDIR}/math/blas
-BLAS_LIBS=	-lblas
-LAPACK_LIBS=	-llapack
-.endif
-
 .if ${PORT_OPTIONS:MGUI}
 USE_JAVA=	yes
 # bsdjava (ie java/jdk16) doesn't have some "extra" classes that aren't in

----Next_Part(Tue_May_12_14_30_52_2015_139)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150512.143052.651182261408958185.maho.nakata>