[all-commits] [llvm/llvm-project] c04eab: [Flang] Use find_program() to find clang-tblgen
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Aug 29 02:09:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c04eab8c78e517210c7641551ec008b09bfe20d0
https://github.com/llvm/llvm-project/commit/c04eab8c78e517210c7641551ec008b09bfe20d0
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-08-29 (Mon, 29 Aug 2022)
Changed paths:
M clang/CMakeLists.txt
M flang/docs/CMakeLists.txt
Log Message:
-----------
[Flang] Use find_program() to find clang-tblgen
There are two scenarios here:
1. Standalone flang build, where we use an installed clang-tblgen
binary. We need to use find_package() to find it.
2. Combined build of clang and flang, where we want to use the
path specified in CLANG_TABLEGEN_EXE during the clang build --
however, this variable was previously not exported.
The new implementation matches what is done for mlir-tblgen.
Differential Revision: https://reviews.llvm.org/D131475
More information about the All-commits
mailing list