Skip to content

Commit

Permalink
Automatically find and configure kernels (compiler-research#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev committed Sep 30, 2023
1 parent 6558dfd commit 6219f7f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@ function(configure_kernel kernel)
endforeach()
endfunction()

configure_kernel("share/jupyter/kernels/xcpp11")
configure_kernel("share/jupyter/kernels/xcpp14")
configure_kernel("share/jupyter/kernels/xcpp17")
configure_kernel("share/jupyter/kernels/clad-xcpp17")
configure_kernel("share/jupyter/kernels/cuda-xcpp17")
configure_kernel("share/jupyter/kernels/omp-xcpp17")
file(GLOB _kernels LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "share/jupyter/kernels/*")
foreach(_kernel IN LISTS _kernels)
message("Configure kernel: ${_kernel}")
configure_kernel("${_kernel}")
endforeach()

################
# Dependencies #
Expand Down

0 comments on commit 6219f7f

Please sign in to comment.