Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[conan-khronos-opencl-clhpp] Failure to build on Windows #1062

Open
alashworth opened this issue Dec 11, 2019 · 0 comments
Open

[conan-khronos-opencl-clhpp] Failure to build on Windows #1062

alashworth opened this issue Dec 11, 2019 · 0 comments
Labels

Comments

@alashworth
Copy link

alashworth commented Dec 11, 2019

The conan-khronos-opencl-clhpp package fails to build on Windows. This is due to an upstream problem with khronos-opencl-icd-loader and MinGW x86_64-w64-mingw32 (multiple conflicting definitions between icd_windows_hkr.c and MSYS2 provided cfgmgr32.h).

Getting the icd loader to build correctly on Windows would require some work to be reliable. There is also a Windows Driver Kit dependency that is not handled correctly, and the recipe does not have an option to build for OpenCL 1.2 devices.

All these problems can be avoided, though. As a header only library, it does not have any build-time dependencies. So, I request that the build_requirements section be removed.

  • conan-khronos-opencl-clhpp/testing/20191105
  • Operating System+version: Windows 10 Pro 10.0.18362
  • Compiler+version: gcc 9.2
  • Conan version: 1.20.4
  • Python version: Python 3.7.3

Conan profile

os_build=Windows
os=Windows
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.exception=seh
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=9
build_type=Release

@alashworth alashworth added the bug label Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant