From 6d155833c5a9f6c55e58d56e4aec09eb32fe1839 Mon Sep 17 00:00:00 2001
From: healther <healther@users.noreply.github.com>
Date: Fri, 18 Aug 2017 20:19:55 +0200
Subject: [PATCH] build boost with graph library even when +mpi

Previously, when +graph and +mpi were enabled, the graph library
was replaced with the graph_parallel library. This alters the
logic for +graph+mpi to build both libraries.
---
 var/spack/repos/builtin/packages/boost/package.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index fc3b967fd1..93362cadf6 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -324,7 +324,6 @@ def install(self, spec, prefix):
         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
-- 
GitLab