summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/__init__.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-02-12 15:01:03 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-03-19 14:46:07 -0700
commitbaca2cd07d632dd5d944b2b364a297a0adf42028 (patch)
tree539885ecc463049f23c6c61727d7e48412ff2cdb /mesonbuild/dependencies/__init__.py
parentf6e50da49a31fe41b11832fefbe1d824274cdbd2 (diff)
downloadmeson-baca2cd07d632dd5d944b2b364a297a0adf42028.tar.gz
mpi: Use a factory function
This makes use of proper ConfigTool and PkgConfig dependencies rather than one big ExternalDependency that internally creates other dependencies and then copies their attributes.
Diffstat (limited to 'mesonbuild/dependencies/__init__.py')
-rw-r--r--mesonbuild/dependencies/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/__init__.py b/mesonbuild/dependencies/__init__.py
index 7c666be1f..d75d22698 100644
--- a/mesonbuild/dependencies/__init__.py
+++ b/mesonbuild/dependencies/__init__.py
@@ -22,7 +22,7 @@ from .base import ( # noqa: F401
DependencyFactory)
from .dev import ValgrindDependency, gmock_factory, gtest_factory, llvm_factory, zlib_factory
from .coarrays import coarray_factory
-from .mpi import MPIDependency
+from .mpi import mpi_factory
from .scalapack import scalapack_factory
from .misc import (
BlocksDependency, OpenMPDependency, cups_factory, curses_factory, gpgme_factory,
@@ -52,7 +52,7 @@ packages.update({
# per-file
'coarray': coarray_factory,
'hdf5': HDF5Dependency,
- 'mpi': MPIDependency,
+ 'mpi': mpi_factory,
'scalapack': scalapack_factory,
# From misc: