openmpi: fix musl build.
This commit is contained in:
parent
51b2aa5231
commit
15170b6a90
|
@ -5,6 +5,10 @@ revision=2
|
||||||
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"
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# Disable VampirTrace wrappers on musl, different prototypes.
|
||||||
|
*-musl) configure_args+=" --enable-contrib-no-build=vt";;
|
||||||
|
esac
|
||||||
hostmakedepends="perl libgomp-devel"
|
hostmakedepends="perl libgomp-devel"
|
||||||
makedepends="zlib-devel libgomp-devel libhwloc-devel"
|
makedepends="zlib-devel libgomp-devel libhwloc-devel"
|
||||||
conf_files="
|
conf_files="
|
||||||
|
@ -35,7 +39,10 @@ openmpi-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) ;;
|
||||||
|
*) vmove "usr/lib/*.a";;
|
||||||
|
esac
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/man/man3
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue