Skip to content

Commit

Permalink
boost: Fix build on clangarm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Sep 29, 2024
1 parent d536e24 commit 2f7e305
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mingw-w64-boost/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=boost
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.86.0
pkgrel=3
pkgrel=4
pkgdesc="Free peer-reviewed portable C++ source libraries (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
Expand Down Expand Up @@ -75,7 +75,7 @@ build() {
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;asio;coroutine;coroutine2;fiber;fiber_numa"')
_extra_config+=("-DBOOST_EXCLUDE_LIBRARIES='context;asio;cobalt;log;process;coroutine;fiber'")
fi

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

Expand Down

0 comments on commit 2f7e305

Please sign in to comment.