diff --git a/CMakeLists.txt b/CMakeLists.txt index 914b5a30..58457868 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -177,6 +177,9 @@ else() configure_native_kernel("/share/jupyter/kernels/xcpp17/") configure_native_kernel("/share/jupyter/kernels/xcpp20/") configure_native_kernel("/share/jupyter/kernels/xcpp23/") + configure_native_kernel("/share/jupyter/kernels/xcpp17-clad/") + configure_native_kernel("/share/jupyter/kernels/xcpp20-clad/") + configure_native_kernel("/share/jupyter/kernels/xcpp23-clad/") endif() # Source files diff --git a/share/jupyter/kernels/xcpp17-clad/kernel.json.in b/share/jupyter/kernels/xcpp17-clad/kernel.json.in new file mode 100644 index 00000000..47a27257 --- /dev/null +++ b/share/jupyter/kernels/xcpp17-clad/kernel.json.in @@ -0,0 +1,19 @@ +{ + "display_name": "C++17 CLAD", + "env": { + "PATH":"@XEUS_CPP_PATH@", + "LD_LIBRARY_PATH":"@XEUS_CPP_LD_LIBRARY_PATH@" + }, + "argv": [ + "@XEUS_CPP_KERNELSPEC_PATH@xcpp", + "-f", + "{connection_file}", + "-fplugin=@CMAKE_INSTALL_PREFIX@/lib/clad.dylib", + "-resource-dir", "@XEUS_CPP_RESOURCE_DIR@", + "-I", "@XEUS_CPP_INCLUDE_DIR@", + "-std=c++17" + ], + "language": "cpp", + "metadata": {"debugger": false + } +} \ No newline at end of file diff --git a/share/jupyter/kernels/xcpp17-clad/logo-32x32.png b/share/jupyter/kernels/xcpp17-clad/logo-32x32.png new file mode 100644 index 00000000..c09c4585 Binary files /dev/null and b/share/jupyter/kernels/xcpp17-clad/logo-32x32.png differ diff --git a/share/jupyter/kernels/xcpp17-clad/logo-64x64.png b/share/jupyter/kernels/xcpp17-clad/logo-64x64.png new file mode 100644 index 00000000..396c2446 Binary files /dev/null and b/share/jupyter/kernels/xcpp17-clad/logo-64x64.png differ diff --git a/share/jupyter/kernels/xcpp17-clad/logo-svg.svg b/share/jupyter/kernels/xcpp17-clad/logo-svg.svg new file mode 100644 index 00000000..5e117077 --- /dev/null +++ b/share/jupyter/kernels/xcpp17-clad/logo-svg.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + diff --git a/share/jupyter/kernels/xcpp20-clad/kernel.json.in b/share/jupyter/kernels/xcpp20-clad/kernel.json.in new file mode 100644 index 00000000..6f2eef23 --- /dev/null +++ b/share/jupyter/kernels/xcpp20-clad/kernel.json.in @@ -0,0 +1,19 @@ +{ + "display_name": "C++20 CLAD", + "env": { + "PATH":"@XEUS_CPP_PATH@", + "LD_LIBRARY_PATH":"@XEUS_CPP_LD_LIBRARY_PATH@" + }, + "argv": [ + "@XEUS_CPP_KERNELSPEC_PATH@xcpp", + "-f", + "{connection_file}", + "-fplugin=@CMAKE_INSTALL_PREFIX@/lib/clad.dylib", + "-resource-dir", "@XEUS_CPP_RESOURCE_DIR@", + "-I", "@XEUS_CPP_INCLUDE_DIR@", + "-std=c++20" + ], + "language": "cpp", + "metadata": {"debugger": false + } +} diff --git a/share/jupyter/kernels/xcpp20-clad/logo-32x32.png b/share/jupyter/kernels/xcpp20-clad/logo-32x32.png new file mode 100644 index 00000000..c09c4585 Binary files /dev/null and b/share/jupyter/kernels/xcpp20-clad/logo-32x32.png differ diff --git a/share/jupyter/kernels/xcpp20-clad/logo-64x64.png b/share/jupyter/kernels/xcpp20-clad/logo-64x64.png new file mode 100644 index 00000000..396c2446 Binary files /dev/null and b/share/jupyter/kernels/xcpp20-clad/logo-64x64.png differ diff --git a/share/jupyter/kernels/xcpp20-clad/logo-svg.svg b/share/jupyter/kernels/xcpp20-clad/logo-svg.svg new file mode 100644 index 00000000..5e117077 --- /dev/null +++ b/share/jupyter/kernels/xcpp20-clad/logo-svg.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + diff --git a/share/jupyter/kernels/xcpp23-clad/kernel.json.in b/share/jupyter/kernels/xcpp23-clad/kernel.json.in new file mode 100644 index 00000000..134af605 --- /dev/null +++ b/share/jupyter/kernels/xcpp23-clad/kernel.json.in @@ -0,0 +1,19 @@ +{ + "display_name": "C++23 CLAD", + "env": { + "PATH":"@XEUS_CPP_PATH@", + "LD_LIBRARY_PATH":"@XEUS_CPP_LD_LIBRARY_PATH@" + }, + "argv": [ + "@XEUS_CPP_KERNELSPEC_PATH@xcpp", + "-f", + "{connection_file}", + "-fplugin=@CMAKE_INSTALL_PREFIX@/lib/clad.dylib", + "-resource-dir", "@XEUS_CPP_RESOURCE_DIR@", + "-I", "@XEUS_CPP_INCLUDE_DIR@", + "-std=c++23"@XEUS_CPP_OMP@ + ], + "language": "cpp", + "metadata": {"debugger": false + } +} \ No newline at end of file diff --git a/share/jupyter/kernels/xcpp23-clad/logo-32x32.png b/share/jupyter/kernels/xcpp23-clad/logo-32x32.png new file mode 100644 index 00000000..396c2446 Binary files /dev/null and b/share/jupyter/kernels/xcpp23-clad/logo-32x32.png differ diff --git a/share/jupyter/kernels/xcpp23-clad/logo-64x64.png b/share/jupyter/kernels/xcpp23-clad/logo-64x64.png new file mode 100644 index 00000000..c09c4585 Binary files /dev/null and b/share/jupyter/kernels/xcpp23-clad/logo-64x64.png differ diff --git a/share/jupyter/kernels/xcpp23-clad/logo-svg.svg b/share/jupyter/kernels/xcpp23-clad/logo-svg.svg new file mode 100644 index 00000000..5e117077 --- /dev/null +++ b/share/jupyter/kernels/xcpp23-clad/logo-svg.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + +