From 9afc0421a433ac0107644d1bf8eaf387fc7a6d29 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 9 Sep 2026 20:53:27 -0400 Subject: [PATCH] Deduce the Alpha architecture Jamroot applies boostcpp.platform to the whole /boost project, and its deduce-architecture rule had no Alpha entry. find-builds then matched nothing, the rule returned early, and a build on Alpha got neither nor set for any library. alpha goes first in both .deducible-architectures and the find-builds argument list: the rule indexes the former with the result of the latter, so the two have to stay in the same order. --- boostcpp.jam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boostcpp.jam b/boostcpp.jam index bd5142875e31..c2f6a5a996c6 100644 --- a/boostcpp.jam +++ b/boostcpp.jam @@ -625,7 +625,7 @@ rule toolset-properties ( properties * ) return [ property.select $(toolset-version-property) : $(properties) ] ; } -.deducible-architectures = arm loongarch mips power riscv s390x sparc x86 combined ; +.deducible-architectures = alpha arm loongarch mips power riscv s390x sparc x86 combined ; feature.feature x-deduced-platform : $(.deducible-architectures)_32 $(.deducible-architectures)_64 : composite implicit optional propagated ; @@ -657,6 +657,7 @@ rule deduce-architecture ( properties * ) names = $(.deducible-architectures) ; idx = [ configure.find-builds "default architecture" : $(filtered) + : /boost/architecture//alpha : /boost/architecture//arm : /boost/architecture//loongarch : /boost/architecture//mips