summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJames Riley Wynne III <wynnejr@ornl.gov>2016-06-08 12:43:05 -0400
committerJames Riley Wynne III <wynnejr@ornl.gov>2016-06-08 12:43:05 -0400
commit42a10d56905727529065d2c492f4c8dc9e4f73cb (patch)
tree53f801e7e3570fce8041ddd1448cbde623c507ec /var
parent30e8e77fb60b06535b49d54db62781299f555a8d (diff)
downloadspack-42a10d56905727529065d2c492f4c8dc9e4f73cb.tar.gz
spack-42a10d56905727529065d2c492f4c8dc9e4f73cb.tar.bz2
spack-42a10d56905727529065d2c492f4c8dc9e4f73cb.tar.xz
spack-42a10d56905727529065d2c492f4c8dc9e4f73cb.zip
Fixes issue #438
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index 2f2965eb12..6da86d6da4 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -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 @@ class Boost(Package):
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'] = './'