Boost: fixed problem when requesting ~signals for boost >= 1.69 (#12627)
* fixed problem when requesting ~signals for boost >= 1.69 * added checks for all libs in with_libs
This commit is contained in:
parent
d7ef97392c
commit
3181021c11
@ -390,19 +390,19 @@ def install(self, spec, prefix):
|
||||
return
|
||||
|
||||
# Remove libraries that the release version does not support
|
||||
if spec.satisfies('@1.69.0:'):
|
||||
if spec.satisfies('@1.69.0:') and 'signals' in with_libs:
|
||||
with_libs.remove('signals')
|
||||
if not spec.satisfies('@1.54.0:'):
|
||||
if not spec.satisfies('@1.54.0:') and 'log' in with_libs:
|
||||
with_libs.remove('log')
|
||||
if not spec.satisfies('@1.53.0:'):
|
||||
if not spec.satisfies('@1.53.0:') and 'atomic' in with_libs:
|
||||
with_libs.remove('atomic')
|
||||
if not spec.satisfies('@1.48.0:'):
|
||||
if not spec.satisfies('@1.48.0:') and 'locale' in with_libs:
|
||||
with_libs.remove('locale')
|
||||
if not spec.satisfies('@1.47.0:'):
|
||||
if not spec.satisfies('@1.47.0:') and 'chrono' in with_libs:
|
||||
with_libs.remove('chrono')
|
||||
if not spec.satisfies('@1.43.0:'):
|
||||
if not spec.satisfies('@1.43.0:') and 'random' in with_libs:
|
||||
with_libs.remove('random')
|
||||
if not spec.satisfies('@1.39.0:'):
|
||||
if not spec.satisfies('@1.39.0:') and 'exception' in with_libs:
|
||||
with_libs.remove('exception')
|
||||
if '+graph' in spec and '+mpi' in spec:
|
||||
with_libs.append('graph_parallel')
|
||||
|
Loading…
Reference in New Issue
Block a user