[all-commits] [llvm/llvm-project] 87d42c: [libclc] Fix using normalized triple for the direc...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 7 08:41:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87d42c13cd6b119240781f31e5869981d500a186
      https://github.com/llvm/llvm-project/commit/87d42c13cd6b119240781f31e5869981d500a186
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-05-07 (Thu, 07 May 2026)

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

  Log Message:
  -----------
  [libclc] Fix using normalized triple for the directory name (#194607)

Summary:
libclc needs to normalize triples, mostly on account of the fact that
things like spv and clspv aren't real triples but are used anyway. That
is, we convert the user-value to whatever is passed to `--target=`. The
problem is that we were not using the normal triple for the installation
directory, so something like `spirv64-mesa32-unknown` would be installed
in `spirv64--`.

This *might* have the side effect of putting these in
`spirv64-unknown-unknown`. I actually do not know if that's a problem
with the clang handling, I'll double check.



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