Buildbot: Attempt to fix CUDA compilation on OSX
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 14 Apr 2017 08:01:28 +0000 (10:01 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 14 Apr 2017 08:01:28 +0000 (10:01 +0200)
Stupid toolkit is really fragile about CLang version.

build_files/buildbot/slave_compile.py

index 4fb05c9f977146be49424390fbf6889712044572..9b14bba87feee1ab645ae3fd748560d4b8e27a40 100644 (file)
@@ -74,6 +74,9 @@ if 'cmake' in builder:
             cmake_extra_options.append('-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64')
         cmake_extra_options.append('-DWITH_CODEC_QUICKTIME=OFF')
         cmake_extra_options.append('-DCMAKE_OSX_DEPLOYMENT_TARGET=10.6')
+        cmake_extra_options.append('CUDA_HOST_COMPILER=/usr/local/cuda-hack/clang')
+        cmake_extra_options.append('-DCUDA_NVCC_EXECUTABLE=/usr/local/cuda-hack/nvcc')
+
 
 
     elif builder.startswith('win'):