Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2017 08:34:11 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443734 - head/cad/tochnog
Message-ID:  <201706170834.v5H8YBPp045676@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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