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
Branches
Tags
No related merge requests found
......@@ -109,6 +109,7 @@ class Boost(Package):
variant('multithreaded', default=True, description="Build multi-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('graph', default=False, description="Build the Boost Graph library")
depends_on('icu', when='+icu_support')
depends_on('python', when='+python')
......@@ -235,6 +236,10 @@ def install(self, spec, prefix):
withLibs.remove('chrono')
if not spec.satisfies('@1.43.0:'):
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
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