mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/boost to 1.71.0-4
This commit is contained in:
parent
24d15f4b02
commit
51403cfe9d
1 changed files with 5 additions and 7 deletions
|
@ -16,7 +16,7 @@ pkgbase=boost
|
|||
pkgname=('boost-libs' 'boost')
|
||||
pkgver=1.71.0
|
||||
_boostver=${pkgver//./_}
|
||||
pkgrel=2
|
||||
pkgrel=4
|
||||
pkgdesc='Free peer-reviewed portable C++ source libraries'
|
||||
url='https://www.boost.org/'
|
||||
arch=('x86_64')
|
||||
|
@ -69,8 +69,6 @@ build() {
|
|||
|
||||
# because b2 in boost 1.62.0 doesn't seem to respect python parameter, we
|
||||
# need another run for liboost_python3.so
|
||||
sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} ;@' \
|
||||
-i bootstrap.sh
|
||||
|
||||
./bootstrap.sh \
|
||||
--with-toolset=gcc \
|
||||
|
@ -86,7 +84,7 @@ build() {
|
|||
runtime-link=shared \
|
||||
link=shared,static \
|
||||
toolset=gcc \
|
||||
python=3.7 \
|
||||
python=3.8 \
|
||||
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \
|
||||
cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=c++14 -fPIC -O3" \
|
||||
linkflags="${LDFLAGS}" \
|
||||
|
@ -133,9 +131,9 @@ package_boost-libs() {
|
|||
libboost_locale.so libboost_log.so libboost_log_setup.so
|
||||
libboost_math_c99.so libboost_math_c99f.so libboost_math_c99l.so
|
||||
libboost_math_tr1.so libboost_math_tr1f.so libboost_math_tr1l.so
|
||||
libboost_mpi.so libboost_numpy27.so libboost_numpy37.so
|
||||
libboost_mpi.so libboost_numpy27.so libboost_numpy38.so
|
||||
libboost_prg_exec_monitor.so libboost_program_options.so
|
||||
libboost_python27.so libboost_python37.so libboost_random.so
|
||||
libboost_python27.so libboost_python38.so libboost_random.so
|
||||
libboost_regex.so libboost_serialization.so
|
||||
libboost_stacktrace_addr2line.so libboost_stacktrace_basic.so
|
||||
libboost_stacktrace_noop.so libboost_system.so libboost_thread.so
|
||||
|
@ -151,7 +149,7 @@ package_boost-libs() {
|
|||
# https://github.com/boostorg/python/issues/203#issuecomment-391477685
|
||||
for _lib in python numpy; do
|
||||
ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}{27,}.so
|
||||
ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}3{7,}.so
|
||||
ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}3{8,}.so
|
||||
done
|
||||
|
||||
install -Dm644 "${srcdir}/"${pkgbase}_${_boostver}/LICENSE_1_0.txt \
|
||||
|
|
Loading…
Reference in a new issue