boost: boost-python in 1.72.0 broken with cxxstd=98 (#15885)

* boost: boost-python in 1.72.0 broken with cxxstd=98

* py-espressopp: depend on boost with cxxstd=11
This commit is contained in:
Christoph Junghans 2020-04-05 17:42:27 -06:00 committed by GitHub
parent 1249d73630
commit 268c2a19da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -178,6 +178,9 @@ def libs(self):
conflicts('+taggedlayout', when='+versionedlayout')
conflicts('+numpy', when='~python')
# boost-python in 1.72.0 broken with cxxstd=98
conflicts('cxxstd=98', when='+mpi+python @1.72.0:')
# Container's Extended Allocators were not added until 1.56.0
conflicts('+container', when='@:1.55.99')

View file

@ -27,7 +27,7 @@ class PyEspressopp(CMakePackage):
depends_on("cmake@2.8:", type='build')
depends_on("mpi")
depends_on("boost+serialization+filesystem+system+python+mpi", when='@1.9.4:')
depends_on("boost+serialization+filesystem+system+python+mpi cxxstd=11", when='@1.9.4:')
extends("python")
depends_on("python@2:2.8")
depends_on("py-mpi4py@2.0.0:", when='@1.9.4', type=('build', 'run'))