Skip to content
Snippets Groups Projects
Commit 42a10d56 authored by James Wynne III's avatar James Wynne III
Browse files

Fixes issue #438

parent 30e8e77f
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,7 @@ class Boost(Package): ...@@ -109,6 +109,7 @@ class Boost(Package):
variant('multithreaded', default=True, description="Build multi-threaded versions of libraries") variant('multithreaded', default=True, description="Build multi-threaded versions of libraries")
variant('singlethreaded', default=True, description="Build single-threaded versions of libraries") variant('singlethreaded', default=True, description="Build single-threaded versions of libraries")
variant('icu_support', default=False, description="Include ICU support (for regex/locale libraries)") variant('icu_support', default=False, description="Include ICU support (for regex/locale libraries)")
variant('graph', default=False, description="Build the Boost Graph library")
depends_on('icu', when='+icu_support') depends_on('icu', when='+icu_support')
depends_on('python', when='+python') depends_on('python', when='+python')
...@@ -235,6 +236,10 @@ def install(self, spec, prefix): ...@@ -235,6 +236,10 @@ def install(self, spec, prefix):
withLibs.remove('chrono') withLibs.remove('chrono')
if not spec.satisfies('@1.43.0:'): if not spec.satisfies('@1.43.0:'):
withLibs.remove('random') withLibs.remove('random')
if '+graph' in spec and '+mpi' in spec:
withLibs.remove('graph')
withLibs.append('graph_parallel')
# to make Boost find the user-config.jam # to make Boost find the user-config.jam
env['BOOST_BUILD_PATH'] = './' env['BOOST_BUILD_PATH'] = './'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment