View | Details | Raw Unified | Return to bug 181916
Collapse All | Expand All

(-)Makefile (-27 / +15 lines)
Lines 4-20 Link Here
4
#  - etc/*.sample support
4
#  - etc/*.sample support
5
5
6
PORTNAME=	openmpi
6
PORTNAME=	openmpi
7
DISTVERSION=	1.6.1
7
DISTVERSION=	1.6.5
8
PORTREVISION=	5
9
CATEGORIES=	net parallel
8
CATEGORIES=	net parallel
10
MASTER_SITES=	http://www.open-mpi.org/software/ompi/v1.6/downloads/
9
MASTER_SITES=	http://www.open-mpi.org/software/ompi/v1.6/downloads/
11
10
12
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	danilogondolfo@gmail.com
13
COMMENT=	A High Performance Message Passing Library
12
COMMENT=	High Performance Message Passing Library
14
13
15
LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo \
14
LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
16
		hwloc:${PORTSDIR}/devel/hwloc \
15
		libhwloc.so:${PORTSDIR}/devel/hwloc \
17
		ltdl:${PORTSDIR}/devel/libltdl
16
		libltdl.so:${PORTSDIR}/devel/libltdl
18
17
19
USE_BZIP2=	yes
18
USE_BZIP2=	yes
20
HAS_CONFIGURE=	yes
19
HAS_CONFIGURE=	yes
Lines 23-29 Link Here
23
MPIBASE?=	mpi
22
MPIBASE?=	mpi
24
MPIDIR?=	${MPIBASE}/${UNIQUENAME}
23
MPIDIR?=	${MPIBASE}/${UNIQUENAME}
25
24
26
PLIST_SUB+=	CONFIGURE_TARGET=${CONFIGURE_TARGET}
27
PLIST_SUB+=	MPIBASE=${MPIBASE}
25
PLIST_SUB+=	MPIBASE=${MPIBASE}
28
PLIST_SUB+=	MPIDIR=${MPIDIR}
26
PLIST_SUB+=	MPIDIR=${MPIDIR}
29
27
Lines 31-38 Link Here
31
			--mandir=${PREFIX}/${MPIDIR}/man \
29
			--mandir=${PREFIX}/${MPIDIR}/man \
32
			--program-prefix= \
30
			--program-prefix= \
33
			--with-hwloc=${LOCALBASE} \
31
			--with-hwloc=${LOCALBASE} \
34
			--with-libltdl=${LOCALBASE} \
32
			--with-libltdl=${LOCALBASE}
35
		 	${CONFIGURE_TARGET}
36
33
37
USE_LDCONFIG=	${PREFIX}/${MPIDIR}/lib \
34
USE_LDCONFIG=	${PREFIX}/${MPIDIR}/lib \
38
		${PREFIX}/${MPIDIR}/lib/openmpi
35
		${PREFIX}/${MPIDIR}/lib/openmpi
Lines 41-76 Link Here
41
.include "${.CURDIR}/Makefile.man"
38
.include "${.CURDIR}/Makefile.man"
42
39
43
OPTIONS_DEFINE=	IPV6 TORQUE
40
OPTIONS_DEFINE=	IPV6 TORQUE
44
45
TORQUE_DESC=	Enable Torque support
41
TORQUE_DESC=	Enable Torque support
46
47
OPTIONS_DEFAULT=	IPV6
42
OPTIONS_DEFAULT=	IPV6
48
43
44
IPV6_CONFIGURE_ENABLE=	ipv6
45
TORQUE_CONFIGURE_ON=	--with-tm=${LOCALBASE}
46
TORQUE_CONFIGURE_OFF=	--without-tm
47
49
.include <bsd.port.options.mk>
48
.include <bsd.port.options.mk>
50
49
51
.if ${PORT_OPTIONS:MIPV6}
52
CONFIGURE_ARGS+=	--enable-ipv6
53
.else
54
CONFIGURE_ARGS+=	--disable-ipv6
55
.endif
56
57
CONFIGURE_ARGS+=	--without-sge
58
59
.if ${PORT_OPTIONS:MTORQUE}
50
.if ${PORT_OPTIONS:MTORQUE}
60
LIB_DEPENDS+=	torque:${PORTSDIR}/sysutils/torque
51
LIB_DEPENDS+=	libtorque.so:${PORTSDIR}/sysutils/torque
61
CONFIGURE_ARGS+=	--with-tm=${LOCALBASE}
62
PLIST_FILES+=	${MPIDIR}/lib/openmpi/mca_plm_tm.so \
52
PLIST_FILES+=	${MPIDIR}/lib/openmpi/mca_plm_tm.so \
63
		${MPIDIR}/lib/openmpi/mca_plm_tm.la \
53
		${MPIDIR}/lib/openmpi/mca_plm_tm.la \
