forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enables Boost MPI when requested (boost:without_mpi=False) The boost:without_mpi default value is switched to True (disabling Boost MPI support) * Adds Boost:MPI configuration check when enabled The mpi.jam file is patched to enable the error * Applies patch to all version
- Loading branch information
1 parent
b548e06
commit a2fa0d7
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff -ru a/tools/build/src/tools/mpi.jam b/tools/build/src/tools/mpi.jam | ||
--- a/tools/build/src/tools/mpi.jam 2019-12-10 01:20:16.000000000 +0100 | ||
+++ b/tools/build/src/tools/mpi.jam 2020-09-02 13:17:22.942349254 +0200 | ||
@@ -66,6 +66,8 @@ | ||
import type ; | ||
import path ; | ||
|
||
+import errors ; | ||
+ | ||
# Make this module a project | ||
project.initialize $(__name__) ; | ||
project mpi ; | ||
@@ -539,6 +541,11 @@ | ||
# Set up the "mpi" alias | ||
alias mpi : : : : $(options) ; | ||
} | ||
+ | ||
+ if ! $(.configured) | ||
+ { | ||
+ errors.user-error "MPI not configured" ; | ||
+ } | ||
} | ||
|
||
# States whether MPI has bee configured |