[all-commits] [llvm/llvm-project] 58c3af: [libclc] Expose `prepare_builtins_*` variables in ...

Michał Górny via All-commits all-commits at lists.llvm.org
Sat Jul 19 20:27:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58c3affdaa732fd6f8c7e6640396e7c6366bac9d
      https://github.com/llvm/llvm-project/commit/58c3affdaa732fd6f8c7e6640396e7c6366bac9d
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-07-20 (Sun, 20 Jul 2025)

  Changed paths:
    M libclc/utils/CMakeLists.txt

  Log Message:
  -----------
  [libclc] Expose `prepare_builtins_*` variables in top-level CMakeLists (#149657)

Fix `libclc/utils/CMakeLists.txt` to expose `prepare_builtins_*`
variables in parent scope. This was a regression introduced in #148815
where the code was moved into subdirectory, and the variables would no
longer be accessible to calls in top-level CMakeLists, resulting in
attempting to build targets with empty command:

```
[1566/1676] cd /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build && -o /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/clspv--.bc /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/obj.libclc.dir/clspv--/builtins.opt.clspv--.bc
FAILED: clspv--.bc /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/clspv--.bc
cd /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build && -o /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/clspv--.bc /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/obj.libclc.dir/clspv--/builtins.opt.clspv--.bc
/bin/sh: line 1: -o: command not found
```



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