[Bf-blender-cvs] [9a674a749b1] master: cycles: Support building with cuda 10 on windows.

Ray Molenkamp noreply at git.blender.org
Wed Oct 3 18:18:34 CEST 2018


Commit: 9a674a749b171959eff590d006c0bc650ce27a18
Author: Ray Molenkamp
Date:   Wed Oct 3 10:18:22 2018 -0600
Branches: master
https://developer.blender.org/rB9a674a749b171959eff590d006c0bc650ce27a18

cycles: Support building with cuda 10 on windows.

===================================================================

M	intern/cycles/CMakeLists.txt

===================================================================

diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index 6d7c4be423a..9a09b1e6f1b 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -283,6 +283,8 @@ if(WITH_CYCLES_CUDA_BINARIES AND (NOT WITH_CYCLES_CUBIN_COMPILER))
 			set(MAX_MSVC 1910)
 		elseif(${CUDA_VERSION} EQUAL "9.1")
 			set(MAX_MSVC 1911)
+		elseif(${CUDA_VERSION} EQUAL "10.0")
+			set(MAX_MSVC 1999)
 		endif()
 		if(NOT MSVC_VERSION LESS ${MAX_MSVC} OR CMAKE_C_COMPILER_ID MATCHES "Clang")
 			message(STATUS "nvcc not supported for this compiler version, using cycles_cubin_cc instead.")



More information about the Bf-blender-cvs mailing list