This allows users to `pip install lib/Bindings/Python`. Similarly,
this supports `pip wheel lib/Bindings/Python`. The script generally
follows https://github.com/llvm/torch-mlir/pull/256, with some tweaks
that are specific to CIRCT's CMake choices (e.g. using an external
projects unified build).
* Implemented tiny optimisation where it removes intermediate wires between instances and outputs
* Removed unnecessary import for iostream
* Added some tests
* Added some more tests
* Fixed tests
* Implemented most of what Lattner suggested
* Fixed the bug with outputs being null
* Did nit picky stuff
- leading slash matches only in the top level directory
- asterisk allows matching build2, build-sharedlibs, or others
This is useful if you need more than one build directory for testing
with different cmake options.
* [ESI] [Cosim DPI] Integration test framework
Number 5 of 7 planned PRs for #213. The focus of this PR is a lit format
for Cosim. Cosim integration tests require selecting a TCP port,
starting the simulator (which opens a server on that port), then running
the test(s). This lit format enables tests written in Python.
This PR might be difficult to understand without the actual test -- which
fails since the Cosim DPI plugin has not yet made it into
master. I can add the test after we've PR'd the rest of the cosim DPI
code.
* An unrelated change made it in.
* Consistent casing
* Check for pycapnp also