Comment 4 for bug 763457

Revision history for this message
frank (frankhorowitz) wrote : Re: pyopencl falsely depends on nvidia-current

This patch is definitely in the "Works for me" category, as I am not an expert in the fine art of debian/ubuntu package maintainance.

You first need to secure the ATI opencl runtime and dev .deb packages. (Somehow. I think I got mine from http://orwell.fiit.stuba.sk/~nou/ but the 2.1 versions do not seem to be there anymore. Also, I am unsure if installing the SDK from ATI will actually create .deb files or not, since I did not go that route. YMMV. Good luck Mr Phelps.)

Then, grab the sources for python-pyopencl-0.92 from the Ubuntu repository, and apply the attached patch. (The only thing the patch does is create alternatives (to the original nvidia spec) for the ati opencl runtime and dev packages -- as specified by the 2.1 version of those packages above -- which I can't seem to find online anymore.

Build the pyopencl package, install it, and welcome back from dependency hell!

I hope this helps someone else...