On 04/01/2024 00:55, Takashi Yano via Cygwin-apps wrote:
[...]
Any comments and advices will be appreciated.

Thanks for adopting this.

pocl.cygport

inherit clang cmake

NAME="pocl"
VERSION=3.1
RELEASE=1
CATEGORY="Libs"
# The entire code is under MIT
# include/utlist.h which is under BSD-1-Clause (unbundled)
# lib/kernel/vecmath which is under GPL-3.0-or-later OR LGPL-3.0-or-later
LICENSE="MIT, BSD-1-Clause, GPL-3.0-or-later OR LGPL-3.0-or-later"

I think this is going to fail to validate as an SPDX license expression. The identifiers should be combined with AND and OR (where OR represents a choice, and AND represents compliance with both alternatives is required).

When I try to build it fails:

[449/761] Linking CXX shared module lib/llvmopencl/cygllvmopencl.dll
FAILED: lib/llvmopencl/cygllvmopencl.dll
[...]
/usr/bin/ld: cannot find -lpocl: No such file or directory
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

I don't know if that means it's looking for the installed rather than just built libpocl there, or something else is wrong.

Otherwise, looks good.

Reply via email to