Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init |
|
#
535693f8 |
| 03-Jul-2023 |
David Spickett <david.spickett@linaro.org> |
[llvm][TableGen][Jupyter] Record current python when kernel is installed
Previously the kernel.json would always point to `python3` even if you installed using a python from a virtualenv. This meant
[llvm][TableGen][Jupyter] Record current python when kernel is installed
Previously the kernel.json would always point to `python3` even if you installed using a python from a virtualenv. This meant that tools like VSCode would try to run the kernel against the system python and fail.
Added a note to the readme about it. I've removed the need to add to PYTHONPTHON as well, turns out it wasn't needed.
This fixes an issue reported in https://discourse.llvm.org/t/tablegen-the-playground-ipynb-file-is-not-working-as-expected/71745.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D154351
show more ...
|
Revision tags: llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, working, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3 |
|
#
210a383e |
| 22-Aug-2022 |
David Spickett <david.spickett@linaro.org> |
[LLVM][TableGen] Add jupyter kernel for llvm-tblgen
This is based on the MLIR opt kernel: https://github.com/llvm/llvm-project/tree/main/mlir/utils/jupyter
The inent of this is to enable experiment
[LLVM][TableGen] Add jupyter kernel for llvm-tblgen
This is based on the MLIR opt kernel: https://github.com/llvm/llvm-project/tree/main/mlir/utils/jupyter
The inent of this is to enable experimentation and the creation of interactive tutorials for the basics of tablegen.
Noteable changes from that: * Removed the codemirror mode settings since those won't exist for tablegen. * Added "%args" "magic" to control arguments sent to llvm-tblgen.
(magics are directives, see https://ipython.readthedocs.io/en/stable/interactive/magics.html)
For example the following: ``` %args --print-detailed-records class Stuff {}
def water_bottle : Stuff {} ``` Produces: ``` DETAILED RECORDS for file -
-------------------- Global Variables (0) --------------------
-------------------- Classes (1) --------------------
Stuff |<stdin>:1| Template args: (none) Superclasses: (none) Fields: (none)
-------------------- Records (1) --------------------
water_bottle |<stdin>:3| Superclasses: Stuff Fields: (none) ```
Reviewed By: jpienaar, awarzynski
Differential Revision: https://reviews.llvm.org/D132378
show more ...
|