New commits:
commit 8cdedffe8837d6d3bf9062501ca28b69184294c8
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
devel/llvm: improved spirv check in libclc targets
diff --git a/devel/llvm/BUILD b/devel/llvm/BUILD
index 01e6f3f..1bee58f 100755
--- a/devel/llvm/BUILD
+++ b/devel/llvm/BUILD
@@ -58,7 +58,7 @@ if [[ "$LLVM_WITH_LIBCLC" == y ]] ;then
fi &&
# workaround for https://github.com/llvm/llvm-project/issues/109537
-if [[ "$LLVM_WITH_LIBCLC" == y ]] && list_find "$LLVM_LIBCLC_TARGETS"
spirv;then
+if [[ "$LLVM_WITH_LIBCLC" == y ]] && [[ "$LLVM_LIBCLC_TARGETS" == *spirv*
]];then
local spirvcmd="$(command -v llvm-spirv)"
if [ -z "$spirvcmd" ] ;then
message "${PROBLEM_COLOR}libclc with SPIR-V support requires llvm-spirv
(https://github.com/llvm/llvm-project/issues/109537),${NORMAL_COLOR}"
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index ffdd725..2b225fe 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,3 +1,6 @@
+2025-04-02 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD: improved spirv check in libclc targets
+
2025-03-06 Thomas Orgis <sobukus AT sourcemage.org>
* BUILD: allow build with libclc _without_ SPIR-V in it
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (8cdedffe8837d6d3bf9062501ca28b69184294c8),
Pavel Vinogradov, 04/02/2025