#Packager: George Vlahavas pkgname=openmpi pkgver=1.10.2 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1gv source=("https://www.open-mpi.org/software/ompi/v${_majorver}/0downloads/openmpi-${pkgver}.tar.bz2") docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "version") url=https://www.open-mpi.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "openmpi (A High Performance Message Passing Library)" "The Open MPI Project is an open source Message Passing Interface" "implementation that is developed and maintained by a consortium of" "academic, research, and industry partners. Open MPI is therefore able" "to combine the expertise, technologies, and resources from all across" "the High Performance Computing community in order to build the best" "MPI library available. Open MPI offers advantages for system and" "software vendors, application developers and computer science" "researchers." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --enable-mpi-fortran=all \ --with-threads=posix \ --enable-smp-locks \ --with-valgrind \ --enable-memchecker \ --enable-pretty-print-stacktrace \ --without-slurm \ --with-hwloc=/usr \ --with-libltdl=/usr \ --disable-static \ --build=$arch-slackware-linux \ FC=/usr/bin/gfortran \ LDFLAGS="$LDFLAGS -Wl,-z,noexecstack" make -j $numjobs || return 1 make install-strip DESTDIR=$startdir/pkg # FS#28583 install -d -m 755 $startdir/pkg/usr/lib${LIBDIRSUFFIX}/pkgconfig ( cd $startdir/pkg/usr/lib${LIBDIRSUFFIX}/pkgconfig for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do ln -sf ../openmpi/pkgconfig/$i $startdir/pkg/usr/lib${LIBDIRSUFFIX}/pkgconfig/ done ) # Openmpi's otfinfo conflicts with the one from texlive mv $startdir/pkg/usr/bin/otfinfo{,mpi} # Remove dangling symlink and useless file rm -f $startdir/pkg/usr/share/vampirtrace/config.log }