summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-08-18 11:12:34 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-08-18 11:12:34 +0000
commit096c1be7612334c1477db98d1e67b6748740fabf (patch)
tree9570fe4a9a9b1f17f0c5f88a58106a4d07b8a6e9 /math
parent- Update to 3.1.1830 (diff)
o Add WITH_SMP, ATLAS with SMP support. currently serious
perfomance loss is observed. o change Intel C++ compiler flags to approprate one.
Notes
Notes: svn path=/head/; revision=116583
Diffstat (limited to 'math')
-rw-r--r--math/sdpa/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/math/sdpa/Makefile b/math/sdpa/Makefile
index 9fedf556c723..ec2f817df652 100644
--- a/math/sdpa/Makefile
+++ b/math/sdpa/Makefile
@@ -33,8 +33,14 @@ USE_REINPLACE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-LAPACK= -lalapack
-CBLAS= -lcblas -lf77blas -latlas -lg2c
+.if defined(WITH_SMP)
+LAPACK= -lalapack_r
+CBLAS= -lptcblas -lptf77blas -latlas_r -lg2c ${PTHREAD_LIBS}
+.else
+LAPACK= -static -lalapack
+CBLAS= -static -lcblas -lf77blas -latlas -lg2c
+.endif
+#WITH_SMP= yes
#WITH_ICC= yes
.if defined(WITH_OPTIMIZED_FLAGS)
@@ -49,8 +55,8 @@ CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3
.if defined(WITH_ICC)
CC= ${LOCALBASE}/intel_cc_80/bin/icc
CXX= ${LOCALBASE}/intel_cc_80/bin/icpc
-CFLAGS= -O3 -tpp7 -xiMKW -Vaxlib
-CXXFLAGS= -O3 -tpp7 -xiMKW -Vaxlib
+CFLAGS= -O3 -tpp7 -axN -Vaxlib
+CXXFLAGS= -O3 -tpp7 -axN -Vaxlib
.endif
pre-build: