ddemidov / vexcl

VexCL is a C++ vector expression template library for OpenCL/CUDA/OpenMP
http://vexcl.readthedocs.org
MIT License
699 stars 81 forks source link

CMake boost version detection failed on recent boost #278

Closed UNDEFINED-BEHAVIOR closed 4 years ago

UNDEFINED-BEHAVIOR commented 4 years ago

Current boost version detection in cmakelist, here, https://github.com/ddemidov/vexcl/blob/c8a3ebd0b746c7595b19c3cd47a03e97f9d9c5db/CMakeLists.txt#L144 Is expecting string such as "106100" To perform comparison but actual Boost_VERSION (as showed up in debug print) turns out to be in this format. 1.73.0 I have to disable this check to get compute back end to be available.

ddemidov commented 4 years ago

Thanks! 9814c4b should fix this.

UNDEFINED-BEHAVIOR commented 4 years ago

The fix works, thanks. closing the ticket now.