boost: rebuild for openmpi-5.0.1

Because openmpi>=5.0.0 only supports 64-bit architectures, the MPI
subpackages of boost are now limited to these architectures.
This commit is contained in:
Andrew J. Hesford 2023-11-25 20:40:21 -05:00
parent a44321e947
commit 0b58b7988a
1 changed files with 13 additions and 6 deletions

View File

@ -1,11 +1,10 @@
# Template file for 'boost'
pkgname=boost
version=1.83.0
revision=3
revision=4
build_style=meta
hostmakedepends="which bzip2-devel icu-devel python3-devel pkg-config openmpi"
makedepends="zlib-devel bzip2-devel icu-devel python3-devel liblzma-devel
libzstd-devel openmpi-devel"
hostmakedepends="which bzip2-devel icu-devel python3-devel pkg-config"
makedepends="zlib-devel bzip2-devel icu-devel python3-devel liblzma-devel libzstd-devel"
checkdepends="openssl-devel libpng-devel libjpeg-turbo-devel"
short_desc="Free peer-reviewed portable C++ source libraries"
maintainer="John <me@johnnynator.dev>"
@ -43,13 +42,13 @@ subpackages="libboost_program_options libboost_math_c99f
libboost_stacktrace_basic libboost_stacktrace_noop
libboost_iostreams libboost_filesystem libboost_url
libboost_chrono libboost_math_tr1f libboost_wave
libboost_graph libboost_graph_parallel libboost_locale libboost_regex
libboost_graph libboost_locale libboost_regex
libboost_fiber libboost_type_erasure libboost_coroutine
libboost_atomic libboost_prg_exec_monitor libboost_math_c99
boost-python3 libboost_log_setup boost-devel libboost_json
libboost_timer libboost_system libboost_unit_test_framework
libboost_serialization libboost_math_tr1 boost-build
libboost_contract libboost_nowide libboost_mpi libboost_mpi-python3
libboost_contract libboost_nowide
libboost_date_time libboost_log libboost_random
libboost_thread libboost_container
libboost_wserialization libboost_context"
@ -88,6 +87,14 @@ case "$XBPS_TARGET_MACHINE" in
ppc*) _arch=power; _abi=sysv ;;
esac
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*|ppc64*|riscv64*)
hostmakedepends+=" openmpi"
makedepends+=" openmpi-devel"
subpackages+=" libboost_mpi libboost_mpi-python3 libboost_graph_parallel"
;;
esac
do_build() {
# bootstrap.sh will reset CXX and CXXFLAGS (L229)
./bootstrap.sh --with-toolset=gcc \