Skip to content

Commit

Permalink
boost: update to 1.87.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Dec 14, 2024
1 parent 3f307aa commit 0003847
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 29 deletions.
17 changes: 0 additions & 17 deletions mingw-w64-boost/0011-support-numpy-2.patch

This file was deleted.

23 changes: 11 additions & 12 deletions mingw-w64-boost/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ _realname=boost
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-libs")
pkgver=1.86.0
pkgrel=7
pkgver=1.87.0
pkgrel=1
pkgdesc="Free peer-reviewed portable C++ source libraries"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
Expand All @@ -31,13 +31,11 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
source=(https://github.com/boostorg/boost/releases/download/boost-${pkgver}/boost-${pkgver}-cmake.tar.xz
0001-Fix-building-with-cmake-on-MINGW.patch
0002-No-Arch-in-library-name-tag.patch
boost-1.63.0-python-test-PyImport_AppendInittab.patch
0011-support-numpy-2.patch)
sha256sums=('2c5ec5edcdff47ff55e27ed9560b0a0b94b07bd07ed9928b476150e16b0efc57'
boost-1.63.0-python-test-PyImport_AppendInittab.patch)
sha256sums=('7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5'
'abc6c78a252165df1de504d854d942eb486d88f06a6423d8b99dfec6ab138170'
'ee45d199c0e578a8d670ee6c6fa46466a53a02690c94f9221c67bbc9ab3387dc'
'b22196b6415f5e1c0fe56b49a12ea7c20073b15a5f31907f363c7be38d70d628'
'61b1ad6c2ca16e9f99a4705a2526d2e9594f51e6e7df6f11d5f358b70e26dc01')
'b22196b6415f5e1c0fe56b49a12ea7c20073b15a5f31907f363c7be38d70d628')

# Helper macros to help make tasks easier #
apply_patch_with_msg() {
Expand All @@ -57,8 +55,7 @@ prepare() {

apply_patch_with_msg \
0001-Fix-building-with-cmake-on-MINGW.patch \
0002-No-Arch-in-library-name-tag.patch \
0011-support-numpy-2.patch
0002-No-Arch-in-library-name-tag.patch
}

build() {
Expand All @@ -70,9 +67,7 @@ build() {
fi

if [[ "${CARCH}" == "aarch64" ]]; then
# boost context does not yet have an implementation for Windows ARM64
# coroutine and fiber depend on context
_extra_config+=("-DBOOST_EXCLUDE_LIBRARIES='context;cobalt;log;process;coroutine;fiber'")
_extra_config+=("-DBOOST_CONTEXT_ASSEMBLER=armclang" "-DBOOST_CONTEXT_ASM_SUFFIX='.S'")
fi

if [[ "${CARCH}" != "i686" ]]; then
Expand All @@ -86,7 +81,9 @@ build() {
"${_extra_config[@]}" \
-DBUILD_SHARED_LIBS="OFF" \
-DBOOST_INSTALL_LAYOUT=tagged \
-DBOOST_STACKTRACE_ENABLE_FROM_EXCEPTION=OFF \
-DPython_EXECUTABLE=${MINGW_PREFIX}/bin/python \
-DBUILD_TESTING=OFF \
-S ${_realname}-${pkgver} \
-B build-${MSYSTEM}-static

Expand All @@ -99,7 +96,9 @@ build() {
"${_extra_config[@]}" \
-DBUILD_SHARED_LIBS="ON" \
-DBOOST_INSTALL_LAYOUT=tagged \
-DBOOST_STACKTRACE_ENABLE_FROM_EXCEPTION=OFF \
-DPython_EXECUTABLE=${MINGW_PREFIX}/bin/python \
-DBUILD_TESTING=OFF \
-S ${_realname}-${pkgver} \
-B build-${MSYSTEM}

Expand Down

0 comments on commit 0003847

Please sign in to comment.