64
		${MPIDIR}/lib/openmpi/mca_ras_tm.la \
54
		${MPIDIR}/lib/openmpi/mca_ras_tm.la \
65
		${MPIDIR}/lib/openmpi/mca_ras_tm.so \
55
		${MPIDIR}/lib/openmpi/mca_ras_tm.so \
56
		${MPIDIR}/lib/openmpi/mca_ess_tm.so \
57
		${MPIDIR}/lib/openmpi/mca_ess_tm.la \
66
		${MPIDIR}/share/openmpi/help-plm-tm.txt \
58
		${MPIDIR}/share/openmpi/help-plm-tm.txt \
67
		${MPIDIR}/share/openmpi/help-ras-tm.txt
59
		${MPIDIR}/share/openmpi/help-ras-tm.txt
68
.else
69
CONFIGURE_ARGS+=	--without-tm
70
.endif
60
.endif
71
61
72
.include <bsd.port.pre.mk>
73
74
.if ${ARCH} == "sparc64"
62
.if ${ARCH} == "sparc64"
75
BROKEN=		Does not compile on sparc64
63
BROKEN=		Does not compile on sparc64
76
.endif
64
.endif
Lines 111-114 Link Here
111
	    ${SED} -e 's|.*man\([0-9LN]\)/\(.*\)|MAN\1+=\2|' -e 's/\.gz$$//' | \
99
	    ${SED} -e 's|.*man\([0-9LN]\)/\(.*\)|MAN\1+=\2|' -e 's/\.gz$$//' | \
112
	    ${SORT} >> ${.CURDIR}/Makefile.man
100
	    ${SORT} >> ${.CURDIR}/Makefile.man
113
101
114
.include <bsd.port.post.mk>
102
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (openmpi-1.6.1.tar.bz2) = 077240dd1ab10f0caf26931e585db73848e9815c7119b993f91d269da5901e3a
1
SHA256 (openmpi-1.6.5.tar.bz2) = fe37bab89b5ef234e0ac82dc798282c2ab08900bf564a1ec27239d3f1ad1fc85
2
SIZE (openmpi-1.6.1.tar.bz2) = 10194684
2
SIZE (openmpi-1.6.5.tar.bz2) = 10943881
(-)files/patch-configure (-16 lines)
Lines 1-16 Link Here
1
2
$FreeBSD$
3
4
--- configure.orig
5
+++ configure
6
@@ -125045,8 +125045,8 @@
7
         ;;
8
     *bsd*)
9
         case "$host" in
10
-        *freebsd7*)
11
-            # FreeBSD 7 has SCTP in an unpatched default kernel with
12
+        **freebsd[789]*|*freebsd1[0-9]*)
13
+            # FreeBSD >= 7 has SCTP in an unpatched default kernel with
14
             #  the SCTP API contained within libc.
15
             ompi_sctp_api_libname="c"
16
             ;;
