[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53792] trunk/blender/intern/cycles: Remove usage WITH_CYCLES_CUDA_BINARIES in code, use check for

Thomas Dinges blender at dingto.org
Mon Jan 14 19:59:31 CET 2013


Hi,
this commit also removes Runtime compile on Linux (tested by 2 people on 
Linux in IRC).

I have to veto this decision, I find runtime compile quite handy, and 
the dependencies are the same.
If people want to compile Blender + CUDA they need the compiler 
(gcc/msvc) and the toolkit. So allowing runtime compile is not really 
different.

I am happy to answer such reports in the tracker if we will get any if 
that is your concern. :)

Best regards,
Thomas


Am 14.01.2013 18:30, schrieb Sergey Sharybin:
> Revision: 53792
>            http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53792
> Author:   nazgul
> Date:     2013-01-14 17:30:33 +0000 (Mon, 14 Jan 2013)
> Log Message:
> -----------
> Remove usage WITH_CYCLES_CUDA_BINARIES in code, use check for
> precompiled cubins instead,
>
> Logic here is following now:
> - If there're precompiled cubins, assume CUDA compute is available,
>    otherwise
> - If cuda toolkit found, assume CUDA compute is available
> - In all other cases CUDA compute is not available
>
> For windows there're still check for only precompiled binaries,
> no runtime compilation is allowed.
>
> Ended up with such decision after discussion with Brecht. The thing
> is, if we'll support runtime compilation on windows we'll end up
> having lots of reports about different aspects of something doesn't
> work (you need particular toolkit version, msvc installed, environment
> variables set properly and so) and giving feedback on such reports
> will waste time.
>
-- 
Thomas Dinges
Blender Developer, Artist and Musician

www.dingto.org



More information about the Bf-committers mailing list