commit 225749ebda9cc69037222d4229a24b816f42a125
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sun Mar 14 20:39:48 2021 +0100
Add config for cuda
.../koji_builder/files/builders/site-defaults.cfg | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/roles/koji_builder/files/builders/site-defaults.cfg
b/roles/koji_builder/files/builders/site-defaults.cfg
index 8a6305b..c944d20 100644
--- a/roles/koji_builder/files/builders/site-defaults.cfg
+++ b/roles/koji_builder/files/builders/site-defaults.cfg
@@ -8,3 +8,10 @@ config_opts['environment']['LANG'] = 'C.UTF-8'
config_opts['use_bootstrap'] = True
config_opts['yum_install_command'] += " -x devtoolset*"
config_opts['dnf_warning'] = False
+
+if '-cuda' in config_opts['chroot_name']:
+ config_opts['module_setup_commands'] = [
+ ('disable', 'nvidia-driver'),
+ ]
+ config_opts['chroot_additional_packages'] =
'buildsys-build-rpmfusion-cuda'
+ config_opts['bootstrap_chroot_additional_packages'] =
'buildsys-build-rpmfusion-cuda'
Show replies by date