(-)pkg-plist (-42 / +41 lines)
Lines 1-13 Link Here
1
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfaux
2
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfcompress
3
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfconfig
4
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfdump
5
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfinfo
6
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfmerge
7
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfmerge-mpi
8
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfprofile
9
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfprofile-mpi
10
%%MPIDIR%%/bin/%%CONFIGURE_TARGET%%-otfshrink
11
%%MPIDIR%%/bin/ompi-probe
1
%%MPIDIR%%/bin/ompi-probe
12
%%MPIDIR%%/bin/ompi-profiler
2
%%MPIDIR%%/bin/ompi-profiler
13
%%MPIDIR%%/bin/ompi-server
3
%%MPIDIR%%/bin/ompi-server
Lines 22-27 Link Here
22
%%MPIDIR%%/bin/orte_wrapper_script
12
%%MPIDIR%%/bin/orte_wrapper_script
23
%%MPIDIR%%/bin/orted
13
%%MPIDIR%%/bin/orted
24
%%MPIDIR%%/bin/orterun
14
%%MPIDIR%%/bin/orterun
15
%%MPIDIR%%/bin/otfaux
16
%%MPIDIR%%/bin/otfconfig
17
%%MPIDIR%%/bin/otfprint
18
%%MPIDIR%%/bin/otfinfo
19
%%MPIDIR%%/bin/otfmerge
20
%%MPIDIR%%/bin/otfmerge-mpi
21
%%MPIDIR%%/bin/otfprofile
22
%%MPIDIR%%/bin/otfprofile-mpi
23
%%MPIDIR%%/bin/otfshrink
24
%%MPIDIR%%/bin/otfcompress
25
%%MPIDIR%%/bin/vtfilter
25
%%MPIDIR%%/bin/vtfilter
26
%%MPIDIR%%/bin/vtfilter-mpi
26
%%MPIDIR%%/bin/vtfilter-mpi
27
%%MPIDIR%%/bin/vtrun
27
%%MPIDIR%%/bin/vtrun
Lines 69-100 Link Here
69
%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/topology_inln.h
69
%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/topology_inln.h
70
%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/win.h
70
%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/win.h
71
%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/win_inln.h
71
%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/win_inln.h
72
%%MPIDIR%%/include/vampirtrace/OTFAUX_MsgMatching.h
72
%%MPIDIR%%/include/vampirtrace/open-trace-format/otf.h
73
%%MPIDIR%%/include/vampirtrace/OTFAUX_State.h
73
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_CopyHandler.h
74
%%MPIDIR%%/include/vampirtrace/OTFAUX_Thumbnail.h
74
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_CopyHandler_stream.h
75
%%MPIDIR%%/include/vampirtrace/OTF_CopyHandler.h
75
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_Definitions.h
76
%%MPIDIR%%/include/vampirtrace/OTF_CopyHandler_stream.h
76
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_Errno.h
77
%%MPIDIR%%/include/vampirtrace/OTF_Definitions.h
77
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_File.h
78
%%MPIDIR%%/include/vampirtrace/OTF_Errno.h
78
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_File_iofsl.h
79
%%MPIDIR%%/include/vampirtrace/OTF_File.h
79
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_FileManager.h
80
%%MPIDIR%%/include/vampirtrace/OTF_FileManager.h
80
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_Filenames.h
81
%%MPIDIR%%/include/vampirtrace/OTF_File_iofsl.h
81
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_HandlerArray.h
82
%%MPIDIR%%/include/vampirtrace/OTF_Filenames.h
82
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_inttypes.h
83
%%MPIDIR%%/include/vampirtrace/OTF_HandlerArray.h
83
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_KeyValue.h
84
%%MPIDIR%%/include/vampirtrace/OTF_KeyValue.h
84
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_MasterControl.h
85
%%MPIDIR%%/include/vampirtrace/OTF_MasterControl.h
85
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_RBuffer.h
86
%%MPIDIR%%/include/vampirtrace/OTF_RBuffer.h
86
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_RStream.h
87
%%MPIDIR%%/include/vampirtrace/OTF_RStream.h
87
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_Reader.h
88
%%MPIDIR%%/include/vampirtrace/OTF_Reader.h
88
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_Version.h
89
%%MPIDIR%%/include/vampirtrace/OTF_Version.h
89
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_WBuffer.h
90
%%MPIDIR%%/include/vampirtrace/OTF_WBuffer.h
90
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_WStream.h
91
%%MPIDIR%%/include/vampirtrace/OTF_WStream.h
91
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_Writer.h
92
%%MPIDIR%%/include/vampirtrace/OTF_Writer.h
92
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTF_inttypes_unix.h
93
%%MPIDIR%%/include/vampirtrace/OTF_inttypes.h
93
%%MPIDIR%%/include/vampirtrace/open-trace-format/otfaux.h
94
%%MPIDIR%%/include/vampirtrace/OTF_inttypes_unix.h
94
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTFAUX_State.h
95
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTFAUX_MsgMatching.h
96
%%MPIDIR%%/include/vampirtrace/open-trace-format/OTFAUX_Thumbnail.h
95
%%MPIDIR%%/include/vampirtrace/opari_omp.h
97
%%MPIDIR%%/include/vampirtrace/opari_omp.h
96
%%MPIDIR%%/include/vampirtrace/otf.h
97
%%MPIDIR%%/include/vampirtrace/otfaux.h
98
%%MPIDIR%%/include/vampirtrace/pomp_lib.h
98
%%MPIDIR%%/include/vampirtrace/pomp_lib.h
99
%%MPIDIR%%/include/vampirtrace/vt_inttypes.h
99
%%MPIDIR%%/include/vampirtrace/vt_inttypes.h
100
%%MPIDIR%%/include/vampirtrace/vt_user.h
100
%%MPIDIR%%/include/vampirtrace/vt_user.h
Lines 121-127 Link Here
121
%%MPIDIR%%/lib/libmpi_f77.la
121
%%MPIDIR%%/lib/libmpi_f77.la
122
%%MPIDIR%%/lib/libmpi_f77.so.1
122
%%MPIDIR%%/lib/libmpi_f77.so.1
123
%%MPIDIR%%/lib/libmpi_f90.la
123
%%MPIDIR%%/lib/libmpi_f90.la
124
%%MPIDIR%%/lib/libmpi_f90.so.2
124
%%MPIDIR%%/lib/libmpi_f90.so.4
125
%%MPIDIR%%/lib/libompitrace.la
125
%%MPIDIR%%/lib/libompitrace.la
126
%%MPIDIR%%/lib/libompitrace.so.0
126
%%MPIDIR%%/lib/libompitrace.so.0
127
%%MPIDIR%%/lib/libopen-pal.la
127
%%MPIDIR%%/lib/libopen-pal.la
Lines 128-139 Link Here
128
%%MPIDIR%%/lib/libopen-pal.so.4
128
%%MPIDIR%%/lib/libopen-pal.so.4
129
%%MPIDIR%%/lib/libopen-rte.la
129
%%MPIDIR%%/lib/libopen-rte.la
130
%%MPIDIR%%/lib/libopen-rte.so.4
130
%%MPIDIR%%/lib/libopen-rte.so.4
131
%%MPIDIR%%/lib/libotf.a
131
%%MPIDIR%%/lib/libopen-trace-format.so
132
%%MPIDIR%%/lib/libotf.la
133
%%MPIDIR%%/lib/libotf.so.6
134
%%MPIDIR%%/lib/libotfaux.a
132
%%MPIDIR%%/lib/libotfaux.a
135
%%MPIDIR%%/lib/libotfaux.la
133
%%MPIDIR%%/lib/libotfaux.la
136
%%MPIDIR%%/lib/libotfaux.so.0
134
%%MPIDIR%%/lib/libotfaux.so.0
135
%%MPIDIR%%/lib/libopen-trace-format.so.1
136
%%MPIDIR%%/lib/libopen-trace-format.la
137
%%MPIDIR%%/lib/libopen-trace-format.a
137
%%MPIDIR%%/lib/libvt-hyb.a
138
%%MPIDIR%%/lib/libvt-hyb.a
138
%%MPIDIR%%/lib/libvt-hyb.la
139
%%MPIDIR%%/lib/libvt-hyb.la
139
%%MPIDIR%%/lib/libvt-hyb.so.0
140
%%MPIDIR%%/lib/libvt-hyb.so.0
Lines 160-167 Link Here
160
%%MPIDIR%%/lib/openmpi/mca_allocator_bucket.so
161
%%MPIDIR%%/lib/openmpi/mca_allocator_bucket.so
161
%%MPIDIR%%/lib/openmpi/mca_bml_r2.la
162
%%MPIDIR%%/lib/openmpi/mca_bml_r2.la
162
%%MPIDIR%%/lib/openmpi/mca_bml_r2.so
163
%%MPIDIR%%/lib/openmpi/mca_bml_r2.so
163
%%MPIDIR%%/lib/openmpi/mca_btl_sctp.la
164
%%MPIDIR%%/lib/openmpi/mca_btl_sctp.so
165
%%MPIDIR%%/lib/openmpi/mca_btl_self.la
164
%%MPIDIR%%/lib/openmpi/mca_btl_self.la
166
%%MPIDIR%%/lib/openmpi/mca_btl_self.so
165
%%MPIDIR%%/lib/openmpi/mca_btl_self.so
167
%%MPIDIR%%/lib/openmpi/mca_btl_sm.la
166
%%MPIDIR%%/lib/openmpi/mca_btl_sm.la
Lines 441-447 Link Here
441
%%MPIDIR%%/lib/libompitrace.so
440
%%MPIDIR%%/lib/libompitrace.so
442
%%MPIDIR%%/lib/libopen-pal.so
441
%%MPIDIR%%/lib/libopen-pal.so
443
%%MPIDIR%%/lib/libopen-rte.so
442
%%MPIDIR%%/lib/libopen-rte.so
444
%%MPIDIR%%/lib/libotf.so
445
%%MPIDIR%%/lib/libotfaux.so
443
%%MPIDIR%%/lib/libotfaux.so
446
%%MPIDIR%%/lib/libvt-hyb.so
444
%%MPIDIR%%/lib/libvt-hyb.so
447
%%MPIDIR%%/lib/libvt-mpi-unify.so
445
%%MPIDIR%%/lib/libvt-mpi-unify.so
Lines 471-476 Link Here
471
@dirrm %%MPIDIR%%/lib/openmpi
469
@dirrm %%MPIDIR%%/lib/openmpi
472
@dirrm %%MPIDIR%%/lib/pkgconfig
470
@dirrm %%MPIDIR%%/lib/pkgconfig
473
@dirrm %%MPIDIR%%/lib
471
@dirrm %%MPIDIR%%/lib
472
@dirrm %%MPIDIR%%/include/vampirtrace/open-trace-format
474
@dirrm %%MPIDIR%%/include/vampirtrace
473
@dirrm %%MPIDIR%%/include/vampirtrace
475
@dirrm %%MPIDIR%%/include/openmpi/ompi/mpi/cxx
474
@dirrm %%MPIDIR%%/include/openmpi/ompi/mpi/cxx
476
@dirrm %%MPIDIR%%/include/openmpi/ompi/mpi
475
@dirrm %%MPIDIR%%/include/openmpi/ompi/mpi

Return to bug 181916