aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2017-06-17 08:34:11 +0000
committerThierry Thomas <thierry@FreeBSD.org>2017-06-17 08:34:11 +0000
commit5fd41657b0c147f13c3161fa17e7fbe1ee5a9e46 (patch)
tree9767d685496fcc12e55e532a5085232088a8601a /cad
parentb972843f78418b1688777617507bfa771b10c1a0 (diff)
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
Notes
Notes: svn path=/head/; revision=443734
Diffstat (limited to 'cad')
-rw-r--r--cad/tochnog/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile
index 385e0e34ca02..d2567275455e 100644
--- a/cad/tochnog/Makefile
+++ b/cad/tochnog/Makefile
@@ -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