cling/tools/Jupyter
2021-02-25 20:44:18 +01:00
..
kernel Use CLING_OPTS env variable to pass extra arguments to jupyter-cling-kernel 2018-03-23 16:59:08 +01:00
CMakeLists.txt Fixing the jupyter Kernel to be able to handle exceptions 2019-08-31 10:16:20 +02:00
Kernel.cpp LLVM_ON_WIN32 was dropped. 2021-02-25 20:44:18 +01:00
README.md Add support C++1z for Jupyter kernel 2017-09-06 16:44:07 +02:00

Cling Kernel

C++ Kernel for Jupyter with Cling.

Requires ipykernel ≥ 4.0

Install

To install the kernel with sources in src/tools/cling:

export PATH=/cling-install-prefix/bin:$PATH
cd /cling-install-prefix/share/cling/Jupyter/kernel

pip install -e .
# or: pip3 install -e .

# register the kernelspec for C++17/C++1z/C++14/C++11:
# the user can install whichever kernel(s) they
# wish:
jupyter-kernelspec install [--user] cling-cpp17
jupyter-kernelspec install [--user] cling-cpp1z
jupyter-kernelspec install [--user] cling-cpp14
jupyter-kernelspec install [--user] cling-cpp11

To run it:

jupyter-notebook
# or: jupyter notebook