forked from ports/contrib
openmpi: adopted port
This commit is contained in:
parent
89f1656ca2
commit
6703ef7d98
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF34WevbkaICqQ01OrV6Z8aprty1P4KV6dVnVSU8JFngQ2L30mrRmlt7x2+k/YAS2pCR1NPFm7uySTyDXD7JueqQ8=
|
||||
SHA256 (Pkgfile) = 2a32586ee8edeb766a1cbf2344fcd141c8f476eb28b9660f0c757f50c6165b74
|
||||
RWSagIOpLGJF3yCDhOyYu4tks2da8scZ3aFMe60e4v0V5ir1AqoPgh1HxNuv4hh3tp3Frcl9p2NeX9D8EFjN1iQJfNYBDSTxxA8=
|
||||
SHA256 (Pkgfile) = d744bfe8045dfb4e286ab665c6403618fb0e8cb46c39834fe2a9bfabe741c4ba
|
||||
SHA256 (.footprint) = 33350048927e2dcd6aca238bac7e7788b81ca08412512c6a8be58caa3f8a1d3e
|
||||
SHA256 (openmpi-4.1.5.tar.bz2) = a640986bc257389dd379886fdae6264c8cfa56bc98b71ce3ae3dfbd8ce61dbe3
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Description: High performance message passing library (MPI)
|
||||
# URL: https://www.open-mpi.org
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: eudev gcc-fortran libevent libnl zlib
|
||||
# Optional: cuda hwloc
|
||||
|
||||
@ -10,28 +10,28 @@ release=1
|
||||
source=(https://www.open-mpi.org/software/ompi/v${version%.*}/downloads/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc/$name \
|
||||
--enable-mpi-fortran=all \
|
||||
--libdir=/usr/lib/$name \
|
||||
--enable-builtin-atomics \
|
||||
--enable-mpi-cxx \
|
||||
--enable-pretty-print-stacktrace \
|
||||
--without-slurm \
|
||||
FC=/usr/bin/gfortran \
|
||||
LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc/$name \
|
||||
--enable-mpi-fortran=all \
|
||||
--libdir=/usr/lib/$name \
|
||||
--enable-builtin-atomics \
|
||||
--enable-mpi-cxx \
|
||||
--enable-pretty-print-stacktrace \
|
||||
--without-slurm \
|
||||
FC=/usr/bin/gfortran \
|
||||
LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack"
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -dm 755 $PKG/usr/lib/pkgconfig
|
||||
for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
|
||||
ln -sf /usr/lib/openmpi/pkgconfig/$i $PKG/usr/lib/pkgconfig/
|
||||
done
|
||||
install -dm 755 $PKG/usr/lib/pkgconfig
|
||||
for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
|
||||
ln -sf /usr/lib/openmpi/pkgconfig/$i $PKG/usr/lib/pkgconfig/
|
||||
done
|
||||
|
||||
install -dm 755 $PKG/etc/ld.so.conf.d
|
||||
echo /usr/lib/$name > $PKG/etc/ld.so.conf.d/$name.conf
|
||||
install -dm 755 $PKG/etc/ld.so.conf.d
|
||||
echo /usr/lib/$name > $PKG/etc/ld.so.conf.d/$name.conf
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user