conda-forge / qgis-feedstock

A conda-smithy repository for qgis.
BSD 3-Clause "New" or "Revised" License
41 stars 26 forks source link

sync libs with Qt recipe to fix OpenCL #353

Closed gillins closed 1 year ago

gillins commented 1 year ago

Checklist

Hopefully this is all that is required.

Fixes https://github.com/conda-forge/qgis-feedstock/issues/263

conda-forge-webservices[bot] commented 1 year ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

gillins commented 1 year ago

@conda-forge-admin, please rerender

github-actions[bot] commented 1 year ago

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/qgis-feedstock/actions/runs/5449233242.

gillins commented 1 year ago
-- Looking for CL_VERSION_3_0
-- Looking for CL_VERSION_3_0 - found
-- Found OpenCL: $PREFIX/lib/libOpenCL.so (found version "3.0") 
gillins commented 1 year ago

Doesn't seem like there is a way to easily test this has worked from Python....

SrNetoChan commented 1 year ago

Well, let's merge and see if it fixes it.

SrNetoChan commented 1 year ago

Thanks!

SrNetoChan commented 1 year ago

Ok, so I have installed it, and it no longer say it was not compiled with OpenCL, which is good, but I wasn't able to find my GPU, even after I install cuda-opencl. Nevertheless, I think it was a sucess anyway. maybe someone can make it work. as it was, it was really not available at all. Thanks again @gillins

gillins commented 1 year ago

@SrNetoChan I had to: conda install ocl-icd-system and then it seemed to find my NVidia card ok (on Linux). I found some great info here: https://documen.tician.de/pyopencl/misc.html which also outlined options for using CPU if you don't have a GPU available....

SrNetoChan commented 1 year ago

I believe that was installed automatically, but I will check. Glad it worked