A very weird build error. Building with CUDA works fine, but building with Optix gives a very strange error.
-- Found OptiX: /home/dgsantana/blender_git/lib/linux_x86_64/optix/include CMake Warning at intern/cycles/kernel/CMakeLists.txt:368 (message): CUDA version . detected, build may succeed but only CUDA 10.1 is officially supported CMake Error at intern/cycles/kernel/CMakeLists.txt:475 (elseif): given arguments: "sm_30" "MATCHES" "sm_7." "AND" "LESS" "100"
But running nvcc return fine:
Copyright (c) 2005-2019 NVIDIA Corporation Built on Sun_Jul_28_19:07:16_PDT_2019 Cuda compilation tools, release 10.1, V10.1.243
Any help would be appreciated ;).