[PATCH] D118481: Add cmake to source release tarballs

Konrad Wilhelm Kleine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 09:50:09 PST 2022


kwk added a comment.

In D118481#3287759 <https://reviews.llvm.org/D118481#3287759>, @serge-sans-paille wrote:

> I like that approach. Have you tested that putting the shared cmakefile in that location is enough for individual project to honor them?

Ups, no I could try that but so far I haven't. For current Fedora snapshots of LLVM I package the directory under a sub-package of llvm: llvm-cmake-devel <https://src.fedoraproject.org/rpms/llvm/blob/upstream-snapshot/f/llvm.spec#_193>. It installs the cmake files into a location that others can find: /usr/lib64/cmake/llvm <https://src.fedoraproject.org/rpms/llvm/blob/upstream-snapshot/f/llvm.spec#_462>.

The compiler-rt package is one [ https://src.fedoraproject.org/rpms/compiler-rt/c/82709cb0009fde9a31a51651e08218011c03293d | consumer ] of this package and it seems to work.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118481/new/

https://reviews.llvm.org/D118481



More information about the llvm-commits mailing list