When including <vexcel/vexcel.hpp> we get an error since it try to include <boost/uuid/sha1.hpp> which is located at <boost/uuid/detail/sha1.hpp>. It is fixed in the upstream repository: https://github.com/ddemidov/vexcl/commit/07828a586542b6e032eafa1a29e52ecb485fd930 With that fix, we can use VexCL with Boost.Compute. When using the OpenCL backend we got another error: it try to include <CL/cl.hpp> which is deprecated and does not exist with the version of OpenCL in the port. It should be <CL/opencl.hpp>
Fixed by updating to the latest revision. Also suggested the upsatream to make a release.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e7b3c21285a75130b6718f3ea6c51e33043d83b commit 9e7b3c21285a75130b6718f3ea6c51e33043d83b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-04-26 18:52:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-04-26 18:55:51 +0000 devel/vexcl: Update 1.4.1 -> 1.4.1-120 which also fixes bug with boost includes (see PR) PR: 255416 Reported by: Thibault Payet <monwarez@mailoo.org> devel/vexcl/Makefile | 4 ++-- devel/vexcl/distinfo | 6 +++--- devel/vexcl/pkg-plist | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-)
A commit in branch 2021Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb0aa9a329114aa5fdf90c0b7f6f119a04139dfa commit eb0aa9a329114aa5fdf90c0b7f6f119a04139dfa Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-04-26 18:52:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-04-26 18:58:46 +0000 devel/vexcl: Update 1.4.1 -> 1.4.1-120 which also fixes bug with boost includes (see PR) PR: 255416 Reported by: Thibault Payet <monwarez@mailoo.org> (cherry picked from commit 9e7b3c21285a75130b6718f3ea6c51e33043d83b) devel/vexcl/Makefile | 4 ++-- devel/vexcl/distinfo | 6 +++--- devel/vexcl/pkg-plist | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-)