graham at nerve.org.za
Tue Sep 30 07:47:42 UTC 2014
On 29 September 2014 23:20, Graham Inggs <graham at nerve.org.za> wrote:
> On 29 September 2014 22:31, Graham Inggs <graham at nerve.org.za> wrote:
>> I found a problem though, nvidia-cuda-dev now contains libOpenCL.so,
>> probably because nvidia-cuda-dev.install contains usr/lib/*.so which
>> is too general.
> Actually, because libOpenCL.so is now a regular file and not a symlink. Bah!
Removing the unwanted libOpenCL.so after unpacking seems to do the trick.
Otherwise, making nvidia-cuda-dev.install more specific could work as well.
--- branches/6.0/debian/rules (revision 4941)
+++ branches/6.0/debian/rules (working copy)
@@ -63,6 +63,8 @@
# shipped as files/hardlinks instead of symlinks
ln -sf libnvvm.so.2.0.0 nvidia-cuda/nvvm/lib/libnvvm.so.2
ln -sf libnvvm.so.2 nvidia-cuda/nvvm/lib/libnvvm.so
+ # remove unwanted libOpenCL.so
+ rm -f nvidia-cuda/lib/libOpenCL.so
# Reformat the EULA to the format needed for debian/copyright.
More information about the pkg-nvidia-devel