aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/mpi.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-01-12 16:19:58 +0000
committerGitHub <noreply@github.com>2021-01-12 16:19:58 +0000
commit5ff1a3ab25504563f87ac064ce21826cb0b936aa (patch)
tree0043efe041af7080ef79f19fec21b21929d0cd43 /mesonbuild/dependencies/mpi.py
parentc659be692896f9f36fa46c4955220dc57653f09b (diff)
parentff40ca25b776392625275bd7891701e02675e2b7 (diff)
downloadmeson-5ff1a3ab25504563f87ac064ce21826cb0b936aa.zip
meson-5ff1a3ab25504563f87ac064ce21826cb0b936aa.tar.gz
meson-5ff1a3ab25504563f87ac064ce21826cb0b936aa.tar.bz2
Merge pull request #8159 from dcbaker/submit/all-env-variables-up-front
Read and store all environment variables up front
Diffstat (limited to 'mesonbuild/dependencies/mpi.py')
-rw-r--r--mesonbuild/dependencies/mpi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/mpi.py b/mesonbuild/dependencies/mpi.py
index 2e1e764..d4b324c 100644
--- a/mesonbuild/dependencies/mpi.py
+++ b/mesonbuild/dependencies/mpi.py
@@ -106,7 +106,7 @@ class _MPIConfigToolDependency(ConfigToolDependency):
Drop -O2 and everything that is not needed.
"""
result = []
- multi_args = ('-I', )
+ multi_args: T.Tuple[str, ...] = ('-I', )
if self.language == 'fortran':
fc = self.env.coredata.compilers[self.for_machine]['fortran']
multi_args += fc.get_module_incdir_args()