[all-commits] [llvm/llvm-project] 4dec62: [builtins][CMake] Replace custom target for lse_bu...

Petr Hosek via All-commits all-commits at lists.llvm.org
Thu Sep 21 11:57:38 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dec62f4d4a0a496a8067e283bf66897fbf6e598
  Author: Petr Hosek <phosek at google.com>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt

  Log Message:
  [builtins][CMake] Replace custom target for lse_builtin symlinks (#66936)

Using custom target with BYPRODUCTS results in symlinks being recreated
on every build (the build is always dirty). We could instead use custom
commands to generate the symlinks and by adding the output to the list
of sources, build system will ensure those are created as needed.

More information about the All-commits mailing list