[all-commits] [llvm/llvm-project] 4071db: [CMake] add_tablegen: Rename host tablegen to `${t...
NAKAMURA Takumi via All-commits
all-commits at lists.llvm.org
Mon May 1 19:36:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4071dbb6b9ce00998357e1eee7ab2413d103ebc2
https://github.com/llvm/llvm-project/commit/4071dbb6b9ce00998357e1eee7ab2413d103ebc2
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M llvm/cmake/modules/TableGen.cmake
Log Message:
-----------
[CMake] add_tablegen: Rename host tablegen to `${target}-host"
Since `llvm-min-tblgen` has been introduced, `llvm-min-tblgen-host`
would make more sense than `LLVM_HEADERS-tablegen-host`.
Depends on D146352
Differential Revision: https://reviews.llvm.org/D149343
Commit: 243e8f8d23ac71717115c73725658dac071ac4c2
https://github.com/llvm/llvm-project/commit/243e8f8d23ac71717115c73725658dac071ac4c2
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M llvm/cmake/modules/TableGen.cmake
M llvm/include/llvm/CMakeLists.txt
M llvm/include/llvm/module.modulemap
M llvm/unittests/Support/CMakeLists.txt
M llvm/utils/TableGen/CMakeLists.txt
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
Introduce `llvm-min-tblgen` to build public header files
`llvm-min-tblgen` is capable of building `llvm/include/llvm`;
- `-gen-attrs`
- `-gen-directive-*`
- `-gen-intrinsics-*`
- `-gen-riscv-target-def`
`llvm-min-tblgen` is built and used only when `llvm-tblgen` is built in-tree.
This is not installed.
`llvm-tblgen` is built with complete set and may be installed.
`check-llvm` uses not `llvm-min-tblgen` but `llvm-tblgen`.
`LLVM_TABLEGEN_PROJECT` overrides the definition of `tablegen(project)`.
`LLVM_HEADERS` is used as the overridden prefix for LLVM header generators.
If `EXPORT` is not specified in `add_tablegen`, its tablegen is treated as internal.
Let `llvm-tblgen` depend on `intrinsics_gen`
Depends on D149072
Differential Revision: https://reviews.llvm.org/D146352
Compare: https://github.com/llvm/llvm-project/compare/35d218e92740...243e8f8d23ac
More information about the All-commits
mailing list