Search Criteria
Package Details: libclc-minimal-git 23.0.0_r580373.83dca924c250-1
Package Actions
| 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) |
Dependencies (8)
- clang-minimal-gitAUR (make)
- clang-opencl-headers-minimal-gitAUR (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- llvm-minimal-gitAUR (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-ninja-symlinkAUR) (make)
- python (make)
- spirv-llvm-translator-minimal-gitAUR (make)
Required by (32)
- amdonly-gaming-mesa-git (requires libclc) (make)
- amdonly-gaming-opencl-rusticl-mesa-git (requires libclc)
- amdonly-gaming-opencl-rusticl-mesa-git (requires libclc) (make)
- amdonly-gaming-vulkan-mesa-layers-git (requires libclc) (make)
- amdonly-gaming-vulkan-radeon-git (requires libclc) (make)
- lib32-amdonly-gaming-mesa-git (requires libclc) (make)
- lib32-amdonly-gaming-opencl-rusticl-mesa-git (requires libclc)
- lib32-amdonly-gaming-opencl-rusticl-mesa-git (requires libclc) (make)
- lib32-amdonly-gaming-vulkan-mesa-layers-git (requires libclc) (make)
- lib32-amdonly-gaming-vulkan-radeon-git (requires libclc) (make)
- lib32-mesa-amd-bc250 (requires libclc) (make)
- lib32-mesa-minimal-git (make)
- lib32-vulkan-nouveau-git (requires libclc) (make)
- lib32-vulkan-radeon-amd-bc250 (requires libclc) (make)
- mesa-amd-bc250 (requires libclc) (make)
- mesa-dlss-reflex-git (requires libclc) (make)
- mesa-git (requires libclc)
- mesa-git (requires libclc) (make)
- mesa-minimal-git (make)
- mesa-rk35xx-git (requires libclc)
- Show 12 more...
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
TIMW commented on 2026-04-19 06:32 (UTC)
targets=( amdgcn-amd-amdhsa-llvm clspv-- clspv64-- nvptx64-- nvptx64--nvidiacl nvptx64-nvidia-cuda spirv-mesa3d- spirv64-mesa3d- )
build() { for t in "${targets[@]}"; do cmake \ -B "_build-$t" \ -S "$srcdir"/llvm-project/libclc \ -G Ninja \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX=/usr \ -D LLVM_RUNTIMES_TARGET="$t" \ -Wno-dev ninja $NINJAFLAGS -C "_build-$t" done }
package() { provides=('libclc') conflicts=('libclc') for t in "${targets[@]}"; do DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C "_build-$t" install done }
Lone_Wolf commented on 2026-04-17 20:19 (UTC)
Looked at things and there are 2 issues in libclc/CmakeLists.txt
it uses LLVM_RUNTIMES_TARGET instead of LLVM_RUNTIME_TARGETS
Putting more then one target in LLVM_RUNTIMES_TARGET aborts
No idea if this is intentional or a mistake.
Gentoo appears to solve this by running configure & build multiple times, see https://gitweb.gentoo.org/repo/gentoo.git/tree/llvm-core/libclc/libclc-23.0.0_pre20260413.ebuild?id=5980a3436e03b294bb69cdc52e6d069cc6f9ef47
Lone_Wolf commented on 2026-04-15 21:10 (UTC)
Thanks for the alert.
Next time please link to the commit instead of posting text from it.
I can't get out of tree libclc build working with the new method. Will look at in depth when I have more time.
TIMW commented on 2026-04-15 13:44 (UTC) (edited on 2026-04-16 07:20 (UTC) by TIMW)
sorry here is the link for the change instead https://github.com/llvm/llvm-project/commit/121f5a96ff38ec0c5d5f7274b1b0ca0df26a1cee
TIMW commented on 2026-04-15 11:11 (UTC)
libclc Cmake source was updated ...
--- llvm-project/libclc/CMakeLists.txt 2026-04-15 12:44:52.840550244 +0200 +++ llvm-project/libclc/CMakeLists.txt.new 2026-04-15 12:52:20.299428307 +0200 @@ -133,6 +133,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. set(clang_triple ${LIBCLC_TARGET}) if(ARCH STREQUAL spirv AND LIBCLC_USE_SPIRV_BACKEND) --- /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-01-02 08:39 (UTC)
Confirmed, will upload a new version before monday. (no time for a full llvm/spirv build atm)
kirillnow commented on 2026-01-01 23:03 (UTC)
Compilation in clean chroot fails due to clang-opencl-headers-minimal-git missing in makedepends.
Lone_Wolf commented on 2024-04-13 17:21 (UTC)
The ld error was fixed upstream, but there is a new one.
https://github.com/llvm/llvm-project/pull/87622/commits/47cd6ddbf292fd8a50534e091ac64ebee3c40ee5 changes the way libclc is build and utterly breaks this package.
I am reverting that commit and have filed https://github.com/llvm/llvm-project/issues/88626 to get things hopefully solved.
wustdsh commented on 2024-04-07 12:11 (UTC)
No rushing intended, thanks for your work!
« First ‹ Previous 1 2 3 Next › Last »