openmpi: fix musl build.
This commit is contained in:
parent
51b2aa5231
commit
15170b6a90
1 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,10 @@ revision=2
|
|||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
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"
|
||||
makedepends="zlib-devel libgomp-devel libhwloc-devel"
|
||||
conf_files="
|
||||
|
@ -35,7 +39,10 @@ openmpi-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) ;;
|
||||
*) vmove "usr/lib/*.a";;
|
||||
esac
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/man/man3
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue