Skip to content
Snippets Groups Projects
Commit cb8257a0 authored by Jens Henrik Göbbert's avatar Jens Henrik Göbbert
Browse files

add CUDA for Blender

parent b69efdb0
Branches
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ checksums = ['c1d345b25c6f83708b2681d354d70a3e6023c04bb73cc7943366c0c19e542958'] ...@@ -20,6 +20,7 @@ checksums = ['c1d345b25c6f83708b2681d354d70a3e6023c04bb73cc7943366c0c19e542958']
dependencies = [ dependencies = [
('X11', '20210802'), ('X11', '20210802'),
('OpenGL', '2021b'), ('OpenGL', '2021b'),
('CUDA', '11.5', '', SYSTEM),
] ]
postinstallcmds = [ postinstallcmds = [
...@@ -33,4 +34,8 @@ sanity_check_paths = { ...@@ -33,4 +34,8 @@ sanity_check_paths = {
'dirs': ['%(version_major_minor)s'], 'dirs': ['%(version_major_minor)s'],
} }
modaliases = {
'blender': 'blender -- --cycles-device CUDA',
}
moduleclass = 'vis' moduleclass = 'vis'
...@@ -200,6 +200,7 @@ postinstallcmds = [ ...@@ -200,6 +200,7 @@ postinstallcmds = [
] ]
modextravars = { modextravars = {
# '__GLX_VENDOR_LIBRARY_NAME': 'mesa' or 'nvidia'
'__EGL_VENDOR_LIBRARY_FILENAMES': ('%(installdir)s/share/glvnd/egl_vendor.d/10_nvidia.json:' '__EGL_VENDOR_LIBRARY_FILENAMES': ('%(installdir)s/share/glvnd/egl_vendor.d/10_nvidia.json:'
'%(installdir)s/share/glvnd/egl_vendor.d/50_mesa.json'), '%(installdir)s/share/glvnd/egl_vendor.d/50_mesa.json'),
'EGL_PLATFORM': 'surfaceless', 'EGL_PLATFORM': 'surfaceless',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment