Commit Graph

8 Commits

Author SHA1 Message Date
Lenny Truong e0f884a450
[Docs] Update Python bindings pip instructions (#7147)
Fixes https://github.com/llvm/circt/issues/7115
This option no longer exists
2024-06-09 10:29:28 -06:00
Vladyslav Moisieienkov b142deddbc
[docs] Fix broken links for PyCDE and diagrams on Getting Started page (#5013) 2023-05-01 10:28:18 -06:00
Mike Urbach 5d8abac0f5 [Docs] Update Python example, NFC. 2023-02-07 10:48:21 -07:00
Mike Urbach ade4539457 [PyCDE] Add some very basic docs.
This is just a starting point, and we should flesh this out with much
more detail. For now, we at least have something we can point to.
2021-10-28 19:13:04 -06:00
mikeurbach 443b2f412c
[Python] Add and document setup.py script for Python bindings. (#1913)
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).
2021-10-01 14:20:00 -06:00
mikeurbach 8a792f8b59
[Python] Re-work Python bindings using upstream improvements. (#1484)
This is mostly mechanical for us. Some notable changes:

* Require a unified build for Python in CMake, docs, and CI
* New CMake defaults for some variables in CMakeLists.txt
* Use the new CMake functions for Python bindings and PyCDE
* Update imports for generated Python and Python extension libraries
* Update PYTHONPATH to reflect the new location under unified builds
2021-07-29 09:49:58 -06:00
mikeurbach 40ee986d4f
[CI] Update CMake flag to enable building MLIR Python bindings. (#1156)
This flag has been renamed upstream.
2021-05-26 14:04:38 -06:00
Fabian Schuiki 3ef1f3fbd2
[Python] Add Python guidance to README and fix a few things (#1074)
* Use the `Python3_EXECUTABLE` found by CMake itself (alongside the libs
  and includes) to execute integration tests. This should no longer
  require explicitly specifying a python executable in most cases. Where
  needed, users can always override `Python3_EXECUTABLE`.

* Add `capnp` requirement on ESI tests. Otherwise the test fails on
  systems that build the Python bindings but have no capnp.

* Add some guidance for users that are mainly interested in the Python
  bindings of CIRCT. Fixes #1072.
2021-05-18 19:09:39 +02:00