Skip to content

Commit

Permalink
Update Dockerfile 10
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev authored May 30, 2023
1 parent c4aba09 commit 9344d39
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,11 @@ RUN \
git clone --depth=1 https://github.com/vgvassilev/clad.git && \
cd clad && \
mkdir build && \
cd build
##cmake ../clad -DClang_DIR=${PATH_TO_LLVM_BUILD}/lib/cmake/clang/ -DLLVM_DIR=${PATH_TO_LLVM_BUILD}/lib/cmake/llvm/ -DCMAKE_INSTALL_PREFIX=/opt/conda -DLLVM_EXTERNAL_LIT="$(which lit)" && \
cd build && \
cmake .. -DClang_DIR=${PATH_TO_LLVM_BUILD}/lib/cmake/clang/ -DLLVM_DIR=${PATH_TO_LLVM_BUILD}/lib/cmake/llvm/ -DCMAKE_INSTALL_PREFIX=/opt/conda -DLLVM_EXTERNAL_LIT="$(which lit)" && \
#make -j$(nproc --all) && \
##make && \
##make install
make && \
make install && \
# install clad in all exist kernels
jq '.argv += ["-fplugin=$KERNEL_PYTHON_PREFIX/lib/clad.so"] | .display_name += " (with clad)"' $KERNEL_PYTHON_PREFIX/share/jupyter/kernels/xcpp14/kernel.json > tmp.$$.json && mv tmp.$$.json $KERNEL_PYTHON_PREFIX/share/jupyter/kernels/xcpp14/kernel.json

0 comments on commit 9344d39

Please sign in to comment.