Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 637 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 637 Bytes

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++14/C++11:
# the user can install whichever kernel(s) they
# wish:
jupyter-kernelspec install [--user] cling-cpp17
jupyter-kernelspec install [--user] cling-cpp14
jupyter-kernelspec install [--user] cling-cpp11

To run it:

jupyter-notebook
# or: jupyter notebook