diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py index 452ae99b8abc5643fefd115fd25a84a7013cbfd2..41be592a528bcccc2a390bb17031523871eb70ae 100644 --- a/var/spack/repos/builtin/packages/boost/package.py +++ b/var/spack/repos/builtin/packages/boost/package.py @@ -96,8 +96,12 @@ class Boost(Package): # mpi/python are not installed by default because they pull in many # dependencies and/or because there is a great deal of customization # possible (and it would be difficult to choose sensible defaults) + # + # Boost.Container can be both header-only and compiled. '+container' + # indicates the compiled version which requires Extended Allocator + # support. The header-only library is installed when no variant is given. default_noinstall_libs\ - = set(['context', 'coroutine', 'fiber', 'mpi', 'python']) + = set(['container', 'context', 'coroutine', 'fiber', 'mpi', 'python']) all_libs = default_install_libs | default_noinstall_libs @@ -174,6 +178,9 @@ def libs(self): conflicts('+taggedlayout', when='+versionedlayout') conflicts('+numpy', when='~python') + # Container's Extended Allocators were not added until 1.56.0 + conflicts('+container', when='@:1.55.99') + # Patch fix from https://svn.boost.org/trac/boost/ticket/11856 patch('boost_11856.patch', when='@1.60.0%gcc@4.4.7')