mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
openmpi: update to 1.10.3.
Fix PIE.
This commit is contained in:
parent
ce3bac6278
commit
8b75c7c51d
1 changed files with 18 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openmpi'
|
# Template file for 'openmpi'
|
||||||
pkgname=openmpi
|
pkgname=openmpi
|
||||||
version=1.10.2
|
version=1.10.3
|
||||||
revision=2
|
revision=1
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-ipv6 --with-hwloc=${XBPS_CROSS_BASE}/usr"
|
configure_args="--enable-ipv6 --with-hwloc=${XBPS_CROSS_BASE}/usr"
|
||||||
|
@ -20,12 +20,27 @@ homepage="http://www.open-mpi.org/"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
distfiles="http://www.open-mpi.org/software/ompi/v1.10/downloads/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.open-mpi.org/software/ompi/v1.10/downloads/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=8846e7e69a203db8f50af90fa037f0ba47e3f32e4c9ccdae2db22898fd4d1f59
|
checksum=7484bb664312082fd12edc2445b42362089b53b17fb5fce12efd4fe452cc254d
|
||||||
nocross=yes # libtool -rpath /usr/lib issue
|
nocross=yes # libtool -rpath /usr/lib issue
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
pre_configure() {
|
||||||
|
# used wrongly upstream? but nocross anyway
|
||||||
|
export CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
|
export CXXFLAGS="$CXXFLAGS $LDFLAGS"
|
||||||
|
|
||||||
|
export CC_FOR_BUILD="$CC"
|
||||||
|
export CFLAGS_FOR_BUILD="$CFLAGS"
|
||||||
|
export CPP_FOR_BUILD="$CPP"
|
||||||
|
export CXX_FOR_BUILD="$CXX"
|
||||||
|
export CXXFLAGS_FOR_BUILD="$CXXFLAGS"
|
||||||
|
export CPPFLAGS_FOR_BUILD="$CPPFLAGS"
|
||||||
|
export LDFLAGS_FOR_BUILD="$LDFLAGS"
|
||||||
|
export LIBS_FOR_BUILD="$LDFLAGS"
|
||||||
|
export LIBS="$LDFLAGS"
|
||||||
|
}
|
||||||
|
|
||||||
libopenmpi_package() {
|
libopenmpi_package() {
|
||||||
short_desc+=" - runtime libraries"
|
short_desc+=" - runtime libraries"
|
||||||
|
|
Loading…
Add table
Reference in a new issue