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...


** Patch added: "A two line patch to the control file specifying the ati opencl 
runtime and dev packages as alternatives to the nvidia cards. Prevents 
dependency hell for those of us with ATI cards."
   
https://bugs.launchpad.net/ubuntu/+source/pyopencl/+bug/763457/+attachment/2169490/+files/pyopencl_control.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/763457

Title:
  pyopencl falsely depends on nvidia-current

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyopencl/+bug/763457/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to