Commit Graph

14 Commits

Author SHA1 Message Date
Fabian Schuiki 486ec2223d
[CMake] Install CIRCTConfig and AddCIRCT cmake files
Add the `CIRCTConfig.cmake` and `AddCIRCT.cmake` files to the list of
installed files. This mimics the behaviour implemented in MLIR, and
allows for CIRCT to be used out of tree (e.g. as part of the Moore
compiler, among other things).
2022-01-12 19:02:19 +01:00
Morten Borup Petersen 35c09f2d65
Partially revert #1688 in favor of style used in upstream MLIR (#1698) 2021-09-02 12:32:07 +01:00
Morten Borup Petersen c227f5c3d3
Add boilerplate for an "Analysis" library (#1688)
This commit adds necessary files and code for adding new code under an "Analysis" folder.
2021-09-01 18:12:55 +01:00
Morten Borup Petersen 92a47a7f0d Fix typo in add_circt_interface CMake function 2021-08-27 21:03:18 +01:00
Shivam Gupta e1cbdc3c86
Fix circt-doc target (#385)
* Fix circt-doc target

* minor fix

* remove includes from tblegen command
2021-01-07 14:03:44 +05:30
Andrew Young 77f9520ea1
[CMAKE] Add circt library declaration helpers (#304) 2020-12-10 14:53:04 -05:00
Andrew Young 29e2f43cab
[CMAKE] Properly export CIRCT targets (#306) 2020-12-10 13:12:00 -05:00
stephenneuendorffer 6e8df0f39a
Add cmake export information so that out-of-tree projects can properly call "find_package(CIRCT)" (#242)
Generally speaking, this should allow

cake -DCIRCT_DIR="<something>/lib/cmake/circt" myprojectdirectory, where <something> is
either a build or install area.  Then in your project cmake file you can have:
find_package(CIRCT REQUIRED CONFIG)
2020-11-18 11:00:00 -08:00
Stephen Neuendorffer 7d03c27a82 Fix CMakeFiles to include information from LLVM.
Also: fix 'check-circt' and 'install' rules.  Linkage was broken for
most of the tools.
2020-06-17 13:27:14 -07:00
Chris Lattner 3202062646 Mechanical rename of cirt -> circt. 2020-06-17 10:19:08 -07:00
Chris Lattner c216617817 Move the remaining references of SPT to CIRT. NFC. 2020-04-29 11:57:17 -07:00
Chris Lattner 5411096ddd Move macro-like SPT_ names to CIRT_. NFC. 2020-04-29 11:41:42 -07:00
Chris Lattner 24c3b33447 Create the sketch of a FIRRTL dialect, with a single type (firrtl.uint) and a
single registered operations (firrtl.add).  Add a testcase showing that these
are now being properly checked.
2020-03-07 15:47:08 -08:00
Chris Lattner 64cec97240 Introduce a CMakefile scaffolding to build and test an executable.
This also updates the README to include some building information.

Lots of caveats:
 - This is all experimental
 - The actual tool isn't interesting yet.
 - The naming is arbitrary and will likely change.
 - Much of the cmake files were cargo culted from other places
   because I don't know what I'm doing.
2020-03-05 15:16:55 -08:00