[all-commits] [llvm/llvm-project] 76bebb: [libclc] Fix building top-level 'libclc' target (#...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Tue Jul 29 02:53:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76bebb5be9daf9ca035777b17fa63d4ce13e79b9
      https://github.com/llvm/llvm-project/commit/76bebb5be9daf9ca035777b17fa63d4ce13e79b9
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M libclc/CMakeLists.txt
    M libclc/cmake/modules/AddLibclc.cmake

  Log Message:
  -----------
  [libclc] Fix building top-level 'libclc' target (#150972)

With libclc being a 'runtime', the top-level build assumes that there is
a corresopnding 'libclc' target. We previously weren't providing this,
leading to a build failure if the user tried to build it.

This commit remedies this by adding support for building the 'libclc'
target. It does so by adding dependencies from the OpenCL builtins to
this target. It uses a configurable in-between target -
libclc-opencl-builtins - to ease the possibility of adding non-OpenCL
builtin libraries in the future.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list