summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeau Johnston <beau@inbeta.org>2018-07-02 07:20:11 +1000
committerBeau Johnston <beau@inbeta.org>2018-07-02 07:20:11 +1000
commit9f2621b0339567c086e803f617d3b2f2c81182b6 (patch)
tree5d45391d10184f13d4153640ff256e416a775168
parentc6194ef777ef7877e2e526a9936bc5d2e481fa23 (diff)
downloadmeson-9f2621b0339567c086e803f617d3b2f2c81182b6.tar.gz
fixed file extensions for cuda
-rw-r--r--mesonbuild/compilers/cuda.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py
index ee47220ef..7cc82f118 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -39,8 +39,8 @@ class CudaCompiler(Compiler):
return ['']
def sanity_check(self, work_dir, environment):
- source_name = os.path.join(work_dir, 'sanitycheckobjc.m')
- binary_name = os.path.join(work_dir, 'sanitycheckobjc')
+ source_name = os.path.join(work_dir, 'sanitycheckcuda.cu')
+ binary_name = os.path.join(work_dir, 'sanitycheckcuda')
extra_flags = self.get_cross_extra_flags(environment, link=False)
if self.is_cross:
extra_flags += self.get_compile_only_args()