svn commit: r383490 - head/math/octave
Nakata Maho
maho.nakata at gmail.com
Tue May 12 05:30:42 UTC 2015
Hi Makc,
I have attached a cleanup patch for scilab. BLAS and LAPACK part is modernized.
Best,
Nakata Maho
From: Don Lewis <truckman at 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 --------------
Index: Makefile
===================================================================
--- Makefile (????????? 386115)
+++ Makefile (?????????)
@@ -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
More information about the svn-ports-head
mailing list