Hi, I'm getting the following Clang errors when trying to compile the Cycles CUDA kernel in Blender.
Read new prefs: /Users/sen/Library/Application Support/Blender/2.69/config/userpref.blend found bundled python: /Users/sen/Documents/Sources/blender_master/cmake/bin/blender.app/Contents/MacOS/2.69/python Compiling CUDA kernel ... "/Developer/NVIDIA/CUDA-5.0/bin/nvcc" -arch=sm_21 -m64 --cubin "/Users/sen/Documents/Sources/blender_master/cmake/bin/blender.app/Contents/MacOS/2.69/scripts/addons/cycles/kernel/ kernel.cu" -o "/Users/sen/Library/Application Support/Blender/2.69/cache/cycles_kernel_sm21_AB7D0ABB4691DC942DE6785DC3C9ADD1.cubin" --ptxas-options="-v" --maxrregcount=32 --use_fast_math -I"/Users/sen/Documents/Sources/blender_master/cmake/bin/blender.app/Contents/MacOS/2.69/scripts/addons/cycles/kernel" -DNVCC -D__KERNEL_CUDA_VERSION__=50 clang: error: unsupported option '-dumpspecs' clang: error: no input files CUDA kernel compilation failed, see console for details. These are my build specs: Blender 2.69 (sub 10) build date: 2014-02-10 build time: 18:04:36 build commit date: 2014-02-10 build commit time: 16:45 build hash: d2b5f0f build platform: Darwin build type: Release build c flags: -Wall -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wstrict-prototypes -Wmissing-prototypes -Wunused-parameter -mmacosx-version-min=10.6 -msse2 -msse -pipe -funsigned-char build c++ flags: -Wall -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wno-overloaded-virtual -Wno-sign-compare -Wno-invalid-offsetof -mmacosx-version-min=10.6 -ftemplate-depth=1024 -msse2 -msse -pipe -funsigned-char build link flags: -fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QTKit -liconv build system: CMake Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2012 NVIDIA Corporation Built on Fri_Sep_28_16:10:16_PDT_2012 Cuda compilation tools, release 5.0, V0.2.1221 TIA _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
