Package Details: libclc-minimal-git 23.0.0_r580373.83dca924c250-1

Git Clone URL: https://aur.archlinux.org/libclc-minimal-git.git (read-only, click to copy)
Package Base: libclc-minimal-git
Description: companion package to llvm-minimal-git, Library requirements of the OpenCL C programming language
Upstream URL: https://libclc.llvm.org/
Licenses: MIT
Conflicts: libclc
Provides: libclc
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 0
Popularity: 0.000000
First Submitted: 2022-11-16 21:34 (UTC)
Last Updated: 2026-05-13 17:08 (UTC)

Latest Comments

1 2 3 Next › Last »

TIMW commented on 2026-05-13 15:10 (UTC)

--- llvm-project/libclc/CMakeLists.txt 2026-05-13 15:09:47.723541085 +0200 +++ llvm-project/libclc/CMakeLists.txt.new 2026-05-13 15:11:03.470756691 +0200 @@ -195,6 +195,10 @@ add_custom_target(libclc-opencl-builtins COMMENT "Build libclc OpenCL builtins") add_dependencies(libclc libclc-opencl-builtins)

+configure_file( libclc.pc.in libclc.pc @ONLY ) +install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc + DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" ) + # Configure the CLC internal builtins library. set(LIBCLC_CLC_TARGET clc) libclc_add_builtin_library(${LIBCLC_CLC_TARGET} --- /dev/null 2026-03-25 22:25:31.553301380 +0100 +++ llvm-project/libclc/libclc.pc.in 2026-03-25 22:54:04.980754698 +0100 @@ -0,0 +1,6 @@ +libexecdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/clc + +Name: libclc +Description: Library requirements of the OpenCL C programming language +Version: @PROJECT_VERSION@ +Libs: -L${libexecdir} \ No newline at end of file

Lone_Wolf commented on 2026-05-10 11:36 (UTC)

The error message was unclear, it was caused by the change from clspv target to spirv64-unknown-vulkan .

new version uploaded.

TIMW commented on 2026-05-10 06:30 (UTC)

Updated .patch --- llvm-project/libclc/CMakeLists.txt 2026-05-10 08:14:39.912150917 +0200 +++ llvm-project/libclc/CMakeLists.txt.new 2026-05-10 08:24:56.920188369 +0200 @@ -135,6 +135,10 @@ add_custom_target( libclc-opencl-builtins COMMENT "Build libclc OpenCL builtins" ) add_dependencies( libclc libclc-opencl-builtins )

+configure_file( libclc.pc.in libclc.pc @ONLY ) +install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc + DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" ) + # Determine the clang target triple. Vulkan and SPIR-V backend targets use the # triple directly; other SPIR-V targets fall back to the legacy SPIR target. set(clang_triple ${LIBCLC_TARGET}) --- /dev/null 2026-03-25 22:25:31.553301380 +0100 +++ llvm-project/libclc/libclc.pc.in 2026-03-25 22:54:04.980754698 +0100 @@ -0,0 +1,6 @@ +libexecdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/clc + +Name: libclc +Description: Library requirements of the OpenCL C programming language +Version: @PROJECT_VERSION@ +Libs: -L${libexecdir} \ No newline at end of file

TIMW commented on 2026-05-10 06:10 (UTC) (edited on 2026-05-10 06:16 (UTC) by TIMW)

my bad i wrongly understand maybe this commit https://github.com/llvm/llvm-project/commit/e7164d42243b8cac55c6c1f91a507608c414c361 EDIT: targets=( amdgcn-amd-amdhsa nvptx64-nvidia-cuda spirv-mesa-mesa3d spirv64-mesa-mesa3d )

Lone_Wolf commented on 2026-05-09 20:43 (UTC) (edited on 2026-05-09 21:28 (UTC) by Lone_Wolf)

With the new targets I get

CMake Error at CMakeLists.txt:101 (list):
  list index: 2 out of range (-1, 0)


CMake Error at cmake/modules/AddLibclc.cmake:115 (list):
  list index: 2 out of range (-1, 0)
Call Stack (most recent call first):
  cmake/modules/AddLibclc.cmake:181 (link_libclc_builtin_library)
  CMakeLists.txt:249 (add_libclc_library)

the statement on line 101 is list(GET TRIPLE 2 OS) .

TIMW commented on 2026-05-08 20:17 (UTC) (edited on 2026-05-10 06:08 (UTC) by TIMW)

EDIT: targets=( amdgcn-amd-amdhsa nvptx64-nvidia-cuda spirv-mesa-mesa3d spirv64-mesa-mesa3d )

TIMW commented on 2026-04-25 21:10 (UTC) (edited on 2026-04-25 21:13 (UTC) by TIMW)

Yeah i know but i forget update it here ;D For mesa no issue with config what i use with mine variant what i post in mesa-minimal thread:D

Lone_Wolf commented on 2026-04-25 13:20 (UTC) (edited on 2026-04-25 13:20 (UTC) by Lone_Wolf)

upstream changed to LLVM_DEFAULT_TARGET_TRIPLE in commit #6c7d16c, otherwise your code works and I updated the PKGBUILD + patch.

Now we have to see what changes mesa needs to use it.

TIMW commented on 2026-04-19 06:35 (UTC) (edited on 2026-04-19 09:33 (UTC) by TIMW)

Over night i find it too with success only by one by one :D maybe they choose to force user one by one ...maybe is for some reason whitch we dont see :D