Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-kmod/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv14247
Modified Files:
nvidia-kmod.spec
Log Message:
Allow to build instances for cuda
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/F-19/nvidia-kmod.spec,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- nvidia-kmod.spec 21 Nov 2013 22:40:57 -0000 1.153
+++ nvidia-kmod.spec 24 Nov 2013 14:08:38 -0000 1.154
@@ -3,13 +3,13 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%global buildforkernels newest
+#global buildforkernels newest
Name: nvidia-kmod
Epoch: 1
Version: 331.20
# Taken over by kmodtool
-Release: 2%{?dist}.2
+Release: 3%{?dist}
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -65,6 +65,7 @@
for kernel_version in %{?kernel_versions}; do
pushd _kmod_build_${kernel_version%%___*}/kernel/
make %{?_smp_mflags} IGNORE_CC_MISMATCH=1
KERNEL_UNAME="${kernel_version%%___*}" \
+
%{?_nv_build_module_instances:NV_BUILD_MODULE_INSTANCES=%{?_nv_build_module_instances}} \
SYSSRC="${kernel_version##*___}" module
popd
pushd _kmod_build_${kernel_version%%___*}/kernel/uvm
@@ -89,6 +90,10 @@
%changelog
+* Sun Nov 24 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 1:331.20-3
+- Allow akmod to build modules for cuda
+ Set %%_nv_build_module_instances 8 into /etc/rpm/cuda.dist
+
* Thu Nov 21 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 1:331.20-2.2
- Rebuilt for kernel
Show replies by date