diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-12 10:16:49 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | a5c703c9e068366a6331b23227529fabd35e42cd (patch) | |
| tree | 005ed7b0d79e1eab4ae08c36bbeb21e14320b555 /mesonbuild/compilers/cuda.py | |
| parent | df0139510791507181051d865472833f5fc2b442 (diff) | |
| download | meson-a5c703c9e068366a6331b23227529fabd35e42cd.tar.gz | |
compilers: Remove Environment parameter from Compiler.thread_flags
Same logic as the openmp flags
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 17ab054c9..5fb0522d7 100644 --- a/mesonbuild/compilers/cuda.py +++ b/mesonbuild/compilers/cuda.py @@ -494,8 +494,8 @@ class CudaCompiler(Compiler): def needs_static_linker(self) -> bool: return False - def thread_link_flags(self, environment: 'Environment') -> T.List[str]: - return self._to_host_flags(self.host_compiler.thread_link_flags(environment), Phase.LINKER) + def thread_link_flags(self) -> T.List[str]: + return self._to_host_flags(self.host_compiler.thread_link_flags(), Phase.LINKER) def sanity_check(self, work_dir: str) -> None: mlog.debug('Sanity testing ' + self.get_display_language() + ' compiler:', ' '.join(self.exelist)) |
