-
- Downloads
[CMake] Factor out config prefix finding logic
See the docs in the new function for details. I think I found every instance of this copy pasted code. Polly could also use it, but currently does something different, so I will save the behavior change for a future revision. We get the shared, non-installed CMake modules following the pattern established in D116472. It might be good to have LLD and Flang also use this, but that would be a functional change and so I leave it as future work. Reviewed By: beanz, lebedev.ri Differential Revision: https://reviews.llvm.org/D116521
Showing
- clang/CMakeLists.txt 8 additions, 1 deletionclang/CMakeLists.txt
- clang/cmake/modules/CMakeLists.txt 2 additions, 10 deletionsclang/cmake/modules/CMakeLists.txt
- cmake/Modules/FindPrefixFromConfig.cmake 41 additions, 0 deletionscmake/Modules/FindPrefixFromConfig.cmake
- flang/cmake/modules/CMakeLists.txt 2 additions, 10 deletionsflang/cmake/modules/CMakeLists.txt
- lld/cmake/modules/CMakeLists.txt 2 additions, 10 deletionslld/cmake/modules/CMakeLists.txt
- llvm/CMakeLists.txt 4 additions, 3 deletionsllvm/CMakeLists.txt
- llvm/cmake/modules/CMakeLists.txt 2 additions, 10 deletionsllvm/cmake/modules/CMakeLists.txt
- mlir/CMakeLists.txt 10 additions, 1 deletionmlir/CMakeLists.txt
- mlir/cmake/modules/CMakeLists.txt 2 additions, 10 deletionsmlir/cmake/modules/CMakeLists.txt
Loading
Please register or sign in to comment