Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Jupyterhub Notebook Cling

Dockerfile

FROM obiwahn/jupyterhub_notebook:latest

# install packages
RUN apt-get update && \
    apt-get install -y vim groff cmake libboost-all-dev && \
    apt-get clean

# build and install cling
RUN cd /srv && \
    mkdir cling-build && \
    git clone http://root.cern.ch/git/llvm.git cling-src && \
    cd /srv/cling-src && \
    git checkout cling-patches && \
    cd /srv/cling-src/tools && \
    git clone https://github.com/ObiWahn/cling.git && \
    git clone http://root.cern.ch/git/clang.git && \
    cd /srv/cling-src/tools/clang && \
    git checkout cling-patches && \
    cd /srv/cling-build && \
    cmake -DCMAKE_INSTALL_PREFIX=/usr/local \
          -DLLVM_TARGETS_TO_BUILD=CppBackend\;X86 \
          -DCMAKE_BUILD_TYPE=Debug \
          ../cling-src && \
    make -j $(nproc) && \
    make install && \
    cd /srv/cling-src/tools/cling/tools/Jupyter/kernel && \
    pip install -e . && \
    jupyter kernelspec install cling && \
    rm -fr /srv/cling-build

#    git clone http://root.cern.ch/git/cling.git && \

# After installing we must not delete the src folder if we
# want to use cling in jupyter.
# && \
#    rm -fr /srv/cling-src


## snippets

#    cmake -DCMAKE_INSTALL_PREFIX=/usr/local \
#          -DLLVM_TARGETS_TO_BUILD=CppBackend\;X86 \
#          -DCMAKE_BUILD_TYPE=Debug \
#          ../cling-src && \

#    ../cling-src/configure --prefix=/usr/local && \
Docker Pull Command
Owner
obiwahn