svn commit: r443734 - head/cad/tochnog
Thierry Thomas
thierry at FreeBSD.org
Sat Jun 17 08:34:12 UTC 2017
Author: thierry
Date: Sat Jun 17 08:34:11 2017
New Revision: 443734
URL: https://svnweb.freebsd.org/changeset/ports/443734
Log:
Drop support for superlu_mt.
tochnog hasn't maintained the superlu_mt interface (or much else) in a long
time.
Let's just drop the option as it won't work when we bring in the modern
superlu_mt 3.1 version.
PR: 219932
Submitted by: pfg
Modified:
head/cad/tochnog/Makefile
Modified: head/cad/tochnog/Makefile
==============================================================================
--- head/cad/tochnog/Makefile Sat Jun 17 08:33:35 2017 (r443733)
+++ head/cad/tochnog/Makefile Sat Jun 17 08:34:11 2017 (r443734)
@@ -17,7 +17,7 @@ LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/lib/libf2c.a:lang/f2c
-OPTIONS_DEFINE= ATLAS EXAMPLES THREADS
+OPTIONS_DEFINE= ATLAS EXAMPLES
ATLAS_DESC= Use ATLAS instead of BLAS/LAPACK
WRKSRC= ${WRKDIR}/Sources/Tochnog-Latest-jan-2014
@@ -37,26 +37,16 @@ GID_PTYPES= ${PREFIX}/${GIDDIR}/problemtypes
.if ${PORT_OPTIONS:MATLAS}
LIB_DEPENDS+= libatlas.so:math/atlas
-.if ${PORT_OPTIONS:MTHREADS}
-BLAS_LIBS= -lptf77blas
-.else
BLAS_LIBS= -lf77blas
-.endif
.else
LIB_DEPENDS+= libblas.so:math/blas \
liblapack.so:math/lapack
BLAS_LIBS= -llapack -lblas
.endif
-.if ${PORT_OPTIONS:MTHREADS}
-ALL_TARGET= freebsd_parallel
-LIB_DEPENDS+= libsuperlu_mt.so:math/superlu_mt
-SUPERLU= superlu_mt
-.else
ALL_TARGET= freebsd_old
LIB_DEPENDS+= libsuperlu.so:math/superlu
SUPERLU= superlu
-.endif
post-extract:
.for sup in gid tools test
@@ -71,10 +61,6 @@ pre-configure:
s,%%SUPERLU%%,${SUPERLU},g ; \
s,%%BLAS_LIBS%%,-L${LOCALBASE}/lib ${BLAS_LIBS},g' \
${WRKSRC}/makefile
-pre-configure-THREADS-on:
- ${REINPLACE_CMD} -e 's,SUPERLU_MT_USE 0,SUPERLU_MT_USE 1,' \
- ${WRKSRC}/tnsuplu.h
-pre-configure-THREADS-off:
${REINPLACE_CMD} -e 's,SUPERLU_USE 0,SUPERLU_USE 1,' \
${WRKSRC}/tnsuplu.h
More information about the svn-ports-all
mailing list