-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thanks to the Daan for giving us access to publish to the original `tblgen` crate, we can now switch from the old `tblgen-alt` to `tblgen`. Future updates will be pushed to the original crate.
- Loading branch information
Showing
4 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
# tblgen | ||
|
||
[](https://github.com/edg-l/tblgen-rs-alt/actions?query=workflow%3Atest) | ||
[](https://crates.io/crates/tblgen-alt) | ||
 | ||
 | ||
[](https://github.com/edg-l/tblgen-rs/actions?query=workflow%3Atest) | ||
[](https://crates.io/crates/tblgen) | ||
 | ||
 | ||
|
||
Original project: https://gitlab.com/Danacus/tblgen-rs. | ||
|
||
This is a updated (LLVM 19) fork of https://gitlab.com/Danacus/tblgen-rs. | ||
Original author: Daan Vanoverloop. | ||
|
||
Thanks to the Daan for giving us access to publish to the original `tblgen` crate, we can now switch from the old `tblgen-alt` to `tblgen`. Future updates will be pushed to the original crate. | ||
|
||
This crate provides raw bindings and a safe wrapper for TableGen, a domain-specific language used by the LLVM project. | ||
|
||
The goal of this crate is to enable users to develop custom TableGen backends in Rust. Hence the primary use case of this crate are procedural macros that generate Rust code from TableGen description files. | ||
|
||
## Documentation | ||
|
||
Read the documentation at https://mlir-rs.github.io/tblgen-rs-alt/tblgen_alt/. | ||
Read the documentation at https://mlir-rs.github.io/tblgen-rs/tblgen/. | ||
|
||
## Supported LLVM Versions | ||
|
||
An installation of LLVM is required to use this crate. Both LLVM 16, 17 and 18 are supported and can be selected using feature flags. | ||
An installation of LLVM is required to use this crate. Both LLVM 16, 17, 18 and 19 are supported and can be selected using feature flags. | ||
|
||
The `TABLEGEN_<version>_PREFIX` environment variable can be used to specify a custom directory of the LLVM installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters