cling/tools/Jupyter
Axel Naumann 400c6402c9 Use -force_load instead of -all_load.
-(no)all_load is not position sensitive, and -noall_load triggers a warning.
2016-12-20 12:44:09 +01:00
..
kernel Fixed c++17 version name in kernel file 2016-11-23 08:59:46 +01:00
CMakeLists.txt Use -force_load instead of -all_load. 2016-12-20 12:44:09 +01:00
Kernel.cpp Add cling output streams to cling/Utils/Output.h 2016-12-19 13:59:11 +01:00
README.md support for c++17 (c++1z) in jupyter 2016-11-22 18:36:13 +01: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++14/C++11:
# the user can install whichever kernel(s) they
# wish:
jupyter-kernelspec install [--user] cling-c++17
jupyter-kernelspec install [--user] cling-c++14
jupyter-kernelspec install [--user] cling-c++11

To run it:

jupyter-notebook
# or: jupyter notebook