问题
Following this feature request, there are some Conan packages hosted on Bincrafters GitHub organization:
- Conan package for OpenCL Headers
- Conan package for Khronos OpenCL CLHPP
- Conan package for OpenCL ICD Loader
I tried searching them on the command line with conan search <packageName>
using different queries with no avail. I'm not sure how Conan package manager works. With HomeBrew one could tap different repositories or with pip directly install from a GitHub repository. I would appreciate it if you could help me know how I can install the above packages and how my conanfile.txt
should look like.
P.S.1. Sorry in advance if the tags are not appropriate. I wasn't sure what should I use, so feel free to edit and add or remove them.
P.S.2. Possible solution from here, running
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
now I can find the above packages with
conan search -r bincrafters khronos-opencl-icd-loader
conan search -r bincrafters khronos-opencl-icd-loader
and my conanfile.txt
should look something like:
[requires]
khronos-opencl-headers/20190806@bincrafters/stable
khronos-opencl-icd-loader/20191007@bincrafters/stable
[generators]
cmake
来源:https://stackoverflow.com/questions/62261869/using-conan-to-install-packages-directly-from-github