[llvm] 2c93cfa - [llvm][TableGen][Jupyter] Note needed restart when using an IDE

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 5 02:05:53 PDT 2023


Author: David Spickett
Date: 2023-07-05T10:05:04+01:00
New Revision: 2c93cfa17cf28c13ff3ddca8e6914f2172a359a0

URL: https://github.com/llvm/llvm-project/commit/2c93cfa17cf28c13ff3ddca8e6914f2172a359a0
DIFF: https://github.com/llvm/llvm-project/commit/2c93cfa17cf28c13ff3ddca8e6914f2172a359a0.diff

LOG: [llvm][TableGen][Jupyter] Note needed restart when using an IDE

Certainly with VSCode, this makes it repopulate the kernel list.

Added: 
    

Modified: 
    llvm/utils/TableGen/jupyter/README.md

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/jupyter/README.md b/llvm/utils/TableGen/jupyter/README.md
index 927a3d3dd14b6c..4356a907878fc6 100644
--- a/llvm/utils/TableGen/jupyter/README.md
+++ b/llvm/utils/TableGen/jupyter/README.md
@@ -25,6 +25,9 @@ kernel in the correct context.
     python3 -m tablegen_kernel.install
 ```
 
+If you are going to open the notebook in an IDE like Visual Studio Code,
+you should restart it now so that it will find the newly installed kernel.
+
 Then run one of:
 
 ```shell
@@ -38,6 +41,8 @@ Then run one of:
     jupyter console --kernel tablegen
 ```
 
+Or open the notebook in a tool with built in Jupyter support.
+
 `llvm-tblgen` is expected to be either in the `PATH` or you can set
 the environment variable `LLVM_TBLGEN_EXECUTABLE` to point to it directly.
 


        


More information about the llvm-commits mailing list