diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-07-23 15:42:14 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-08-14 13:13:23 -0700 |
commit | 61255eca1668d283114a45a166ddc0b2d13e56f9 (patch) | |
tree | e53ae3c25317f4de88169a7c7349fd33a4a25799 /mesonbuild/compilers/cuda.py | |
parent | 1f66e6708bdaa1c1eaa761f8aa6286d001a73bdf (diff) | |
download | meson-61255eca1668d283114a45a166ddc0b2d13e56f9.zip meson-61255eca1668d283114a45a166ddc0b2d13e56f9.tar.gz meson-61255eca1668d283114a45a166ddc0b2d13e56f9.tar.bz2 |
compilers/cuda: pass through extra kwargs
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r-- | mesonbuild/compilers/cuda.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py index ffd60f3..a121264 100644 --- a/mesonbuild/compilers/cuda.py +++ b/mesonbuild/compilers/cuda.py @@ -20,10 +20,10 @@ from .compilers import (Compiler, cuda_buildtype_args, cuda_optimization_args, cuda_debug_args, CompilerType) class CudaCompiler(Compiler): - def __init__(self, exelist, version, for_machine: MachineChoice, is_cross, exe_wrapper=None): + def __init__(self, exelist, version, for_machine: MachineChoice, is_cross, exe_wrapper=None, **kwargs): if not hasattr(self, 'language'): self.language = 'cuda' - super().__init__(exelist, version, for_machine) + super().__init__(exelist, version, for_machine, **kwargs) self.is_cross = is_cross self.exe_wrapper = exe_wrapper self.id = 'nvcc' |