Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / parallel / openmpi / Makefile
blob330790282725c821e3c0d3b1440f8b105d473ddf
1 # $NetBSD: Makefile,v 1.21 2013/02/24 01:22:36 asau Exp $
3 DISTNAME= openmpi-1.6.4
4 CATEGORIES= parallel
5 MASTER_SITES= http://www.open-mpi.org/software/ompi/v1.6/downloads/
6 EXTRACT_SUFX= .tar.bz2
8 MAINTAINER= asau@inbox.ru
9 HOMEPAGE= http://www.open-mpi.org/
10 COMMENT= Open source MPI-2 implementation
12 GNU_CONFIGURE= yes
13 USE_LANGUAGES= c c++ fortran77
14 USE_LIBTOOL= yes
15 LIBTOOL_OVERRIDE= ${WRKSRC}/libtool \
16 ${WRKSRC}/ompi/contrib/vt/vt/extlib/otf/libtool \
17 ${WRKSRC}/ompi/contrib/vt/vt/libtool \
18 ${WRKSRC}/ompi/mca/io/romio/romio/libtool
19 SHLIBTOOL_OVERRIDE= ${WRKSRC}/config/libtool.m4 \
20 ${WRKSRC}/opal/libltdl/m4/libtool.m4
22 CONFIGURE_ARGS+= --disable-mpi-f90
23 CONFIGURE_ARGS+= --without-sge
24 CONFIGURE_ARGS+= --without-slurm
25 CONFIGURE_ARGS+= --enable-contrib-no-build=vt # in separate package
26 CONFIGURE_ARGS+= --with-libltdl=external # use our libltdl
27 CONFIGURE_ARGS+= --with-hwloc=$(BUILDLINK_PREFIX.hwloc:Q) #external
28 CONFIGURE_ARGS+= --with-wrapper-ldflags="-L${PREFIX}/lib ${LINKER_RPATH_FLAG}${PREFIX}/lib"
29 CONFIGURE_ENV+= ompi_cv_f77_have_INTEGERp8=no # no "INTEGER*8"??
30 CONFIGURE_ARGS+= OPAL_HAVE_LTDL_ADVISE=0
32 # Prevent detection of OpenMP support in order to make PLIST consistent:
33 BUILDLINK_TRANSFORM= rm:-fopenmp
35 USE_TOOLS+= perl:run
37 .include "options.mk"
39 TEST_TARGET= check
41 ## Just in case you'll need it...
42 # USE_TOOLS+= aclocal autoconf automake bash perl
43 # REPLACE_BASH= autogen.sh
45 # pre-configure: replace-interpreter
46 # cd $(WRKSRC) && $(BASH) autogen.sh
48 LIBLTDL_CONVENIENCE_SUBDIR= opal/libltdl
49 .include "../../devel/libltdl/convenience.mk" # for "test" target to work
50 .include "../../devel/libltdl/buildlink3.mk"
51 .include "../../parallel/hwloc/buildlink3.mk"
52 .include "../../mk/bsd.pkg.mk"