From 3d342f89c646c9bf75d5d43b93102651e9a3230c Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sun, 30 Aug 2026 13:59:11 -0500 Subject: [PATCH 1/2] boost: add v1.91.0, v1.92.0 --- repos/spack_repo/builtin/packages/boost/package.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/repos/spack_repo/builtin/packages/boost/package.py b/repos/spack_repo/builtin/packages/boost/package.py index a486f8781bd..6e3b8eebccd 100644 --- a/repos/spack_repo/builtin/packages/boost/package.py +++ b/repos/spack_repo/builtin/packages/boost/package.py @@ -31,6 +31,8 @@ class Boost(Package): license("BSL-1.0") version("develop", branch="develop", submodules=True) + version("1.92.0", sha256="5c1d40cb8e19adbf740a4ec2da35b3e58f3f5804b1dce44deb53df72193cbc6c") + version("1.91.0", sha256="de5e6b0e4913395c6bdfa90537febd9028ea4c0735d2cdb0cd9b45d5f51264f5") version("1.90.0", sha256="49551aff3b22cbc5c5a9ed3dbc92f0e23ea50a0f7325b0d198b705e8ee3fc305") version("1.89.0", sha256="85a33fa22621b4f314f8e85e1a5e2a9363d22e4f4992925d4bb3bc631b5a0c7a") version("1.88.0", sha256="46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b") @@ -360,9 +362,10 @@ def libs(self): patch("boost_11856.patch", when="@1.60.0%gcc@4.4.7") # Patch fix from https://svn.boost.org/trac/boost/ticket/11120 - patch("python_jam-1_77.patch", when="@1.77: ^python@3:") + patch("python_jam-1_91.patch", when="@1.91: ^python@3:") + patch("python_jam-1_77.patch", when="@1.77:1.90 ^python@3:") patch("python_jam.patch", when="@1.56:1.76 ^python@3:") - patch("python_jam_pre156.patch", when="@:1.55.0 ^python@3:") + patch("python_jam_pre156.patch", when="@:1.55.0 ^python@3:") # Patch fix for IBM XL compiler patch("xl_1_62_0_le.patch", when="@1.62.0%xl_r") From 58d8d22da40ab1d994391bdc2acdc3cfeabbcbc0 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sun, 30 Aug 2026 14:00:41 -0500 Subject: [PATCH 2/2] boost: add python_jam-1_91.patch --- .../packages/boost/python_jam-1_91.patch | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 repos/spack_repo/builtin/packages/boost/python_jam-1_91.patch diff --git a/repos/spack_repo/builtin/packages/boost/python_jam-1_91.patch b/repos/spack_repo/builtin/packages/boost/python_jam-1_91.patch new file mode 100644 index 00000000000..ce00bd9d8c2 --- /dev/null +++ b/repos/spack_repo/builtin/packages/boost/python_jam-1_91.patch @@ -0,0 +1,42 @@ +Index: spack-src/tools/build/src/tools/python.jam +=================================================================== +--- spack-src/tools/build/src/tools/python.jam ++++ spack-src/tools/build/src/tools/python.jam +@@ -504,6 +504,10 @@ local rule probe ( python-cmd ) + sys.$(s) = [ SUBST $(output) "\\<$(s)=([^\r\n]+)" $1 ] ; + } + } ++ # Try to get python abiflags ++ full-cmd = $(python-cmd)" -c \"from sys import abiflags; print(abiflags, end='')\"" ; ++ ++ sys.abiflags = [ SHELL $(full-cmd) ] ; + return $(output) ; + } + } +@@ -513,7 +517,7 @@ local rule probe ( python-cmd ) + # have a value based on the information given. + # + local rule compute-default-paths ( target-os : version ? : prefix ? : +- exec-prefix ? ) ++ exec-prefix ? : abiflags ? ) + { + exec-prefix ?= $(prefix) ; + +@@ -550,7 +554,7 @@ local rule compute-default-paths ( target-os : version ? : prefix ? : + } + else + { +- local default-include-path = $(prefix)/include/python$(version) ; ++ local default-include-path = $(prefix)/include/python$(version)$(abiflags) ; + if ! [ path.exists $(default-include-path) ] && [ path.exists $(default-include-path)t ] + { + default-include-path = $(default-include-path)t ; +@@ -849,7 +853,7 @@ local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? : + exec-prefix = $(sys.exec_prefix) ; + + compute-default-paths $(target-os) : $(sys.version) : +- $(sys.prefix) : $(sys.exec_prefix) ; ++ $(sys.prefix) : $(sys.exec_prefix) : $(sys.abiflags) ; + + version = $(sys.version) ; + interpreter-cmd ?= $(cmd) ;