* updated yet more dir-less .cache DEPs
[t2sde.git] / package / develop / boost / boost.conf
blobf33b00222c1bb73d07b7d45aee6eb6f2d3c5289c
1 # --- T2-COPYRIGHT-BEGIN ---
2 # t2/package/*/boost/boost.conf
3 # Copyright (C) 2004 - 2025 The T2 SDE Project
4 # SPDX-License-Identifier: GPL-2.0
5 # --- T2-COPYRIGHT-END ---
7 runconf=0
8 runmake=0
10 # otherwise rebuilding boost does not reinstall static files
11 var_insert taropt ' ' -m
13 b2opt="-j$SDECFG_PARALLEL"
14 [ $arch = alpha -o $arch = x86 ] &&
15         var_append b2opt ' ' boost.stacktrace.from_exception=off
17 cross_boost_config() {
18         # TODO: get it built w/o the -xxx toolset
19         echo "using gcc : xxx : $CXX ;" >> project-config.jam
22 if atstage cross; then
23         b2opt="toolset=gcc-xxx $b2opt"
24         hook_add premake 5 "cross_boost_config"
25 else
26         b2opt="toolset=gcc $b2opt"
29 hook_add preconf 5 "./bootstrap.sh --without-libraries=python"
30 hook_add inmake 5 "./b2 $b2opt --prefix=/$prefix --libdir=$libdir --includedir=$includedir"
31 hook_add postmake 5 "./b2 $b2opt --prefix=/$prefix --libdir=$root$libdir --includedir=$root$includedir install"