diff options
author | Beau Johnston <beau@inbeta.org> | 2018-06-10 21:19:15 +1000 |
---|---|---|
committer | Beau Johnston <beau@inbeta.org> | 2018-06-10 21:19:15 +1000 |
commit | 8f0a118feb1191e3c5384d98f3246803cb64b9d8 (patch) | |
tree | 8f842a854f8869b8cda93b0d2256f2b04f6b7a15 /mesonbuild/compilers/cuda.py | |
parent | 96a6941c9cf6afab9e1ad8a234d2272be9a40639 (diff) | |
download | meson-8f0a118feb1191e3c5384d98f3246803cb64b9d8.zip meson-8f0a118feb1191e3c5384d98f3246803cb64b9d8.tar.gz meson-8f0a118feb1191e3c5384d98f3246803cb64b9d8.tar.bz2 |
fixed sideci for cuda compilation fix
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r-- | mesonbuild/compilers/cuda.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py index 42b31af..1e427f1 100644 --- a/mesonbuild/compilers/cuda.py +++ b/mesonbuild/compilers/cuda.py @@ -16,8 +16,6 @@ import subprocess, os.path from .. import mlog from ..mesonlib import EnvironmentException, Popen_safe - -from .c import Compiler from .compilers import Compiler, cuda_buildtype_args class CudaCompiler(Compiler): @@ -41,7 +39,6 @@ class CudaCompiler(Compiler): return [''] def sanity_check(self, work_dir, environment): - code = 'class breakCCompiler;int main(int argc, char **argv) { return 0; }\n' return True def get_compiler_check_args(self): @@ -110,7 +107,7 @@ class CudaCompiler(Compiler): raise EnvironmentException('Executables created by {0} compiler {1} are not runnable.'.format(self.language, self.name_string())) def get_output_args(self, target): - return ['-o',target] + return ['-o', target] def name_string(self): return ' '.join(self.exelist) @@ -161,4 +158,3 @@ class CudaCompiler(Compiler): def linker_to_compiler_args(self, args): return ['/link'] + args - |