[all-commits] [llvm/llvm-project] 6306f0: [libclc] Support LLVM_ENABLE_RUNTIMES when buildin...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Thu Jun 5 09:56:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6306f0fa21739d426b5ce394b356a482a4f43e98
      https://github.com/llvm/llvm-project/commit/6306f0fa21739d426b5ce394b356a482a4f43e98
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M libclc/CMakeLists.txt
    M llvm/CMakeLists.txt
    M llvm/runtimes/CMakeLists.txt
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [libclc] Support LLVM_ENABLE_RUNTIMES when building (#141574)

This commit deprecates the use of LLVM_ENABLE_PROJECTS in favour of
LLVM_ENABLE_RUNTIMES when building libclc.

Alternatively, using -DLLVM_RUNTIME_TARGETS=<triple> combined with
-DRUNTIMES_<triple>_LLVM_ENABLE_RUNTIMES=libclc also gets pretty far but
fails due to zlib problems building the LLVM utility 'prepare_builtins'.
I'm not sure what's going on there but I don't think it's required at
this stage. More work would be required to support that option.

This does nothing to change how the host tools are found in order to be
used to actually build the libclc libraries.

Note that under such a configuration the final libclc builtin libraries
are placed in `<build>/runtimes/runtimes-bins/libclc/`, which differs
from a non-runtimes build. The installation location remains the same.

Fixes #124013.



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